Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 1 | if ARCH_EXYNOS |
2 | |||||
3 | choice | ||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 4 | prompt "EXYNOS architecture type select" |
Joe Hershberger | f069960 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 5 | optional |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 6 | |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 7 | config ARCH_EXYNOS4 |
8 | bool "Exynos4 SoC family" | ||||
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 9 | select BOARD_EARLY_INIT_F |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 10 | select CPU_V7A |
Simon Glass | a2f6c04 | 2019-01-11 18:37:08 -0700 | [diff] [blame] | 11 | select BLK |
12 | select DM_MMC | ||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 13 | help |
14 | Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There | ||||
15 | are multiple SoCs in this family including Exynos4210, Exynos4412, | ||||
16 | and Exynos4212. | ||||
17 | |||||
18 | config ARCH_EXYNOS5 | ||||
19 | bool "Exynos5 SoC family" | ||||
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 20 | select BOARD_EARLY_INIT_F |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 21 | select CPU_V7A |
Tom Rini | 5bdd919 | 2017-05-15 12:17:49 -0400 | [diff] [blame] | 22 | select SHA_HW_ACCEL |
Simon Glass | 027608e | 2017-05-17 03:25:25 -0600 | [diff] [blame] | 23 | imply CMD_HASH |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 24 | imply CRC32_VERIFY |
Daniel Thompson | a9e2c67 | 2017-05-19 17:26:58 +0100 | [diff] [blame] | 25 | imply HASH_VERIFY |
Simon Glass | 278efc68 | 2021-11-24 09:26:44 -0700 | [diff] [blame] | 26 | imply KEYBOARD |
Chris Packham | b110e11 | 2017-08-28 20:50:46 +1200 | [diff] [blame] | 27 | imply USB_ETHER_ASIX |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 28 | imply USB_ETHER_RTL8152 |
Chris Packham | b110e11 | 2017-08-28 20:50:46 +1200 | [diff] [blame] | 29 | imply USB_ETHER_SMSC95XX |
Simon Glass | a2f6c04 | 2019-01-11 18:37:08 -0700 | [diff] [blame] | 30 | select BLK |
31 | select DM_MMC | ||||
32 | |||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 33 | help |
34 | Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and | ||||
35 | Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs | ||||
36 | in this family including Exynos5250, Exynos5420 and Exynos5800. | ||||
37 | |||||
Thomas Abraham | d23cb31 | 2016-04-23 22:18:13 +0530 | [diff] [blame] | 38 | config ARCH_EXYNOS7 |
39 | bool "Exynos7 SoC family" | ||||
40 | select ARM64 | ||||
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 41 | select BOARD_EARLY_INIT_F |
Simon Glass | a2f6c04 | 2019-01-11 18:37:08 -0700 | [diff] [blame] | 42 | select BLK |
43 | select DM_MMC | ||||
Thomas Abraham | d23cb31 | 2016-04-23 22:18:13 +0530 | [diff] [blame] | 44 | help |
45 | Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or | ||||
46 | Cortex-A53 CPU (and some in a big.LITTLE configuration). There are | ||||
47 | multiple SoCs in this family including Exynos7420. | ||||
48 | |||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 49 | endchoice |
50 | |||||
51 | if ARCH_EXYNOS4 | ||||
52 | |||||
53 | choice | ||||
54 | prompt "EXYNOS4 board select" | ||||
55 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 56 | config TARGET_SMDKV310 |
57 | bool "Exynos4210 SMDKV310 board" | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 58 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 59 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 60 | |
61 | config TARGET_TRATS | ||||
62 | bool "Exynos4210 Trats board" | ||||
63 | |||||
64 | config TARGET_S5PC210_UNIVERSAL | ||||
65 | bool "EXYNOS4210 Universal C210 board" | ||||
66 | |||||
67 | config TARGET_ORIGEN | ||||
68 | bool "Exynos4412 Origen board" | ||||
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 69 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 70 | |
71 | config TARGET_TRATS2 | ||||
72 | bool "Exynos4412 Trat2 board" | ||||
73 | |||||
Przemyslaw Marczak | a314d9e | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 74 | config TARGET_ODROID |
75 | bool "Exynos4412 Odroid board" | ||||
76 | |||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 77 | endchoice |
78 | endif | ||||
79 | |||||
80 | if ARCH_EXYNOS5 | ||||
81 | |||||
Simon Glass | 035939e | 2021-07-10 21:14:30 -0600 | [diff] [blame] | 82 | config SPL_GPIO |
Simon Glass | 0bdfc3e | 2016-09-12 23:18:39 -0600 | [diff] [blame] | 83 | default y |
84 | |||||
Simon Glass | f2a8946 | 2016-09-12 23:18:41 -0600 | [diff] [blame] | 85 | config SPL_LIBCOMMON_SUPPORT |
86 | default y | ||||
87 | |||||
Simon Glass | b16c92c | 2016-09-12 23:18:43 -0600 | [diff] [blame] | 88 | config SPL_LIBGENERIC_SUPPORT |
89 | default y | ||||
90 | |||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 91 | choice |
92 | prompt "EXYNOS5 board select" | ||||
93 | |||||
Hyungwon Hwang | 3b6880d | 2014-12-12 14:45:45 +0900 | [diff] [blame] | 94 | config TARGET_ODROID_XU3 |
95 | bool "Exynos5422 Odroid board" | ||||
96 | select OF_CONTROL | ||||
97 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 98 | config TARGET_ARNDALE |
99 | bool "Exynos5250 Arndale board" | ||||
Tom Rini | bacb52c | 2017-03-07 07:13:42 -0500 | [diff] [blame] | 100 | select ARM_ERRATA_773022 |
101 | select ARM_ERRATA_774769 | ||||
Hans de Goede | 8543735 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 102 | select CPU_V7_HAS_NONSEC |
103 | select CPU_V7_HAS_VIRT | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 104 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 105 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 106 | |
107 | config TARGET_SMDK5250 | ||||
108 | bool "SMDK5250 board" | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 109 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 110 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 111 | |
112 | config TARGET_SNOW | ||||
113 | bool "Snow board" | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 114 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 115 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 116 | |
Simon Glass | b139836 | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 117 | config TARGET_SPRING |
118 | bool "Spring board" | ||||
Simon Glass | b139836 | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 119 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 120 | select SUPPORT_SPL |
Simon Glass | b139836 | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 121 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 122 | config TARGET_SMDK5420 |
123 | bool "SMDK5420 board" | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 124 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 125 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 126 | |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 127 | config TARGET_PEACH_PI |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 128 | bool "Peach Pi board" |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 129 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 130 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 131 | |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 132 | config TARGET_PEACH_PIT |
133 | bool "Peach Pit board" | ||||
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 |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 136 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 137 | endchoice |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 138 | endif |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 139 | |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 140 | if ARCH_EXYNOS7 |
141 | |||||
142 | choice | ||||
143 | prompt "EXYNOS7 board select" | ||||
144 | |||||
Tom Rini | 8b66e04 | 2021-08-19 16:23:58 -0400 | [diff] [blame] | 145 | config TARGET_ESPRESSO7420 |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 146 | bool "ESPRESSO7420 board" |
147 | select ARM64 | ||||
Thomas Abraham | f1855fc | 2016-11-16 18:49:16 +0530 | [diff] [blame] | 148 | select ARMV8_MULTIENTRY |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 149 | select CLK_EXYNOS |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 150 | select OF_CONTROL |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 151 | select PINCTRL |
152 | select PINCTRL_EXYNOS7420 | ||||
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 153 | select SUPPORT_SPL |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 154 | |
Dzmitry Sankouski | 83af4cb | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 155 | config TARGET_A5Y17LTE |
156 | bool "Samsung SM-A520F board" | ||||
157 | select ARM64 | ||||
158 | select CLK_EXYNOS | ||||
159 | select OF_CONTROL | ||||
160 | select PINCTRL | ||||
161 | select PINCTRL_EXYNOS78x0 | ||||
162 | select SUPPORT_SPL | ||||
163 | |||||
164 | config TARGET_A7Y17LTE | ||||
Henrik Grimler | 3d4ce0b | 2022-01-07 20:12:54 +0100 | [diff] [blame^] | 165 | bool "Samsung SM-A720F board" |
Dzmitry Sankouski | 83af4cb | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 166 | select ARM64 |
167 | select CLK_EXYNOS | ||||
168 | select OF_CONTROL | ||||
169 | select PINCTRL | ||||
170 | select PINCTRL_EXYNOS78x0 | ||||
171 | select SUPPORT_SPL | ||||
172 | |||||
173 | config TARGET_A3Y17LTE | ||||
Henrik Grimler | 3d4ce0b | 2022-01-07 20:12:54 +0100 | [diff] [blame^] | 174 | bool "Samsung SM-A320F board" |
Dzmitry Sankouski | 83af4cb | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 175 | select ARM64 |
176 | select CLK_EXYNOS | ||||
177 | select OF_CONTROL | ||||
178 | select PINCTRL | ||||
Henrik Grimler | 3d4ce0b | 2022-01-07 20:12:54 +0100 | [diff] [blame^] | 179 | select PINCTRL_EXYNOS78x0 |
Dzmitry Sankouski | 83af4cb | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 180 | select SUPPORT_SPL |
181 | |||||
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 182 | endchoice |
183 | endif | ||||
184 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 185 | config SYS_SOC |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 186 | default "exynos" |
187 | |||||
188 | source "board/samsung/smdkv310/Kconfig" | ||||
189 | source "board/samsung/trats/Kconfig" | ||||
190 | source "board/samsung/universal_c210/Kconfig" | ||||
191 | source "board/samsung/origen/Kconfig" | ||||
192 | source "board/samsung/trats2/Kconfig" | ||||
Przemyslaw Marczak | a314d9e | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 193 | source "board/samsung/odroid/Kconfig" |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 194 | source "board/samsung/arndale/Kconfig" |
195 | source "board/samsung/smdk5250/Kconfig" | ||||
196 | source "board/samsung/smdk5420/Kconfig" | ||||
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 197 | source "board/samsung/espresso7420/Kconfig" |
Dzmitry Sankouski | 83af4cb | 2021-10-17 13:45:42 +0300 | [diff] [blame] | 198 | source "board/samsung/axy17lte/Kconfig" |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 199 | |
Philipp Tomsich | 2d6a0cc | 2017-08-03 23:23:55 +0200 | [diff] [blame] | 200 | config SPL_LDSCRIPT |
201 | default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4 | ||||
202 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 203 | endif |