blob: f73dbbb507d148e6e35fc9c1441adf8dc3a05565 [file] [log] [blame]
Masahiro Yamadac54550b2014-08-31 07:11:00 +09001if ARCH_EXYNOS
2
Tom Rini853bf312022-02-23 12:28:17 -05003config BOARD_COMMON
4 def_bool y
5 depends on !TARGET_SMDKV310 && !TARGET_ARNDALE
6
Masahiro Yamadac54550b2014-08-31 07:11:00 +09007choice
Thomas Abrahama99ad392016-04-23 22:18:12 +05308 prompt "EXYNOS architecture type select"
Joe Hershbergerf0699602015-05-12 14:46:23 -05009 optional
Masahiro Yamadac54550b2014-08-31 07:11:00 +090010
Thomas Abrahama99ad392016-04-23 22:18:12 +053011config ARCH_EXYNOS4
12 bool "Exynos4 SoC family"
Simon Glass7a99a872017-01-23 13:31:20 -070013 select BOARD_EARLY_INIT_F
Michal Simek7e7ba3b2018-07-23 15:55:15 +020014 select CPU_V7A
Simon Glassa2f6c042019-01-11 18:37:08 -070015 select BLK
16 select DM_MMC
Thomas Abrahama99ad392016-04-23 22:18:12 +053017 help
18 Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There
19 are multiple SoCs in this family including Exynos4210, Exynos4412,
20 and Exynos4212.
21
22config ARCH_EXYNOS5
23 bool "Exynos5 SoC family"
Simon Glass7a99a872017-01-23 13:31:20 -070024 select BOARD_EARLY_INIT_F
Michal Simek7e7ba3b2018-07-23 15:55:15 +020025 select CPU_V7A
Tom Rini5bdd9192017-05-15 12:17:49 -040026 select SHA_HW_ACCEL
Simon Glass027608e2017-05-17 03:25:25 -060027 imply CMD_HASH
Michal Simek7e7ba3b2018-07-23 15:55:15 +020028 imply CRC32_VERIFY
Daniel Thompsona9e2c672017-05-19 17:26:58 +010029 imply HASH_VERIFY
Simon Glass278efc682021-11-24 09:26:44 -070030 imply KEYBOARD
Chris Packhamb110e112017-08-28 20:50:46 +120031 imply USB_ETHER_ASIX
Michal Simek7e7ba3b2018-07-23 15:55:15 +020032 imply USB_ETHER_RTL8152
Chris Packhamb110e112017-08-28 20:50:46 +120033 imply USB_ETHER_SMSC95XX
Simon Glassa2f6c042019-01-11 18:37:08 -070034 select BLK
35 select DM_MMC
36
Thomas Abrahama99ad392016-04-23 22:18:12 +053037 help
38 Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
39 Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
40 in this family including Exynos5250, Exynos5420 and Exynos5800.
41
Thomas Abrahamd23cb312016-04-23 22:18:13 +053042config ARCH_EXYNOS7
43 bool "Exynos7 SoC family"
44 select ARM64
Simon Glass7a99a872017-01-23 13:31:20 -070045 select BOARD_EARLY_INIT_F
Simon Glassa2f6c042019-01-11 18:37:08 -070046 select BLK
47 select DM_MMC
Thomas Abrahamd23cb312016-04-23 22:18:13 +053048 help
49 Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
50 Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
51 multiple SoCs in this family including Exynos7420.
52
Thomas Abrahama99ad392016-04-23 22:18:12 +053053endchoice
54
55if ARCH_EXYNOS4
56
57choice
58 prompt "EXYNOS4 board select"
59
Masahiro Yamadac54550b2014-08-31 07:11:00 +090060config TARGET_SMDKV310
61 bool "Exynos4210 SMDKV310 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090062 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +020063 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090064
65config TARGET_TRATS
66 bool "Exynos4210 Trats board"
67
68config TARGET_S5PC210_UNIVERSAL
69 bool "EXYNOS4210 Universal C210 board"
70
71config TARGET_ORIGEN
72 bool "Exynos4412 Origen board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090073 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090074
75config TARGET_TRATS2
76 bool "Exynos4412 Trat2 board"
77
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020078config TARGET_ODROID
79 bool "Exynos4412 Odroid board"
80
Thomas Abrahama99ad392016-04-23 22:18:12 +053081endchoice
82endif
83
84if ARCH_EXYNOS5
85
Simon Glass035939e2021-07-10 21:14:30 -060086config SPL_GPIO
Simon Glass0bdfc3e2016-09-12 23:18:39 -060087 default y
88
Simon Glassf2a89462016-09-12 23:18:41 -060089config SPL_LIBCOMMON_SUPPORT
90 default y
91
Simon Glassb16c92c2016-09-12 23:18:43 -060092config SPL_LIBGENERIC_SUPPORT
93 default y
94
Thomas Abrahama99ad392016-04-23 22:18:12 +053095choice
96 prompt "EXYNOS5 board select"
97
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +090098config TARGET_ODROID_XU3
99 bool "Exynos5422 Odroid board"
100 select OF_CONTROL
101
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900102config TARGET_ARNDALE
103 bool "Exynos5250 Arndale board"
Tom Rinibacb52c2017-03-07 07:13:42 -0500104 select ARM_ERRATA_773022
105 select ARM_ERRATA_774769
Hans de Goede85437352014-11-14 09:34:30 +0100106 select CPU_V7_HAS_NONSEC
107 select CPU_V7_HAS_VIRT
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900108 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200109 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900110
111config TARGET_SMDK5250
112 bool "SMDK5250 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900113 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200114 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900115
116config TARGET_SNOW
117 bool "Snow board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900118 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200119 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900120
Simon Glassb1398362015-08-03 08:19:37 -0600121config TARGET_SPRING
122 bool "Spring board"
Simon Glassb1398362015-08-03 08:19:37 -0600123 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200124 select SUPPORT_SPL
Simon Glassb1398362015-08-03 08:19:37 -0600125
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900126config TARGET_SMDK5420
127 bool "SMDK5420 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900128 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200129 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900130
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530131config TARGET_PEACH_PI
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900132 bool "Peach Pi board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900133 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200134 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900135
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530136config TARGET_PEACH_PIT
137 bool "Peach Pit board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900138 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200139 select SUPPORT_SPL
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530140
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900141endchoice
Thomas Abrahama99ad392016-04-23 22:18:12 +0530142endif
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900143
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530144if ARCH_EXYNOS7
145
146choice
147 prompt "EXYNOS7 board select"
148
Tom Rini8b66e042021-08-19 16:23:58 -0400149config TARGET_ESPRESSO7420
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530150 bool "ESPRESSO7420 board"
151 select ARM64
Thomas Abrahamf1855fc2016-11-16 18:49:16 +0530152 select ARMV8_MULTIENTRY
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200153 select CLK_EXYNOS
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530154 select OF_CONTROL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530155 select PINCTRL
156 select PINCTRL_EXYNOS7420
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200157 select SUPPORT_SPL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530158
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300159config TARGET_A5Y17LTE
160 bool "Samsung SM-A520F board"
161 select ARM64
162 select CLK_EXYNOS
163 select OF_CONTROL
164 select PINCTRL
165 select PINCTRL_EXYNOS78x0
166 select SUPPORT_SPL
167
168config TARGET_A7Y17LTE
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100169 bool "Samsung SM-A720F board"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300170 select ARM64
171 select CLK_EXYNOS
172 select OF_CONTROL
173 select PINCTRL
174 select PINCTRL_EXYNOS78x0
175 select SUPPORT_SPL
176
177config TARGET_A3Y17LTE
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100178 bool "Samsung SM-A320F board"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300179 select ARM64
180 select CLK_EXYNOS
181 select OF_CONTROL
182 select PINCTRL
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100183 select PINCTRL_EXYNOS78x0
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300184 select SUPPORT_SPL
185
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530186endchoice
187endif
188
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900189config SYS_SOC
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900190 default "exynos"
191
192source "board/samsung/smdkv310/Kconfig"
193source "board/samsung/trats/Kconfig"
194source "board/samsung/universal_c210/Kconfig"
195source "board/samsung/origen/Kconfig"
196source "board/samsung/trats2/Kconfig"
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +0200197source "board/samsung/odroid/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900198source "board/samsung/arndale/Kconfig"
199source "board/samsung/smdk5250/Kconfig"
200source "board/samsung/smdk5420/Kconfig"
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530201source "board/samsung/espresso7420/Kconfig"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300202source "board/samsung/axy17lte/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900203
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200204config SPL_LDSCRIPT
205 default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4
206
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900207endif