1if ARCH_EXYNOS
2
3choice
4	prompt "EXYNOS architecture type select"
5	optional
6
7config ARCH_EXYNOS4
8	bool "Exynos4 SoC family"
9	select BOARD_EARLY_INIT_F
10	select CPU_V7A
11	select BLK
12	select DM_MMC
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
18config ARCH_EXYNOS5
19	bool "Exynos5 SoC family"
20	select BOARD_EARLY_INIT_F
21	select CPU_V7A
22	select SHA_HW_ACCEL
23	imply CMD_HASH
24	imply CRC32_VERIFY
25	imply HASH_VERIFY
26	imply USB_ETHER_ASIX
27	imply USB_ETHER_RTL8152
28	imply USB_ETHER_SMSC95XX
29	select BLK
30	select DM_MMC
31
32	help
33	  Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
34	  Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
35	  in this family including Exynos5250, Exynos5420 and Exynos5800.
36
37config ARCH_EXYNOS7
38	bool "Exynos7 SoC family"
39	select ARM64
40	select BOARD_EARLY_INIT_F
41	select BLK
42	select DM_MMC
43	help
44	  Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
45	  Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
46	  multiple SoCs in this family including Exynos7420.
47
48endchoice
49
50if ARCH_EXYNOS4
51
52choice
53	prompt "EXYNOS4 board select"
54
55config TARGET_SMDKV310
56	bool "Exynos4210 SMDKV310 board"
57	select OF_CONTROL
58	select SUPPORT_SPL
59
60config TARGET_TRATS
61	bool "Exynos4210 Trats board"
62
63config TARGET_S5PC210_UNIVERSAL
64	bool "EXYNOS4210 Universal C210 board"
65
66config TARGET_ORIGEN
67	bool "Exynos4412 Origen board"
68	select SUPPORT_SPL
69
70config TARGET_TRATS2
71	bool "Exynos4412 Trat2 board"
72
73config TARGET_ODROID
74	bool "Exynos4412 Odroid board"
75
76endchoice
77endif
78
79if ARCH_EXYNOS5
80
81config SPL_GPIO_SUPPORT
82	default y
83
84config SPL_LIBCOMMON_SUPPORT
85	default y
86
87config SPL_LIBGENERIC_SUPPORT
88	default y
89
90choice
91	prompt "EXYNOS5 board select"
92
93config TARGET_ODROID_XU3
94	bool "Exynos5422 Odroid board"
95	select OF_CONTROL
96
97config TARGET_ARNDALE
98	bool "Exynos5250 Arndale board"
99	select ARM_ERRATA_773022
100	select ARM_ERRATA_774769
101	select CPU_V7_HAS_NONSEC
102	select CPU_V7_HAS_VIRT
103	select OF_CONTROL
104	select SUPPORT_SPL
105
106config TARGET_SMDK5250
107	bool "SMDK5250 board"
108	select OF_CONTROL
109	select SUPPORT_SPL
110
111config TARGET_SNOW
112	bool "Snow board"
113	select OF_CONTROL
114	select SUPPORT_SPL
115
116config TARGET_SPRING
117	bool "Spring board"
118	select OF_CONTROL
119	select SUPPORT_SPL
120
121config TARGET_SMDK5420
122	bool "SMDK5420 board"
123	select OF_CONTROL
124	select SUPPORT_SPL
125
126config TARGET_PEACH_PI
127	bool "Peach Pi board"
128	select OF_CONTROL
129	select SUPPORT_SPL
130
131config TARGET_PEACH_PIT
132	bool "Peach Pit board"
133	select OF_CONTROL
134	select SUPPORT_SPL
135
136endchoice
137endif
138
139if ARCH_EXYNOS7
140
141choice
142	prompt "EXYNOS7 board select"
143
144config  TARGET_ESPRESSO7420
145	bool "ESPRESSO7420 board"
146	select ARM64
147	select ARMV8_MULTIENTRY
148	select CLK_EXYNOS
149	select OF_CONTROL
150	select PINCTRL
151	select PINCTRL_EXYNOS7420
152	select SUPPORT_SPL
153
154endchoice
155endif
156
157config SYS_SOC
158	default "exynos"
159
160source "board/samsung/smdkv310/Kconfig"
161source "board/samsung/trats/Kconfig"
162source "board/samsung/universal_c210/Kconfig"
163source "board/samsung/origen/Kconfig"
164source "board/samsung/trats2/Kconfig"
165source "board/samsung/odroid/Kconfig"
166source "board/samsung/arndale/Kconfig"
167source "board/samsung/smdk5250/Kconfig"
168source "board/samsung/smdk5420/Kconfig"
169source "board/samsung/espresso7420/Kconfig"
170
171config SPL_LDSCRIPT
172	default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4
173
174endif
175