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