blob: 29e35e443c6a3284c86c1a4589a033ad69d938e6 [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
Tom Rini893cd412022-06-10 22:59:33 -040057config EXYNOS4210
58 bool
59
Thomas Abrahama99ad392016-04-23 22:18:12 +053060choice
61 prompt "EXYNOS4 board select"
62
Masahiro Yamadac54550b2014-08-31 07:11:00 +090063config TARGET_SMDKV310
64 bool "Exynos4210 SMDKV310 board"
Tom Rini893cd412022-06-10 22:59:33 -040065 select EXYNOS4210
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090066 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +020067 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090068
69config TARGET_TRATS
Tom Rinib5207bb2022-11-19 18:45:26 -050070 select MISC_COMMON
Masahiro Yamadac54550b2014-08-31 07:11:00 +090071 bool "Exynos4210 Trats board"
72
73config TARGET_S5PC210_UNIVERSAL
74 bool "EXYNOS4210 Universal C210 board"
Tom Rinib5207bb2022-11-19 18:45:26 -050075 select MISC_COMMON
Masahiro Yamadac54550b2014-08-31 07:11:00 +090076
77config TARGET_ORIGEN
78 bool "Exynos4412 Origen board"
Tom Rini893cd412022-06-10 22:59:33 -040079 select EXYNOS4210
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090080 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090081
82config TARGET_TRATS2
83 bool "Exynos4412 Trat2 board"
Tom Rinib5207bb2022-11-19 18:45:26 -050084 select MISC_COMMON
Masahiro Yamadac54550b2014-08-31 07:11:00 +090085
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020086config TARGET_ODROID
87 bool "Exynos4412 Odroid board"
Tom Rinib5207bb2022-11-19 18:45:26 -050088 select MISC_COMMON
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020089
Thomas Abrahama99ad392016-04-23 22:18:12 +053090endchoice
91endif
92
93if ARCH_EXYNOS5
94
Tom Rini893cd412022-06-10 22:59:33 -040095config EXYNOS5250
96 bool
97
98config EXYNOS5420
99 bool
100
101config EXYNOS5_DT
102 bool
103
Simon Glass035939e2021-07-10 21:14:30 -0600104config SPL_GPIO
Simon Glass0bdfc3e2016-09-12 23:18:39 -0600105 default y
106
Simon Glassf2a89462016-09-12 23:18:41 -0600107config SPL_LIBCOMMON_SUPPORT
108 default y
109
Simon Glassb16c92c2016-09-12 23:18:43 -0600110config SPL_LIBGENERIC_SUPPORT
111 default y
112
Thomas Abrahama99ad392016-04-23 22:18:12 +0530113choice
114 prompt "EXYNOS5 board select"
115
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +0900116config TARGET_ODROID_XU3
117 bool "Exynos5422 Odroid board"
Tom Rini893cd412022-06-10 22:59:33 -0400118 select EXYNOS5_DT
119 select EXYNOS5420
Tom Rinib5207bb2022-11-19 18:45:26 -0500120 select MISC_COMMON
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +0900121 select OF_CONTROL
122
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900123config TARGET_ARNDALE
124 bool "Exynos5250 Arndale board"
Tom Rinibacb52c2017-03-07 07:13:42 -0500125 select ARM_ERRATA_773022
126 select ARM_ERRATA_774769
Hans de Goede85437352014-11-14 09:34:30 +0100127 select CPU_V7_HAS_NONSEC
128 select CPU_V7_HAS_VIRT
Tom Rini893cd412022-06-10 22:59:33 -0400129 select EXYNOS5250
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900130 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200131 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900132
133config TARGET_SMDK5250
134 bool "SMDK5250 board"
Tom Rini893cd412022-06-10 22:59:33 -0400135 select EXYNOS5_DT
136 select EXYNOS5250
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900137 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200138 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900139
140config TARGET_SNOW
141 bool "Snow board"
Tom Rini893cd412022-06-10 22:59:33 -0400142 select EXYNOS5_DT
143 select EXYNOS5250
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900144 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200145 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900146
Simon Glassb1398362015-08-03 08:19:37 -0600147config TARGET_SPRING
148 bool "Spring board"
Tom Rini893cd412022-06-10 22:59:33 -0400149 select EXYNOS5_DT
150 select EXYNOS5250
Simon Glassb1398362015-08-03 08:19:37 -0600151 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200152 select SUPPORT_SPL
Simon Glassb1398362015-08-03 08:19:37 -0600153
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900154config TARGET_SMDK5420
155 bool "SMDK5420 board"
Tom Rini893cd412022-06-10 22:59:33 -0400156 select EXYNOS5_DT
157 select EXYNOS5420
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900158 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200159 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900160
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530161config TARGET_PEACH_PI
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900162 bool "Peach Pi board"
Tom Rini893cd412022-06-10 22:59:33 -0400163 select EXYNOS5_DT
164 select EXYNOS5420
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900165 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200166 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900167
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530168config TARGET_PEACH_PIT
169 bool "Peach Pit board"
Tom Rini893cd412022-06-10 22:59:33 -0400170 select EXYNOS5_DT
171 select EXYNOS5420
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900172 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200173 select SUPPORT_SPL
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530174
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900175endchoice
Thomas Abrahama99ad392016-04-23 22:18:12 +0530176endif
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900177
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530178if ARCH_EXYNOS7
179
180choice
181 prompt "EXYNOS7 board select"
182
Tom Rini8b66e042021-08-19 16:23:58 -0400183config TARGET_ESPRESSO7420
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530184 bool "ESPRESSO7420 board"
185 select ARM64
Thomas Abrahamf1855fc2016-11-16 18:49:16 +0530186 select ARMV8_MULTIENTRY
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200187 select CLK_EXYNOS
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530188 select OF_CONTROL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530189 select PINCTRL
190 select PINCTRL_EXYNOS7420
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200191 select SUPPORT_SPL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530192
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300193config TARGET_A5Y17LTE
194 bool "Samsung SM-A520F board"
195 select ARM64
196 select CLK_EXYNOS
197 select OF_CONTROL
198 select PINCTRL
199 select PINCTRL_EXYNOS78x0
200 select SUPPORT_SPL
201
202config TARGET_A7Y17LTE
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100203 bool "Samsung SM-A720F board"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300204 select ARM64
205 select CLK_EXYNOS
206 select OF_CONTROL
207 select PINCTRL
208 select PINCTRL_EXYNOS78x0
209 select SUPPORT_SPL
210
211config TARGET_A3Y17LTE
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100212 bool "Samsung SM-A320F board"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300213 select ARM64
214 select CLK_EXYNOS
215 select OF_CONTROL
216 select PINCTRL
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100217 select PINCTRL_EXYNOS78x0
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300218 select SUPPORT_SPL
219
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530220endchoice
221endif
222
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900223config SYS_SOC
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900224 default "exynos"
225
Tom Rini893cd412022-06-10 22:59:33 -0400226config EXYNOS_ACE_SHA
227 bool "Advanced Crypto Engine SHA support"
228 depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) && (LIB_HW_RAND || SHA_HW_ACCEL)
229 default y if ARCH_EXYNOS5
230
231config EXYNOS_TMU
232 bool "Exynos5 thermal management unit support"
233 depends on ARCH_EXYNOS5
234 default y
235
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900236source "board/samsung/smdkv310/Kconfig"
237source "board/samsung/trats/Kconfig"
238source "board/samsung/universal_c210/Kconfig"
239source "board/samsung/origen/Kconfig"
240source "board/samsung/trats2/Kconfig"
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +0200241source "board/samsung/odroid/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900242source "board/samsung/arndale/Kconfig"
243source "board/samsung/smdk5250/Kconfig"
244source "board/samsung/smdk5420/Kconfig"
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530245source "board/samsung/espresso7420/Kconfig"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300246source "board/samsung/axy17lte/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900247
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900248endif