blob: 383af83066ec40ab3a2a9f3d0457edc012ea5028 [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 Rini4a655032022-12-02 16:42:12 -05007config USB_BOOTING
8 bool
9
Masahiro Yamadac54550b2014-08-31 07:11:00 +090010choice
Thomas Abrahama99ad392016-04-23 22:18:12 +053011 prompt "EXYNOS architecture type select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050012 optional
Masahiro Yamadac54550b2014-08-31 07:11:00 +090013
Thomas Abrahama99ad392016-04-23 22:18:12 +053014config ARCH_EXYNOS4
15 bool "Exynos4 SoC family"
Simon Glass7a99a872017-01-23 13:31:20 -070016 select BOARD_EARLY_INIT_F
Michal Simek7e7ba3b2018-07-23 15:55:15 +020017 select CPU_V7A
Simon Glassa2f6c042019-01-11 18:37:08 -070018 select BLK
19 select DM_MMC
Thomas Abrahama99ad392016-04-23 22:18:12 +053020 help
21 Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There
22 are multiple SoCs in this family including Exynos4210, Exynos4412,
23 and Exynos4212.
24
25config ARCH_EXYNOS5
26 bool "Exynos5 SoC family"
Simon Glass7a99a872017-01-23 13:31:20 -070027 select BOARD_EARLY_INIT_F
Michal Simek7e7ba3b2018-07-23 15:55:15 +020028 select CPU_V7A
Tom Rini5bdd9192017-05-15 12:17:49 -040029 select SHA_HW_ACCEL
Tom Rini4a655032022-12-02 16:42:12 -050030 select USB_BOOTING
Simon Glass027608e2017-05-17 03:25:25 -060031 imply CMD_HASH
Michal Simek7e7ba3b2018-07-23 15:55:15 +020032 imply CRC32_VERIFY
Daniel Thompsona9e2c672017-05-19 17:26:58 +010033 imply HASH_VERIFY
Simon Glass278efc682021-11-24 09:26:44 -070034 imply KEYBOARD
Chris Packhamb110e112017-08-28 20:50:46 +120035 imply USB_ETHER_ASIX
Michal Simek7e7ba3b2018-07-23 15:55:15 +020036 imply USB_ETHER_RTL8152
Chris Packhamb110e112017-08-28 20:50:46 +120037 imply USB_ETHER_SMSC95XX
Simon Glassa2f6c042019-01-11 18:37:08 -070038 select BLK
39 select DM_MMC
40
Thomas Abrahama99ad392016-04-23 22:18:12 +053041 help
42 Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
43 Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
44 in this family including Exynos5250, Exynos5420 and Exynos5800.
45
Thomas Abrahamd23cb312016-04-23 22:18:13 +053046config ARCH_EXYNOS7
47 bool "Exynos7 SoC family"
48 select ARM64
Simon Glass7a99a872017-01-23 13:31:20 -070049 select BOARD_EARLY_INIT_F
Simon Glassa2f6c042019-01-11 18:37:08 -070050 select BLK
51 select DM_MMC
Thomas Abrahamd23cb312016-04-23 22:18:13 +053052 help
53 Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
54 Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
55 multiple SoCs in this family including Exynos7420.
56
Thomas Abrahama99ad392016-04-23 22:18:12 +053057endchoice
58
59if ARCH_EXYNOS4
60
Tom Rini893cd412022-06-10 22:59:33 -040061config EXYNOS4210
62 bool
63
Thomas Abrahama99ad392016-04-23 22:18:12 +053064choice
65 prompt "EXYNOS4 board select"
66
Masahiro Yamadac54550b2014-08-31 07:11:00 +090067config TARGET_SMDKV310
68 bool "Exynos4210 SMDKV310 board"
Tom Rini893cd412022-06-10 22:59:33 -040069 select EXYNOS4210
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090070 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +020071 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090072
73config TARGET_TRATS
Tom Rinib5207bb2022-11-19 18:45:26 -050074 select MISC_COMMON
Masahiro Yamadac54550b2014-08-31 07:11:00 +090075 bool "Exynos4210 Trats board"
76
77config TARGET_S5PC210_UNIVERSAL
78 bool "EXYNOS4210 Universal C210 board"
Tom Rinib5207bb2022-11-19 18:45:26 -050079 select MISC_COMMON
Masahiro Yamadac54550b2014-08-31 07:11:00 +090080
81config TARGET_ORIGEN
82 bool "Exynos4412 Origen board"
Tom Rini893cd412022-06-10 22:59:33 -040083 select EXYNOS4210
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090084 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090085
86config TARGET_TRATS2
87 bool "Exynos4412 Trat2 board"
Tom Rinib5207bb2022-11-19 18:45:26 -050088 select MISC_COMMON
Masahiro Yamadac54550b2014-08-31 07:11:00 +090089
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020090config TARGET_ODROID
91 bool "Exynos4412 Odroid board"
Tom Rinib5207bb2022-11-19 18:45:26 -050092 select MISC_COMMON
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020093
Thomas Abrahama99ad392016-04-23 22:18:12 +053094endchoice
95endif
96
97if ARCH_EXYNOS5
98
Tom Rini893cd412022-06-10 22:59:33 -040099config EXYNOS5250
100 bool
101
102config EXYNOS5420
103 bool
104
105config EXYNOS5_DT
106 bool
107
Simon Glass035939e2021-07-10 21:14:30 -0600108config SPL_GPIO
Simon Glass0bdfc3e2016-09-12 23:18:39 -0600109 default y
110
Simon Glassf2a89462016-09-12 23:18:41 -0600111config SPL_LIBCOMMON_SUPPORT
112 default y
113
Simon Glassb16c92c2016-09-12 23:18:43 -0600114config SPL_LIBGENERIC_SUPPORT
115 default y
116
Thomas Abrahama99ad392016-04-23 22:18:12 +0530117choice
118 prompt "EXYNOS5 board select"
119
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +0900120config TARGET_ODROID_XU3
121 bool "Exynos5422 Odroid board"
Tom Rini893cd412022-06-10 22:59:33 -0400122 select EXYNOS5_DT
123 select EXYNOS5420
Tom Rinib5207bb2022-11-19 18:45:26 -0500124 select MISC_COMMON
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +0900125 select OF_CONTROL
126
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900127config TARGET_ARNDALE
128 bool "Exynos5250 Arndale board"
Tom Rinibacb52c2017-03-07 07:13:42 -0500129 select ARM_ERRATA_773022
130 select ARM_ERRATA_774769
Hans de Goede85437352014-11-14 09:34:30 +0100131 select CPU_V7_HAS_NONSEC
132 select CPU_V7_HAS_VIRT
Tom Rini893cd412022-06-10 22:59:33 -0400133 select EXYNOS5250
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900134 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200135 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900136
137config TARGET_SMDK5250
138 bool "SMDK5250 board"
Tom Rini893cd412022-06-10 22:59:33 -0400139 select EXYNOS5_DT
140 select EXYNOS5250
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900141 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200142 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900143
144config TARGET_SNOW
145 bool "Snow board"
Tom Rini893cd412022-06-10 22:59:33 -0400146 select EXYNOS5_DT
147 select EXYNOS5250
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900148 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200149 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900150
Simon Glassb1398362015-08-03 08:19:37 -0600151config TARGET_SPRING
152 bool "Spring board"
Tom Rini893cd412022-06-10 22:59:33 -0400153 select EXYNOS5_DT
154 select EXYNOS5250
Simon Glassb1398362015-08-03 08:19:37 -0600155 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200156 select SUPPORT_SPL
Simon Glassb1398362015-08-03 08:19:37 -0600157
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900158config TARGET_SMDK5420
159 bool "SMDK5420 board"
Tom Rini893cd412022-06-10 22:59:33 -0400160 select EXYNOS5_DT
161 select EXYNOS5420
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900162 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200163 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900164
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530165config TARGET_PEACH_PI
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900166 bool "Peach Pi board"
Tom Rini893cd412022-06-10 22:59:33 -0400167 select EXYNOS5_DT
168 select EXYNOS5420
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900169 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200170 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900171
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530172config TARGET_PEACH_PIT
173 bool "Peach Pit board"
Tom Rini893cd412022-06-10 22:59:33 -0400174 select EXYNOS5_DT
175 select EXYNOS5420
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900176 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200177 select SUPPORT_SPL
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530178
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900179endchoice
Thomas Abrahama99ad392016-04-23 22:18:12 +0530180endif
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900181
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530182if ARCH_EXYNOS7
183
184choice
185 prompt "EXYNOS7 board select"
186
Tom Rini8b66e042021-08-19 16:23:58 -0400187config TARGET_ESPRESSO7420
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530188 bool "ESPRESSO7420 board"
189 select ARM64
Thomas Abrahamf1855fc2016-11-16 18:49:16 +0530190 select ARMV8_MULTIENTRY
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200191 select CLK_EXYNOS
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530192 select OF_CONTROL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530193 select PINCTRL
194 select PINCTRL_EXYNOS7420
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200195 select SUPPORT_SPL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530196
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300197config TARGET_A5Y17LTE
198 bool "Samsung SM-A520F board"
199 select ARM64
200 select CLK_EXYNOS
201 select OF_CONTROL
202 select PINCTRL
203 select PINCTRL_EXYNOS78x0
204 select SUPPORT_SPL
205
206config TARGET_A7Y17LTE
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100207 bool "Samsung SM-A720F board"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300208 select ARM64
209 select CLK_EXYNOS
210 select OF_CONTROL
211 select PINCTRL
212 select PINCTRL_EXYNOS78x0
213 select SUPPORT_SPL
214
215config TARGET_A3Y17LTE
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100216 bool "Samsung SM-A320F board"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300217 select ARM64
218 select CLK_EXYNOS
219 select OF_CONTROL
220 select PINCTRL
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100221 select PINCTRL_EXYNOS78x0
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300222 select SUPPORT_SPL
223
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530224endchoice
225endif
226
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900227config SYS_SOC
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900228 default "exynos"
229
Tom Rini893cd412022-06-10 22:59:33 -0400230config EXYNOS_ACE_SHA
231 bool "Advanced Crypto Engine SHA support"
232 depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) && (LIB_HW_RAND || SHA_HW_ACCEL)
233 default y if ARCH_EXYNOS5
234
235config EXYNOS_TMU
236 bool "Exynos5 thermal management unit support"
237 depends on ARCH_EXYNOS5
238 default y
239
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900240source "board/samsung/smdkv310/Kconfig"
241source "board/samsung/trats/Kconfig"
242source "board/samsung/universal_c210/Kconfig"
243source "board/samsung/origen/Kconfig"
244source "board/samsung/trats2/Kconfig"
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +0200245source "board/samsung/odroid/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900246source "board/samsung/arndale/Kconfig"
247source "board/samsung/smdk5250/Kconfig"
248source "board/samsung/smdk5420/Kconfig"
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530249source "board/samsung/espresso7420/Kconfig"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300250source "board/samsung/axy17lte/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900251
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900252endif