blob: 6087d93c71a4611eb1393809048e39040ed2c021 [file] [log] [blame]
Masahiro Yamada72df68c2014-08-31 07:11:00 +09001if ARCH_EXYNOS
2
3choice
Thomas Abraham36aa8932016-04-23 22:18:12 +05304 prompt "EXYNOS architecture type select"
Joe Hershbergera26cd042015-05-12 14:46:23 -05005 optional
Masahiro Yamada72df68c2014-08-31 07:11:00 +09006
Thomas Abraham36aa8932016-04-23 22:18:12 +05307config ARCH_EXYNOS4
8 bool "Exynos4 SoC family"
Simon Glassa5d67542017-01-23 13:31:20 -07009 select BOARD_EARLY_INIT_F
Michal Simek58008cb2018-07-23 15:55:15 +020010 select CPU_V7A
Simon Glasse2932312019-01-11 18:37:08 -070011 select BLK
12 select DM_MMC
Thomas Abraham36aa8932016-04-23 22:18:12 +053013 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
18config ARCH_EXYNOS5
19 bool "Exynos5 SoC family"
Simon Glassa5d67542017-01-23 13:31:20 -070020 select BOARD_EARLY_INIT_F
Michal Simek58008cb2018-07-23 15:55:15 +020021 select CPU_V7A
Tom Rini089df182017-05-15 12:17:49 -040022 select SHA_HW_ACCEL
Simon Glass551c3932017-05-17 03:25:25 -060023 imply CMD_HASH
Michal Simek58008cb2018-07-23 15:55:15 +020024 imply CRC32_VERIFY
Daniel Thompson221a9492017-05-19 17:26:58 +010025 imply HASH_VERIFY
Simon Glass93e1edf2021-11-24 09:26:44 -070026 imply KEYBOARD
Chris Packhamf58ad982017-08-28 20:50:46 +120027 imply USB_ETHER_ASIX
Michal Simek58008cb2018-07-23 15:55:15 +020028 imply USB_ETHER_RTL8152
Chris Packhamf58ad982017-08-28 20:50:46 +120029 imply USB_ETHER_SMSC95XX
Simon Glasse2932312019-01-11 18:37:08 -070030 select BLK
31 select DM_MMC
32
Thomas Abraham36aa8932016-04-23 22:18:12 +053033 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 Abrahame39448e2016-04-23 22:18:13 +053038config ARCH_EXYNOS7
39 bool "Exynos7 SoC family"
40 select ARM64
Simon Glassa5d67542017-01-23 13:31:20 -070041 select BOARD_EARLY_INIT_F
Simon Glasse2932312019-01-11 18:37:08 -070042 select BLK
43 select DM_MMC
Thomas Abrahame39448e2016-04-23 22:18:13 +053044 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 Abraham36aa8932016-04-23 22:18:12 +053049endchoice
50
51if ARCH_EXYNOS4
52
53choice
54 prompt "EXYNOS4 board select"
55
Masahiro Yamada72df68c2014-08-31 07:11:00 +090056config TARGET_SMDKV310
57 bool "Exynos4210 SMDKV310 board"
Masahiro Yamadad6489642015-02-24 22:26:21 +090058 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +020059 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090060
61config TARGET_TRATS
62 bool "Exynos4210 Trats board"
63
64config TARGET_S5PC210_UNIVERSAL
65 bool "EXYNOS4210 Universal C210 board"
66
67config TARGET_ORIGEN
68 bool "Exynos4412 Origen board"
Masahiro Yamada02627352014-10-20 17:45:56 +090069 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090070
71config TARGET_TRATS2
72 bool "Exynos4412 Trat2 board"
73
Przemyslaw Marczak73eca212014-09-01 13:50:53 +020074config TARGET_ODROID
75 bool "Exynos4412 Odroid board"
76
Thomas Abraham36aa8932016-04-23 22:18:12 +053077endchoice
78endif
79
80if ARCH_EXYNOS5
81
Simon Glass83061db2021-07-10 21:14:30 -060082config SPL_GPIO
Simon Glass53b5bf32016-09-12 23:18:39 -060083 default y
84
Simon Glass77d2f7f2016-09-12 23:18:41 -060085config SPL_LIBCOMMON_SUPPORT
86 default y
87
Simon Glasscc4288e2016-09-12 23:18:43 -060088config SPL_LIBGENERIC_SUPPORT
89 default y
90
Thomas Abraham36aa8932016-04-23 22:18:12 +053091choice
92 prompt "EXYNOS5 board select"
93
Hyungwon Hwang62076042014-12-12 14:45:45 +090094config TARGET_ODROID_XU3
95 bool "Exynos5422 Odroid board"
96 select OF_CONTROL
97
Masahiro Yamada72df68c2014-08-31 07:11:00 +090098config TARGET_ARNDALE
99 bool "Exynos5250 Arndale board"
Tom Rini8dda2e22017-03-07 07:13:42 -0500100 select ARM_ERRATA_773022
101 select ARM_ERRATA_774769
Hans de Goedeea624e12014-11-14 09:34:30 +0100102 select CPU_V7_HAS_NONSEC
103 select CPU_V7_HAS_VIRT
Masahiro Yamadad6489642015-02-24 22:26:21 +0900104 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200105 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900106
107config TARGET_SMDK5250
108 bool "SMDK5250 board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900109 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200110 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900111
112config TARGET_SNOW
113 bool "Snow board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900114 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200115 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900116
Simon Glassd1de41d2015-08-03 08:19:37 -0600117config TARGET_SPRING
118 bool "Spring board"
Simon Glassd1de41d2015-08-03 08:19:37 -0600119 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200120 select SUPPORT_SPL
Simon Glassd1de41d2015-08-03 08:19:37 -0600121
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900122config TARGET_SMDK5420
123 bool "SMDK5420 board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900124 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200125 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900126
Akshay Saraswat79043d82014-11-13 22:38:17 +0530127config TARGET_PEACH_PI
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900128 bool "Peach Pi board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900129 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200130 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900131
Akshay Saraswat79043d82014-11-13 22:38:17 +0530132config TARGET_PEACH_PIT
133 bool "Peach Pit board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900134 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200135 select SUPPORT_SPL
Akshay Saraswat79043d82014-11-13 22:38:17 +0530136
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900137endchoice
Thomas Abraham36aa8932016-04-23 22:18:12 +0530138endif
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900139
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530140if ARCH_EXYNOS7
141
142choice
143 prompt "EXYNOS7 board select"
144
Tom Rini809c4f22021-08-19 16:23:58 -0400145config TARGET_ESPRESSO7420
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530146 bool "ESPRESSO7420 board"
147 select ARM64
Thomas Abraham95e74a32016-11-16 18:49:16 +0530148 select ARMV8_MULTIENTRY
Michal Simek58008cb2018-07-23 15:55:15 +0200149 select CLK_EXYNOS
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530150 select OF_CONTROL
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530151 select PINCTRL
152 select PINCTRL_EXYNOS7420
Michal Simek58008cb2018-07-23 15:55:15 +0200153 select SUPPORT_SPL
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530154
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300155config 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
164config TARGET_A7Y17LTE
Henrik Grimler00809bd2022-01-07 20:12:54 +0100165 bool "Samsung SM-A720F board"
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300166 select ARM64
167 select CLK_EXYNOS
168 select OF_CONTROL
169 select PINCTRL
170 select PINCTRL_EXYNOS78x0
171 select SUPPORT_SPL
172
173config TARGET_A3Y17LTE
Henrik Grimler00809bd2022-01-07 20:12:54 +0100174 bool "Samsung SM-A320F board"
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300175 select ARM64
176 select CLK_EXYNOS
177 select OF_CONTROL
178 select PINCTRL
Henrik Grimler00809bd2022-01-07 20:12:54 +0100179 select PINCTRL_EXYNOS78x0
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300180 select SUPPORT_SPL
181
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530182endchoice
183endif
184
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900185config SYS_SOC
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900186 default "exynos"
187
188source "board/samsung/smdkv310/Kconfig"
189source "board/samsung/trats/Kconfig"
190source "board/samsung/universal_c210/Kconfig"
191source "board/samsung/origen/Kconfig"
192source "board/samsung/trats2/Kconfig"
Przemyslaw Marczak73eca212014-09-01 13:50:53 +0200193source "board/samsung/odroid/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900194source "board/samsung/arndale/Kconfig"
195source "board/samsung/smdk5250/Kconfig"
196source "board/samsung/smdk5420/Kconfig"
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530197source "board/samsung/espresso7420/Kconfig"
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300198source "board/samsung/axy17lte/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900199
Philipp Tomsichb5299932017-08-03 23:23:55 +0200200config SPL_LDSCRIPT
201 default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4
202
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900203endif