sunxi: Add mmc card-detect functionality
[platform/kernel/u-boot.git] / board / sunxi / Kconfig
1 if TARGET_SUN4I
2
3 config SYS_CONFIG_NAME
4         default "sun4i"
5
6 endif
7
8 if TARGET_SUN5I
9
10 config SYS_CONFIG_NAME
11         default "sun5i"
12
13 endif
14
15 if TARGET_SUN6I
16
17 config SYS_CONFIG_NAME
18         string
19         default "sun6i"
20
21 endif
22
23 if TARGET_SUN7I
24
25 config SYS_CONFIG_NAME
26         default "sun7i"
27
28 endif
29
30 if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I
31
32 config SYS_CPU
33         default "armv7"
34
35 config SYS_BOARD
36         default "sunxi"
37
38 config SYS_SOC
39         default "sunxi"
40
41 config FDTFILE
42         string "Default fdtfile env setting for this board"
43
44 config MMC0_CD_PIN
45         string "Card detect pin for mmc0"
46         default ""
47         ---help---
48         Set the card detect pin for mmc0, leave empty to not use cd. This
49         takes a string in the format understood by sunxi_name_to_gpio, e.g.
50         PH1 for pin 1 of port H.
51
52 config MMC1_CD_PIN
53         string "Card detect pin for mmc1"
54         default ""
55         ---help---
56         See MMC0_CD_PIN help text.
57
58 config MMC2_CD_PIN
59         string "Card detect pin for mmc2"
60         default ""
61         ---help---
62         See MMC0_CD_PIN help text.
63
64 config MMC3_CD_PIN
65         string "Card detect pin for mmc3"
66         default ""
67         ---help---
68         See MMC0_CD_PIN help text.
69
70 endif