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