diff options
| -rw-r--r-- | arch/sh/Kconfig.sh | 190 | ||||
| -rw-r--r-- | arch/sh/mm/Kconfig | 190 |
2 files changed, 190 insertions, 190 deletions
diff --git a/arch/sh/Kconfig.sh b/arch/sh/Kconfig.sh index 496d635f89b..50d8981b8d1 100644 --- a/arch/sh/Kconfig.sh +++ b/arch/sh/Kconfig.sh | |||
| @@ -97,6 +97,196 @@ source "init/Kconfig" | |||
| 97 | 97 | ||
| 98 | menu "System type" | 98 | menu "System type" |
| 99 | 99 | ||
| 100 | # | ||
| 101 | # Processor families | ||
| 102 | # | ||
| 103 | config CPU_SH2 | ||
| 104 | bool | ||
| 105 | |||
| 106 | config CPU_SH2A | ||
| 107 | bool | ||
| 108 | select CPU_SH2 | ||
| 109 | |||
| 110 | config CPU_SH3 | ||
| 111 | bool | ||
| 112 | select CPU_HAS_INTEVT | ||
| 113 | select CPU_HAS_SR_RB | ||
| 114 | |||
| 115 | config CPU_SH4 | ||
| 116 | bool | ||
| 117 | select CPU_HAS_INTEVT | ||
| 118 | select CPU_HAS_SR_RB | ||
| 119 | select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2 | ||
| 120 | select CPU_HAS_FPU if !CPU_SH4AL_DSP | ||
| 121 | |||
| 122 | config CPU_SH4A | ||
| 123 | bool | ||
| 124 | select CPU_SH4 | ||
| 125 | |||
| 126 | config CPU_SH4AL_DSP | ||
| 127 | bool | ||
| 128 | select CPU_SH4A | ||
| 129 | select CPU_HAS_DSP | ||
| 130 | |||
| 131 | config CPU_SHX2 | ||
| 132 | bool | ||
| 133 | |||
| 134 | config CPU_SHX3 | ||
| 135 | bool | ||
| 136 | |||
| 137 | choice | ||
| 138 | prompt "Processor sub-type selection" | ||
| 139 | |||
| 140 | # | ||
| 141 | # Processor subtypes | ||
| 142 | # | ||
| 143 | |||
| 144 | # SH-2 Processor Support | ||
| 145 | |||
| 146 | config CPU_SUBTYPE_SH7619 | ||
| 147 | bool "Support SH7619 processor" | ||
| 148 | select CPU_SH2 | ||
| 149 | |||
| 150 | # SH-2A Processor Support | ||
| 151 | |||
| 152 | config CPU_SUBTYPE_SH7206 | ||
| 153 | bool "Support SH7206 processor" | ||
| 154 | select CPU_SH2A | ||
| 155 | |||
| 156 | # SH-3 Processor Support | ||
| 157 | |||
| 158 | config CPU_SUBTYPE_SH7705 | ||
| 159 | bool "Support SH7705 processor" | ||
| 160 | select CPU_SH3 | ||
| 161 | |||
| 162 | config CPU_SUBTYPE_SH7706 | ||
| 163 | bool "Support SH7706 processor" | ||
| 164 | select CPU_SH3 | ||
| 165 | help | ||
| 166 | Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU. | ||
| 167 | |||
| 168 | config CPU_SUBTYPE_SH7707 | ||
| 169 | bool "Support SH7707 processor" | ||
| 170 | select CPU_SH3 | ||
| 171 | help | ||
| 172 | Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU. | ||
| 173 | |||
| 174 | config CPU_SUBTYPE_SH7708 | ||
| 175 | bool "Support SH7708 processor" | ||
| 176 | select CPU_SH3 | ||
| 177 | help | ||
| 178 | Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or | ||
| 179 | if you have a 100 Mhz SH-3 HD6417708R CPU. | ||
| 180 | |||
| 181 | config CPU_SUBTYPE_SH7709 | ||
| 182 | bool "Support SH7709 processor" | ||
| 183 | select CPU_SH3 | ||
| 184 | help | ||
| 185 | Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. | ||
| 186 | |||
| 187 | config CPU_SUBTYPE_SH7710 | ||
| 188 | bool "Support SH7710 processor" | ||
| 189 | select CPU_SH3 | ||
| 190 | select CPU_HAS_DSP | ||
| 191 | help | ||
| 192 | Select SH7710 if you have a SH3-DSP SH7710 CPU. | ||
| 193 | |||
| 194 | config CPU_SUBTYPE_SH7712 | ||
| 195 | bool "Support SH7712 processor" | ||
| 196 | select CPU_SH3 | ||
| 197 | select CPU_HAS_DSP | ||
| 198 | help | ||
| 199 | Select SH7712 if you have a SH3-DSP SH7712 CPU. | ||
| 200 | |||
| 201 | config CPU_SUBTYPE_SH7720 | ||
| 202 | bool "Support SH7720 processor" | ||
| 203 | select CPU_SH3 | ||
| 204 | select CPU_HAS_DSP | ||
| 205 | help | ||
| 206 | Select SH7720 if you have a SH3-DSP SH7720 CPU. | ||
| 207 | |||
| 208 | # SH-4 Processor Support | ||
| 209 | |||
| 210 | config CPU_SUBTYPE_SH7750 | ||
| 211 | bool "Support SH7750 processor" | ||
| 212 | select CPU_SH4 | ||
| 213 | help | ||
| 214 | Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU. | ||
| 215 | |||
| 216 | config CPU_SUBTYPE_SH7091 | ||
| 217 | bool "Support SH7091 processor" | ||
| 218 | select CPU_SH4 | ||
| 219 | help | ||
| 220 | Select SH7091 if you have an SH-4 based Sega device (such as | ||
| 221 | the Dreamcast, Naomi, and Naomi 2). | ||
| 222 | |||
| 223 | config CPU_SUBTYPE_SH7750R | ||
| 224 | bool "Support SH7750R processor" | ||
| 225 | select CPU_SH4 | ||
| 226 | |||
| 227 | config CPU_SUBTYPE_SH7750S | ||
| 228 | bool "Support SH7750S processor" | ||
| 229 | select CPU_SH4 | ||
| 230 | |||
| 231 | config CPU_SUBTYPE_SH7751 | ||
| 232 | bool "Support SH7751 processor" | ||
| 233 | select CPU_SH4 | ||
| 234 | help | ||
| 235 | Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, | ||
| 236 | or if you have a HD6417751R CPU. | ||
| 237 | |||
| 238 | config CPU_SUBTYPE_SH7751R | ||
| 239 | bool "Support SH7751R processor" | ||
| 240 | select CPU_SH4 | ||
| 241 | |||
| 242 | config CPU_SUBTYPE_SH7760 | ||
| 243 | bool "Support SH7760 processor" | ||
| 244 | select CPU_SH4 | ||
| 245 | |||
| 246 | config CPU_SUBTYPE_SH4_202 | ||
| 247 | bool "Support SH4-202 processor" | ||
| 248 | select CPU_SH4 | ||
| 249 | |||
| 250 | # SH-4A Processor Support | ||
| 251 | |||
| 252 | config CPU_SUBTYPE_SH7770 | ||
| 253 | bool "Support SH7770 processor" | ||
| 254 | select CPU_SH4A | ||
| 255 | |||
| 256 | config CPU_SUBTYPE_SH7780 | ||
| 257 | bool "Support SH7780 processor" | ||
| 258 | select CPU_SH4A | ||
| 259 | |||
| 260 | config CPU_SUBTYPE_SH7785 | ||
| 261 | bool "Support SH7785 processor" | ||
| 262 | select CPU_SH4A | ||
| 263 | select CPU_SHX2 | ||
| 264 | select ARCH_SPARSEMEM_ENABLE | ||
| 265 | select SYS_SUPPORTS_NUMA | ||
| 266 | |||
| 267 | config CPU_SUBTYPE_SHX3 | ||
| 268 | bool "Support SH-X3 processor" | ||
| 269 | select CPU_SH4A | ||
| 270 | select CPU_SHX3 | ||
| 271 | select ARCH_SPARSEMEM_ENABLE | ||
| 272 | select SYS_SUPPORTS_NUMA | ||
| 273 | select SYS_SUPPORTS_SMP | ||
| 274 | |||
| 275 | # SH4AL-DSP Processor Support | ||
| 276 | |||
| 277 | config CPU_SUBTYPE_SH7343 | ||
| 278 | bool "Support SH7343 processor" | ||
| 279 | select CPU_SH4AL_DSP | ||
| 280 | |||
| 281 | config CPU_SUBTYPE_SH7722 | ||
| 282 | bool "Support SH7722 processor" | ||
| 283 | select CPU_SH4AL_DSP | ||
| 284 | select CPU_SHX2 | ||
| 285 | select ARCH_SPARSEMEM_ENABLE | ||
| 286 | select SYS_SUPPORTS_NUMA | ||
| 287 | |||
| 288 | endchoice | ||
| 289 | |||
| 100 | source "arch/sh/mm/Kconfig" | 290 | source "arch/sh/mm/Kconfig" |
| 101 | 291 | ||
| 102 | menu "Processor features" | 292 | menu "Processor features" |
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 1265f204f7d..998c5c86346 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
| @@ -1,193 +1,3 @@ | |||
| 1 | # | ||
| 2 | # Processor families | ||
| 3 | # | ||
| 4 | config CPU_SH2 | ||
| 5 | bool | ||
| 6 | |||
| 7 | config CPU_SH2A | ||
| 8 | bool | ||
| 9 | select CPU_SH2 | ||
| 10 | |||
| 11 | config CPU_SH3 | ||
| 12 | bool | ||
| 13 | select CPU_HAS_INTEVT | ||
| 14 | select CPU_HAS_SR_RB | ||
| 15 | |||
| 16 | config CPU_SH4 | ||
| 17 | bool | ||
| 18 | select CPU_HAS_INTEVT | ||
| 19 | select CPU_HAS_SR_RB | ||
| 20 | select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2 | ||
| 21 | select CPU_HAS_FPU if !CPU_SH4AL_DSP | ||
| 22 | |||
| 23 | config CPU_SH4A | ||
| 24 | bool | ||
| 25 | select CPU_SH4 | ||
| 26 | |||
| 27 | config CPU_SH4AL_DSP | ||
| 28 | bool | ||
| 29 | select CPU_SH4A | ||
| 30 | select CPU_HAS_DSP | ||
| 31 | |||
| 32 | config CPU_SHX2 | ||
| 33 | bool | ||
| 34 | |||
| 35 | config CPU_SHX3 | ||
| 36 | bool | ||
| 37 | |||
| 38 | choice | ||
| 39 | prompt "Processor sub-type selection" | ||
| 40 | |||
| 41 | # | ||
| 42 | # Processor subtypes | ||
| 43 | # | ||
| 44 | |||
| 45 | # SH-2 Processor Support | ||
| 46 | |||
| 47 | config CPU_SUBTYPE_SH7619 | ||
| 48 | bool "Support SH7619 processor" | ||
| 49 | select CPU_SH2 | ||
| 50 | |||
| 51 | # SH-2A Processor Support | ||
| 52 | |||
| 53 | config CPU_SUBTYPE_SH7206 | ||
| 54 | bool "Support SH7206 processor" | ||
| 55 | select CPU_SH2A | ||
| 56 | |||
| 57 | # SH-3 Processor Support | ||
| 58 | |||
| 59 | config CPU_SUBTYPE_SH7705 | ||
| 60 | bool "Support SH7705 processor" | ||
| 61 | select CPU_SH3 | ||
| 62 | |||
| 63 | config CPU_SUBTYPE_SH7706 | ||
| 64 | bool "Support SH7706 processor" | ||
| 65 | select CPU_SH3 | ||
| 66 | help | ||
| 67 | Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU. | ||
| 68 | |||
| 69 | config CPU_SUBTYPE_SH7707 | ||
| 70 | bool "Support SH7707 processor" | ||
| 71 | select CPU_SH3 | ||
| 72 | help | ||
| 73 | Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU. | ||
| 74 | |||
| 75 | config CPU_SUBTYPE_SH7708 | ||
| 76 | bool "Support SH7708 processor" | ||
| 77 | select CPU_SH3 | ||
| 78 | help | ||
| 79 | Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or | ||
| 80 | if you have a 100 Mhz SH-3 HD6417708R CPU. | ||
| 81 | |||
| 82 | config CPU_SUBTYPE_SH7709 | ||
| 83 | bool "Support SH7709 processor" | ||
| 84 | select CPU_SH3 | ||
| 85 | help | ||
| 86 | Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. | ||
| 87 | |||
| 88 | config CPU_SUBTYPE_SH7710 | ||
| 89 | bool "Support SH7710 processor" | ||
| 90 | select CPU_SH3 | ||
| 91 | select CPU_HAS_DSP | ||
| 92 | help | ||
| 93 | Select SH7710 if you have a SH3-DSP SH7710 CPU. | ||
| 94 | |||
| 95 | config CPU_SUBTYPE_SH7712 | ||
| 96 | bool "Support SH7712 processor" | ||
| 97 | select CPU_SH3 | ||
| 98 | select CPU_HAS_DSP | ||
| 99 | help | ||
| 100 | Select SH7712 if you have a SH3-DSP SH7712 CPU. | ||
| 101 | |||
| 102 | config CPU_SUBTYPE_SH7720 | ||
| 103 | bool "Support SH7720 processor" | ||
| 104 | select CPU_SH3 | ||
| 105 | select CPU_HAS_DSP | ||
| 106 | help | ||
| 107 | Select SH7720 if you have a SH3-DSP SH7720 CPU. | ||
| 108 | |||
| 109 | # SH-4 Processor Support | ||
| 110 | |||
| 111 | config CPU_SUBTYPE_SH7750 | ||
| 112 | bool "Support SH7750 processor" | ||
| 113 | select CPU_SH4 | ||
| 114 | help | ||
| 115 | Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU. | ||
| 116 | |||
| 117 | config CPU_SUBTYPE_SH7091 | ||
| 118 | bool "Support SH7091 processor" | ||
| 119 | select CPU_SH4 | ||
| 120 | help | ||
| 121 | Select SH7091 if you have an SH-4 based Sega device (such as | ||
| 122 | the Dreamcast, Naomi, and Naomi 2). | ||
| 123 | |||
| 124 | config CPU_SUBTYPE_SH7750R | ||
| 125 | bool "Support SH7750R processor" | ||
| 126 | select CPU_SH4 | ||
| 127 | |||
| 128 | config CPU_SUBTYPE_SH7750S | ||
| 129 | bool "Support SH7750S processor" | ||
| 130 | select CPU_SH4 | ||
| 131 | |||
| 132 | config CPU_SUBTYPE_SH7751 | ||
| 133 | bool "Support SH7751 processor" | ||
| 134 | select CPU_SH4 | ||
| 135 | help | ||
| 136 | Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, | ||
| 137 | or if you have a HD6417751R CPU. | ||
| 138 | |||
| 139 | config CPU_SUBTYPE_SH7751R | ||
| 140 | bool "Support SH7751R processor" | ||
| 141 | select CPU_SH4 | ||
| 142 | |||
| 143 | config CPU_SUBTYPE_SH7760 | ||
| 144 | bool "Support SH7760 processor" | ||
| 145 | select CPU_SH4 | ||
| 146 | |||
| 147 | config CPU_SUBTYPE_SH4_202 | ||
| 148 | bool "Support SH4-202 processor" | ||
| 149 | select CPU_SH4 | ||
| 150 | |||
| 151 | # SH-4A Processor Support | ||
| 152 | |||
| 153 | config CPU_SUBTYPE_SH7770 | ||
| 154 | bool "Support SH7770 processor" | ||
| 155 | select CPU_SH4A | ||
| 156 | |||
| 157 | config CPU_SUBTYPE_SH7780 | ||
| 158 | bool "Support SH7780 processor" | ||
| 159 | select CPU_SH4A | ||
| 160 | |||
| 161 | config CPU_SUBTYPE_SH7785 | ||
| 162 | bool "Support SH7785 processor" | ||
| 163 | select CPU_SH4A | ||
| 164 | select CPU_SHX2 | ||
| 165 | select ARCH_SPARSEMEM_ENABLE | ||
| 166 | select SYS_SUPPORTS_NUMA | ||
| 167 | |||
| 168 | config CPU_SUBTYPE_SHX3 | ||
| 169 | bool "Support SH-X3 processor" | ||
| 170 | select CPU_SH4A | ||
| 171 | select CPU_SHX3 | ||
| 172 | select ARCH_SPARSEMEM_ENABLE | ||
| 173 | select SYS_SUPPORTS_NUMA | ||
| 174 | select SYS_SUPPORTS_SMP | ||
| 175 | |||
| 176 | # SH4AL-DSP Processor Support | ||
| 177 | |||
| 178 | config CPU_SUBTYPE_SH7343 | ||
| 179 | bool "Support SH7343 processor" | ||
| 180 | select CPU_SH4AL_DSP | ||
| 181 | |||
| 182 | config CPU_SUBTYPE_SH7722 | ||
| 183 | bool "Support SH7722 processor" | ||
| 184 | select CPU_SH4AL_DSP | ||
| 185 | select CPU_SHX2 | ||
| 186 | select ARCH_SPARSEMEM_ENABLE | ||
| 187 | select SYS_SUPPORTS_NUMA | ||
| 188 | |||
| 189 | endchoice | ||
| 190 | |||
| 191 | menu "Memory management options" | 1 | menu "Memory management options" |
| 192 | 2 | ||
| 193 | config QUICKLIST | 3 | config QUICKLIST |
