blob: 28df18784042e2b5f6e133b8502afa402dfa90dc [file] [log] [blame]
Chen-Yu Tsai8ebe4f42014-10-22 16:47:44 +08001if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I || TARGET_SUN8I
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
Chen-Yu Tsai8ebe4f42014-10-22 16:47:44 +08009 default "sun8i" if TARGET_SUN8I
Hans de Goede6ae66f22014-08-01 09:28:24 +020010
Masahiro Yamadadd840582014-07-30 14:08:14 +090011config SYS_BOARD
Masahiro Yamadadd840582014-07-30 14:08:14 +090012 default "sunxi"
13
14config SYS_SOC
Masahiro Yamadadd840582014-07-30 14:08:14 +090015 default "sunxi"
16
Ian Campbell98e214d2014-08-31 13:13:43 +010017config FDTFILE
18 string "Default fdtfile env setting for this board"
Hans de Goede846e3252014-08-01 09:37:58 +020019
Hans de Goedeaccc9e42014-10-22 14:56:36 +020020config 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
Hans de Goedecd821132014-10-02 20:29:26 +020027config 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
35config MMC1_CD_PIN
36 string "Card detect pin for mmc1"
37 default ""
38 ---help---
39 See MMC0_CD_PIN help text.
40
41config MMC2_CD_PIN
42 string "Card detect pin for mmc2"
43 default ""
44 ---help---
45 See MMC0_CD_PIN help text.
46
47config MMC3_CD_PIN
48 string "Card detect pin for mmc3"
49 default ""
50 ---help---
51 See MMC0_CD_PIN help text.
52
Hans de Goede2ccfac02014-10-02 20:43:50 +020053config 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
Masahiro Yamadadd840582014-07-30 14:08:14 +090061endif