blob: 383af83066ec40ab3a2a9f3d0457edc012ea5028 [file] [log] [blame]
Masahiro Yamada72df68c2014-08-31 07:11:00 +09001if ARCH_EXYNOS
2
Tom Rinia7e6c6b2022-02-23 12:28:17 -05003config BOARD_COMMON
4 def_bool y
5 depends on !TARGET_SMDKV310 && !TARGET_ARNDALE
6
Tom Rini4475d012022-12-02 16:42:12 -05007config USB_BOOTING
8 bool
9
Masahiro Yamada72df68c2014-08-31 07:11:00 +090010choice
Thomas Abraham36aa8932016-04-23 22:18:12 +053011 prompt "EXYNOS architecture type select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050012 optional
Masahiro Yamada72df68c2014-08-31 07:11:00 +090013
Thomas Abraham36aa8932016-04-23 22:18:12 +053014config ARCH_EXYNOS4
15 bool "Exynos4 SoC family"
Simon Glassa5d67542017-01-23 13:31:20 -070016 select BOARD_EARLY_INIT_F
Michal Simek58008cb2018-07-23 15:55:15 +020017 select CPU_V7A
Simon Glasse2932312019-01-11 18:37:08 -070018 select BLK
19 select DM_MMC
Thomas Abraham36aa8932016-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 Glassa5d67542017-01-23 13:31:20 -070027 select BOARD_EARLY_INIT_F
Michal Simek58008cb2018-07-23 15:55:15 +020028 select CPU_V7A
Tom Rini089df182017-05-15 12:17:49 -040029 select SHA_HW_ACCEL
Tom Rini4475d012022-12-02 16:42:12 -050030 select USB_BOOTING
Simon Glass551c3932017-05-17 03:25:25 -060031 imply CMD_HASH
Michal Simek58008cb2018-07-23 15:55:15 +020032 imply CRC32_VERIFY
Daniel Thompson221a9492017-05-19 17:26:58 +010033 imply HASH_VERIFY
Simon Glass93e1edf2021-11-24 09:26:44 -070034 imply KEYBOARD
Chris Packhamf58ad982017-08-28 20:50:46 +120035 imply USB_ETHER_ASIX
Michal Simek58008cb2018-07-23 15:55:15 +020036 imply USB_ETHER_RTL8152
Chris Packhamf58ad982017-08-28 20:50:46 +120037 imply USB_ETHER_SMSC95XX
Simon Glasse2932312019-01-11 18:37:08 -070038 select BLK
39 select DM_MMC
40
Thomas Abraham36aa8932016-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 Abrahame39448e2016-04-23 22:18:13 +053046config ARCH_EXYNOS7
47 bool "Exynos7 SoC family"
48 select ARM64
Simon Glassa5d67542017-01-23 13:31:20 -070049 select BOARD_EARLY_INIT_F
Simon Glasse2932312019-01-11 18:37:08 -070050 select BLK
51 select DM_MMC
Thomas Abrahame39448e2016-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 Abraham36aa8932016-04-23 22:18:12 +053057endchoice
58
59if ARCH_EXYNOS4
60
Tom Rini24ec3de2022-06-10 22:59:33 -040061config EXYNOS4210
62 bool
63
Thomas Abraham36aa8932016-04-23 22:18:12 +053064choice
65 prompt "EXYNOS4 board select"
66
Masahiro Yamada72df68c2014-08-31 07:11:00 +090067config TARGET_SMDKV310
68 bool "Exynos4210 SMDKV310 board"
Tom Rini24ec3de2022-06-10 22:59:33 -040069 select EXYNOS4210
Masahiro Yamadad6489642015-02-24 22:26:21 +090070 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +020071 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090072
73config TARGET_TRATS
Tom Rini4982e122022-11-19 18:45:26 -050074 select MISC_COMMON
Masahiro Yamada72df68c2014-08-31 07:11:00 +090075 bool "Exynos4210 Trats board"
76
77config TARGET_S5PC210_UNIVERSAL
78 bool "EXYNOS4210 Universal C210 board"
Tom Rini4982e122022-11-19 18:45:26 -050079 select MISC_COMMON
Masahiro Yamada72df68c2014-08-31 07:11:00 +090080
81config TARGET_ORIGEN
82 bool "Exynos4412 Origen board"
Tom Rini24ec3de2022-06-10 22:59:33 -040083 select EXYNOS4210
Masahiro Yamada02627352014-10-20 17:45:56 +090084 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090085
86config TARGET_TRATS2
87 bool "Exynos4412 Trat2 board"
Tom Rini4982e122022-11-19 18:45:26 -050088 select MISC_COMMON
Masahiro Yamada72df68c2014-08-31 07:11:00 +090089
Przemyslaw Marczak73eca212014-09-01 13:50:53 +020090config TARGET_ODROID
91 bool "Exynos4412 Odroid board"
Tom Rini4982e122022-11-19 18:45:26 -050092 select MISC_COMMON
Przemyslaw Marczak73eca212014-09-01 13:50:53 +020093
Thomas Abraham36aa8932016-04-23 22:18:12 +053094endchoice
95endif
96
97if ARCH_EXYNOS5
98
Tom Rini24ec3de2022-06-10 22:59:33 -040099config EXYNOS5250
100 bool
101
102config EXYNOS5420
103 bool
104
105config EXYNOS5_DT
106 bool
107
Simon Glass83061db2021-07-10 21:14:30 -0600108config SPL_GPIO
Simon Glass53b5bf32016-09-12 23:18:39 -0600109 default y
110
Simon Glass77d2f7f2016-09-12 23:18:41 -0600111config SPL_LIBCOMMON_SUPPORT
112 default y
113
Simon Glasscc4288e2016-09-12 23:18:43 -0600114config SPL_LIBGENERIC_SUPPORT
115 default y
116
Thomas Abraham36aa8932016-04-23 22:18:12 +0530117choice
118 prompt "EXYNOS5 board select"
119
Hyungwon Hwang62076042014-12-12 14:45:45 +0900120config TARGET_ODROID_XU3
121 bool "Exynos5422 Odroid board"
Tom Rini24ec3de2022-06-10 22:59:33 -0400122 select EXYNOS5_DT
123 select EXYNOS5420
Tom Rini4982e122022-11-19 18:45:26 -0500124 select MISC_COMMON
Hyungwon Hwang62076042014-12-12 14:45:45 +0900125 select OF_CONTROL
126
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900127config TARGET_ARNDALE
128 bool "Exynos5250 Arndale board"
Tom Rini8dda2e22017-03-07 07:13:42 -0500129 select ARM_ERRATA_773022
130 select ARM_ERRATA_774769
Hans de Goedeea624e12014-11-14 09:34:30 +0100131 select CPU_V7_HAS_NONSEC
132 select CPU_V7_HAS_VIRT
Tom Rini24ec3de2022-06-10 22:59:33 -0400133 select EXYNOS5250
Masahiro Yamadad6489642015-02-24 22:26:21 +0900134 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200135 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900136
137config TARGET_SMDK5250
138 bool "SMDK5250 board"
Tom Rini24ec3de2022-06-10 22:59:33 -0400139 select EXYNOS5_DT
140 select EXYNOS5250
Masahiro Yamadad6489642015-02-24 22:26:21 +0900141 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200142 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900143
144config TARGET_SNOW
145 bool "Snow board"
Tom Rini24ec3de2022-06-10 22:59:33 -0400146 select EXYNOS5_DT
147 select EXYNOS5250
Masahiro Yamadad6489642015-02-24 22:26:21 +0900148 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200149 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900150
Simon Glassd1de41d2015-08-03 08:19:37 -0600151config TARGET_SPRING
152 bool "Spring board"
Tom Rini24ec3de2022-06-10 22:59:33 -0400153 select EXYNOS5_DT
154 select EXYNOS5250
Simon Glassd1de41d2015-08-03 08:19:37 -0600155 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200156 select SUPPORT_SPL
Simon Glassd1de41d2015-08-03 08:19:37 -0600157
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900158config TARGET_SMDK5420
159 bool "SMDK5420 board"
Tom Rini24ec3de2022-06-10 22:59:33 -0400160 select EXYNOS5_DT
161 select EXYNOS5420
Masahiro Yamadad6489642015-02-24 22:26:21 +0900162 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200163 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900164
Akshay Saraswat79043d82014-11-13 22:38:17 +0530165config TARGET_PEACH_PI
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900166 bool "Peach Pi board"
Tom Rini24ec3de2022-06-10 22:59:33 -0400167 select EXYNOS5_DT
168 select EXYNOS5420
Masahiro Yamadad6489642015-02-24 22:26:21 +0900169 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200170 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900171
Akshay Saraswat79043d82014-11-13 22:38:17 +0530172config TARGET_PEACH_PIT
173 bool "Peach Pit board"
Tom Rini24ec3de2022-06-10 22:59:33 -0400174 select EXYNOS5_DT
175 select EXYNOS5420
Masahiro Yamadad6489642015-02-24 22:26:21 +0900176 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200177 select SUPPORT_SPL
Akshay Saraswat79043d82014-11-13 22:38:17 +0530178
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900179endchoice
Thomas Abraham36aa8932016-04-23 22:18:12 +0530180endif
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900181
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530182if ARCH_EXYNOS7
183
184choice
185 prompt "EXYNOS7 board select"
186
Tom Rini809c4f22021-08-19 16:23:58 -0400187config TARGET_ESPRESSO7420
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530188 bool "ESPRESSO7420 board"
189 select ARM64
Thomas Abraham95e74a32016-11-16 18:49:16 +0530190 select ARMV8_MULTIENTRY
Michal Simek58008cb2018-07-23 15:55:15 +0200191 select CLK_EXYNOS
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530192 select OF_CONTROL
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530193 select PINCTRL
194 select PINCTRL_EXYNOS7420
Michal Simek58008cb2018-07-23 15:55:15 +0200195 select SUPPORT_SPL
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530196
Dzmitry Sankouski3e2095e2021-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 Grimler00809bd2022-01-07 20:12:54 +0100207 bool "Samsung SM-A720F board"
Dzmitry Sankouski3e2095e2021-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 Grimler00809bd2022-01-07 20:12:54 +0100216 bool "Samsung SM-A320F board"
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300217 select ARM64
218 select CLK_EXYNOS
219 select OF_CONTROL
220 select PINCTRL
Henrik Grimler00809bd2022-01-07 20:12:54 +0100221 select PINCTRL_EXYNOS78x0
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300222 select SUPPORT_SPL
223
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530224endchoice
225endif
226
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900227config SYS_SOC
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900228 default "exynos"
229
Tom Rini24ec3de2022-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 Yamada72df68c2014-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 Marczak73eca212014-09-01 13:50:53 +0200245source "board/samsung/odroid/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900246source "board/samsung/arndale/Kconfig"
247source "board/samsung/smdk5250/Kconfig"
248source "board/samsung/smdk5420/Kconfig"
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530249source "board/samsung/espresso7420/Kconfig"
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300250source "board/samsung/axy17lte/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900251
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900252endif