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