blob: 8f3aee052c8a38773dbf52c10c6444d1eecfb57e [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
Tom Rini6fb86c12022-12-02 16:42:21 -05007config SPI_BOOTING
8 bool
9
Tom Rini4a655032022-12-02 16:42:12 -050010config USB_BOOTING
11 bool
12
Masahiro Yamadac54550b2014-08-31 07:11:00 +090013choice
Thomas Abrahama99ad392016-04-23 22:18:12 +053014 prompt "EXYNOS architecture type select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050015 optional
Masahiro Yamadac54550b2014-08-31 07:11:00 +090016
Thomas Abrahama99ad392016-04-23 22:18:12 +053017config ARCH_EXYNOS4
18 bool "Exynos4 SoC family"
Simon Glass7a99a872017-01-23 13:31:20 -070019 select BOARD_EARLY_INIT_F
Michal Simek7e7ba3b2018-07-23 15:55:15 +020020 select CPU_V7A
Simon Glassa2f6c042019-01-11 18:37:08 -070021 select BLK
22 select DM_MMC
Thomas Abrahama99ad392016-04-23 22:18:12 +053023 help
24 Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There
25 are multiple SoCs in this family including Exynos4210, Exynos4412,
26 and Exynos4212.
27
28config ARCH_EXYNOS5
29 bool "Exynos5 SoC family"
Simon Glass7a99a872017-01-23 13:31:20 -070030 select BOARD_EARLY_INIT_F
Michal Simek7e7ba3b2018-07-23 15:55:15 +020031 select CPU_V7A
Tom Rini5bdd9192017-05-15 12:17:49 -040032 select SHA_HW_ACCEL
Tom Rini6fb86c12022-12-02 16:42:21 -050033 select SPI_BOOTING if EXYNOS5_DT
Tom Rini4a655032022-12-02 16:42:12 -050034 select USB_BOOTING
Simon Glass027608e2017-05-17 03:25:25 -060035 imply CMD_HASH
Michal Simek7e7ba3b2018-07-23 15:55:15 +020036 imply CRC32_VERIFY
Daniel Thompsona9e2c672017-05-19 17:26:58 +010037 imply HASH_VERIFY
Simon Glass278efc682021-11-24 09:26:44 -070038 imply KEYBOARD
Chris Packhamb110e112017-08-28 20:50:46 +120039 imply USB_ETHER_ASIX
Michal Simek7e7ba3b2018-07-23 15:55:15 +020040 imply USB_ETHER_RTL8152
Chris Packhamb110e112017-08-28 20:50:46 +120041 imply USB_ETHER_SMSC95XX
Simon Glassa2f6c042019-01-11 18:37:08 -070042 select BLK
43 select DM_MMC
44
Thomas Abrahama99ad392016-04-23 22:18:12 +053045 help
46 Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
47 Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
48 in this family including Exynos5250, Exynos5420 and Exynos5800.
49
Thomas Abrahamd23cb312016-04-23 22:18:13 +053050config ARCH_EXYNOS7
51 bool "Exynos7 SoC family"
52 select ARM64
Simon Glass7a99a872017-01-23 13:31:20 -070053 select BOARD_EARLY_INIT_F
Simon Glassa2f6c042019-01-11 18:37:08 -070054 select BLK
55 select DM_MMC
Thomas Abrahamd23cb312016-04-23 22:18:13 +053056 help
57 Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
58 Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
59 multiple SoCs in this family including Exynos7420.
60
Thomas Abrahama99ad392016-04-23 22:18:12 +053061endchoice
62
63if ARCH_EXYNOS4
64
Tom Rini893cd412022-06-10 22:59:33 -040065config EXYNOS4210
66 bool
67
Thomas Abrahama99ad392016-04-23 22:18:12 +053068choice
69 prompt "EXYNOS4 board select"
70
Masahiro Yamadac54550b2014-08-31 07:11:00 +090071config TARGET_SMDKV310
72 bool "Exynos4210 SMDKV310 board"
Tom Rini893cd412022-06-10 22:59:33 -040073 select EXYNOS4210
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090074 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +020075 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090076
77config TARGET_TRATS
Tom Rinib5207bb2022-11-19 18:45:26 -050078 select MISC_COMMON
Masahiro Yamadac54550b2014-08-31 07:11:00 +090079 bool "Exynos4210 Trats board"
80
81config TARGET_S5PC210_UNIVERSAL
82 bool "EXYNOS4210 Universal C210 board"
Tom Rinib5207bb2022-11-19 18:45:26 -050083 select MISC_COMMON
Masahiro Yamadac54550b2014-08-31 07:11:00 +090084
85config TARGET_ORIGEN
86 bool "Exynos4412 Origen board"
Tom Rini893cd412022-06-10 22:59:33 -040087 select EXYNOS4210
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090088 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090089
90config TARGET_TRATS2
91 bool "Exynos4412 Trat2 board"
Tom Rinib5207bb2022-11-19 18:45:26 -050092 select MISC_COMMON
Masahiro Yamadac54550b2014-08-31 07:11:00 +090093
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020094config TARGET_ODROID
95 bool "Exynos4412 Odroid board"
Tom Rinib5207bb2022-11-19 18:45:26 -050096 select MISC_COMMON
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020097
Thomas Abrahama99ad392016-04-23 22:18:12 +053098endchoice
99endif
100
101if ARCH_EXYNOS5
102
Tom Rini893cd412022-06-10 22:59:33 -0400103config EXYNOS5250
104 bool
105
106config EXYNOS5420
107 bool
108
109config EXYNOS5_DT
110 bool
111
Simon Glass035939e2021-07-10 21:14:30 -0600112config SPL_GPIO
Simon Glass0bdfc3e2016-09-12 23:18:39 -0600113 default y
114
Simon Glassf2a89462016-09-12 23:18:41 -0600115config SPL_LIBCOMMON_SUPPORT
116 default y
117
Simon Glassb16c92c2016-09-12 23:18:43 -0600118config SPL_LIBGENERIC_SUPPORT
119 default y
120
Thomas Abrahama99ad392016-04-23 22:18:12 +0530121choice
122 prompt "EXYNOS5 board select"
123
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +0900124config TARGET_ODROID_XU3
125 bool "Exynos5422 Odroid board"
Tom Rini893cd412022-06-10 22:59:33 -0400126 select EXYNOS5_DT
127 select EXYNOS5420
Tom Rinib5207bb2022-11-19 18:45:26 -0500128 select MISC_COMMON
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +0900129 select OF_CONTROL
130
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900131config TARGET_ARNDALE
132 bool "Exynos5250 Arndale board"
Tom Rinibacb52c2017-03-07 07:13:42 -0500133 select ARM_ERRATA_773022
134 select ARM_ERRATA_774769
Hans de Goede85437352014-11-14 09:34:30 +0100135 select CPU_V7_HAS_NONSEC
136 select CPU_V7_HAS_VIRT
Tom Rini893cd412022-06-10 22:59:33 -0400137 select EXYNOS5250
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900138 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200139 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900140
141config TARGET_SMDK5250
142 bool "SMDK5250 board"
Tom Rini893cd412022-06-10 22:59:33 -0400143 select EXYNOS5_DT
144 select EXYNOS5250
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900145 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200146 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900147
148config TARGET_SNOW
149 bool "Snow board"
Tom Rini893cd412022-06-10 22:59:33 -0400150 select EXYNOS5_DT
151 select EXYNOS5250
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900152 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200153 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900154
Simon Glassb1398362015-08-03 08:19:37 -0600155config TARGET_SPRING
156 bool "Spring board"
Tom Rini893cd412022-06-10 22:59:33 -0400157 select EXYNOS5_DT
158 select EXYNOS5250
Simon Glassb1398362015-08-03 08:19:37 -0600159 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200160 select SUPPORT_SPL
Simon Glassb1398362015-08-03 08:19:37 -0600161
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900162config TARGET_SMDK5420
163 bool "SMDK5420 board"
Tom Rini893cd412022-06-10 22:59:33 -0400164 select EXYNOS5_DT
165 select EXYNOS5420
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900166 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200167 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900168
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530169config TARGET_PEACH_PI
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900170 bool "Peach Pi board"
Tom Rini893cd412022-06-10 22:59:33 -0400171 select EXYNOS5_DT
172 select EXYNOS5420
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900173 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200174 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900175
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530176config TARGET_PEACH_PIT
177 bool "Peach Pit board"
Tom Rini893cd412022-06-10 22:59:33 -0400178 select EXYNOS5_DT
179 select EXYNOS5420
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900180 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200181 select SUPPORT_SPL
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530182
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900183endchoice
Thomas Abrahama99ad392016-04-23 22:18:12 +0530184endif
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900185
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530186if ARCH_EXYNOS7
187
188choice
189 prompt "EXYNOS7 board select"
190
Tom Rini8b66e042021-08-19 16:23:58 -0400191config TARGET_ESPRESSO7420
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530192 bool "ESPRESSO7420 board"
193 select ARM64
Thomas Abrahamf1855fc2016-11-16 18:49:16 +0530194 select ARMV8_MULTIENTRY
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200195 select CLK_EXYNOS
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530196 select OF_CONTROL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530197 select PINCTRL
198 select PINCTRL_EXYNOS7420
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200199 select SUPPORT_SPL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530200
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300201config TARGET_A5Y17LTE
202 bool "Samsung SM-A520F board"
203 select ARM64
204 select CLK_EXYNOS
205 select OF_CONTROL
206 select PINCTRL
207 select PINCTRL_EXYNOS78x0
208 select SUPPORT_SPL
209
210config TARGET_A7Y17LTE
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100211 bool "Samsung SM-A720F board"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300212 select ARM64
213 select CLK_EXYNOS
214 select OF_CONTROL
215 select PINCTRL
216 select PINCTRL_EXYNOS78x0
217 select SUPPORT_SPL
218
219config TARGET_A3Y17LTE
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100220 bool "Samsung SM-A320F board"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300221 select ARM64
222 select CLK_EXYNOS
223 select OF_CONTROL
224 select PINCTRL
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100225 select PINCTRL_EXYNOS78x0
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300226 select SUPPORT_SPL
227
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530228endchoice
229endif
230
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900231config SYS_SOC
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900232 default "exynos"
233
Tom Rini893cd412022-06-10 22:59:33 -0400234config EXYNOS_ACE_SHA
235 bool "Advanced Crypto Engine SHA support"
236 depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) && (LIB_HW_RAND || SHA_HW_ACCEL)
237 default y if ARCH_EXYNOS5
238
239config EXYNOS_TMU
240 bool "Exynos5 thermal management unit support"
241 depends on ARCH_EXYNOS5
242 default y
243
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900244source "board/samsung/smdkv310/Kconfig"
245source "board/samsung/trats/Kconfig"
246source "board/samsung/universal_c210/Kconfig"
247source "board/samsung/origen/Kconfig"
248source "board/samsung/trats2/Kconfig"
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +0200249source "board/samsung/odroid/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900250source "board/samsung/arndale/Kconfig"
251source "board/samsung/smdk5250/Kconfig"
252source "board/samsung/smdk5420/Kconfig"
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530253source "board/samsung/espresso7420/Kconfig"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300254source "board/samsung/axy17lte/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900255
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900256endif