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