4 prompt "Sunxi SoC Variant"
7 bool "sun4i (Allwinner A10)"
12 bool "sun5i (Allwinner A13)"
17 bool "sun6i (Allwinner A31)"
22 bool "sun7i (Allwinner A20)"
24 select CPU_V7_HAS_NONSEC
25 select CPU_V7_HAS_VIRT
27 select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
30 bool "sun8i (Allwinner A23)"
36 if MACH_SUN6I || MACH_SUN8I
39 int "sun6i dram clock speed"
42 Set the dram clock speed, valid range 240 - 480, must be a multiple
46 int "sun6i dram zq value"
49 Set the dram zq value.
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
63 config TARGET_A10_OLINUXINO_L
64 bool "A10_OLINUXINO_L"
67 config TARGET_A10S_OLINUXINO_M
68 bool "A10S_OLINUXINO_M"
71 config TARGET_A13_OLINUXINOM
75 config TARGET_A13_OLINUXINO
79 config TARGET_A20_OLINUXINO_L2
80 bool "A20_OLINUXINO_L2"
83 config TARGET_A20_OLINUXINO_L
84 bool "A20_OLINUXINO_L"
87 config TARGET_A20_OLINUXINO_M
88 bool "A20_OLINUXINO_M"
91 config TARGET_AUXTEK_T004
95 config TARGET_BANANAPI
99 config TARGET_BANANAPRO
101 depends on MACH_SUN7I
103 config TARGET_COLOMBUS
105 depends on MACH_SUN6I
107 config TARGET_CUBIEBOARD2
109 depends on MACH_SUN7I
111 config TARGET_CUBIEBOARD
113 depends on MACH_SUN4I
115 config TARGET_CUBIETRUCK
117 depends on MACH_SUN7I
119 config TARGET_HUMMINGBIRD_A31
120 bool "HUMMINGBIRD_A31"
121 depends on MACH_SUN6I
123 config TARGET_IPPO_Q8H_V5
125 depends on MACH_SUN8I
127 config TARGET_PCDUINO
129 depends on MACH_SUN4I
131 config TARGET_PCDUINO3
133 depends on MACH_SUN7I
135 config TARGET_MELE_A1000G
137 depends on MACH_SUN4I
139 config TARGET_MELE_A1000
141 depends on MACH_SUN4I
143 config TARGET_MELE_M3
145 depends on MACH_SUN7I
147 config TARGET_MELE_M9
149 depends on MACH_SUN6I
151 config TARGET_MINI_X_1GB
153 depends on MACH_SUN4I
157 depends on MACH_SUN4I
159 config TARGET_MSI_PRIMO73
160 bool "MSI Primo73 (7\" tablet)"
161 depends on MACH_SUN7I
163 The MSI Primo73 is an A20 based tablet, with 1G RAM, 16G NAND,
164 1024x600 TN LCD display, mono speaker, 0.3 MP front camera, 2.0 MP
165 rear camera, 3000 mAh battery, gt911 touchscreen, mma8452 accelerometer
166 and rtl8188etv usb wifi. Has "power", "volume+" and "volume-" buttons
167 (both volume buttons are also connected to the UBOOT_SEL pin). The
168 external connectors are represented by MicroSD slot, MiniHDMI, MicroUSB
169 OTG and 3.5mm headphone jack. More details are available at
170 http://linux-sunxi.org/MSI_Primo73
172 config TARGET_MSI_PRIMO81
173 bool "MSI Primo81 (7.85\" tablet)"
174 depends on MACH_SUN6I
176 The MSI Primo81 is an A31s based tablet, with 1G RAM, 16G NAND,
177 1024x768 IPS LCD display, mono speaker, 0.3 MP front camera, 2.0 MP
178 rear camera, 3500 mAh battery, gt911 touchscreen, mma8452 accelerometer
179 and rtl8188etv usb wifi. Has "power", "volume+" and "volume-" buttons
180 (both volume buttons are also connected to the UBOOT_SEL pin). The
181 external connectors are represented by MicroSD slot, MiniHDMI, MicroUSB
182 OTG and 3.5mm headphone jack. More details are available at
183 http://linux-sunxi.org/MSI_Primo81
185 config TARGET_BA10_TV_BOX
187 depends on MACH_SUN4I
189 config TARGET_I12_TVBOX
191 depends on MACH_SUN7I
195 depends on MACH_SUN7I
197 config TARGET_R7DONGLE
199 depends on MACH_SUN5I
210 bool "SPL/FEL mode support"
215 bool "UART0 on MicroSD breakout board"
219 Repurpose the SD card slot for getting access to the UART0 serial
220 console. Primarily useful only for low level u-boot debugging on
221 tablets, where normal UART0 is difficult to access and requires
222 device disassembly and/or soldering. As the SD card can't be used
223 at the same time, the system can be only booted in the FEL mode.
224 Only enable this if you really know what you are doing.
227 string "Default fdtfile env setting for this board"
229 config OLD_SUNXI_KERNEL_COMPAT
230 boolean "Enable workarounds for booting old kernels"
233 Set this to enable various workarounds for old kernels, this results in
234 sub-optimal settings for newer kernels, only enable if needed.
237 string "Card detect pin for mmc0"
240 Set the card detect pin for mmc0, leave empty to not use cd. This
241 takes a string in the format understood by sunxi_name_to_gpio, e.g.
242 PH1 for pin 1 of port H.
245 string "Card detect pin for mmc1"
248 See MMC0_CD_PIN help text.
251 string "Card detect pin for mmc2"
254 See MMC0_CD_PIN help text.
257 string "Card detect pin for mmc3"
260 See MMC0_CD_PIN help text.
262 config MMC_SUNXI_SLOT_EXTRA
263 int "mmc extra slot number"
266 sunxi builds always enable mmc0, some boards also have a second sdcard
267 slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable
271 string "Vbus enable pin for usb1 (ehci0)"
272 default "PH6" if MACH_SUN4I || MACH_SUN7I
273 default "PH27" if MACH_SUN6I
275 Set the Vbus enable pin for usb1 (ehci0, usb0 is the otg). This takes
276 a string in the format understood by sunxi_name_to_gpio, e.g.
277 PH1 for pin 1 of port H.
280 string "Vbus enable pin for usb2 (ehci1)"
281 default "PH3" if MACH_SUN4I || MACH_SUN7I
282 default "PH24" if MACH_SUN6I
284 See USB1_VBUS_PIN help text.
287 boolean "Enable graphical uboot console on HDMI, LCD or VGA"
290 Say Y here to add support for using a cfb console on the HDMI, LCD
291 or VGA output found on most sunxi devices. See doc/README.video for
292 info on how to select the video output and mode.
295 boolean "HDMI output support"
296 depends on VIDEO && !MACH_SUN8I
299 Say Y here to add support for outputting video over HDMI.
302 boolean "VGA output support"
303 depends on VIDEO && (MACH_SUN4I || MACH_SUN7I)
306 Say Y here to add support for outputting video over VGA.
308 config VIDEO_VGA_VIA_LCD
309 boolean "VGA via LCD controller support"
310 depends on VIDEO && MACH_SUN5I
313 Say Y here to add support for external DACs connected to the parallel
314 LCD interface driving a VGA connector, such as found on the
317 config VIDEO_LCD_MODE
318 string "LCD panel timing details"
322 LCD panel timing details string, leave empty if there is no LCD panel.
323 This is in drivers/video/videomodes.c: video_get_params() format, e.g.
324 x:800,y:480,depth:18,pclk_khz:33000,le:16,ri:209,up:22,lo:22,hs:30,vs:1,sync:0,vmode:0
326 config VIDEO_LCD_POWER
327 string "LCD panel power enable pin"
331 Set the power enable pin for the LCD panel. This takes a string in the
332 format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
334 config VIDEO_LCD_BL_EN
335 string "LCD panel backlight enable pin"
339 Set the backlight enable pin for the LCD panel. This takes a string in the
340 the format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of
343 config VIDEO_LCD_BL_PWM
344 string "LCD panel backlight pwm pin"
348 Set the backlight pwm pin for the LCD panel. This takes a string in the
349 format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
352 boolean "Enable USB keyboard support"
355 Say Y here to add support for using a USB keyboard (typically used
356 in combination with a graphical console).