ARM: Migrate errata to Kconfig
[platform/kernel/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         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
25 config 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
34 endchoice
35
36 if ARCH_EXYNOS4
37
38 choice
39         prompt "EXYNOS4 board select"
40
41 config TARGET_SMDKV310
42         select SUPPORT_SPL
43         bool "Exynos4210 SMDKV310 board"
44         select OF_CONTROL
45
46 config TARGET_TRATS
47         bool "Exynos4210 Trats board"
48
49 config TARGET_S5PC210_UNIVERSAL
50         bool "EXYNOS4210 Universal C210 board"
51
52 config TARGET_ORIGEN
53         bool "Exynos4412 Origen board"
54         select SUPPORT_SPL
55
56 config TARGET_TRATS2
57         bool "Exynos4412 Trat2 board"
58
59 config TARGET_ODROID
60         bool "Exynos4412 Odroid board"
61
62 endchoice
63 endif
64
65 if ARCH_EXYNOS5
66
67 config SPL_GPIO_SUPPORT
68         default y
69
70 config SPL_LIBCOMMON_SUPPORT
71         default y
72
73 config SPL_LIBGENERIC_SUPPORT
74         default y
75
76 choice
77         prompt "EXYNOS5 board select"
78
79 config TARGET_ODROID_XU3
80         bool "Exynos5422 Odroid board"
81         select OF_CONTROL
82
83 config 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
92 config TARGET_SMDK5250
93         bool "SMDK5250 board"
94         select SUPPORT_SPL
95         select OF_CONTROL
96
97 config TARGET_SNOW
98         bool "Snow board"
99         select SUPPORT_SPL
100         select OF_CONTROL
101
102 config TARGET_SPRING
103         bool "Spring board"
104         select SUPPORT_SPL
105         select OF_CONTROL
106         select SPL_DISABLE_OF_CONTROL
107
108 config TARGET_SMDK5420
109         bool "SMDK5420 board"
110         select SUPPORT_SPL
111         select OF_CONTROL
112
113 config TARGET_PEACH_PI
114         bool "Peach Pi board"
115         select SUPPORT_SPL
116         select OF_CONTROL
117
118 config TARGET_PEACH_PIT
119         bool "Peach Pit board"
120         select SUPPORT_SPL
121         select OF_CONTROL
122
123 endchoice
124 endif
125
126 if ARCH_EXYNOS7
127
128 choice
129         prompt "EXYNOS7 board select"
130
131 config  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
142 endchoice
143 endif
144
145 config SYS_SOC
146         default "exynos"
147
148 source "board/samsung/smdkv310/Kconfig"
149 source "board/samsung/trats/Kconfig"
150 source "board/samsung/universal_c210/Kconfig"
151 source "board/samsung/origen/Kconfig"
152 source "board/samsung/trats2/Kconfig"
153 source "board/samsung/odroid/Kconfig"
154 source "board/samsung/arndale/Kconfig"
155 source "board/samsung/smdk5250/Kconfig"
156 source "board/samsung/smdk5420/Kconfig"
157 source "board/samsung/espresso7420/Kconfig"
158
159 endif