blob: 449c0460f996d639901fe859caeb1683764f1a4e [file] [log] [blame]
Chen-Yu Tsai848c2632014-10-22 16:47:44 +08001if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I || TARGET_SUN8I
Maxime Ripard2c519412014-10-03 20:16:29 +08002
3config SYS_CONFIG_NAME
4 string
Hans de Goede67c70542014-08-13 14:02:29 +02005 default "sun4i" if TARGET_SUN4I
6 default "sun5i" if TARGET_SUN5I
7 default "sun6i" if TARGET_SUN6I
8 default "sun7i" if TARGET_SUN7I
Chen-Yu Tsai848c2632014-10-22 16:47:44 +08009 default "sun8i" if TARGET_SUN8I
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090010
11config SYS_CPU
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090012 default "armv7"
13
14config SYS_BOARD
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090015 default "sunxi"
16
17config SYS_SOC
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090018 default "sunxi"
19
Ian Campbell9536fc42014-08-31 13:13:43 +010020config FDTFILE
21 string "Default fdtfile env setting for this board"
Hans de Goede2f60c312014-08-01 09:37:58 +020022
Hans de Goede7412ef82014-10-02 20:29:26 +020023config MMC0_CD_PIN
24 string "Card detect pin for mmc0"
25 default ""
26 ---help---
27 Set the card detect pin for mmc0, leave empty to not use cd. This
28 takes a string in the format understood by sunxi_name_to_gpio, e.g.
29 PH1 for pin 1 of port H.
30
31config MMC1_CD_PIN
32 string "Card detect pin for mmc1"
33 default ""
34 ---help---
35 See MMC0_CD_PIN help text.
36
37config MMC2_CD_PIN
38 string "Card detect pin for mmc2"
39 default ""
40 ---help---
41 See MMC0_CD_PIN help text.
42
43config MMC3_CD_PIN
44 string "Card detect pin for mmc3"
45 default ""
46 ---help---
47 See MMC0_CD_PIN help text.
48
Hans de Goedeaf593e42014-10-02 20:43:50 +020049config MMC_SUNXI_SLOT_EXTRA
50 int "mmc extra slot number"
51 default -1
52 ---help---
53 sunxi builds always enable mmc0, some boards also have a second sdcard
54 slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable
55 support for this.
56
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090057endif