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 | 4ce9941 | 2014-10-24 21:20:46 +0100 | [diff] [blame^] | 45 | config SPL_FEL |
| 46 | bool "SPL/FEL mode support" |
| 47 | depends on SPL |
| 48 | default n |
| 49 | |
Ian Campbell | 98e214d | 2014-08-31 13:13:43 +0100 | [diff] [blame] | 50 | config FDTFILE |
| 51 | string "Default fdtfile env setting for this board" |
Hans de Goede | 846e325 | 2014-08-01 09:37:58 +0200 | [diff] [blame] | 52 | |
Hans de Goede | accc9e4 | 2014-10-22 14:56:36 +0200 | [diff] [blame] | 53 | config OLD_SUNXI_KERNEL_COMPAT |
| 54 | boolean "Enable workarounds for booting old kernels" |
| 55 | default n |
| 56 | ---help--- |
| 57 | Set this to enable various workarounds for old kernels, this results in |
| 58 | sub-optimal settings for newer kernels, only enable if needed. |
| 59 | |
Hans de Goede | cd82113 | 2014-10-02 20:29:26 +0200 | [diff] [blame] | 60 | config MMC0_CD_PIN |
| 61 | string "Card detect pin for mmc0" |
| 62 | default "" |
| 63 | ---help--- |
| 64 | Set the card detect pin for mmc0, leave empty to not use cd. This |
| 65 | takes a string in the format understood by sunxi_name_to_gpio, e.g. |
| 66 | PH1 for pin 1 of port H. |
| 67 | |
| 68 | config MMC1_CD_PIN |
| 69 | string "Card detect pin for mmc1" |
| 70 | default "" |
| 71 | ---help--- |
| 72 | See MMC0_CD_PIN help text. |
| 73 | |
| 74 | config MMC2_CD_PIN |
| 75 | string "Card detect pin for mmc2" |
| 76 | default "" |
| 77 | ---help--- |
| 78 | See MMC0_CD_PIN help text. |
| 79 | |
| 80 | config MMC3_CD_PIN |
| 81 | string "Card detect pin for mmc3" |
| 82 | default "" |
| 83 | ---help--- |
| 84 | See MMC0_CD_PIN help text. |
| 85 | |
Hans de Goede | 2ccfac0 | 2014-10-02 20:43:50 +0200 | [diff] [blame] | 86 | config MMC_SUNXI_SLOT_EXTRA |
| 87 | int "mmc extra slot number" |
| 88 | default -1 |
| 89 | ---help--- |
| 90 | sunxi builds always enable mmc0, some boards also have a second sdcard |
| 91 | slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable |
| 92 | support for this. |
| 93 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 94 | endif |