Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 1 | if ARCH_EXYNOS |
2 | |||||
Tom Rini | 853bf31 | 2022-02-23 12:28:17 -0500 | [diff] [blame] | 3 | config BOARD_COMMON |
4 | def_bool y | ||||
5 | depends on !TARGET_SMDKV310 && !TARGET_ARNDALE | ||||
6 | |||||
Tom Rini | 4a65503 | 2022-12-02 16:42:12 -0500 | [diff] [blame^] | 7 | config USB_BOOTING |
8 | bool | ||||
9 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 10 | choice |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 11 | prompt "EXYNOS architecture type select" |
Joe Hershberger | f069960 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 12 | optional |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 13 | |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 14 | config ARCH_EXYNOS4 |
15 | bool "Exynos4 SoC family" | ||||
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 16 | select BOARD_EARLY_INIT_F |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 17 | select CPU_V7A |
Simon Glass | a2f6c04 | 2019-01-11 18:37:08 -0700 | [diff] [blame] | 18 | select BLK |
19 | select DM_MMC | ||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 20 | 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 | |||||
25 | config ARCH_EXYNOS5 | ||||
26 | bool "Exynos5 SoC family" | ||||
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 27 | select BOARD_EARLY_INIT_F |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 28 | select CPU_V7A |
Tom Rini | 5bdd919 | 2017-05-15 12:17:49 -0400 | [diff] [blame] | 29 | select SHA_HW_ACCEL |
Tom Rini | 4a65503 | 2022-12-02 16:42:12 -0500 | [diff] [blame^] | 30 | select USB_BOOTING |
Simon Glass | 027608e | 2017-05-17 03:25:25 -0600 | [diff] [blame] | 31 | imply CMD_HASH |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 32 | imply CRC32_VERIFY |
Daniel Thompson | a9e2c67 | 2017-05-19 17:26:58 +0100 | [diff] [blame] | 33 | imply HASH_VERIFY |
Simon Glass | 278efc68 | 2021-11-24 09:26:44 -0700 | [diff] [blame] | 34 | imply KEYBOARD |
Chris Packham | b110e11 | 2017-08-28 20:50:46 +1200 | [diff] [blame] | 35 | imply USB_ETHER_ASIX |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 36 | imply USB_ETHER_RTL8152 |
Chris Packham | b110e11 | 2017-08-28 20:50:46 +1200 | [diff] [blame] | 37 | imply USB_ETHER_SMSC95XX |
Simon Glass | a2f6c04 | 2019-01-11 18:37:08 -0700 | [diff] [blame] | 38 | select BLK |
39 | select DM_MMC | ||||
40 | |||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 41 | 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 Abraham | d23cb31 | 2016-04-23 22:18:13 +0530 | [diff] [blame] | 46 | config ARCH_EXYNOS7 |
47 | bool "Exynos7 SoC family" | ||||
48 | select ARM64 | ||||
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 49 | select BOARD_EARLY_INIT_F |
Simon Glass | a2f6c04 | 2019-01-11 18:37:08 -0700 | [diff] [blame] | 50 | select BLK |
51 | select DM_MMC | ||||
Thomas Abraham | d23cb31 | 2016-04-23 22:18:13 +0530 | [diff] [blame] | 52 | 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 Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 57 | endchoice |
58 | |||||
59 | if ARCH_EXYNOS4 | ||||
60 | |||||
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 61 | config EXYNOS4210 |
62 | bool | ||||
63 | |||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 64 | choice |
65 | prompt "EXYNOS4 board select" | ||||
66 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 67 | config TARGET_SMDKV310 |
68 | bool "Exynos4210 SMDKV310 board" | ||||
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 69 | select EXYNOS4210 |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 70 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 71 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 72 | |
73 | config TARGET_TRATS | ||||
Tom Rini | b5207bb | 2022-11-19 18:45:26 -0500 | [diff] [blame] | 74 | select MISC_COMMON |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 75 | bool "Exynos4210 Trats board" |
76 | |||||
77 | config TARGET_S5PC210_UNIVERSAL | ||||
78 | bool "EXYNOS4210 Universal C210 board" | ||||
Tom Rini | b5207bb | 2022-11-19 18:45:26 -0500 | [diff] [blame] | 79 | select MISC_COMMON |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 80 | |
81 | config TARGET_ORIGEN | ||||
82 | bool "Exynos4412 Origen board" | ||||
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 83 | select EXYNOS4210 |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 84 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 85 | |
86 | config TARGET_TRATS2 | ||||
87 | bool "Exynos4412 Trat2 board" | ||||
Tom Rini | b5207bb | 2022-11-19 18:45:26 -0500 | [diff] [blame] | 88 | select MISC_COMMON |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 89 | |
Przemyslaw Marczak | a314d9e | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 90 | config TARGET_ODROID |
91 | bool "Exynos4412 Odroid board" | ||||
Tom Rini | b5207bb | 2022-11-19 18:45:26 -0500 | [diff] [blame] | 92 | select MISC_COMMON |
Przemyslaw Marczak | a314d9e | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 93 | |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 94 | endchoice |
95 | endif | ||||
96 | |||||
97 | if ARCH_EXYNOS5 | ||||
98 | |||||
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 99 | config EXYNOS5250 |
100 | bool | ||||
101 | |||||
102 | config EXYNOS5420 | ||||
103 | bool | ||||
104 | |||||
105 | config EXYNOS5_DT | ||||
106 | bool | ||||
107 | |||||
Simon Glass | 035939e | 2021-07-10 21:14:30 -0600 | [diff] [blame] | 108 | config SPL_GPIO |
Simon Glass | 0bdfc3e | 2016-09-12 23:18:39 -0600 | [diff] [blame] | 109 | default y |
110 | |||||
Simon Glass | f2a8946 | 2016-09-12 23:18:41 -0600 | [diff] [blame] | 111 | config SPL_LIBCOMMON_SUPPORT |
112 | default y | ||||
113 | |||||
Simon Glass | b16c92c | 2016-09-12 23:18:43 -0600 | [diff] [blame] | 114 | config SPL_LIBGENERIC_SUPPORT |
115 | default y | ||||
116 | |||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 117 | choice |
118 | prompt "EXYNOS5 board select" | ||||
119 | |||||
Hyungwon Hwang | 3b6880d | 2014-12-12 14:45:45 +0900 | [diff] [blame] | 120 | config TARGET_ODROID_XU3 |
121 | bool "Exynos5422 Odroid board" | ||||
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 122 | select EXYNOS5_DT |
123 | select EXYNOS5420 | ||||
Tom Rini | b5207bb | 2022-11-19 18:45:26 -0500 | [diff] [blame] | 124 | select MISC_COMMON |
Hyungwon Hwang | 3b6880d | 2014-12-12 14:45:45 +0900 | [diff] [blame] | 125 | select OF_CONTROL |
126 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 127 | config TARGET_ARNDALE |
128 | bool "Exynos5250 Arndale board" | ||||
Tom Rini | bacb52c | 2017-03-07 07:13:42 -0500 | [diff] [blame] | 129 | select ARM_ERRATA_773022 |
130 | select ARM_ERRATA_774769 | ||||
Hans de Goede | 8543735 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 131 | select CPU_V7_HAS_NONSEC |
132 | select CPU_V7_HAS_VIRT | ||||
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 133 | select EXYNOS5250 |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 134 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 135 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 136 | |
137 | config TARGET_SMDK5250 | ||||
138 | bool "SMDK5250 board" | ||||
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 139 | select EXYNOS5_DT |
140 | select EXYNOS5250 | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 141 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 142 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 143 | |
144 | config TARGET_SNOW | ||||
145 | bool "Snow board" | ||||
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 146 | select EXYNOS5_DT |
147 | select EXYNOS5250 | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 148 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 149 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 150 | |
Simon Glass | b139836 | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 151 | config TARGET_SPRING |
152 | bool "Spring board" | ||||
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 153 | select EXYNOS5_DT |
154 | select EXYNOS5250 | ||||
Simon Glass | b139836 | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 155 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 156 | select SUPPORT_SPL |
Simon Glass | b139836 | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 157 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 158 | config TARGET_SMDK5420 |
159 | bool "SMDK5420 board" | ||||
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 160 | select EXYNOS5_DT |
161 | select EXYNOS5420 | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 162 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 163 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 164 | |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 165 | config TARGET_PEACH_PI |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 166 | bool "Peach Pi board" |
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 167 | select EXYNOS5_DT |
168 | select EXYNOS5420 | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 169 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 170 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 171 | |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 172 | config TARGET_PEACH_PIT |
173 | bool "Peach Pit board" | ||||
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 174 | select EXYNOS5_DT |
175 | select EXYNOS5420 | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 176 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 177 | select SUPPORT_SPL |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 178 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 179 | endchoice |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 180 | endif |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 181 | |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 182 | if ARCH_EXYNOS7 |
183 | |||||
184 | choice | ||||
185 | prompt "EXYNOS7 board select" | ||||
186 | |||||
Tom Rini | 8b66e04 | 2021-08-19 16:23:58 -0400 | [diff] [blame] | 187 | config TARGET_ESPRESSO7420 |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 188 | bool "ESPRESSO7420 board" |
189 | select ARM64 | ||||
Thomas Abraham | f1855fc | 2016-11-16 18:49:16 +0530 | [diff] [blame] | 190 | select ARMV8_MULTIENTRY |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 191 | select CLK_EXYNOS |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 192 | select OF_CONTROL |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 193 | select PINCTRL |
194 | select PINCTRL_EXYNOS7420 | ||||
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 195 | select SUPPORT_SPL |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 196 | |
Dzmitry Sankouski | 83af4cb | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 197 | config 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 | |||||
206 | config TARGET_A7Y17LTE | ||||
Henrik Grimler | 3d4ce0b | 2022-01-07 20:12:54 +0100 | [diff] [blame] | 207 | bool "Samsung SM-A720F board" |
Dzmitry Sankouski | 83af4cb | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 208 | select ARM64 |
209 | select CLK_EXYNOS | ||||
210 | select OF_CONTROL | ||||
211 | select PINCTRL | ||||
212 | select PINCTRL_EXYNOS78x0 | ||||
213 | select SUPPORT_SPL | ||||
214 | |||||
215 | config TARGET_A3Y17LTE | ||||
Henrik Grimler | 3d4ce0b | 2022-01-07 20:12:54 +0100 | [diff] [blame] | 216 | bool "Samsung SM-A320F board" |
Dzmitry Sankouski | 83af4cb | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 217 | select ARM64 |
218 | select CLK_EXYNOS | ||||
219 | select OF_CONTROL | ||||
220 | select PINCTRL | ||||
Henrik Grimler | 3d4ce0b | 2022-01-07 20:12:54 +0100 | [diff] [blame] | 221 | select PINCTRL_EXYNOS78x0 |
Dzmitry Sankouski | 83af4cb | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 222 | select SUPPORT_SPL |
223 | |||||
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 224 | endchoice |
225 | endif | ||||
226 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 227 | config SYS_SOC |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 228 | default "exynos" |
229 | |||||
Tom Rini | 893cd41 | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 230 | config 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 | |||||
235 | config EXYNOS_TMU | ||||
236 | bool "Exynos5 thermal management unit support" | ||||
237 | depends on ARCH_EXYNOS5 | ||||
238 | default y | ||||
239 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 240 | source "board/samsung/smdkv310/Kconfig" |
241 | source "board/samsung/trats/Kconfig" | ||||
242 | source "board/samsung/universal_c210/Kconfig" | ||||
243 | source "board/samsung/origen/Kconfig" | ||||
244 | source "board/samsung/trats2/Kconfig" | ||||
Przemyslaw Marczak | a314d9e | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 245 | source "board/samsung/odroid/Kconfig" |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 246 | source "board/samsung/arndale/Kconfig" |
247 | source "board/samsung/smdk5250/Kconfig" | ||||
248 | source "board/samsung/smdk5420/Kconfig" | ||||
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 249 | source "board/samsung/espresso7420/Kconfig" |
Dzmitry Sankouski | 83af4cb | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 250 | source "board/samsung/axy17lte/Kconfig" |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 251 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 252 | endif |