blob: 84102908561e129dc7643d7e95b9c12c3ccc0a20 [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
70 bool "Exynos4210 Trats board"
71
72config TARGET_S5PC210_UNIVERSAL
73 bool "EXYNOS4210 Universal C210 board"
74
75config TARGET_ORIGEN
76 bool "Exynos4412 Origen board"
Tom Rini893cd412022-06-10 22:59:33 -040077 select EXYNOS4210
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090078 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090079
80config TARGET_TRATS2
81 bool "Exynos4412 Trat2 board"
82
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020083config TARGET_ODROID
84 bool "Exynos4412 Odroid board"
85
Thomas Abrahama99ad392016-04-23 22:18:12 +053086endchoice
87endif
88
89if ARCH_EXYNOS5
90
Tom Rini893cd412022-06-10 22:59:33 -040091config EXYNOS5250
92 bool
93
94config EXYNOS5420
95 bool
96
97config EXYNOS5_DT
98 bool
99
Simon Glass035939e2021-07-10 21:14:30 -0600100config SPL_GPIO
Simon Glass0bdfc3e2016-09-12 23:18:39 -0600101 default y
102
Simon Glassf2a89462016-09-12 23:18:41 -0600103config SPL_LIBCOMMON_SUPPORT
104 default y
105
Simon Glassb16c92c2016-09-12 23:18:43 -0600106config SPL_LIBGENERIC_SUPPORT
107 default y
108
Thomas Abrahama99ad392016-04-23 22:18:12 +0530109choice
110 prompt "EXYNOS5 board select"
111
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +0900112config TARGET_ODROID_XU3
113 bool "Exynos5422 Odroid board"
Tom Rini893cd412022-06-10 22:59:33 -0400114 select EXYNOS5_DT
115 select EXYNOS5420
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +0900116 select OF_CONTROL
117
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900118config TARGET_ARNDALE
119 bool "Exynos5250 Arndale board"
Tom Rinibacb52c2017-03-07 07:13:42 -0500120 select ARM_ERRATA_773022
121 select ARM_ERRATA_774769
Hans de Goede85437352014-11-14 09:34:30 +0100122 select CPU_V7_HAS_NONSEC
123 select CPU_V7_HAS_VIRT
Tom Rini893cd412022-06-10 22:59:33 -0400124 select EXYNOS5250
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900125 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200126 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900127
128config TARGET_SMDK5250
129 bool "SMDK5250 board"
Tom Rini893cd412022-06-10 22:59:33 -0400130 select EXYNOS5_DT
131 select EXYNOS5250
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900132 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200133 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900134
135config TARGET_SNOW
136 bool "Snow board"
Tom Rini893cd412022-06-10 22:59:33 -0400137 select EXYNOS5_DT
138 select EXYNOS5250
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900139 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200140 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900141
Simon Glassb1398362015-08-03 08:19:37 -0600142config TARGET_SPRING
143 bool "Spring board"
Tom Rini893cd412022-06-10 22:59:33 -0400144 select EXYNOS5_DT
145 select EXYNOS5250
Simon Glassb1398362015-08-03 08:19:37 -0600146 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200147 select SUPPORT_SPL
Simon Glassb1398362015-08-03 08:19:37 -0600148
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900149config TARGET_SMDK5420
150 bool "SMDK5420 board"
Tom Rini893cd412022-06-10 22:59:33 -0400151 select EXYNOS5_DT
152 select EXYNOS5420
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900153 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200154 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900155
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530156config TARGET_PEACH_PI
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900157 bool "Peach Pi board"
Tom Rini893cd412022-06-10 22:59:33 -0400158 select EXYNOS5_DT
159 select EXYNOS5420
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900160 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200161 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900162
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530163config TARGET_PEACH_PIT
164 bool "Peach Pit board"
Tom Rini893cd412022-06-10 22:59:33 -0400165 select EXYNOS5_DT
166 select EXYNOS5420
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900167 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200168 select SUPPORT_SPL
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530169
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900170endchoice
Thomas Abrahama99ad392016-04-23 22:18:12 +0530171endif
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900172
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530173if ARCH_EXYNOS7
174
175choice
176 prompt "EXYNOS7 board select"
177
Tom Rini8b66e042021-08-19 16:23:58 -0400178config TARGET_ESPRESSO7420
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530179 bool "ESPRESSO7420 board"
180 select ARM64
Thomas Abrahamf1855fc2016-11-16 18:49:16 +0530181 select ARMV8_MULTIENTRY
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200182 select CLK_EXYNOS
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530183 select OF_CONTROL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530184 select PINCTRL
185 select PINCTRL_EXYNOS7420
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200186 select SUPPORT_SPL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530187
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300188config TARGET_A5Y17LTE
189 bool "Samsung SM-A520F board"
190 select ARM64
191 select CLK_EXYNOS
192 select OF_CONTROL
193 select PINCTRL
194 select PINCTRL_EXYNOS78x0
195 select SUPPORT_SPL
196
197config TARGET_A7Y17LTE
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100198 bool "Samsung SM-A720F board"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300199 select ARM64
200 select CLK_EXYNOS
201 select OF_CONTROL
202 select PINCTRL
203 select PINCTRL_EXYNOS78x0
204 select SUPPORT_SPL
205
206config TARGET_A3Y17LTE
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100207 bool "Samsung SM-A320F board"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300208 select ARM64
209 select CLK_EXYNOS
210 select OF_CONTROL
211 select PINCTRL
Henrik Grimler3d4ce0b2022-01-07 20:12:54 +0100212 select PINCTRL_EXYNOS78x0
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300213 select SUPPORT_SPL
214
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530215endchoice
216endif
217
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900218config SYS_SOC
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900219 default "exynos"
220
Tom Rini893cd412022-06-10 22:59:33 -0400221config EXYNOS_ACE_SHA
222 bool "Advanced Crypto Engine SHA support"
223 depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) && (LIB_HW_RAND || SHA_HW_ACCEL)
224 default y if ARCH_EXYNOS5
225
226config EXYNOS_TMU
227 bool "Exynos5 thermal management unit support"
228 depends on ARCH_EXYNOS5
229 default y
230
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900231source "board/samsung/smdkv310/Kconfig"
232source "board/samsung/trats/Kconfig"
233source "board/samsung/universal_c210/Kconfig"
234source "board/samsung/origen/Kconfig"
235source "board/samsung/trats2/Kconfig"
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +0200236source "board/samsung/odroid/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900237source "board/samsung/arndale/Kconfig"
238source "board/samsung/smdk5250/Kconfig"
239source "board/samsung/smdk5420/Kconfig"
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530240source "board/samsung/espresso7420/Kconfig"
Dzmitry Sankouski83af4cb2021-10-17 13:45:42 +0300241source "board/samsung/axy17lte/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900242
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900243endif