blob: f73dbbb507d148e6e35fc9c1441adf8dc3a05565 [file] [log] [blame]
Masahiro Yamada72df68c2014-08-31 07:11:00 +09001if ARCH_EXYNOS
2
Tom Rinia7e6c6b2022-02-23 12:28:17 -05003config BOARD_COMMON
4 def_bool y
5 depends on !TARGET_SMDKV310 && !TARGET_ARNDALE
6
Masahiro Yamada72df68c2014-08-31 07:11:00 +09007choice
Thomas Abraham36aa8932016-04-23 22:18:12 +05308 prompt "EXYNOS architecture type select"
Joe Hershbergera26cd042015-05-12 14:46:23 -05009 optional
Masahiro Yamada72df68c2014-08-31 07:11:00 +090010
Thomas Abraham36aa8932016-04-23 22:18:12 +053011config ARCH_EXYNOS4
12 bool "Exynos4 SoC family"
Simon Glassa5d67542017-01-23 13:31:20 -070013 select BOARD_EARLY_INIT_F
Michal Simek58008cb2018-07-23 15:55:15 +020014 select CPU_V7A
Simon Glasse2932312019-01-11 18:37:08 -070015 select BLK
16 select DM_MMC
Thomas Abraham36aa8932016-04-23 22:18:12 +053017 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
22config ARCH_EXYNOS5
23 bool "Exynos5 SoC family"
Simon Glassa5d67542017-01-23 13:31:20 -070024 select BOARD_EARLY_INIT_F
Michal Simek58008cb2018-07-23 15:55:15 +020025 select CPU_V7A
Tom Rini089df182017-05-15 12:17:49 -040026 select SHA_HW_ACCEL
Simon Glass551c3932017-05-17 03:25:25 -060027 imply CMD_HASH
Michal Simek58008cb2018-07-23 15:55:15 +020028 imply CRC32_VERIFY
Daniel Thompson221a9492017-05-19 17:26:58 +010029 imply HASH_VERIFY
Simon Glass93e1edf2021-11-24 09:26:44 -070030 imply KEYBOARD
Chris Packhamf58ad982017-08-28 20:50:46 +120031 imply USB_ETHER_ASIX
Michal Simek58008cb2018-07-23 15:55:15 +020032 imply USB_ETHER_RTL8152
Chris Packhamf58ad982017-08-28 20:50:46 +120033 imply USB_ETHER_SMSC95XX
Simon Glasse2932312019-01-11 18:37:08 -070034 select BLK
35 select DM_MMC
36
Thomas Abraham36aa8932016-04-23 22:18:12 +053037 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 Abrahame39448e2016-04-23 22:18:13 +053042config ARCH_EXYNOS7
43 bool "Exynos7 SoC family"
44 select ARM64
Simon Glassa5d67542017-01-23 13:31:20 -070045 select BOARD_EARLY_INIT_F
Simon Glasse2932312019-01-11 18:37:08 -070046 select BLK
47 select DM_MMC
Thomas Abrahame39448e2016-04-23 22:18:13 +053048 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 Abraham36aa8932016-04-23 22:18:12 +053053endchoice
54
55if ARCH_EXYNOS4
56
57choice
58 prompt "EXYNOS4 board select"
59
Masahiro Yamada72df68c2014-08-31 07:11:00 +090060config TARGET_SMDKV310
61 bool "Exynos4210 SMDKV310 board"
Masahiro Yamadad6489642015-02-24 22:26:21 +090062 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +020063 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090064
65config TARGET_TRATS
66 bool "Exynos4210 Trats board"
67
68config TARGET_S5PC210_UNIVERSAL
69 bool "EXYNOS4210 Universal C210 board"
70
71config TARGET_ORIGEN
72 bool "Exynos4412 Origen board"
Masahiro Yamada02627352014-10-20 17:45:56 +090073 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090074
75config TARGET_TRATS2
76 bool "Exynos4412 Trat2 board"
77
Przemyslaw Marczak73eca212014-09-01 13:50:53 +020078config TARGET_ODROID
79 bool "Exynos4412 Odroid board"
80
Thomas Abraham36aa8932016-04-23 22:18:12 +053081endchoice
82endif
83
84if ARCH_EXYNOS5
85
Simon Glass83061db2021-07-10 21:14:30 -060086config SPL_GPIO
Simon Glass53b5bf32016-09-12 23:18:39 -060087 default y
88
Simon Glass77d2f7f2016-09-12 23:18:41 -060089config SPL_LIBCOMMON_SUPPORT
90 default y
91
Simon Glasscc4288e2016-09-12 23:18:43 -060092config SPL_LIBGENERIC_SUPPORT
93 default y
94
Thomas Abraham36aa8932016-04-23 22:18:12 +053095choice
96 prompt "EXYNOS5 board select"
97
Hyungwon Hwang62076042014-12-12 14:45:45 +090098config TARGET_ODROID_XU3
99 bool "Exynos5422 Odroid board"
100 select OF_CONTROL
101
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900102config TARGET_ARNDALE
103 bool "Exynos5250 Arndale board"
Tom Rini8dda2e22017-03-07 07:13:42 -0500104 select ARM_ERRATA_773022
105 select ARM_ERRATA_774769
Hans de Goedeea624e12014-11-14 09:34:30 +0100106 select CPU_V7_HAS_NONSEC
107 select CPU_V7_HAS_VIRT
Masahiro Yamadad6489642015-02-24 22:26:21 +0900108 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200109 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900110
111config TARGET_SMDK5250
112 bool "SMDK5250 board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900113 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200114 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900115
116config TARGET_SNOW
117 bool "Snow board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900118 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200119 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900120
Simon Glassd1de41d2015-08-03 08:19:37 -0600121config TARGET_SPRING
122 bool "Spring board"
Simon Glassd1de41d2015-08-03 08:19:37 -0600123 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200124 select SUPPORT_SPL
Simon Glassd1de41d2015-08-03 08:19:37 -0600125
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900126config TARGET_SMDK5420
127 bool "SMDK5420 board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900128 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200129 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900130
Akshay Saraswat79043d82014-11-13 22:38:17 +0530131config TARGET_PEACH_PI
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900132 bool "Peach Pi board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900133 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200134 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900135
Akshay Saraswat79043d82014-11-13 22:38:17 +0530136config TARGET_PEACH_PIT
137 bool "Peach Pit board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900138 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200139 select SUPPORT_SPL
Akshay Saraswat79043d82014-11-13 22:38:17 +0530140
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900141endchoice
Thomas Abraham36aa8932016-04-23 22:18:12 +0530142endif
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900143
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530144if ARCH_EXYNOS7
145
146choice
147 prompt "EXYNOS7 board select"
148
Tom Rini809c4f22021-08-19 16:23:58 -0400149config TARGET_ESPRESSO7420
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530150 bool "ESPRESSO7420 board"
151 select ARM64
Thomas Abraham95e74a32016-11-16 18:49:16 +0530152 select ARMV8_MULTIENTRY
Michal Simek58008cb2018-07-23 15:55:15 +0200153 select CLK_EXYNOS
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530154 select OF_CONTROL
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530155 select PINCTRL
156 select PINCTRL_EXYNOS7420
Michal Simek58008cb2018-07-23 15:55:15 +0200157 select SUPPORT_SPL
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530158
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300159config TARGET_A5Y17LTE
160 bool "Samsung SM-A520F board"
161 select ARM64
162 select CLK_EXYNOS
163 select OF_CONTROL
164 select PINCTRL
165 select PINCTRL_EXYNOS78x0
166 select SUPPORT_SPL
167
168config TARGET_A7Y17LTE
Henrik Grimler00809bd2022-01-07 20:12:54 +0100169 bool "Samsung SM-A720F board"
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300170 select ARM64
171 select CLK_EXYNOS
172 select OF_CONTROL
173 select PINCTRL
174 select PINCTRL_EXYNOS78x0
175 select SUPPORT_SPL
176
177config TARGET_A3Y17LTE
Henrik Grimler00809bd2022-01-07 20:12:54 +0100178 bool "Samsung SM-A320F board"
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300179 select ARM64
180 select CLK_EXYNOS
181 select OF_CONTROL
182 select PINCTRL
Henrik Grimler00809bd2022-01-07 20:12:54 +0100183 select PINCTRL_EXYNOS78x0
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300184 select SUPPORT_SPL
185
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530186endchoice
187endif
188
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900189config SYS_SOC
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900190 default "exynos"
191
192source "board/samsung/smdkv310/Kconfig"
193source "board/samsung/trats/Kconfig"
194source "board/samsung/universal_c210/Kconfig"
195source "board/samsung/origen/Kconfig"
196source "board/samsung/trats2/Kconfig"
Przemyslaw Marczak73eca212014-09-01 13:50:53 +0200197source "board/samsung/odroid/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900198source "board/samsung/arndale/Kconfig"
199source "board/samsung/smdk5250/Kconfig"
200source "board/samsung/smdk5420/Kconfig"
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530201source "board/samsung/espresso7420/Kconfig"
Dzmitry Sankouski3e2095e2021-10-17 13:45:42 +0300202source "board/samsung/axy17lte/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900203
Philipp Tomsichb5299932017-08-03 23:23:55 +0200204config SPL_LDSCRIPT
205 default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4
206
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900207endif