aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-20 17:33:09 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:32:49 -0400
commit7cf8053b8ee48a7f0e9d8ebc72c279fb2e168c25 (patch)
tree3c29e48cd8386dd8ff83dbf3c1a9b19e98e84484
parentcb4262481fce1d43ac9a483be4faf36fdd1c7abb (diff)
More foolproofing of the CPU configuration.
Limit the number of cpu type options in the cpu menu to just those types that are actually available for the select platform. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/Kconfig151
1 files changed, 149 insertions, 2 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 3c438631fd7c..0097a0d53b3b 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -19,12 +19,14 @@ config MIPS_MTX1
19 select DMA_NONCOHERENT 19 select DMA_NONCOHERENT
20 select HW_HAS_PCI 20 select HW_HAS_PCI
21 select SOC_AU1500 21 select SOC_AU1500
22 select SYS_HAS_CPU_MIPS32_R1
22 select SYS_SUPPORTS_LITTLE_ENDIAN 23 select SYS_SUPPORTS_LITTLE_ENDIAN
23 24
24config MIPS_BOSPORUS 25config MIPS_BOSPORUS
25 bool "AMD Alchemy Bosporus board" 26 bool "AMD Alchemy Bosporus board"
26 select SOC_AU1500 27 select SOC_AU1500
27 select DMA_NONCOHERENT 28 select DMA_NONCOHERENT
29 select SYS_HAS_CPU_MIPS32_R1
28 select SYS_SUPPORTS_LITTLE_ENDIAN 30 select SYS_SUPPORTS_LITTLE_ENDIAN
29 31
30config MIPS_PB1000 32config MIPS_PB1000
@@ -33,6 +35,7 @@ config MIPS_PB1000
33 select DMA_NONCOHERENT 35 select DMA_NONCOHERENT
34 select HW_HAS_PCI 36 select HW_HAS_PCI
35 select SWAP_IO_SPACE 37 select SWAP_IO_SPACE
38 select SYS_HAS_CPU_MIPS32_R1
36 select SYS_SUPPORTS_LITTLE_ENDIAN 39 select SYS_SUPPORTS_LITTLE_ENDIAN
37 40
38config MIPS_PB1100 41config MIPS_PB1100
@@ -41,6 +44,7 @@ config MIPS_PB1100
41 select DMA_NONCOHERENT 44 select DMA_NONCOHERENT
42 select HW_HAS_PCI 45 select HW_HAS_PCI
43 select SWAP_IO_SPACE 46 select SWAP_IO_SPACE
47 select SYS_HAS_CPU_MIPS32_R1
44 select SYS_SUPPORTS_LITTLE_ENDIAN 48 select SYS_SUPPORTS_LITTLE_ENDIAN
45 49
46config MIPS_PB1500 50config MIPS_PB1500
@@ -48,6 +52,7 @@ config MIPS_PB1500
48 select SOC_AU1500 52 select SOC_AU1500
49 select DMA_NONCOHERENT 53 select DMA_NONCOHERENT
50 select HW_HAS_PCI 54 select HW_HAS_PCI
55 select SYS_HAS_CPU_MIPS32_R1
51 select SYS_SUPPORTS_LITTLE_ENDIAN 56 select SYS_SUPPORTS_LITTLE_ENDIAN
52 57
53config MIPS_PB1550 58config MIPS_PB1550
@@ -56,6 +61,7 @@ config MIPS_PB1550
56 select DMA_NONCOHERENT 61 select DMA_NONCOHERENT
57 select HW_HAS_PCI 62 select HW_HAS_PCI
58 select MIPS_DISABLE_OBSOLETE_IDE 63 select MIPS_DISABLE_OBSOLETE_IDE
64 select SYS_HAS_CPU_MIPS32_R1
59 select SYS_SUPPORTS_LITTLE_ENDIAN 65 select SYS_SUPPORTS_LITTLE_ENDIAN
60 66
61config MIPS_PB1200 67config MIPS_PB1200
@@ -63,6 +69,7 @@ config MIPS_PB1200
63 select SOC_AU1200 69 select SOC_AU1200
64 select DMA_NONCOHERENT 70 select DMA_NONCOHERENT
65 select MIPS_DISABLE_OBSOLETE_IDE 71 select MIPS_DISABLE_OBSOLETE_IDE
72 select SYS_HAS_CPU_MIPS32_R1
66 select SYS_SUPPORTS_LITTLE_ENDIAN 73 select SYS_SUPPORTS_LITTLE_ENDIAN
67 74
68config MIPS_DB1000 75config MIPS_DB1000
@@ -70,12 +77,14 @@ config MIPS_DB1000
70 select SOC_AU1000 77 select SOC_AU1000
71 select DMA_NONCOHERENT 78 select DMA_NONCOHERENT
72 select HW_HAS_PCI 79 select HW_HAS_PCI
80 select SYS_HAS_CPU_MIPS32_R1
73 select SYS_SUPPORTS_LITTLE_ENDIAN 81 select SYS_SUPPORTS_LITTLE_ENDIAN
74 82
75config MIPS_DB1100 83config MIPS_DB1100
76 bool "AMD Alchemy DB1100 board" 84 bool "AMD Alchemy DB1100 board"
77 select SOC_AU1100 85 select SOC_AU1100
78 select DMA_NONCOHERENT 86 select DMA_NONCOHERENT
87 select SYS_HAS_CPU_MIPS32_R1
79 select SYS_SUPPORTS_LITTLE_ENDIAN 88 select SYS_SUPPORTS_LITTLE_ENDIAN
80 89
81config MIPS_DB1500 90config MIPS_DB1500
@@ -84,6 +93,7 @@ config MIPS_DB1500
84 select DMA_NONCOHERENT 93 select DMA_NONCOHERENT
85 select HW_HAS_PCI 94 select HW_HAS_PCI
86 select MIPS_DISABLE_OBSOLETE_IDE 95 select MIPS_DISABLE_OBSOLETE_IDE
96 select SYS_HAS_CPU_MIPS32_R1
87 select SYS_SUPPORTS_BIG_ENDIAN 97 select SYS_SUPPORTS_BIG_ENDIAN
88 select SYS_SUPPORTS_LITTLE_ENDIAN 98 select SYS_SUPPORTS_LITTLE_ENDIAN
89 99
@@ -93,6 +103,7 @@ config MIPS_DB1550
93 select HW_HAS_PCI 103 select HW_HAS_PCI
94 select DMA_NONCOHERENT 104 select DMA_NONCOHERENT
95 select MIPS_DISABLE_OBSOLETE_IDE 105 select MIPS_DISABLE_OBSOLETE_IDE
106 select SYS_HAS_CPU_MIPS32_R1
96 select SYS_SUPPORTS_LITTLE_ENDIAN 107 select SYS_SUPPORTS_LITTLE_ENDIAN
97 108
98config MIPS_DB1200 109config MIPS_DB1200
@@ -100,12 +111,14 @@ config MIPS_DB1200
100 select SOC_AU1200 111 select SOC_AU1200
101 select DMA_COHERENT 112 select DMA_COHERENT
102 select MIPS_DISABLE_OBSOLETE_IDE 113 select MIPS_DISABLE_OBSOLETE_IDE
114 select SYS_HAS_CPU_MIPS32_R1
103 select SYS_SUPPORTS_LITTLE_ENDIAN 115 select SYS_SUPPORTS_LITTLE_ENDIAN
104 116
105config MIPS_MIRAGE 117config MIPS_MIRAGE
106 bool "AMD Alchemy Mirage board" 118 bool "AMD Alchemy Mirage board"
107 select DMA_NONCOHERENT 119 select DMA_NONCOHERENT
108 select SOC_AU1500 120 select SOC_AU1500
121 select SYS_HAS_CPU_MIPS32_R1
109 select SYS_SUPPORTS_LITTLE_ENDIAN 122 select SYS_SUPPORTS_LITTLE_ENDIAN
110 123
111config MIPS_COBALT 124config MIPS_COBALT
@@ -115,6 +128,7 @@ config MIPS_COBALT
115 select I8259 128 select I8259
116 select IRQ_CPU 129 select IRQ_CPU
117 select MIPS_GT64111 130 select MIPS_GT64111
131 select SYS_HAS_CPU_NEVADA
118 select SYS_SUPPORTS_32BIT_KERNEL 132 select SYS_SUPPORTS_32BIT_KERNEL
119 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 133 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
120 select SYS_SUPPORTS_LITTLE_ENDIAN 134 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -125,6 +139,8 @@ config MACH_DECSTATION
125 select DMA_NONCOHERENT 139 select DMA_NONCOHERENT
126 select EARLY_PRINTK 140 select EARLY_PRINTK
127 select IRQ_CPU 141 select IRQ_CPU
142 select SYS_HAS_CPU_R3000
143 select SYS_HAS_CPU_R4X00
128 select SYS_SUPPORTS_32BIT_KERNEL 144 select SYS_SUPPORTS_32BIT_KERNEL
129 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 145 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
130 select SYS_SUPPORTS_LITTLE_ENDIAN 146 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -149,6 +165,7 @@ config MIPS_EV64120
149 select DMA_NONCOHERENT 165 select DMA_NONCOHERENT
150 select HW_HAS_PCI 166 select HW_HAS_PCI
151 select MIPS_GT64120 167 select MIPS_GT64120
168 select SYS_HAS_CPU_R5000
152 select SYS_SUPPORTS_32BIT_KERNEL 169 select SYS_SUPPORTS_32BIT_KERNEL
153 select SYS_SUPPORTS_64BIT_KERNEL 170 select SYS_SUPPORTS_64BIT_KERNEL
154 select SYS_SUPPORTS_BIG_ENDIAN 171 select SYS_SUPPORTS_BIG_ENDIAN
@@ -168,6 +185,8 @@ config MIPS_EV96100
168 select MIPS_GT96100 185 select MIPS_GT96100
169 select RM7000_CPU_SCACHE 186 select RM7000_CPU_SCACHE
170 select SWAP_IO_SPACE 187 select SWAP_IO_SPACE
188 select SYS_HAS_CPU_R5000
189 select SYS_HAS_CPU_RM7000
171 select SYS_SUPPORTS_32BIT_KERNEL 190 select SYS_SUPPORTS_32BIT_KERNEL
172 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 191 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
173 select SYS_SUPPORTS_BIG_ENDIAN 192 select SYS_SUPPORTS_BIG_ENDIAN
@@ -182,6 +201,7 @@ config MIPS_IVR
182 select DMA_NONCOHERENT 201 select DMA_NONCOHERENT
183 select HW_HAS_PCI 202 select HW_HAS_PCI
184 select ITE_BOARD_GEN 203 select ITE_BOARD_GEN
204 select SYS_HAS_CPU_NEVADA
185 select SYS_SUPPORTS_32BIT_KERNEL 205 select SYS_SUPPORTS_32BIT_KERNEL
186 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 206 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
187 select SYS_SUPPORTS_LITTLE_ENDIAN 207 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -197,6 +217,8 @@ config MIPS_ITE8172
197 select DMA_NONCOHERENT 217 select DMA_NONCOHERENT
198 select HW_HAS_PCI 218 select HW_HAS_PCI
199 select ITE_BOARD_GEN 219 select ITE_BOARD_GEN
220 select SYS_HAS_CPU_R5432
221 select SYS_HAS_CPU_NEVADA
200 select SYS_SUPPORTS_32BIT_KERNEL 222 select SYS_SUPPORTS_32BIT_KERNEL
201 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 223 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
202 select SYS_SUPPORTS_LITTLE_ENDIAN 224 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -215,6 +237,7 @@ config MACH_JAZZ
215 select GENERIC_ISA_DMA 237 select GENERIC_ISA_DMA
216 select I8259 238 select I8259
217 select ISA 239 select ISA
240 select SYS_HAS_CPU_R4X00
218 select SYS_SUPPORTS_32BIT_KERNEL 241 select SYS_SUPPORTS_32BIT_KERNEL
219 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 242 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
220 help 243 help
@@ -230,6 +253,7 @@ config LASAT
230 select MIPS_GT64120 253 select MIPS_GT64120
231 select MIPS_NILE4 254 select MIPS_NILE4
232 select R5000_CPU_SCACHE 255 select R5000_CPU_SCACHE
256 select SYS_HAS_CPU_R5000
233 select SYS_SUPPORTS_32BIT_KERNEL 257 select SYS_SUPPORTS_32BIT_KERNEL
234 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 258 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
235 select SYS_SUPPORTS_LITTLE_ENDIAN 259 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -246,6 +270,11 @@ config MIPS_ATLAS
246 select MIPS_MSC 270 select MIPS_MSC
247 select RM7000_CPU_SCACHE 271 select RM7000_CPU_SCACHE
248 select SWAP_IO_SPACE 272 select SWAP_IO_SPACE
273 select SYS_HAS_CPU_MIPS32_R1
274 select SYS_HAS_CPU_MIPS32_R2
275 select SYS_HAS_CPU_MIPS64_R1
276 select SYS_HAS_CPU_NEVADA
277 select SYS_HAS_CPU_RM7000
249 select SYS_SUPPORTS_32BIT_KERNEL 278 select SYS_SUPPORTS_32BIT_KERNEL
250 select SYS_SUPPORTS_64BIT_KERNEL 279 select SYS_SUPPORTS_64BIT_KERNEL
251 select SYS_SUPPORTS_BIG_ENDIAN 280 select SYS_SUPPORTS_BIG_ENDIAN
@@ -269,6 +298,11 @@ config MIPS_MALTA
269 select MIPS_GT64120 298 select MIPS_GT64120
270 select MIPS_MSC 299 select MIPS_MSC
271 select SWAP_IO_SPACE 300 select SWAP_IO_SPACE
301 select SYS_HAS_CPU_MIPS32_R1
302 select SYS_HAS_CPU_MIPS32_R2
303 select SYS_HAS_CPU_MIPS64_R1
304 select SYS_HAS_CPU_NEVADA
305 select SYS_HAS_CPU_RM7000
272 select SYS_SUPPORTS_32BIT_KERNEL 306 select SYS_SUPPORTS_32BIT_KERNEL
273 select SYS_SUPPORTS_64BIT_KERNEL 307 select SYS_SUPPORTS_64BIT_KERNEL
274 select SYS_SUPPORTS_BIG_ENDIAN 308 select SYS_SUPPORTS_BIG_ENDIAN
@@ -283,6 +317,9 @@ config MIPS_SEAD
283 select IRQ_CPU 317 select IRQ_CPU
284 select DMA_NONCOHERENT 318 select DMA_NONCOHERENT
285 select MIPS_BOARDS_GEN 319 select MIPS_BOARDS_GEN
320 select SYS_HAS_CPU_MIPS32_R1
321 select SYS_HAS_CPU_MIPS32_R2
322 select SYS_HAS_CPU_MIPS64_R1
286 select SYS_SUPPORTS_32BIT_KERNEL 323 select SYS_SUPPORTS_32BIT_KERNEL
287 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 324 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
288 select SYS_SUPPORTS_BIG_ENDIAN 325 select SYS_SUPPORTS_BIG_ENDIAN
@@ -295,6 +332,8 @@ config MIPS_SIM
295 bool 'Support for MIPS simulator (MIPSsim)' 332 bool 'Support for MIPS simulator (MIPSsim)'
296 select DMA_NONCOHERENT 333 select DMA_NONCOHERENT
297 select IRQ_CPU 334 select IRQ_CPU
335 select SYS_HAS_CPU_MIPS32_R1
336 select SYS_HAS_CPU_MIPS32_R2
298 select SYS_SUPPORTS_32BIT_KERNEL 337 select SYS_SUPPORTS_32BIT_KERNEL
299 select SYS_SUPPORTS_BIG_ENDIAN 338 select SYS_SUPPORTS_BIG_ENDIAN
300 select SYS_SUPPORTS_LITTLE_ENDIAN 339 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -314,6 +353,7 @@ config MOMENCO_JAGUAR_ATX
314 select PCI_MARVELL 353 select PCI_MARVELL
315 select RM7000_CPU_SCACHE 354 select RM7000_CPU_SCACHE
316 select SWAP_IO_SPACE 355 select SWAP_IO_SPACE
356 select SYS_HAS_CPU_RM9000
317 select SYS_SUPPORTS_32BIT_KERNEL 357 select SYS_SUPPORTS_32BIT_KERNEL
318 select SYS_SUPPORTS_64BIT_KERNEL 358 select SYS_SUPPORTS_64BIT_KERNEL
319 select SYS_SUPPORTS_BIG_ENDIAN 359 select SYS_SUPPORTS_BIG_ENDIAN
@@ -330,6 +370,7 @@ config MOMENCO_OCELOT
330 select MIPS_GT64120 370 select MIPS_GT64120
331 select RM7000_CPU_SCACHE 371 select RM7000_CPU_SCACHE
332 select SWAP_IO_SPACE 372 select SWAP_IO_SPACE
373 select SYS_HAS_CPU_RM7000
333 select SYS_SUPPORTS_32BIT_KERNEL 374 select SYS_SUPPORTS_32BIT_KERNEL
334 select SYS_SUPPORTS_64BIT_KERNEL 375 select SYS_SUPPORTS_64BIT_KERNEL
335 select SYS_SUPPORTS_BIG_ENDIAN 376 select SYS_SUPPORTS_BIG_ENDIAN
@@ -348,6 +389,7 @@ config MOMENCO_OCELOT_3
348 select PCI_MARVELL 389 select PCI_MARVELL
349 select RM7000_CPU_SCACHE 390 select RM7000_CPU_SCACHE
350 select SWAP_IO_SPACE 391 select SWAP_IO_SPACE
392 select SYS_HAS_CPU_RM9000
351 select SYS_SUPPORTS_32BIT_KERNEL 393 select SYS_SUPPORTS_32BIT_KERNEL
352 select SYS_SUPPORTS_64BIT_KERNEL 394 select SYS_SUPPORTS_64BIT_KERNEL
353 select SYS_SUPPORTS_BIG_ENDIAN 395 select SYS_SUPPORTS_BIG_ENDIAN
@@ -364,6 +406,7 @@ config MOMENCO_OCELOT_C
364 select PCI_MARVELL 406 select PCI_MARVELL
365 select RM7000_CPU_SCACHE 407 select RM7000_CPU_SCACHE
366 select SWAP_IO_SPACE 408 select SWAP_IO_SPACE
409 select SYS_HAS_CPU_RM7000
367 select SYS_SUPPORTS_32BIT_KERNEL 410 select SYS_SUPPORTS_32BIT_KERNEL
368 select SYS_SUPPORTS_64BIT_KERNEL 411 select SYS_SUPPORTS_64BIT_KERNEL
369 select SYS_SUPPORTS_BIG_ENDIAN 412 select SYS_SUPPORTS_BIG_ENDIAN
@@ -380,6 +423,7 @@ config MOMENCO_OCELOT_G
380 select PCI_MARVELL 423 select PCI_MARVELL
381 select RM7000_CPU_SCACHE 424 select RM7000_CPU_SCACHE
382 select SWAP_IO_SPACE 425 select SWAP_IO_SPACE
426 select SYS_HAS_CPU_RM7000
383 select SYS_SUPPORTS_32BIT_KERNEL 427 select SYS_SUPPORTS_32BIT_KERNEL
384 select SYS_SUPPORTS_64BIT_KERNEL 428 select SYS_SUPPORTS_64BIT_KERNEL
385 select SYS_SUPPORTS_BIG_ENDIAN 429 select SYS_SUPPORTS_BIG_ENDIAN
@@ -413,6 +457,7 @@ config DDB5074
413 select IRQ_CPU 457 select IRQ_CPU
414 select I8259 458 select I8259
415 select ISA 459 select ISA
460 select SYS_HAS_CPU_R5000
416 select SYS_SUPPORTS_32BIT_KERNEL 461 select SYS_SUPPORTS_32BIT_KERNEL
417 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 462 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
418 select SYS_SUPPORTS_LITTLE_ENDIAN 463 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -429,6 +474,7 @@ config DDB5476
429 select IRQ_CPU 474 select IRQ_CPU
430 select I8259 475 select I8259
431 select ISA 476 select ISA
477 select SYS_HAS_CPU_R5432
432 select SYS_SUPPORTS_32BIT_KERNEL 478 select SYS_SUPPORTS_32BIT_KERNEL
433 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 479 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
434 select SYS_SUPPORTS_LITTLE_ENDIAN 480 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -447,6 +493,7 @@ config DDB5477
447 select HW_HAS_PCI 493 select HW_HAS_PCI
448 select I8259 494 select I8259
449 select IRQ_CPU 495 select IRQ_CPU
496 select SYS_HAS_CPU_R5432
450 select SYS_SUPPORTS_32BIT_KERNEL 497 select SYS_SUPPORTS_32BIT_KERNEL
451 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 498 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
452 select SYS_SUPPORTS_LITTLE_ENDIAN 499 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -459,6 +506,7 @@ config DDB5477
459 506
460config MACH_VR41XX 507config MACH_VR41XX
461 bool "Support for NEC VR4100 series based machines" 508 bool "Support for NEC VR4100 series based machines"
509 select SYS_HAS_CPU_VR41XX
462 select SYS_SUPPORTS_32BIT_KERNEL 510 select SYS_SUPPORTS_32BIT_KERNEL
463 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 511 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
464 512
@@ -470,6 +518,7 @@ config PMC_YOSEMITE
470 select IRQ_CPU_RM7K 518 select IRQ_CPU_RM7K
471 select IRQ_CPU_RM9K 519 select IRQ_CPU_RM9K
472 select SWAP_IO_SPACE 520 select SWAP_IO_SPACE
521 select SYS_HAS_CPU_RM9000
473 select SYS_SUPPORTS_32BIT_KERNEL 522 select SYS_SUPPORTS_32BIT_KERNEL
474 select SYS_SUPPORTS_64BIT_KERNEL 523 select SYS_SUPPORTS_64BIT_KERNEL
475 select SYS_SUPPORTS_BIG_ENDIAN 524 select SYS_SUPPORTS_BIG_ENDIAN
@@ -486,6 +535,7 @@ config QEMU
486 select I8259 535 select I8259
487 select ISA 536 select ISA
488 select SWAP_IO_SPACE 537 select SWAP_IO_SPACE
538 select SYS_HAS_CPU_MIPS32_R1
489 select SYS_SUPPORTS_32BIT_KERNEL 539 select SYS_SUPPORTS_32BIT_KERNEL
490 select SYS_SUPPORTS_BIG_ENDIAN 540 select SYS_SUPPORTS_BIG_ENDIAN
491 help 541 help
@@ -506,6 +556,8 @@ config SGI_IP22
506 select IP22_CPU_SCACHE 556 select IP22_CPU_SCACHE
507 select IRQ_CPU 557 select IRQ_CPU
508 select SWAP_IO_SPACE 558 select SWAP_IO_SPACE
559 select SYS_HAS_CPU_R4X00
560 select SYS_HAS_CPU_R5000
509 select SYS_SUPPORTS_32BIT_KERNEL 561 select SYS_SUPPORTS_32BIT_KERNEL
510 select SYS_SUPPORTS_64BIT_KERNEL 562 select SYS_SUPPORTS_64BIT_KERNEL
511 select SYS_SUPPORTS_BIG_ENDIAN 563 select SYS_SUPPORTS_BIG_ENDIAN
@@ -522,6 +574,7 @@ config SGI_IP27
522 select DMA_IP27 574 select DMA_IP27
523 select HW_HAS_PCI 575 select HW_HAS_PCI
524 select PCI_DOMAINS 576 select PCI_DOMAINS
577 select SYS_HAS_CPU_R10000
525 select SYS_SUPPORTS_64BIT_KERNEL 578 select SYS_SUPPORTS_64BIT_KERNEL
526 select SYS_SUPPORTS_BIG_ENDIAN 579 select SYS_SUPPORTS_BIG_ENDIAN
527 help 580 help
@@ -541,6 +594,9 @@ config SGI_IP32
541 select HW_HAS_PCI 594 select HW_HAS_PCI
542 select R5000_CPU_SCACHE 595 select R5000_CPU_SCACHE
543 select RM7000_CPU_SCACHE 596 select RM7000_CPU_SCACHE
597 select SYS_HAS_CPU_R5000
598 select SYS_HAS_CPU_R10000 if BROKEN
599 select SYS_HAS_CPU_RM7000
544 select SYS_SUPPORTS_64BIT_KERNEL 600 select SYS_SUPPORTS_64BIT_KERNEL
545 select SYS_SUPPORTS_BIG_ENDIAN 601 select SYS_SUPPORTS_BIG_ENDIAN
546 help 602 help
@@ -550,11 +606,12 @@ config SIBYTE_BIGSUR
550 bool "Support for Sibyte BigSur" 606 bool "Support for Sibyte BigSur"
551 select BOOT_ELF32 607 select BOOT_ELF32
552 select DMA_COHERENT 608 select DMA_COHERENT
609 select PCI_DOMAINS
553 select SIBYTE_BCM1x80 610 select SIBYTE_BCM1x80
554 select SWAP_IO_SPACE 611 select SWAP_IO_SPACE
612 select SYS_HAS_CPU_SB1
555 select SYS_SUPPORTS_BIG_ENDIAN 613 select SYS_SUPPORTS_BIG_ENDIAN
556 select SYS_SUPPORTS_LITTLE_ENDIAN 614 select SYS_SUPPORTS_LITTLE_ENDIAN
557 select PCI_DOMAINS
558 615
559config SIBYTE_SWARM 616config SIBYTE_SWARM
560 bool "Support for Sibyte BCM91250A-SWARM" 617 bool "Support for Sibyte BCM91250A-SWARM"
@@ -562,6 +619,7 @@ config SIBYTE_SWARM
562 select DMA_COHERENT 619 select DMA_COHERENT
563 select SIBYTE_SB1250 620 select SIBYTE_SB1250
564 select SWAP_IO_SPACE 621 select SWAP_IO_SPACE
622 select SYS_HAS_CPU_SB1
565 select SYS_SUPPORTS_BIG_ENDIAN 623 select SYS_SUPPORTS_BIG_ENDIAN
566 select SYS_SUPPORTS_HIGHMEM 624 select SYS_SUPPORTS_HIGHMEM
567 select SYS_SUPPORTS_LITTLE_ENDIAN 625 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -573,6 +631,7 @@ config SIBYTE_SENTOSA
573 select DMA_COHERENT 631 select DMA_COHERENT
574 select SIBYTE_SB1250 632 select SIBYTE_SB1250
575 select SWAP_IO_SPACE 633 select SWAP_IO_SPACE
634 select SYS_HAS_CPU_SB1
576 select SYS_SUPPORTS_BIG_ENDIAN 635 select SYS_SUPPORTS_BIG_ENDIAN
577 select SYS_SUPPORTS_LITTLE_ENDIAN 636 select SYS_SUPPORTS_LITTLE_ENDIAN
578 637
@@ -583,6 +642,7 @@ config SIBYTE_RHONE
583 select DMA_COHERENT 642 select DMA_COHERENT
584 select SIBYTE_BCM1125H 643 select SIBYTE_BCM1125H
585 select SWAP_IO_SPACE 644 select SWAP_IO_SPACE
645 select SYS_HAS_CPU_SB1
586 select SYS_SUPPORTS_BIG_ENDIAN 646 select SYS_SUPPORTS_BIG_ENDIAN
587 select SYS_SUPPORTS_LITTLE_ENDIAN 647 select SYS_SUPPORTS_LITTLE_ENDIAN
588 648
@@ -593,6 +653,7 @@ config SIBYTE_CARMEL
593 select DMA_COHERENT 653 select DMA_COHERENT
594 select SIBYTE_BCM1120 654 select SIBYTE_BCM1120
595 select SWAP_IO_SPACE 655 select SWAP_IO_SPACE
656 select SYS_HAS_CPU_SB1
596 select SYS_SUPPORTS_BIG_ENDIAN 657 select SYS_SUPPORTS_BIG_ENDIAN
597 select SYS_SUPPORTS_LITTLE_ENDIAN 658 select SYS_SUPPORTS_LITTLE_ENDIAN
598 659
@@ -603,6 +664,7 @@ config SIBYTE_PTSWARM
603 select DMA_COHERENT 664 select DMA_COHERENT
604 select SIBYTE_SB1250 665 select SIBYTE_SB1250
605 select SWAP_IO_SPACE 666 select SWAP_IO_SPACE
667 select SYS_HAS_CPU_SB1
606 select SYS_SUPPORTS_BIG_ENDIAN 668 select SYS_SUPPORTS_BIG_ENDIAN
607 select SYS_SUPPORTS_HIGHMEM 669 select SYS_SUPPORTS_HIGHMEM
608 select SYS_SUPPORTS_LITTLE_ENDIAN 670 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -614,6 +676,7 @@ config SIBYTE_LITTLESUR
614 select DMA_COHERENT 676 select DMA_COHERENT
615 select SIBYTE_SB1250 677 select SIBYTE_SB1250
616 select SWAP_IO_SPACE 678 select SWAP_IO_SPACE
679 select SYS_HAS_CPU_SB1
617 select SYS_SUPPORTS_BIG_ENDIAN 680 select SYS_SUPPORTS_BIG_ENDIAN
618 select SYS_SUPPORTS_HIGHMEM 681 select SYS_SUPPORTS_HIGHMEM
619 select SYS_SUPPORTS_LITTLE_ENDIAN 682 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -625,6 +688,7 @@ config SIBYTE_CRHINE
625 select DMA_COHERENT 688 select DMA_COHERENT
626 select SIBYTE_BCM1120 689 select SIBYTE_BCM1120
627 select SWAP_IO_SPACE 690 select SWAP_IO_SPACE
691 select SYS_HAS_CPU_SB1
628 select SYS_SUPPORTS_BIG_ENDIAN 692 select SYS_SUPPORTS_BIG_ENDIAN
629 select SYS_SUPPORTS_LITTLE_ENDIAN 693 select SYS_SUPPORTS_LITTLE_ENDIAN
630 694
@@ -635,6 +699,7 @@ config SIBYTE_CRHONE
635 select DMA_COHERENT 699 select DMA_COHERENT
636 select SIBYTE_BCM1125 700 select SIBYTE_BCM1125
637 select SWAP_IO_SPACE 701 select SWAP_IO_SPACE
702 select SYS_HAS_CPU_SB1
638 select SYS_SUPPORTS_BIG_ENDIAN 703 select SYS_SUPPORTS_BIG_ENDIAN
639 select SYS_SUPPORTS_HIGHMEM 704 select SYS_SUPPORTS_HIGHMEM
640 select SYS_SUPPORTS_LITTLE_ENDIAN 705 select SYS_SUPPORTS_LITTLE_ENDIAN
@@ -652,6 +717,7 @@ config SNI_RM200_PCI
652 select HW_HAS_PCI 717 select HW_HAS_PCI
653 select I8259 718 select I8259
654 select ISA 719 select ISA
720 select SYS_HAS_CPU_R4X00
655 select SYS_SUPPORTS_32BIT_KERNEL 721 select SYS_SUPPORTS_32BIT_KERNEL
656 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 722 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
657 select SYS_SUPPORTS_BIG_ENDIAN if EXPERIMENTAL 723 select SYS_SUPPORTS_BIG_ENDIAN if EXPERIMENTAL
@@ -669,6 +735,7 @@ config TOSHIBA_JMR3927
669 select HW_HAS_PCI 735 select HW_HAS_PCI
670 select MIPS_TX3927 736 select MIPS_TX3927
671 select SWAP_IO_SPACE 737 select SWAP_IO_SPACE
738 select SYS_HAS_CPU_TX39XX
672 select SYS_SUPPORTS_32BIT_KERNEL 739 select SYS_SUPPORTS_32BIT_KERNEL
673 select SYS_SUPPORTS_BIG_ENDIAN 740 select SYS_SUPPORTS_BIG_ENDIAN
674 select TOSHIBA_BOARDS 741 select TOSHIBA_BOARDS
@@ -681,6 +748,7 @@ config TOSHIBA_RBTX4927
681 select I8259 748 select I8259
682 select ISA 749 select ISA
683 select SWAP_IO_SPACE 750 select SWAP_IO_SPACE
751 select SYS_HAS_CPU_TX49XX
684 select SYS_SUPPORTS_32BIT_KERNEL 752 select SYS_SUPPORTS_32BIT_KERNEL
685 select SYS_SUPPORTS_64BIT_KERNEL 753 select SYS_SUPPORTS_64BIT_KERNEL
686 select SYS_SUPPORTS_BIG_ENDIAN 754 select SYS_SUPPORTS_BIG_ENDIAN
@@ -699,6 +767,7 @@ config TOSHIBA_RBTX4938
699 select I8259 767 select I8259
700 select ISA 768 select ISA
701 select SWAP_IO_SPACE 769 select SWAP_IO_SPACE
770 select SYS_HAS_CPU_TX49XX
702 select SYS_SUPPORTS_32BIT_KERNEL 771 select SYS_SUPPORTS_32BIT_KERNEL
703 select SYS_SUPPORTS_LITTLE_ENDIAN 772 select SYS_SUPPORTS_LITTLE_ENDIAN
704 select SYS_SUPPORTS_BIG_ENDIAN 773 select SYS_SUPPORTS_BIG_ENDIAN
@@ -878,6 +947,7 @@ config SOC_AU1200
878 947
879config SOC_AU1X00 948config SOC_AU1X00
880 bool 949 bool
950 select SYS_HAS_CPU_MIPS32_R1
881 select SYS_SUPPORTS_32BIT_KERNEL 951 select SYS_SUPPORTS_32BIT_KERNEL
882 952
883config PNX8550 953config PNX8550
@@ -886,9 +956,10 @@ config PNX8550
886 956
887config SOC_PNX8550 957config SOC_PNX8550
888 bool 958 bool
889 select SYS_SUPPORTS_32BIT_KERNEL
890 select DMA_NONCOHERENT 959 select DMA_NONCOHERENT
891 select HW_HAS_PCI 960 select HW_HAS_PCI
961 select SYS_HAS_CPU_R4X00
962 select SYS_SUPPORTS_32BIT_KERNEL
892 963
893config SWAP_IO_SPACE 964config SWAP_IO_SPACE
894 bool 965 bool
@@ -980,6 +1051,7 @@ choice
980 1051
981config CPU_MIPS32_R1 1052config CPU_MIPS32_R1
982 bool "MIPS32 Release 1" 1053 bool "MIPS32 Release 1"
1054 depends on SYS_HAS_CPU_MIPS32_R1
983 select CPU_HAS_PREFETCH 1055 select CPU_HAS_PREFETCH
984 select CPU_SUPPORTS_32BIT_KERNEL 1056 select CPU_SUPPORTS_32BIT_KERNEL
985 help 1057 help
@@ -995,6 +1067,7 @@ config CPU_MIPS32_R1
995 1067
996config CPU_MIPS32_R2 1068config CPU_MIPS32_R2
997 bool "MIPS32 Release 2" 1069 bool "MIPS32 Release 2"
1070 depends on SYS_HAS_CPU_MIPS32_R2
998 select CPU_HAS_PREFETCH 1071 select CPU_HAS_PREFETCH
999 select CPU_SUPPORTS_32BIT_KERNEL 1072 select CPU_SUPPORTS_32BIT_KERNEL
1000 help 1073 help
@@ -1006,6 +1079,7 @@ config CPU_MIPS32_R2
1006 1079
1007config CPU_MIPS64_R1 1080config CPU_MIPS64_R1
1008 bool "MIPS64 Release 1" 1081 bool "MIPS64 Release 1"
1082 depends on SYS_HAS_CPU_MIPS64_R1
1009 select CPU_HAS_PREFETCH 1083 select CPU_HAS_PREFETCH
1010 select CPU_SUPPORTS_32BIT_KERNEL 1084 select CPU_SUPPORTS_32BIT_KERNEL
1011 select CPU_SUPPORTS_64BIT_KERNEL 1085 select CPU_SUPPORTS_64BIT_KERNEL
@@ -1022,6 +1096,7 @@ config CPU_MIPS64_R1
1022 1096
1023config CPU_MIPS64_R2 1097config CPU_MIPS64_R2
1024 bool "MIPS64 Release 2" 1098 bool "MIPS64 Release 2"
1099 depends on SYS_HAS_CPU_MIPS64_R2
1025 select CPU_HAS_PREFETCH 1100 select CPU_HAS_PREFETCH
1026 select CPU_SUPPORTS_32BIT_KERNEL 1101 select CPU_SUPPORTS_32BIT_KERNEL
1027 select CPU_SUPPORTS_64BIT_KERNEL 1102 select CPU_SUPPORTS_64BIT_KERNEL
@@ -1034,6 +1109,7 @@ config CPU_MIPS64_R2
1034 1109
1035config CPU_R3000 1110config CPU_R3000
1036 bool "R3000" 1111 bool "R3000"
1112 depends on SYS_HAS_CPU_R3000
1037 select CPU_SUPPORTS_32BIT_KERNEL 1113 select CPU_SUPPORTS_32BIT_KERNEL
1038 select CPU_SUPPORTS_HIGHMEM 1114 select CPU_SUPPORTS_HIGHMEM
1039 help 1115 help
@@ -1046,10 +1122,12 @@ config CPU_R3000
1046 1122
1047config CPU_TX39XX 1123config CPU_TX39XX
1048 bool "R39XX" 1124 bool "R39XX"
1125 depends on SYS_HAS_CPU_TX39XX
1049 select CPU_SUPPORTS_32BIT_KERNEL 1126 select CPU_SUPPORTS_32BIT_KERNEL
1050 1127
1051config CPU_VR41XX 1128config CPU_VR41XX
1052 bool "R41xx" 1129 bool "R41xx"
1130 depends on SYS_HAS_CPU_VR41XX
1053 select CPU_SUPPORTS_32BIT_KERNEL 1131 select CPU_SUPPORTS_32BIT_KERNEL
1054 select CPU_SUPPORTS_64BIT_KERNEL 1132 select CPU_SUPPORTS_64BIT_KERNEL
1055 help 1133 help
@@ -1060,6 +1138,7 @@ config CPU_VR41XX
1060 1138
1061config CPU_R4300 1139config CPU_R4300
1062 bool "R4300" 1140 bool "R4300"
1141 depends on SYS_HAS_CPU_R4300
1063 select CPU_SUPPORTS_32BIT_KERNEL 1142 select CPU_SUPPORTS_32BIT_KERNEL
1064 select CPU_SUPPORTS_64BIT_KERNEL 1143 select CPU_SUPPORTS_64BIT_KERNEL
1065 help 1144 help
@@ -1067,6 +1146,7 @@ config CPU_R4300
1067 1146
1068config CPU_R4X00 1147config CPU_R4X00
1069 bool "R4x00" 1148 bool "R4x00"
1149 depends on SYS_HAS_CPU_R4X00
1070 select CPU_SUPPORTS_32BIT_KERNEL 1150 select CPU_SUPPORTS_32BIT_KERNEL
1071 select CPU_SUPPORTS_64BIT_KERNEL 1151 select CPU_SUPPORTS_64BIT_KERNEL
1072 help 1152 help
@@ -1075,11 +1155,13 @@ config CPU_R4X00
1075 1155
1076config CPU_TX49XX 1156config CPU_TX49XX
1077 bool "R49XX" 1157 bool "R49XX"
1158 depends on SYS_HAS_CPU_TX49XX
1078 select CPU_SUPPORTS_32BIT_KERNEL 1159 select CPU_SUPPORTS_32BIT_KERNEL
1079 select CPU_SUPPORTS_64BIT_KERNEL 1160 select CPU_SUPPORTS_64BIT_KERNEL
1080 1161
1081config CPU_R5000 1162config CPU_R5000
1082 bool "R5000" 1163 bool "R5000"
1164 depends on SYS_HAS_CPU_R5000
1083 select CPU_SUPPORTS_32BIT_KERNEL 1165 select CPU_SUPPORTS_32BIT_KERNEL
1084 select CPU_SUPPORTS_64BIT_KERNEL 1166 select CPU_SUPPORTS_64BIT_KERNEL
1085 help 1167 help
@@ -1087,12 +1169,14 @@ config CPU_R5000
1087 1169
1088config CPU_R5432 1170config CPU_R5432
1089 bool "R5432" 1171 bool "R5432"
1172 depends on SYS_HAS_CPU_R5432
1090 select CPU_SUPPORTS_32BIT_KERNEL 1173 select CPU_SUPPORTS_32BIT_KERNEL
1091 select CPU_SUPPORTS_64BIT_KERNEL 1174 select CPU_SUPPORTS_64BIT_KERNEL
1092 1175
1093config CPU_R6000 1176config CPU_R6000
1094 bool "R6000" 1177 bool "R6000"
1095 depends on EXPERIMENTAL 1178 depends on EXPERIMENTAL
1179 depends on SYS_HAS_CPU_R6000
1096 select CPU_SUPPORTS_32BIT_KERNEL 1180 select CPU_SUPPORTS_32BIT_KERNEL
1097 help 1181 help
1098 MIPS Technologies R6000 and R6000A series processors. Note these 1182 MIPS Technologies R6000 and R6000A series processors. Note these
@@ -1100,6 +1184,7 @@ config CPU_R6000
1100 1184
1101config CPU_NEVADA 1185config CPU_NEVADA
1102 bool "RM52xx" 1186 bool "RM52xx"
1187 depends on SYS_HAS_CPU_NEVADA
1103 select CPU_SUPPORTS_32BIT_KERNEL 1188 select CPU_SUPPORTS_32BIT_KERNEL
1104 select CPU_SUPPORTS_64BIT_KERNEL 1189 select CPU_SUPPORTS_64BIT_KERNEL
1105 help 1190 help
@@ -1108,6 +1193,7 @@ config CPU_NEVADA
1108config CPU_R8000 1193config CPU_R8000
1109 bool "R8000" 1194 bool "R8000"
1110 depends on EXPERIMENTAL 1195 depends on EXPERIMENTAL
1196 depends on SYS_HAS_CPU_R8000
1111 select CPU_HAS_PREFETCH 1197 select CPU_HAS_PREFETCH
1112 select CPU_SUPPORTS_64BIT_KERNEL 1198 select CPU_SUPPORTS_64BIT_KERNEL
1113 help 1199 help
@@ -1116,6 +1202,7 @@ config CPU_R8000
1116 1202
1117config CPU_R10000 1203config CPU_R10000
1118 bool "R10000" 1204 bool "R10000"
1205 depends on SYS_HAS_CPU_R10000
1119 select CPU_HAS_PREFETCH 1206 select CPU_HAS_PREFETCH
1120 select CPU_SUPPORTS_32BIT_KERNEL 1207 select CPU_SUPPORTS_32BIT_KERNEL
1121 select CPU_SUPPORTS_64BIT_KERNEL 1208 select CPU_SUPPORTS_64BIT_KERNEL
@@ -1125,6 +1212,7 @@ config CPU_R10000
1125 1212
1126config CPU_RM7000 1213config CPU_RM7000
1127 bool "RM7000" 1214 bool "RM7000"
1215 depends on SYS_HAS_CPU_RM7000
1128 select CPU_HAS_PREFETCH 1216 select CPU_HAS_PREFETCH
1129 select CPU_SUPPORTS_32BIT_KERNEL 1217 select CPU_SUPPORTS_32BIT_KERNEL
1130 select CPU_SUPPORTS_64BIT_KERNEL 1218 select CPU_SUPPORTS_64BIT_KERNEL
@@ -1132,6 +1220,7 @@ config CPU_RM7000
1132 1220
1133config CPU_RM9000 1221config CPU_RM9000
1134 bool "RM9000" 1222 bool "RM9000"
1223 depends on SYS_HAS_CPU_RM9000
1135 select CPU_HAS_PREFETCH 1224 select CPU_HAS_PREFETCH
1136 select CPU_SUPPORTS_32BIT_KERNEL 1225 select CPU_SUPPORTS_32BIT_KERNEL
1137 select CPU_SUPPORTS_64BIT_KERNEL 1226 select CPU_SUPPORTS_64BIT_KERNEL
@@ -1139,12 +1228,70 @@ config CPU_RM9000
1139 1228
1140config CPU_SB1 1229config CPU_SB1
1141 bool "SB1" 1230 bool "SB1"
1231 depends on SYS_HAS_CPU_SB1
1142 select CPU_SUPPORTS_32BIT_KERNEL 1232 select CPU_SUPPORTS_32BIT_KERNEL
1143 select CPU_SUPPORTS_64BIT_KERNEL 1233 select CPU_SUPPORTS_64BIT_KERNEL
1144 select CPU_SUPPORTS_HIGHMEM 1234 select CPU_SUPPORTS_HIGHMEM
1145 1235
1146endchoice 1236endchoice
1147 1237
1238config SYS_HAS_CPU_MIPS32_R1
1239 bool
1240
1241config SYS_HAS_CPU_MIPS32_R2
1242 bool
1243
1244config SYS_HAS_CPU_MIPS64_R1
1245 bool
1246
1247config SYS_HAS_CPU_MIPS64_R2
1248 bool
1249
1250config SYS_HAS_CPU_R3000
1251 bool
1252
1253config SYS_HAS_CPU_TX39XX
1254 bool
1255
1256config SYS_HAS_CPU_VR41XX
1257 bool
1258
1259config SYS_HAS_CPU_R4300
1260 bool
1261
1262config SYS_HAS_CPU_R4X00
1263 bool
1264
1265config SYS_HAS_CPU_TX49XX
1266 bool
1267
1268config SYS_HAS_CPU_R5000
1269 bool
1270
1271config SYS_HAS_CPU_R5432
1272 bool
1273
1274config SYS_HAS_CPU_R6000
1275 bool
1276
1277config SYS_HAS_CPU_NEVADA
1278 bool
1279
1280config SYS_HAS_CPU_R8000
1281 bool
1282
1283config SYS_HAS_CPU_R10000
1284 bool
1285
1286config SYS_HAS_CPU_RM7000
1287 bool
1288
1289config SYS_HAS_CPU_RM9000
1290 bool
1291
1292config SYS_HAS_CPU_SB1
1293 bool
1294
1148endmenu 1295endmenu
1149 1296
1150# 1297#