xref: /openbmc/u-boot/arch/arm/mach-exynos/Kconfig (revision e35171e9)
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 SPL_DISABLE_OF_CONTROL
120	select SUPPORT_SPL
121
122config TARGET_SMDK5420
123	bool "SMDK5420 board"
124	select OF_CONTROL
125	select SUPPORT_SPL
126
127config TARGET_PEACH_PI
128	bool "Peach Pi board"
129	select OF_CONTROL
130	select SUPPORT_SPL
131
132config TARGET_PEACH_PIT
133	bool "Peach Pit board"
134	select OF_CONTROL
135	select SUPPORT_SPL
136
137endchoice
138endif
139
140if ARCH_EXYNOS7
141
142choice
143	prompt "EXYNOS7 board select"
144
145config  TARGET_ESPRESSO7420
146	bool "ESPRESSO7420 board"
147	select ARM64
148	select ARMV8_MULTIENTRY
149	select CLK_EXYNOS
150	select OF_CONTROL
151	select PINCTRL
152	select PINCTRL_EXYNOS7420
153	select SPL_DISABLE_OF_CONTROL
154	select SUPPORT_SPL
155
156endchoice
157endif
158
159config SYS_SOC
160	default "exynos"
161
162source "board/samsung/smdkv310/Kconfig"
163source "board/samsung/trats/Kconfig"
164source "board/samsung/universal_c210/Kconfig"
165source "board/samsung/origen/Kconfig"
166source "board/samsung/trats2/Kconfig"
167source "board/samsung/odroid/Kconfig"
168source "board/samsung/arndale/Kconfig"
169source "board/samsung/smdk5250/Kconfig"
170source "board/samsung/smdk5420/Kconfig"
171source "board/samsung/espresso7420/Kconfig"
172
173config SPL_LDSCRIPT
174	default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4
175
176endif
177