]>
Commit | Line | Data |
---|---|---|
2c7e3b90 IC |
1 | if ARCH_SUNXI |
2 | ||
3 | choice | |
4 | prompt "Sunxi SoC Variant" | |
5 | ||
c3be2793 | 6 | config MACH_SUN4I |
2c7e3b90 IC |
7 | bool "sun4i (Allwinner A10)" |
8 | select CPU_V7 | |
9 | select SUPPORT_SPL | |
10 | ||
c3be2793 | 11 | config MACH_SUN5I |
2c7e3b90 IC |
12 | bool "sun5i (Allwinner A13)" |
13 | select CPU_V7 | |
14 | select SUPPORT_SPL | |
15 | ||
c3be2793 | 16 | config MACH_SUN6I |
2c7e3b90 IC |
17 | bool "sun6i (Allwinner A31)" |
18 | select CPU_V7 | |
8c2c9cfa | 19 | select SUPPORT_SPL |
2c7e3b90 | 20 | |
c3be2793 | 21 | config 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 | 29 | config MACH_SUN8I |
2c7e3b90 IC |
30 | bool "sun8i (Allwinner A23)" |
31 | select CPU_V7 | |
32 | ||
33 | endchoice | |
8a6564da MR |
34 | |
35 | config SYS_CONFIG_NAME | |
c3be2793 IC |
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 | |
dd84058d | 41 | |
d9a20476 IC |
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 | ||
505eceec HG |
117 | config TARGET_MELE_M9 |
118 | bool "MELE_M9" | |
119 | depends on MACH_SUN6I | |
120 | ||
d9a20476 IC |
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 | ||
dd84058d | 147 | config SYS_BOARD |
dd84058d MY |
148 | default "sunxi" |
149 | ||
150 | config SYS_SOC | |
dd84058d MY |
151 | default "sunxi" |
152 | ||
4ce9941d IC |
153 | config SPL_FEL |
154 | bool "SPL/FEL mode support" | |
155 | depends on SPL | |
156 | default n | |
157 | ||
98e214dd IC |
158 | config FDTFILE |
159 | string "Default fdtfile env setting for this board" | |
846e3254 | 160 | |
accc9e44 HG |
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 | ||
cd82113a HG |
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 | ||
2ccfac01 HG |
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 | ||
115200ce HG |
202 | config USB1_VBUS_PIN |
203 | string "Vbus enable pin for usb1 (ehci0)" | |
204 | default "PH6" if MACH_SUN4I || MACH_SUN7I | |
76946dfe | 205 | default "PH27" if MACH_SUN6I |
115200ce HG |
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 | |
76946dfe | 214 | default "PH24" if MACH_SUN6I |
115200ce HG |
215 | ---help--- |
216 | See USB1_VBUS_PIN help text. | |
217 | ||
7f2c521f LV |
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 | ||
86b49093 HG |
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 | ||
dd84058d | 232 | endif |