blob: 9892a34cfbbaac0a1a89bd75fb95b30d451c5a7e [file] [log] [blame]
Hans de Goede722e00c2014-08-13 14:02:29 +02001if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I
Maxime Ripard8a6564d2014-10-03 20:16:29 +08002
3config SYS_CONFIG_NAME
4 string
Hans de Goede722e00c2014-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
Hans de Goede6ae66f22014-08-01 09:28:24 +02009
Masahiro Yamadadd840582014-07-30 14:08:14 +090010config SYS_CPU
Masahiro Yamadadd840582014-07-30 14:08:14 +090011 default "armv7"
12
13config SYS_BOARD
Masahiro Yamadadd840582014-07-30 14:08:14 +090014 default "sunxi"
15
16config SYS_SOC
Masahiro Yamadadd840582014-07-30 14:08:14 +090017 default "sunxi"
18
Ian Campbell98e214d2014-08-31 13:13:43 +010019config FDTFILE
20 string "Default fdtfile env setting for this board"
Hans de Goede846e3252014-08-01 09:37:58 +020021
Hans de Goedecd821132014-10-02 20:29:26 +020022config 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
30config MMC1_CD_PIN
31 string "Card detect pin for mmc1"
32 default ""
33 ---help---
34 See MMC0_CD_PIN help text.
35
36config MMC2_CD_PIN
37 string "Card detect pin for mmc2"
38 default ""
39 ---help---
40 See MMC0_CD_PIN help text.
41
42config MMC3_CD_PIN
43 string "Card detect pin for mmc3"
44 default ""
45 ---help---
46 See MMC0_CD_PIN help text.
47
Hans de Goede2ccfac02014-10-02 20:43:50 +020048config 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
Masahiro Yamadadd840582014-07-30 14:08:14 +090056endif