Merge git://www.denx.de/git/u-boot-ppc4xx
[platform/kernel/u-boot.git] / board / sunxi / Kconfig
1 if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I || TARGET_SUN8I
2
3 config SYS_CONFIG_NAME
4         string
5         default "sun4i" if TARGET_SUN4I
6         default "sun5i" if TARGET_SUN5I
7         default "sun6i" if TARGET_SUN6I
8         default "sun7i" if TARGET_SUN7I
9         default "sun8i" if TARGET_SUN8I
10
11 config SYS_BOARD
12         default "sunxi"
13
14 config SYS_SOC
15         default "sunxi"
16
17 config FDTFILE
18         string "Default fdtfile env setting for this board"
19
20 config OLD_SUNXI_KERNEL_COMPAT
21         boolean "Enable workarounds for booting old kernels"
22         default n
23         ---help---
24         Set this to enable various workarounds for old kernels, this results in
25         sub-optimal settings for newer kernels, only enable if needed.
26
27 config MMC0_CD_PIN
28         string "Card detect pin for mmc0"
29         default ""
30         ---help---
31         Set the card detect pin for mmc0, leave empty to not use cd. This
32         takes a string in the format understood by sunxi_name_to_gpio, e.g.
33         PH1 for pin 1 of port H.
34
35 config MMC1_CD_PIN
36         string "Card detect pin for mmc1"
37         default ""
38         ---help---
39         See MMC0_CD_PIN help text.
40
41 config MMC2_CD_PIN
42         string "Card detect pin for mmc2"
43         default ""
44         ---help---
45         See MMC0_CD_PIN help text.
46
47 config MMC3_CD_PIN
48         string "Card detect pin for mmc3"
49         default ""
50         ---help---
51         See MMC0_CD_PIN help text.
52
53 config MMC_SUNXI_SLOT_EXTRA
54         int "mmc extra slot number"
55         default -1
56         ---help---
57         sunxi builds always enable mmc0, some boards also have a second sdcard
58         slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable
59         support for this.
60
61 endif