]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/sunxi/Kconfig
sun6i: Add defconfig for MSI Primo81 tablet
[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         select SUPPORT_SPL
33
34 endchoice
35
36 if MACH_SUN6I || MACH_SUN8I
37
38 config DRAM_CLK
39         int "sun6i dram clock speed"
40         default 312
41         ---help---
42         Set the dram clock speed, valid range 240 - 480, must be a multiple
43         of 24.
44
45 config DRAM_ZQ
46         int "sun6i dram zq value"
47         default 123
48         ---help---
49         Set the dram zq value.
50
51 endif
52
53 config SYS_CONFIG_NAME
54         default "sun4i" if MACH_SUN4I
55         default "sun5i" if MACH_SUN5I
56         default "sun6i" if MACH_SUN6I
57         default "sun7i" if MACH_SUN7I
58         default "sun8i" if MACH_SUN8I
59
60 choice
61         prompt "Board"
62
63 config TARGET_A10_OLINUXINO_L
64         bool "A10_OLINUXINO_L"
65         depends on MACH_SUN4I
66
67 config TARGET_A10S_OLINUXINO_M
68         bool "A10S_OLINUXINO_M"
69         depends on MACH_SUN5I
70
71 config TARGET_A13_OLINUXINOM
72         bool "A13_OLINUXINOM"
73         depends on MACH_SUN5I
74
75 config TARGET_A13_OLINUXINO
76         bool "A13_OLINUXINO"
77         depends on MACH_SUN5I
78
79 config TARGET_A20_OLINUXINO_L2
80         bool "A20_OLINUXINO_L2"
81         depends on MACH_SUN7I
82
83 config TARGET_A20_OLINUXINO_L
84         bool "A20_OLINUXINO_L"
85         depends on MACH_SUN7I
86
87 config TARGET_A20_OLINUXINO_M
88         bool "A20_OLINUXINO_M"
89         depends on MACH_SUN7I
90
91 config TARGET_AUXTEK_T004
92         bool "AUXTEK_T004"
93         depends on MACH_SUN5I
94
95 config TARGET_BANANAPI
96         bool "BANANAPI"
97         depends on MACH_SUN7I
98
99 config TARGET_COLOMBUS
100         bool "COLOMBUS"
101         depends on MACH_SUN6I
102
103 config TARGET_CUBIEBOARD2
104         bool "CUBIEBOARD2"
105         depends on MACH_SUN7I
106
107 config TARGET_CUBIEBOARD
108         bool "CUBIEBOARD"
109         depends on MACH_SUN4I
110
111 config TARGET_CUBIETRUCK
112         bool "CUBIETRUCK"
113         depends on MACH_SUN7I
114
115 config TARGET_HUMMINGBIRD_A31
116         bool "HUMMINGBIRD_A31"
117         depends on MACH_SUN6I
118
119 config TARGET_IPPO_Q8H_V5
120         bool "IPPO_Q8H_V5"
121         depends on MACH_SUN8I
122
123 config TARGET_PCDUINO3
124         bool "PCDUINO3"
125         depends on MACH_SUN7I
126
127 config TARGET_MELE_A1000G
128         bool "MELE_A1000G"
129         depends on MACH_SUN4I
130
131 config TARGET_MELE_A1000
132         bool "MELE_A1000"
133         depends on MACH_SUN4I
134
135 config TARGET_MELE_M3
136         bool "MELE_M3"
137         depends on MACH_SUN7I
138
139 config TARGET_MELE_M9
140         bool "MELE_M9"
141         depends on MACH_SUN6I
142
143 config TARGET_MINI_X_1GB
144         bool "MINI_X_1GB"
145         depends on MACH_SUN4I
146
147 config TARGET_MINI_X
148         bool "MINI_X"
149         depends on MACH_SUN4I
150
151 config TARGET_MSI_PRIMO81
152         bool "MSI Primo81 (7.85\" tablet)"
153         depends on MACH_SUN6I
154         ---help---
155         The MSI Primo81 is an A31s based tablet, with 1G RAM, 16G NAND,
156         1024x768 IPS LCD display, mono speaker, 0.3 MP front camera, 2.0 MP
157         rear camera, 3500 mAh battery, gt911 touchscreen, mma8452 accelerometer
158         and rtl8188etv usb wifi. Has "power", "volume+" and "volume-" buttons
159         (both volume buttons are also connected to the UBOOT_SEL pin). The
160         external connectors are represented by MicroSD slot, MiniHDMI, MicroUSB
161         OTG and 3.5mm headphone jack. More details are available at
162             http://linux-sunxi.org/MSI_Primo81
163
164 config TARGET_BA10_TV_BOX
165         bool "BA10_TV_BOX"
166         depends on MACH_SUN4I
167
168 config TARGET_I12_TVBOX
169         bool "I12_TVBOX"
170         depends on MACH_SUN7I
171
172 config TARGET_QT840A
173         bool "QT840A"
174         depends on MACH_SUN7I
175
176 config TARGET_R7DONGLE
177         bool "R7DONGLE"
178         depends on MACH_SUN5I
179
180 endchoice
181
182 config SYS_BOARD
183         default "sunxi"
184
185 config SYS_SOC
186         default "sunxi"
187
188 config SPL_FEL
189         bool "SPL/FEL mode support"
190         depends on SPL
191         default n
192
193 config UART0_PORT_F
194         bool "UART0 on MicroSD breakout board"
195         depends on SPL_FEL
196         default n
197         ---help---
198         Repurpose the SD card slot for getting access to the UART0 serial
199         console. Primarily useful only for low level u-boot debugging on
200         tablets, where normal UART0 is difficult to access and requires
201         device disassembly and/or soldering. As the SD card can't be used
202         at the same time, the system can be only booted in the FEL mode.
203         Only enable this if you really know what you are doing.
204
205 config FDTFILE
206         string "Default fdtfile env setting for this board"
207
208 config OLD_SUNXI_KERNEL_COMPAT
209         boolean "Enable workarounds for booting old kernels"
210         default n
211         ---help---
212         Set this to enable various workarounds for old kernels, this results in
213         sub-optimal settings for newer kernels, only enable if needed.
214
215 config MMC0_CD_PIN
216         string "Card detect pin for mmc0"
217         default ""
218         ---help---
219         Set the card detect pin for mmc0, leave empty to not use cd. This
220         takes a string in the format understood by sunxi_name_to_gpio, e.g.
221         PH1 for pin 1 of port H.
222
223 config MMC1_CD_PIN
224         string "Card detect pin for mmc1"
225         default ""
226         ---help---
227         See MMC0_CD_PIN help text.
228
229 config MMC2_CD_PIN
230         string "Card detect pin for mmc2"
231         default ""
232         ---help---
233         See MMC0_CD_PIN help text.
234
235 config MMC3_CD_PIN
236         string "Card detect pin for mmc3"
237         default ""
238         ---help---
239         See MMC0_CD_PIN help text.
240
241 config MMC_SUNXI_SLOT_EXTRA
242         int "mmc extra slot number"
243         default -1
244         ---help---
245         sunxi builds always enable mmc0, some boards also have a second sdcard
246         slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable
247         support for this.
248
249 config USB1_VBUS_PIN
250         string "Vbus enable pin for usb1 (ehci0)"
251         default "PH6" if MACH_SUN4I || MACH_SUN7I
252         default "PH27" if MACH_SUN6I
253         ---help---
254         Set the Vbus enable pin for usb1 (ehci0, usb0 is the otg). This takes
255         a string in the format understood by sunxi_name_to_gpio, e.g.
256         PH1 for pin 1 of port H.
257
258 config USB2_VBUS_PIN
259         string "Vbus enable pin for usb2 (ehci1)"
260         default "PH3" if MACH_SUN4I || MACH_SUN7I
261         default "PH24" if MACH_SUN6I
262         ---help---
263         See USB1_VBUS_PIN help text.
264
265 config VIDEO
266         boolean "Enable graphical uboot console on HDMI"
267         default y
268         ---help---
269         Say Y here to add support for using a cfb console on the HDMI output
270         found on most sunxi devices.
271
272 config USB_KEYBOARD
273         boolean "Enable USB keyboard support"
274         default y
275         ---help---
276         Say Y here to add support for using a USB keyboard (typically used
277         in combination with a graphical console on HDMI).
278
279 endif