blob: 63188dd32114f334592e819cfd6b20070621459f [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001if TARGET_SUN4I
2
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09003config SYS_CONFIG_NAME
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09004 default "sun4i"
5
6endif
7
8if TARGET_SUN5I
9
Hans de Goede16e56022014-08-01 09:28:24 +020010config SYS_CONFIG_NAME
Hans de Goede16e56022014-08-01 09:28:24 +020011 default "sun5i"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090012
Hans de Goede16e56022014-08-01 09:28:24 +020013endif
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090014
Maxime Ripard2c519412014-10-03 20:16:29 +080015if TARGET_SUN6I
16
17config SYS_CONFIG_NAME
18 string
19 default "sun6i"
20
21endif
22
Hans de Goede16e56022014-08-01 09:28:24 +020023if TARGET_SUN7I
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090024
25config SYS_CONFIG_NAME
Hans de Goede16e56022014-08-01 09:28:24 +020026 default "sun7i"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090027
28endif
29
Maxime Ripard2c519412014-10-03 20:16:29 +080030if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090031
32config SYS_CPU
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090033 default "armv7"
34
35config SYS_BOARD
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090036 default "sunxi"
37
38config SYS_SOC
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090039 default "sunxi"
40
Ian Campbell9536fc42014-08-31 13:13:43 +010041config FDTFILE
42 string "Default fdtfile env setting for this board"
Hans de Goede2f60c312014-08-01 09:37:58 +020043
Hans de Goede7412ef82014-10-02 20:29:26 +020044config 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
52config MMC1_CD_PIN
53 string "Card detect pin for mmc1"
54 default ""
55 ---help---
56 See MMC0_CD_PIN help text.
57
58config MMC2_CD_PIN
59 string "Card detect pin for mmc2"
60 default ""
61 ---help---
62 See MMC0_CD_PIN help text.
63
64config MMC3_CD_PIN
65 string "Card detect pin for mmc3"
66 default ""
67 ---help---
68 See MMC0_CD_PIN help text.
69
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090070endif