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 | |
| 115 | config TARGET_MINI_X_1GB |
| 116 | bool "MINI_X_1GB" |
| 117 | depends on MACH_SUN4I |
| 118 | |
| 119 | config TARGET_MINI_X |
| 120 | bool "MINI_X" |
| 121 | depends on MACH_SUN4I |
| 122 | |
| 123 | config TARGET_BA10_TV_BOX |
| 124 | bool "BA10_TV_BOX" |
| 125 | depends on MACH_SUN4I |
| 126 | |
| 127 | config TARGET_I12_TVBOX |
| 128 | bool "I12_TVBOX" |
| 129 | depends on MACH_SUN7I |
| 130 | |
| 131 | config TARGET_QT840A |
| 132 | bool "QT840A" |
| 133 | depends on MACH_SUN7I |
| 134 | |
| 135 | config TARGET_R7DONGLE |
| 136 | bool "R7DONGLE" |
| 137 | depends on MACH_SUN5I |
| 138 | |
| 139 | endchoice |
| 140 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 141 | config SYS_BOARD |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 142 | default "sunxi" |
| 143 | |
| 144 | config SYS_SOC |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 145 | default "sunxi" |
| 146 | |
Ian Campbell | 4ce9941 | 2014-10-24 21:20:46 +0100 | [diff] [blame] | 147 | config SPL_FEL |
| 148 | bool "SPL/FEL mode support" |
| 149 | depends on SPL |
| 150 | default n |
| 151 | |
Ian Campbell | 98e214d | 2014-08-31 13:13:43 +0100 | [diff] [blame] | 152 | config FDTFILE |
| 153 | string "Default fdtfile env setting for this board" |
Hans de Goede | 846e325 | 2014-08-01 09:37:58 +0200 | [diff] [blame] | 154 | |
Hans de Goede | accc9e4 | 2014-10-22 14:56:36 +0200 | [diff] [blame] | 155 | config OLD_SUNXI_KERNEL_COMPAT |
| 156 | boolean "Enable workarounds for booting old kernels" |
| 157 | default n |
| 158 | ---help--- |
| 159 | Set this to enable various workarounds for old kernels, this results in |
| 160 | sub-optimal settings for newer kernels, only enable if needed. |
| 161 | |
Hans de Goede | cd82113 | 2014-10-02 20:29:26 +0200 | [diff] [blame] | 162 | config MMC0_CD_PIN |
| 163 | string "Card detect pin for mmc0" |
| 164 | default "" |
| 165 | ---help--- |
| 166 | Set the card detect pin for mmc0, leave empty to not use cd. This |
| 167 | takes a string in the format understood by sunxi_name_to_gpio, e.g. |
| 168 | PH1 for pin 1 of port H. |
| 169 | |
| 170 | config MMC1_CD_PIN |
| 171 | string "Card detect pin for mmc1" |
| 172 | default "" |
| 173 | ---help--- |
| 174 | See MMC0_CD_PIN help text. |
| 175 | |
| 176 | config MMC2_CD_PIN |
| 177 | string "Card detect pin for mmc2" |
| 178 | default "" |
| 179 | ---help--- |
| 180 | See MMC0_CD_PIN help text. |
| 181 | |
| 182 | config MMC3_CD_PIN |
| 183 | string "Card detect pin for mmc3" |
| 184 | default "" |
| 185 | ---help--- |
| 186 | See MMC0_CD_PIN help text. |
| 187 | |
Hans de Goede | 2ccfac0 | 2014-10-02 20:43:50 +0200 | [diff] [blame] | 188 | config MMC_SUNXI_SLOT_EXTRA |
| 189 | int "mmc extra slot number" |
| 190 | default -1 |
| 191 | ---help--- |
| 192 | sunxi builds always enable mmc0, some boards also have a second sdcard |
| 193 | slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable |
| 194 | support for this. |
| 195 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 196 | endif |