]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/sunxi/Kconfig
ARM: remove redudant information from Kconfig files
[karo-tx-uboot.git] / board / sunxi / Kconfig
1 if ARCH_SUNXI
2
3 choice
4         prompt "Sunxi SoC Variant"
5
6 config MACH_SUN4I
7         bool "sun4i (Allwinner A10)"
8         select CPU_V7
9         select SUPPORT_SPL
10
11 config MACH_SUN5I
12         bool "sun5i (Allwinner A13)"
13         select CPU_V7
14         select SUPPORT_SPL
15
16 config MACH_SUN6I
17         bool "sun6i (Allwinner A31)"
18         select CPU_V7
19         select SUPPORT_SPL
20
21 config MACH_SUN7I
22         bool "sun7i (Allwinner A20)"
23         select CPU_V7
24         select CPU_V7_HAS_NONSEC
25         select CPU_V7_HAS_VIRT
26         select SUPPORT_SPL
27         select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
28
29 config MACH_SUN8I
30         bool "sun8i (Allwinner A23)"
31         select CPU_V7
32
33 endchoice
34
35 config SYS_CONFIG_NAME
36         default "sun4i" if MACH_SUN4I
37         default "sun5i" if MACH_SUN5I
38         default "sun6i" if MACH_SUN6I
39         default "sun7i" if MACH_SUN7I
40         default "sun8i" if MACH_SUN8I
41
42 choice
43         prompt "Board"
44
45 config TARGET_A10_OLINUXINO_L
46         bool "A10_OLINUXINO_L"
47         depends on MACH_SUN4I
48
49 config TARGET_A10S_OLINUXINO_M
50         bool "A10S_OLINUXINO_M"
51         depends on MACH_SUN5I
52
53 config TARGET_A13_OLINUXINOM
54         bool "A13_OLINUXINOM"
55         depends on MACH_SUN5I
56
57 config TARGET_A13_OLINUXINO
58         bool "A13_OLINUXINO"
59         depends on MACH_SUN5I
60
61 config TARGET_A20_OLINUXINO_L2
62         bool "A20_OLINUXINO_L2"
63         depends on MACH_SUN7I
64
65 config TARGET_A20_OLINUXINO_L
66         bool "A20_OLINUXINO_L"
67         depends on MACH_SUN7I
68
69 config TARGET_A20_OLINUXINO_M
70         bool "A20_OLINUXINO_M"
71         depends on MACH_SUN7I
72
73 config TARGET_AUXTEK_T004
74         bool "AUXTEK_T004"
75         depends on MACH_SUN5I
76
77 config TARGET_BANANAPI
78         bool "BANANAPI"
79         depends on MACH_SUN7I
80
81 config TARGET_COLOMBUS
82         bool "COLOMBUS"
83         depends on MACH_SUN6I
84
85 config TARGET_CUBIEBOARD2
86         bool "CUBIEBOARD2"
87         depends on MACH_SUN7I
88
89 config TARGET_CUBIEBOARD
90         bool "CUBIEBOARD"
91         depends on MACH_SUN4I
92
93 config TARGET_CUBIETRUCK
94         bool "CUBIETRUCK"
95         depends on MACH_SUN7I
96
97 config TARGET_IPPO_Q8H_V5
98         bool "IPPO_Q8H_V5"
99         depends on MACH_SUN8I
100
101 config TARGET_PCDUINO3
102         bool "PCDUINO3"
103         depends on MACH_SUN7I
104
105 config TARGET_MELE_A1000G
106         bool "MELE_A1000G"
107         depends on MACH_SUN4I
108
109 config TARGET_MELE_A1000
110         bool "MELE_A1000"
111         depends on MACH_SUN4I
112
113 config TARGET_MELE_M3
114         bool "MELE_M3"
115         depends on MACH_SUN7I
116
117 config TARGET_MELE_M9
118         bool "MELE_M9"
119         depends on MACH_SUN6I
120
121 config TARGET_MINI_X_1GB
122         bool "MINI_X_1GB"
123         depends on MACH_SUN4I
124
125 config TARGET_MINI_X
126         bool "MINI_X"
127         depends on MACH_SUN4I
128
129 config TARGET_BA10_TV_BOX
130         bool "BA10_TV_BOX"
131         depends on MACH_SUN4I
132
133 config TARGET_I12_TVBOX
134         bool "I12_TVBOX"
135         depends on MACH_SUN7I
136
137 config TARGET_QT840A
138         bool "QT840A"
139         depends on MACH_SUN7I
140
141 config TARGET_R7DONGLE
142         bool "R7DONGLE"
143         depends on MACH_SUN5I
144
145 endchoice
146
147 config SYS_BOARD
148         default "sunxi"
149
150 config SYS_SOC
151         default "sunxi"
152
153 config SPL_FEL
154         bool "SPL/FEL mode support"
155         depends on SPL
156         default n
157
158 config FDTFILE
159         string "Default fdtfile env setting for this board"
160
161 config OLD_SUNXI_KERNEL_COMPAT
162         boolean "Enable workarounds for booting old kernels"
163         default n
164         ---help---
165         Set this to enable various workarounds for old kernels, this results in
166         sub-optimal settings for newer kernels, only enable if needed.
167
168 config MMC0_CD_PIN
169         string "Card detect pin for mmc0"
170         default ""
171         ---help---
172         Set the card detect pin for mmc0, leave empty to not use cd. This
173         takes a string in the format understood by sunxi_name_to_gpio, e.g.
174         PH1 for pin 1 of port H.
175
176 config MMC1_CD_PIN
177         string "Card detect pin for mmc1"
178         default ""
179         ---help---
180         See MMC0_CD_PIN help text.
181
182 config MMC2_CD_PIN
183         string "Card detect pin for mmc2"
184         default ""
185         ---help---
186         See MMC0_CD_PIN help text.
187
188 config MMC3_CD_PIN
189         string "Card detect pin for mmc3"
190         default ""
191         ---help---
192         See MMC0_CD_PIN help text.
193
194 config MMC_SUNXI_SLOT_EXTRA
195         int "mmc extra slot number"
196         default -1
197         ---help---
198         sunxi builds always enable mmc0, some boards also have a second sdcard
199         slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable
200         support for this.
201
202 config USB1_VBUS_PIN
203         string "Vbus enable pin for usb1 (ehci0)"
204         default "PH6" if MACH_SUN4I || MACH_SUN7I
205         default "PH27" if MACH_SUN6I
206         ---help---
207         Set the Vbus enable pin for usb1 (ehci0, usb0 is the otg). This takes
208         a string in the format understood by sunxi_name_to_gpio, e.g.
209         PH1 for pin 1 of port H.
210
211 config USB2_VBUS_PIN
212         string "Vbus enable pin for usb2 (ehci1)"
213         default "PH3" if MACH_SUN4I || MACH_SUN7I
214         default "PH24" if MACH_SUN6I
215         ---help---
216         See USB1_VBUS_PIN help text.
217
218 config VIDEO
219         boolean "Enable graphical uboot console on HDMI"
220         default y
221         ---help---
222         Say Y here to add support for using a cfb console on the HDMI output
223         found on most sunxi devices.
224
225 config USB_KEYBOARD
226         boolean "Enable USB keyboard support"
227         default y
228         ---help---
229         Say Y here to add support for using a USB keyboard (typically used
230         in combination with a graphical console on HDMI).
231
232 endif