Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 1 | if TARGET_SUN4I |
| 2 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 3 | config SYS_CONFIG_NAME |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 4 | default "sun4i" |
| 5 | |
| 6 | endif |
| 7 | |
| 8 | if TARGET_SUN5I |
| 9 | |
Hans de Goede | 16e5602 | 2014-08-01 09:28:24 +0200 | [diff] [blame] | 10 | config SYS_CONFIG_NAME |
Hans de Goede | 16e5602 | 2014-08-01 09:28:24 +0200 | [diff] [blame] | 11 | default "sun5i" |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 12 | |
Hans de Goede | 16e5602 | 2014-08-01 09:28:24 +0200 | [diff] [blame] | 13 | endif |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 14 | |
Maxime Ripard | 2c51941 | 2014-10-03 20:16:29 +0800 | [diff] [blame] | 15 | if TARGET_SUN6I |
| 16 | |
| 17 | config SYS_CONFIG_NAME |
| 18 | string |
| 19 | default "sun6i" |
| 20 | |
| 21 | endif |
| 22 | |
Hans de Goede | 16e5602 | 2014-08-01 09:28:24 +0200 | [diff] [blame] | 23 | if TARGET_SUN7I |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 24 | |
| 25 | config SYS_CONFIG_NAME |
Hans de Goede | 16e5602 | 2014-08-01 09:28:24 +0200 | [diff] [blame] | 26 | default "sun7i" |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 27 | |
| 28 | endif |
| 29 | |
Maxime Ripard | 2c51941 | 2014-10-03 20:16:29 +0800 | [diff] [blame] | 30 | if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 31 | |
| 32 | config SYS_CPU |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 33 | default "armv7" |
| 34 | |
| 35 | config SYS_BOARD |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 36 | default "sunxi" |
| 37 | |
| 38 | config SYS_SOC |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 39 | default "sunxi" |
| 40 | |
Ian Campbell | 9536fc4 | 2014-08-31 13:13:43 +0100 | [diff] [blame] | 41 | config FDTFILE |
| 42 | string "Default fdtfile env setting for this board" |
Hans de Goede | 2f60c31 | 2014-08-01 09:37:58 +0200 | [diff] [blame] | 43 | |
Hans de Goede | 7412ef8 | 2014-10-02 20:29:26 +0200 | [diff] [blame] | 44 | config 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 | |
| 52 | config MMC1_CD_PIN |
| 53 | string "Card detect pin for mmc1" |
| 54 | default "" |
| 55 | ---help--- |
| 56 | See MMC0_CD_PIN help text. |
| 57 | |
| 58 | config MMC2_CD_PIN |
| 59 | string "Card detect pin for mmc2" |
| 60 | default "" |
| 61 | ---help--- |
| 62 | See MMC0_CD_PIN help text. |
| 63 | |
| 64 | config MMC3_CD_PIN |
| 65 | string "Card detect pin for mmc3" |
| 66 | default "" |
| 67 | ---help--- |
| 68 | See MMC0_CD_PIN help text. |
| 69 | |
Hans de Goede | af593e4 | 2014-10-02 20:43:50 +0200 | [diff] [blame^] | 70 | config MMC_SUNXI_SLOT_EXTRA |
| 71 | int "mmc extra slot number" |
| 72 | default -1 |
| 73 | ---help--- |
| 74 | sunxi builds always enable mmc0, some boards also have a second sdcard |
| 75 | slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable |
| 76 | support for this. |
| 77 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 78 | endif |