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