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