Ian Campbell | 2c7e3b9 | 2014-10-24 21:20:44 +0100 | [diff] [blame] | 1 | if ARCH_SUNXI |
| 2 | |
| 3 | choice |
| 4 | prompt "Sunxi SoC Variant" |
| 5 | |
Ian Campbell | c3be279 | 2014-10-24 21:20:45 +0100 | [diff] [blame^] | 6 | config MACH_SUN4I |
Ian Campbell | 2c7e3b9 | 2014-10-24 21:20:44 +0100 | [diff] [blame] | 7 | bool "sun4i (Allwinner A10)" |
| 8 | select CPU_V7 |
| 9 | select SUPPORT_SPL |
| 10 | |
Ian Campbell | c3be279 | 2014-10-24 21:20:45 +0100 | [diff] [blame^] | 11 | config MACH_SUN5I |
Ian Campbell | 2c7e3b9 | 2014-10-24 21:20:44 +0100 | [diff] [blame] | 12 | bool "sun5i (Allwinner A13)" |
| 13 | select CPU_V7 |
| 14 | select SUPPORT_SPL |
| 15 | |
Ian Campbell | c3be279 | 2014-10-24 21:20:45 +0100 | [diff] [blame^] | 16 | config MACH_SUN6I |
Ian Campbell | 2c7e3b9 | 2014-10-24 21:20:44 +0100 | [diff] [blame] | 17 | bool "sun6i (Allwinner A31)" |
| 18 | select CPU_V7 |
| 19 | |
Ian Campbell | c3be279 | 2014-10-24 21:20:45 +0100 | [diff] [blame^] | 20 | config MACH_SUN7I |
Ian Campbell | 2c7e3b9 | 2014-10-24 21:20:44 +0100 | [diff] [blame] | 21 | bool "sun7i (Allwinner A20)" |
| 22 | select CPU_V7 |
| 23 | select SUPPORT_SPL |
| 24 | |
Ian Campbell | c3be279 | 2014-10-24 21:20:45 +0100 | [diff] [blame^] | 25 | config MACH_SUN8I |
Ian Campbell | 2c7e3b9 | 2014-10-24 21:20:44 +0100 | [diff] [blame] | 26 | bool "sun8i (Allwinner A23)" |
| 27 | select CPU_V7 |
| 28 | |
| 29 | endchoice |
Maxime Ripard | 8a6564d | 2014-10-03 20:16:29 +0800 | [diff] [blame] | 30 | |
| 31 | config SYS_CONFIG_NAME |
| 32 | string |
Ian Campbell | c3be279 | 2014-10-24 21:20:45 +0100 | [diff] [blame^] | 33 | default "sun4i" if MACH_SUN4I |
| 34 | default "sun5i" if MACH_SUN5I |
| 35 | default "sun6i" if MACH_SUN6I |
| 36 | default "sun7i" if MACH_SUN7I |
| 37 | default "sun8i" if MACH_SUN8I |
Hans de Goede | 6ae66f2 | 2014-08-01 09:28:24 +0200 | [diff] [blame] | 38 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 39 | config SYS_BOARD |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 40 | default "sunxi" |
| 41 | |
| 42 | config SYS_SOC |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 43 | default "sunxi" |
| 44 | |
Ian Campbell | 98e214d | 2014-08-31 13:13:43 +0100 | [diff] [blame] | 45 | config FDTFILE |
| 46 | string "Default fdtfile env setting for this board" |
Hans de Goede | 846e325 | 2014-08-01 09:37:58 +0200 | [diff] [blame] | 47 | |
Hans de Goede | accc9e4 | 2014-10-22 14:56:36 +0200 | [diff] [blame] | 48 | config OLD_SUNXI_KERNEL_COMPAT |
| 49 | boolean "Enable workarounds for booting old kernels" |
| 50 | default n |
| 51 | ---help--- |
| 52 | Set this to enable various workarounds for old kernels, this results in |
| 53 | sub-optimal settings for newer kernels, only enable if needed. |
| 54 | |
Hans de Goede | cd82113 | 2014-10-02 20:29:26 +0200 | [diff] [blame] | 55 | config MMC0_CD_PIN |
| 56 | string "Card detect pin for mmc0" |
| 57 | default "" |
| 58 | ---help--- |
| 59 | Set the card detect pin for mmc0, leave empty to not use cd. This |
| 60 | takes a string in the format understood by sunxi_name_to_gpio, e.g. |
| 61 | PH1 for pin 1 of port H. |
| 62 | |
| 63 | config MMC1_CD_PIN |
| 64 | string "Card detect pin for mmc1" |
| 65 | default "" |
| 66 | ---help--- |
| 67 | See MMC0_CD_PIN help text. |
| 68 | |
| 69 | config MMC2_CD_PIN |
| 70 | string "Card detect pin for mmc2" |
| 71 | default "" |
| 72 | ---help--- |
| 73 | See MMC0_CD_PIN help text. |
| 74 | |
| 75 | config MMC3_CD_PIN |
| 76 | string "Card detect pin for mmc3" |
| 77 | default "" |
| 78 | ---help--- |
| 79 | See MMC0_CD_PIN help text. |
| 80 | |
Hans de Goede | 2ccfac0 | 2014-10-02 20:43:50 +0200 | [diff] [blame] | 81 | config MMC_SUNXI_SLOT_EXTRA |
| 82 | int "mmc extra slot number" |
| 83 | default -1 |
| 84 | ---help--- |
| 85 | sunxi builds always enable mmc0, some boards also have a second sdcard |
| 86 | slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable |
| 87 | support for this. |
| 88 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 89 | endif |