sunxi: Kconfig: Unify sunxi Kconfig code
[platform/kernel/u-boot.git] / board / sunxi / Kconfig
1 if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I
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
10 config SYS_CPU
11         default "armv7"
12
13 config SYS_BOARD
14         default "sunxi"
15
16 config SYS_SOC
17         default "sunxi"
18
19 config FDTFILE
20         string "Default fdtfile env setting for this board"
21
22 config MMC0_CD_PIN
23         string "Card detect pin for mmc0"
24         default ""
25         ---help---
26         Set the card detect pin for mmc0, leave empty to not use cd. This
27         takes a string in the format understood by sunxi_name_to_gpio, e.g.
28         PH1 for pin 1 of port H.
29
30 config MMC1_CD_PIN
31         string "Card detect pin for mmc1"
32         default ""
33         ---help---
34         See MMC0_CD_PIN help text.
35
36 config MMC2_CD_PIN
37         string "Card detect pin for mmc2"
38         default ""
39         ---help---
40         See MMC0_CD_PIN help text.
41
42 config MMC3_CD_PIN
43         string "Card detect pin for mmc3"
44         default ""
45         ---help---
46         See MMC0_CD_PIN help text.
47
48 config MMC_SUNXI_SLOT_EXTRA
49         int "mmc extra slot number"
50         default -1
51         ---help---
52         sunxi builds always enable mmc0, some boards also have a second sdcard
53         slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable
54         support for this.
55
56 endif