Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 1 | if ARCH_EXYNOS |
| 2 | |
Tom Rini | a7e6c6b | 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 | 3a581af | 2022-12-02 16:42:21 -0500 | [diff] [blame] | 7 | config SPI_BOOTING |
| 8 | bool |
| 9 | |
Tom Rini | 4475d01 | 2022-12-02 16:42:12 -0500 | [diff] [blame] | 10 | config USB_BOOTING |
| 11 | bool |
| 12 | |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 13 | choice |
Thomas Abraham | 36aa893 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 14 | prompt "EXYNOS architecture type select" |
Joe Hershberger | a26cd04 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 15 | optional |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 16 | |
Thomas Abraham | 36aa893 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 17 | config ARCH_EXYNOS4 |
| 18 | bool "Exynos4 SoC family" |
Simon Glass | a5d6754 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 19 | select BOARD_EARLY_INIT_F |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 20 | select CPU_V7A |
Simon Glass | e293231 | 2019-01-11 18:37:08 -0700 | [diff] [blame] | 21 | select BLK |
| 22 | select DM_MMC |
Thomas Abraham | 36aa893 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 23 | help |
| 24 | Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There |
| 25 | are multiple SoCs in this family including Exynos4210, Exynos4412, |
| 26 | and Exynos4212. |
| 27 | |
| 28 | config ARCH_EXYNOS5 |
| 29 | bool "Exynos5 SoC family" |
Simon Glass | a5d6754 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 30 | select BOARD_EARLY_INIT_F |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 31 | select CPU_V7A |
Tom Rini | 089df18 | 2017-05-15 12:17:49 -0400 | [diff] [blame] | 32 | select SHA_HW_ACCEL |
Tom Rini | 3a581af | 2022-12-02 16:42:21 -0500 | [diff] [blame] | 33 | select SPI_BOOTING if EXYNOS5_DT |
Tom Rini | 4475d01 | 2022-12-02 16:42:12 -0500 | [diff] [blame] | 34 | select USB_BOOTING |
Simon Glass | 551c393 | 2017-05-17 03:25:25 -0600 | [diff] [blame] | 35 | imply CMD_HASH |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 36 | imply CRC32_VERIFY |
Daniel Thompson | 221a949 | 2017-05-19 17:26:58 +0100 | [diff] [blame] | 37 | imply HASH_VERIFY |
Simon Glass | 93e1edf | 2021-11-24 09:26:44 -0700 | [diff] [blame] | 38 | imply KEYBOARD |
Chris Packham | f58ad98 | 2017-08-28 20:50:46 +1200 | [diff] [blame] | 39 | imply USB_ETHER_ASIX |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 40 | imply USB_ETHER_RTL8152 |
Chris Packham | f58ad98 | 2017-08-28 20:50:46 +1200 | [diff] [blame] | 41 | imply USB_ETHER_SMSC95XX |
Simon Glass | e293231 | 2019-01-11 18:37:08 -0700 | [diff] [blame] | 42 | select BLK |
| 43 | select DM_MMC |
| 44 | |
Thomas Abraham | 36aa893 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 45 | help |
| 46 | Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and |
| 47 | Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs |
| 48 | in this family including Exynos5250, Exynos5420 and Exynos5800. |
| 49 | |
Thomas Abraham | e39448e | 2016-04-23 22:18:13 +0530 | [diff] [blame] | 50 | config ARCH_EXYNOS7 |
| 51 | bool "Exynos7 SoC family" |
| 52 | select ARM64 |
Simon Glass | a5d6754 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 53 | select BOARD_EARLY_INIT_F |
Simon Glass | e293231 | 2019-01-11 18:37:08 -0700 | [diff] [blame] | 54 | select BLK |
| 55 | select DM_MMC |
Thomas Abraham | e39448e | 2016-04-23 22:18:13 +0530 | [diff] [blame] | 56 | help |
| 57 | Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or |
| 58 | Cortex-A53 CPU (and some in a big.LITTLE configuration). There are |
| 59 | multiple SoCs in this family including Exynos7420. |
| 60 | |
Thomas Abraham | 36aa893 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 61 | endchoice |
| 62 | |
| 63 | if ARCH_EXYNOS4 |
| 64 | |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 65 | config EXYNOS4210 |
| 66 | bool |
| 67 | |
Thomas Abraham | 36aa893 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 68 | choice |
| 69 | prompt "EXYNOS4 board select" |
| 70 | |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 71 | config TARGET_SMDKV310 |
| 72 | bool "Exynos4210 SMDKV310 board" |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 73 | select EXYNOS4210 |
Masahiro Yamada | d648964 | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 74 | select OF_CONTROL |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 75 | select SUPPORT_SPL |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 76 | |
| 77 | config TARGET_TRATS |
Tom Rini | 4982e12 | 2022-11-19 18:45:26 -0500 | [diff] [blame] | 78 | select MISC_COMMON |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 79 | bool "Exynos4210 Trats board" |
| 80 | |
| 81 | config TARGET_S5PC210_UNIVERSAL |
| 82 | bool "EXYNOS4210 Universal C210 board" |
Tom Rini | 4982e12 | 2022-11-19 18:45:26 -0500 | [diff] [blame] | 83 | select MISC_COMMON |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 84 | |
| 85 | config TARGET_ORIGEN |
| 86 | bool "Exynos4412 Origen board" |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 87 | select EXYNOS4210 |
Masahiro Yamada | 0262735 | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 88 | select SUPPORT_SPL |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 89 | |
| 90 | config TARGET_TRATS2 |
| 91 | bool "Exynos4412 Trat2 board" |
Tom Rini | 4982e12 | 2022-11-19 18:45:26 -0500 | [diff] [blame] | 92 | select MISC_COMMON |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 93 | |
Przemyslaw Marczak | 73eca21 | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 94 | config TARGET_ODROID |
| 95 | bool "Exynos4412 Odroid board" |
Tom Rini | 4982e12 | 2022-11-19 18:45:26 -0500 | [diff] [blame] | 96 | select MISC_COMMON |
Przemyslaw Marczak | 73eca21 | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 97 | |
Thomas Abraham | 36aa893 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 98 | endchoice |
| 99 | endif |
| 100 | |
| 101 | if ARCH_EXYNOS5 |
| 102 | |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 103 | config EXYNOS5250 |
| 104 | bool |
| 105 | |
| 106 | config EXYNOS5420 |
| 107 | bool |
| 108 | |
| 109 | config EXYNOS5_DT |
| 110 | bool |
| 111 | |
Simon Glass | 83061db | 2021-07-10 21:14:30 -0600 | [diff] [blame] | 112 | config SPL_GPIO |
Simon Glass | 53b5bf3 | 2016-09-12 23:18:39 -0600 | [diff] [blame] | 113 | default y |
| 114 | |
Simon Glass | 77d2f7f | 2016-09-12 23:18:41 -0600 | [diff] [blame] | 115 | config SPL_LIBCOMMON_SUPPORT |
| 116 | default y |
| 117 | |
Simon Glass | cc4288e | 2016-09-12 23:18:43 -0600 | [diff] [blame] | 118 | config SPL_LIBGENERIC_SUPPORT |
| 119 | default y |
| 120 | |
Thomas Abraham | 36aa893 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 121 | choice |
| 122 | prompt "EXYNOS5 board select" |
| 123 | |
Hyungwon Hwang | 6207604 | 2014-12-12 14:45:45 +0900 | [diff] [blame] | 124 | config TARGET_ODROID_XU3 |
| 125 | bool "Exynos5422 Odroid board" |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 126 | select EXYNOS5_DT |
| 127 | select EXYNOS5420 |
Tom Rini | 4982e12 | 2022-11-19 18:45:26 -0500 | [diff] [blame] | 128 | select MISC_COMMON |
Hyungwon Hwang | 6207604 | 2014-12-12 14:45:45 +0900 | [diff] [blame] | 129 | select OF_CONTROL |
| 130 | |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 131 | config TARGET_ARNDALE |
| 132 | bool "Exynos5250 Arndale board" |
Tom Rini | 8dda2e2 | 2017-03-07 07:13:42 -0500 | [diff] [blame] | 133 | select ARM_ERRATA_773022 |
| 134 | select ARM_ERRATA_774769 |
Hans de Goede | ea624e1 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 135 | select CPU_V7_HAS_NONSEC |
| 136 | select CPU_V7_HAS_VIRT |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 137 | select EXYNOS5250 |
Masahiro Yamada | d648964 | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 138 | select OF_CONTROL |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 139 | select SUPPORT_SPL |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 140 | |
| 141 | config TARGET_SMDK5250 |
| 142 | bool "SMDK5250 board" |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 143 | select EXYNOS5_DT |
| 144 | select EXYNOS5250 |
Masahiro Yamada | d648964 | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 145 | select OF_CONTROL |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 146 | select SUPPORT_SPL |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 147 | |
| 148 | config TARGET_SNOW |
| 149 | bool "Snow board" |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 150 | select EXYNOS5_DT |
| 151 | select EXYNOS5250 |
Masahiro Yamada | d648964 | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 152 | select OF_CONTROL |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 153 | select SUPPORT_SPL |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 154 | |
Simon Glass | d1de41d | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 155 | config TARGET_SPRING |
| 156 | bool "Spring board" |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 157 | select EXYNOS5_DT |
| 158 | select EXYNOS5250 |
Simon Glass | d1de41d | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 159 | select OF_CONTROL |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 160 | select SUPPORT_SPL |
Simon Glass | d1de41d | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 161 | |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 162 | config TARGET_SMDK5420 |
| 163 | bool "SMDK5420 board" |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 164 | select EXYNOS5_DT |
| 165 | select EXYNOS5420 |
Masahiro Yamada | d648964 | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 166 | select OF_CONTROL |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 167 | select SUPPORT_SPL |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 168 | |
Akshay Saraswat | 79043d8 | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 169 | config TARGET_PEACH_PI |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 170 | bool "Peach Pi board" |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 171 | select EXYNOS5_DT |
| 172 | select EXYNOS5420 |
Masahiro Yamada | d648964 | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 173 | select OF_CONTROL |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 174 | select SUPPORT_SPL |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 175 | |
Akshay Saraswat | 79043d8 | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 176 | config TARGET_PEACH_PIT |
| 177 | bool "Peach Pit board" |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 178 | select EXYNOS5_DT |
| 179 | select EXYNOS5420 |
Masahiro Yamada | d648964 | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 180 | select OF_CONTROL |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 181 | select SUPPORT_SPL |
Akshay Saraswat | 79043d8 | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 182 | |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 183 | endchoice |
Thomas Abraham | 36aa893 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 184 | endif |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 185 | |
Thomas Abraham | 6c15a2a | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 186 | if ARCH_EXYNOS7 |
| 187 | |
| 188 | choice |
| 189 | prompt "EXYNOS7 board select" |
| 190 | |
Tom Rini | 809c4f2 | 2021-08-19 16:23:58 -0400 | [diff] [blame] | 191 | config TARGET_ESPRESSO7420 |
Thomas Abraham | 6c15a2a | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 192 | bool "ESPRESSO7420 board" |
| 193 | select ARM64 |
Thomas Abraham | 95e74a3 | 2016-11-16 18:49:16 +0530 | [diff] [blame] | 194 | select ARMV8_MULTIENTRY |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 195 | select CLK_EXYNOS |
Thomas Abraham | 6c15a2a | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 196 | select OF_CONTROL |
Thomas Abraham | 6c15a2a | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 197 | select PINCTRL |
| 198 | select PINCTRL_EXYNOS7420 |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 199 | select SUPPORT_SPL |
Thomas Abraham | 6c15a2a | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 200 | |
Dzmitry Sankouski | 3e2095e | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 201 | config TARGET_A5Y17LTE |
| 202 | bool "Samsung SM-A520F board" |
| 203 | select ARM64 |
| 204 | select CLK_EXYNOS |
| 205 | select OF_CONTROL |
| 206 | select PINCTRL |
| 207 | select PINCTRL_EXYNOS78x0 |
| 208 | select SUPPORT_SPL |
| 209 | |
| 210 | config TARGET_A7Y17LTE |
Henrik Grimler | 00809bd | 2022-01-07 20:12:54 +0100 | [diff] [blame] | 211 | bool "Samsung SM-A720F board" |
Dzmitry Sankouski | 3e2095e | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 212 | select ARM64 |
| 213 | select CLK_EXYNOS |
| 214 | select OF_CONTROL |
| 215 | select PINCTRL |
| 216 | select PINCTRL_EXYNOS78x0 |
| 217 | select SUPPORT_SPL |
| 218 | |
| 219 | config TARGET_A3Y17LTE |
Henrik Grimler | 00809bd | 2022-01-07 20:12:54 +0100 | [diff] [blame] | 220 | bool "Samsung SM-A320F board" |
Dzmitry Sankouski | 3e2095e | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 221 | select ARM64 |
| 222 | select CLK_EXYNOS |
| 223 | select OF_CONTROL |
| 224 | select PINCTRL |
Henrik Grimler | 00809bd | 2022-01-07 20:12:54 +0100 | [diff] [blame] | 225 | select PINCTRL_EXYNOS78x0 |
Dzmitry Sankouski | 3e2095e | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 226 | select SUPPORT_SPL |
| 227 | |
Thomas Abraham | 6c15a2a | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 228 | endchoice |
| 229 | endif |
| 230 | |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 231 | config SYS_SOC |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 232 | default "exynos" |
| 233 | |
Tom Rini | 24ec3de | 2022-06-10 22:59:33 -0400 | [diff] [blame] | 234 | config EXYNOS_ACE_SHA |
| 235 | bool "Advanced Crypto Engine SHA support" |
| 236 | depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) && (LIB_HW_RAND || SHA_HW_ACCEL) |
| 237 | default y if ARCH_EXYNOS5 |
| 238 | |
| 239 | config EXYNOS_TMU |
| 240 | bool "Exynos5 thermal management unit support" |
| 241 | depends on ARCH_EXYNOS5 |
| 242 | default y |
| 243 | |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 244 | source "board/samsung/smdkv310/Kconfig" |
| 245 | source "board/samsung/trats/Kconfig" |
| 246 | source "board/samsung/universal_c210/Kconfig" |
| 247 | source "board/samsung/origen/Kconfig" |
| 248 | source "board/samsung/trats2/Kconfig" |
Przemyslaw Marczak | 73eca21 | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 249 | source "board/samsung/odroid/Kconfig" |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 250 | source "board/samsung/arndale/Kconfig" |
| 251 | source "board/samsung/smdk5250/Kconfig" |
| 252 | source "board/samsung/smdk5420/Kconfig" |
Thomas Abraham | 6c15a2a | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 253 | source "board/samsung/espresso7420/Kconfig" |
Dzmitry Sankouski | 3e2095e | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 254 | source "board/samsung/axy17lte/Kconfig" |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 255 | |
Masahiro Yamada | 72df68c | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 256 | endif |