blob: 31a15037d07cf950059f9a23d80e7b8fe6259c6f [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 Goede05e5bcb2014-10-22 14:56:36 +020023config OLD_SUNXI_KERNEL_COMPAT
24 boolean "Enable workarounds for booting old kernels"
25 default n
26 ---help---
27 Set this to enable various workarounds for old kernels, this results in
28 sub-optimal settings for newer kernels, only enable if needed.
29
Hans de Goede7412ef82014-10-02 20:29:26 +020030config MMC0_CD_PIN
31 string "Card detect pin for mmc0"
32 default ""
33 ---help---
34 Set the card detect pin for mmc0, leave empty to not use cd. This
35 takes a string in the format understood by sunxi_name_to_gpio, e.g.
36 PH1 for pin 1 of port H.
37
38config MMC1_CD_PIN
39 string "Card detect pin for mmc1"
40 default ""
41 ---help---
42 See MMC0_CD_PIN help text.
43
44config MMC2_CD_PIN
45 string "Card detect pin for mmc2"
46 default ""
47 ---help---
48 See MMC0_CD_PIN help text.
49
50config MMC3_CD_PIN
51 string "Card detect pin for mmc3"
52 default ""
53 ---help---
54 See MMC0_CD_PIN help text.
55
Hans de Goedeaf593e42014-10-02 20:43:50 +020056config MMC_SUNXI_SLOT_EXTRA
57 int "mmc extra slot number"
58 default -1
59 ---help---
60 sunxi builds always enable mmc0, some boards also have a second sdcard
61 slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable
62 support for this.
63
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090064endif