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 | |
Ian Campbell | d9a2047 | 2014-10-24 21:20:49 +0100 | [diff] [blame] | 39 | choice |
| 40 | prompt "Board" |
| 41 | |
| 42 | config TARGET_A10_OLINUXINO_L |
| 43 | bool "A10_OLINUXINO_L" |
| 44 | depends on MACH_SUN4I |
| 45 | |
| 46 | config TARGET_A10S_OLINUXINO_M |
| 47 | bool "A10S_OLINUXINO_M" |
| 48 | depends on MACH_SUN5I |
| 49 | |
| 50 | config TARGET_A13_OLINUXINOM |
| 51 | bool "A13_OLINUXINOM" |
| 52 | depends on MACH_SUN5I |
| 53 | |
| 54 | config TARGET_A13_OLINUXINO |
| 55 | bool "A13_OLINUXINO" |
| 56 | depends on MACH_SUN5I |
| 57 | |
| 58 | config TARGET_A20_OLINUXINO_L2 |
| 59 | bool "A20_OLINUXINO_L2" |
| 60 | depends on MACH_SUN7I |
| 61 | |
| 62 | config TARGET_A20_OLINUXINO_L |
| 63 | bool "A20_OLINUXINO_L" |
| 64 | depends on MACH_SUN7I |
| 65 | |
| 66 | config TARGET_A20_OLINUXINO_M |
| 67 | bool "A20_OLINUXINO_M" |
| 68 | depends on MACH_SUN7I |
| 69 | |
| 70 | config TARGET_AUXTEK_T004 |
| 71 | bool "AUXTEK_T004" |
| 72 | depends on MACH_SUN5I |
| 73 | |
| 74 | config TARGET_BANANAPI |
| 75 | bool "BANANAPI" |
| 76 | depends on MACH_SUN7I |
| 77 | |
| 78 | config TARGET_COLOMBUS |
| 79 | bool "COLOMBUS" |
| 80 | depends on MACH_SUN6I |
| 81 | |
| 82 | config TARGET_CUBIEBOARD2 |
| 83 | bool "CUBIEBOARD2" |
| 84 | depends on MACH_SUN7I |
| 85 | |
| 86 | config TARGET_CUBIEBOARD |
| 87 | bool "CUBIEBOARD" |
| 88 | depends on MACH_SUN4I |
| 89 | |
| 90 | config TARGET_CUBIETRUCK |
| 91 | bool "CUBIETRUCK" |
| 92 | depends on MACH_SUN7I |
| 93 | |
| 94 | config TARGET_IPPO_Q8H_V5 |
| 95 | bool "IPPO_Q8H_V5" |
| 96 | depends on MACH_SUN8I |
| 97 | |
| 98 | config TARGET_PCDUINO3 |
| 99 | bool "PCDUINO3" |
| 100 | depends on MACH_SUN7I |
| 101 | |
| 102 | config TARGET_MELE_A1000G |
| 103 | bool "MELE_A1000G" |
| 104 | depends on MACH_SUN4I |
| 105 | |
| 106 | config TARGET_MELE_A1000 |
| 107 | bool "MELE_A1000" |
| 108 | depends on MACH_SUN4I |
| 109 | |
| 110 | config TARGET_MELE_M3 |
| 111 | bool "MELE_M3" |
| 112 | depends on MACH_SUN7I |
| 113 | |
| 114 | config TARGET_MINI_X_1GB |
| 115 | bool "MINI_X_1GB" |
| 116 | depends on MACH_SUN4I |
| 117 | |
| 118 | config TARGET_MINI_X |
| 119 | bool "MINI_X" |
| 120 | depends on MACH_SUN4I |
| 121 | |
| 122 | config TARGET_BA10_TV_BOX |
| 123 | bool "BA10_TV_BOX" |
| 124 | depends on MACH_SUN4I |
| 125 | |
| 126 | config TARGET_I12_TVBOX |
| 127 | bool "I12_TVBOX" |
| 128 | depends on MACH_SUN7I |
| 129 | |
| 130 | config TARGET_QT840A |
| 131 | bool "QT840A" |
| 132 | depends on MACH_SUN7I |
| 133 | |
| 134 | config TARGET_R7DONGLE |
| 135 | bool "R7DONGLE" |
| 136 | depends on MACH_SUN5I |
| 137 | |
| 138 | endchoice |
| 139 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 140 | config SYS_BOARD |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 141 | default "sunxi" |
| 142 | |
| 143 | config SYS_SOC |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 144 | default "sunxi" |
| 145 | |
Ian Campbell | 4ce9941 | 2014-10-24 21:20:46 +0100 | [diff] [blame] | 146 | config SPL_FEL |
| 147 | bool "SPL/FEL mode support" |
| 148 | depends on SPL |
| 149 | default n |
| 150 | |
Ian Campbell | 98e214d | 2014-08-31 13:13:43 +0100 | [diff] [blame] | 151 | config FDTFILE |
| 152 | string "Default fdtfile env setting for this board" |
Hans de Goede | 846e325 | 2014-08-01 09:37:58 +0200 | [diff] [blame] | 153 | |
Hans de Goede | accc9e4 | 2014-10-22 14:56:36 +0200 | [diff] [blame] | 154 | config OLD_SUNXI_KERNEL_COMPAT |
| 155 | boolean "Enable workarounds for booting old kernels" |
| 156 | default n |
| 157 | ---help--- |
| 158 | Set this to enable various workarounds for old kernels, this results in |
| 159 | sub-optimal settings for newer kernels, only enable if needed. |
| 160 | |
Hans de Goede | cd82113 | 2014-10-02 20:29:26 +0200 | [diff] [blame] | 161 | config MMC0_CD_PIN |
| 162 | string "Card detect pin for mmc0" |
| 163 | default "" |
| 164 | ---help--- |
| 165 | Set the card detect pin for mmc0, leave empty to not use cd. This |
| 166 | takes a string in the format understood by sunxi_name_to_gpio, e.g. |
| 167 | PH1 for pin 1 of port H. |
| 168 | |
| 169 | config MMC1_CD_PIN |
| 170 | string "Card detect pin for mmc1" |
| 171 | default "" |
| 172 | ---help--- |
| 173 | See MMC0_CD_PIN help text. |
| 174 | |
| 175 | config MMC2_CD_PIN |
| 176 | string "Card detect pin for mmc2" |
| 177 | default "" |
| 178 | ---help--- |
| 179 | See MMC0_CD_PIN help text. |
| 180 | |
| 181 | config MMC3_CD_PIN |
| 182 | string "Card detect pin for mmc3" |
| 183 | default "" |
| 184 | ---help--- |
| 185 | See MMC0_CD_PIN help text. |
| 186 | |
Hans de Goede | 2ccfac0 | 2014-10-02 20:43:50 +0200 | [diff] [blame] | 187 | config MMC_SUNXI_SLOT_EXTRA |
| 188 | int "mmc extra slot number" |
| 189 | default -1 |
| 190 | ---help--- |
| 191 | sunxi builds always enable mmc0, some boards also have a second sdcard |
| 192 | slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable |
| 193 | support for this. |
| 194 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 195 | endif |