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