]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/sunxi/Kconfig
Merge branch 'master' of git://git.denx.de/u-boot-arm
[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
20 config MACH_SUN7I
21         bool "sun7i (Allwinner A20)"
22         select CPU_V7
23         select SUPPORT_SPL
24
25 config MACH_SUN8I
26         bool "sun8i (Allwinner A23)"
27         select CPU_V7
28
29 endchoice
30
31 config SYS_CONFIG_NAME
32         string
33         default "sun4i" if MACH_SUN4I
34         default "sun5i" if MACH_SUN5I
35         default "sun6i" if MACH_SUN6I
36         default "sun7i" if MACH_SUN7I
37         default "sun8i" if MACH_SUN8I
38
39 choice
40         prompt "Board"
41
42 config TARGET_A10_OLINUXINO_L
43         bool "A10_OLINUXINO_L"
44         depends on MACH_SUN4I
45
46 config TARGET_A10S_OLINUXINO_M
47         bool "A10S_OLINUXINO_M"
48         depends on MACH_SUN5I
49
50 config TARGET_A13_OLINUXINOM
51         bool "A13_OLINUXINOM"
52         depends on MACH_SUN5I
53
54 config TARGET_A13_OLINUXINO
55         bool "A13_OLINUXINO"
56         depends on MACH_SUN5I
57
58 config TARGET_A20_OLINUXINO_L2
59         bool "A20_OLINUXINO_L2"
60         depends on MACH_SUN7I
61
62 config TARGET_A20_OLINUXINO_L
63         bool "A20_OLINUXINO_L"
64         depends on MACH_SUN7I
65
66 config TARGET_A20_OLINUXINO_M
67         bool "A20_OLINUXINO_M"
68         depends on MACH_SUN7I
69
70 config TARGET_AUXTEK_T004
71         bool "AUXTEK_T004"
72         depends on MACH_SUN5I
73
74 config TARGET_BANANAPI
75         bool "BANANAPI"
76         depends on MACH_SUN7I
77
78 config TARGET_COLOMBUS
79         bool "COLOMBUS"
80         depends on MACH_SUN6I
81
82 config TARGET_CUBIEBOARD2
83         bool "CUBIEBOARD2"
84         depends on MACH_SUN7I
85
86 config TARGET_CUBIEBOARD
87         bool "CUBIEBOARD"
88         depends on MACH_SUN4I
89
90 config TARGET_CUBIETRUCK
91         bool "CUBIETRUCK"
92         depends on MACH_SUN7I
93
94 config TARGET_IPPO_Q8H_V5
95         bool "IPPO_Q8H_V5"
96         depends on MACH_SUN8I
97
98 config TARGET_PCDUINO3
99         bool "PCDUINO3"
100         depends on MACH_SUN7I
101
102 config TARGET_MELE_A1000G
103         bool "MELE_A1000G"
104         depends on MACH_SUN4I
105
106 config TARGET_MELE_A1000
107         bool "MELE_A1000"
108         depends on MACH_SUN4I
109
110 config TARGET_MELE_M3
111         bool "MELE_M3"
112         depends on MACH_SUN7I
113
114 config TARGET_MINI_X_1GB
115         bool "MINI_X_1GB"
116         depends on MACH_SUN4I
117
118 config TARGET_MINI_X
119         bool "MINI_X"
120         depends on MACH_SUN4I
121
122 config TARGET_BA10_TV_BOX
123         bool "BA10_TV_BOX"
124         depends on MACH_SUN4I
125
126 config TARGET_I12_TVBOX
127         bool "I12_TVBOX"
128         depends on MACH_SUN7I
129
130 config TARGET_QT840A
131         bool "QT840A"
132         depends on MACH_SUN7I
133
134 config TARGET_R7DONGLE
135         bool "R7DONGLE"
136         depends on MACH_SUN5I
137
138 endchoice
139
140 config SYS_BOARD
141         default "sunxi"
142
143 config SYS_SOC
144         default "sunxi"
145
146 config SPL_FEL
147         bool "SPL/FEL mode support"
148         depends on SPL
149         default n
150
151 config FDTFILE
152         string "Default fdtfile env setting for this board"
153
154 config OLD_SUNXI_KERNEL_COMPAT
155         boolean "Enable workarounds for booting old kernels"
156         default n
157         ---help---
158         Set this to enable various workarounds for old kernels, this results in
159         sub-optimal settings for newer kernels, only enable if needed.
160
161 config MMC0_CD_PIN
162         string "Card detect pin for mmc0"
163         default ""
164         ---help---
165         Set the card detect pin for mmc0, leave empty to not use cd. This
166         takes a string in the format understood by sunxi_name_to_gpio, e.g.
167         PH1 for pin 1 of port H.
168
169 config MMC1_CD_PIN
170         string "Card detect pin for mmc1"
171         default ""
172         ---help---
173         See MMC0_CD_PIN help text.
174
175 config MMC2_CD_PIN
176         string "Card detect pin for mmc2"
177         default ""
178         ---help---
179         See MMC0_CD_PIN help text.
180
181 config MMC3_CD_PIN
182         string "Card detect pin for mmc3"
183         default ""
184         ---help---
185         See MMC0_CD_PIN help text.
186
187 config MMC_SUNXI_SLOT_EXTRA
188         int "mmc extra slot number"
189         default -1
190         ---help---
191         sunxi builds always enable mmc0, some boards also have a second sdcard
192         slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable
193         support for this.
194
195 endif