Kconfig 47.2 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4 5 6
config MIPS
	bool
	default y
	# Horrible source of confusion.  Die, die, die ...
	select EMBEDDED

7 8
mainmenu "Linux/MIPS Kernel Configuration"

Linus Torvalds's avatar
Linus Torvalds committed
9 10
menu "Machine selection"

11 12 13
config ZONE_DMA
	bool

14 15 16
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
17

18 19
config MACH_ALCHEMY
	bool "Alchemy processor based machines"
Linus Torvalds's avatar
Linus Torvalds committed
20

21
config BASLER_EXCITE
22
	bool "Basler eXcite smart camera"
23 24 25 26 27
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
28
	select MIPS_RM9122
29 30 31
	select SYS_HAS_CPU_RM9000
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
32
	select SYS_SUPPORTS_KGDB
33 34
	help
	  The eXcite is a smart camera platform manufactured by
35
	  Basler Vision Technologies AG.
36 37 38 39 40 41 42 43 44 45 46

config BASLER_EXCITE_PROTOTYPE
	bool "Support for pre-release units"
	depends on BASLER_EXCITE
	default n
	help
	  Pre-series (prototype) units are different from later ones in
	  some ways. Select this option if you have one of these. Please
	  note that a kernel built with this option selected will not be
	  able to run on normal units.

47 48 49 50 51 52 53 54 55 56 57 58 59 60
config BCM47XX
	bool "BCM47XX based boards"
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SSB
	select SSB_DRIVER_MIPS
	select GENERIC_GPIO
	help
	 Support for BCM47XX based boards

Linus Torvalds's avatar
Linus Torvalds committed
61
config MIPS_COBALT
62
	bool "Cobalt Server"
Linus Torvalds's avatar
Linus Torvalds committed
63 64 65 66
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select I8259
	select IRQ_CPU
67
	select IRQ_GT641XX
68
	select PCI_GT64XXX_PCI0
69
	select SYS_HAS_CPU_NEVADA
Yoichi Yuasa's avatar
Yoichi Yuasa committed
70
	select SYS_HAS_EARLY_PRINTK
71 72
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
73
	select SYS_SUPPORTS_LITTLE_ENDIAN
74
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
75 76

config MACH_DECSTATION
77
	bool "DECstations"
Linus Torvalds's avatar
Linus Torvalds committed
78 79
	select BOOT_ELF32
	select DMA_NONCOHERENT
80
	select NO_IOPORT
Linus Torvalds's avatar
Linus Torvalds committed
81
	select IRQ_CPU
82 83
	select SYS_HAS_CPU_R3000
	select SYS_HAS_CPU_R4X00
84 85
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
86
	select SYS_SUPPORTS_LITTLE_ENDIAN
87 88 89
	select SYS_SUPPORTS_128HZ
	select SYS_SUPPORTS_256HZ
	select SYS_SUPPORTS_1024HZ
90
	help
Linus Torvalds's avatar
Linus Torvalds committed
91 92 93 94 95 96 97
	  This enables support for DEC's MIPS based workstations.  For details
	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
	  DECstation porting pages on <http://decstation.unix-ag.org/>.

	  If you have one of the following DECstation Models you definitely
	  want to choose R4xx0 for the CPU Type:

98 99 100 101
		DECstation 5000/50
		DECstation 5000/150
		DECstation 5000/260
		DECsystem 5900/260
Linus Torvalds's avatar
Linus Torvalds committed
102 103 104

	  otherwise choose R3000.

105
config MACH_JAZZ
106
	bool "Jazz family of machines"
107 108 109 110
	select ARC
	select ARC32
	select ARCH_MAY_HAVE_PC_FDC
	select GENERIC_ISA_DMA
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
111
	select IRQ_CPU
112 113
	select I8259
	select ISA
Ralf Baechle's avatar
Ralf Baechle committed
114
	select PCSPEAKER
115
	select SYS_HAS_CPU_R4X00
116 117
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
118
	select SYS_SUPPORTS_100HZ
119
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
120
	help
121 122 123 124 125
	 This a family of machines based on the MIPS R4030 chipset which was
	 used by several vendors to build RISC/os and Windows NT workstations.
	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
	 Olivetti M700-10 workstations.

126 127 128 129 130 131 132 133 134 135 136 137 138 139
config LASAT
	bool "LASAT Networks platforms"
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
	select PCI_GT64XXX_PCI0
	select MIPS_NILE4
	select R5000_CPU_SCACHE
	select SYS_HAS_CPU_R5000
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select GENERIC_HARDIRQS_NO__DO_IRQ

140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
config LEMOTE_FULONG
	bool "Lemote Fulong mini-PC"
	select ARCH_SPARSEMEM_ENABLE
	select SYS_HAS_CPU_LOONGSON2
	select DMA_NONCOHERENT
	select BOOT_ELF32
	select BOARD_SCACHE
	select HAVE_STD_PC_SERIAL_PORT
	select HW_HAS_PCI
	select I8259
	select ISA
	select IRQ_CPU
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_HAS_EARLY_PRINTK
	select GENERIC_HARDIRQS_NO__DO_IRQ
158
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
159 160 161 162 163
	select CPU_HAS_WB
	help
	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
	  an FPGA northbridge

Linus Torvalds's avatar
Linus Torvalds committed
164
config MIPS_ATLAS
165
	bool "MIPS Atlas board"
Linus Torvalds's avatar
Linus Torvalds committed
166 167
	select BOOT_ELF32
	select DMA_NONCOHERENT
168
	select SYS_HAS_EARLY_PRINTK
169
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
170
	select HW_HAS_PCI
171 172
	select MIPS_BOARDS_GEN
	select MIPS_BONITO64
173
	select PCI_GT64XXX_PCI0
174
	select MIPS_MSC
175
	select RM7000_CPU_SCACHE
Linus Torvalds's avatar
Linus Torvalds committed
176
	select SWAP_IO_SPACE
177 178 179 180 181
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_HAS_CPU_MIPS64_R1
	select SYS_HAS_CPU_NEVADA
	select SYS_HAS_CPU_RM7000
182 183
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
184 185
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
186
	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
187
	select SYS_SUPPORTS_SMARTMIPS
188
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
189
	help
190
	  This enables support for the MIPS Technologies Atlas evaluation
Linus Torvalds's avatar
Linus Torvalds committed
191 192 193
	  board.

config MIPS_MALTA
194
	bool "MIPS Malta board"
195
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
196 197 198
	select BOOT_ELF32
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
199
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
200 201
	select HW_HAS_PCI
	select I8259
202 203
	select MIPS_BOARDS_GEN
	select MIPS_BONITO64
204
	select MIPS_CPU_SCACHE
205
	select PCI_GT64XXX_PCI0
206
	select MIPS_MSC
Linus Torvalds's avatar
Linus Torvalds committed
207
	select SWAP_IO_SPACE
208 209 210 211 212
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_HAS_CPU_MIPS64_R1
	select SYS_HAS_CPU_NEVADA
	select SYS_HAS_CPU_RM7000
213
	select SYS_HAS_EARLY_PRINTK
214 215
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
216 217
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
218
	select SYS_SUPPORTS_MULTITHREADING
219
	select SYS_SUPPORTS_SMARTMIPS
Linus Torvalds's avatar
Linus Torvalds committed
220
	help
221
	  This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds's avatar
Linus Torvalds committed
222 223 224
	  board.

config MIPS_SEAD
225
	bool "MIPS SEAD board"
Linus Torvalds's avatar
Linus Torvalds committed
226 227
	select IRQ_CPU
	select DMA_NONCOHERENT
228
	select SYS_HAS_EARLY_PRINTK
229
	select MIPS_BOARDS_GEN
230 231 232
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_HAS_CPU_MIPS64_R1
233
	select SYS_SUPPORTS_32BIT_KERNEL
234 235 236
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
237
	select SYS_SUPPORTS_SMARTMIPS
238 239 240
	help
	  This enables support for the MIPS Technologies SEAD evaluation
	  board.
Linus Torvalds's avatar
Linus Torvalds committed
241

242
config MIPS_SIM
243
	bool 'MIPS simulator (MIPSsim)'
Linus Torvalds's avatar
Linus Torvalds committed
244
	select DMA_NONCOHERENT
245
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
246
	select IRQ_CPU
Marc St-Jean's avatar
Marc St-Jean committed
247
	select BOOT_RAW
248 249
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
250
	select SYS_HAS_EARLY_PRINTK
251
	select SYS_SUPPORTS_32BIT_KERNEL
252
	select SYS_SUPPORTS_BIG_ENDIAN
253
	select SYS_SUPPORTS_MULTITHREADING
254
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
255
	help
256 257
	  This option enables support for MIPS Technologies MIPSsim software
	  emulator.
Linus Torvalds's avatar
Linus Torvalds committed
258

259 260 261 262 263 264 265 266 267 268 269 270 271 272
config MARKEINS
	bool "NEC EMMA2RH Mark-eins"
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select SWAP_IO_SPACE
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_HAS_CPU_R5000
	help
	  This enables support for the R5432-based NEC Mark-eins
	  boards with R5500 CPU.

273
config MACH_VR41XX
274
	bool "NEC VR4100 series based machines"
275
	select SYS_HAS_CPU_VR41XX
276
	select GENERIC_HARDIRQS_NO__DO_IRQ
277

278 279 280 281 282 283 284 285 286 287
config PNX8550_JBS
	bool "Philips PNX8550 based JBS board"
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
	bool "Philips PNX8550 based STB810 board"
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
config PMC_MSP
	bool "PMC-Sierra MSP chipsets"
	depends on EXPERIMENTAL
	select DMA_NONCOHERENT
	select SWAP_IO_SPACE
	select NO_EXCEPT_FILL
	select BOOT_RAW
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_KGDB
	select IRQ_CPU
	select SERIAL_8250
	select SERIAL_8250_CONSOLE
	help
	  This adds support for the PMC-Sierra family of Multi-Service
	  Processor System-On-A-Chips.  These parts include a number
	  of integrated peripherals, interfaces and DSPs in addition to
	  a variety of MIPS cores.

309
config PMC_YOSEMITE
310
	bool "PMC-Sierra Yosemite eval board"
311 312 313 314 315 316
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
317
	select SYS_HAS_CPU_RM9000
318
	select SYS_HAS_EARLY_PRINTK
319 320 321 322
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
323
	select SYS_SUPPORTS_KGDB
324
	select SYS_SUPPORTS_SMP
325 326 327
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
328

329
config QEMU
330
	bool "Qemu"
331 332 333 334 335
	select DMA_COHERENT
	select GENERIC_ISA_DMA
	select HAVE_STD_PC_SERIAL_PORT
	select I8259
	select ISA
Ralf Baechle's avatar
Ralf Baechle committed
336
	select PCSPEAKER
337
	select SWAP_IO_SPACE
338
	select SYS_HAS_CPU_MIPS32_R1
339 340
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
341
	select SYS_SUPPORTS_LITTLE_ENDIAN
342
	select ARCH_SPARSEMEM_ENABLE
343
	select GENERIC_HARDIRQS_NO__DO_IRQ
344 345
	select NR_CPUS_DEFAULT_1
	select SYS_SUPPORTS_SMP
346
	help
347 348 349 350 351 352
	  Qemu is a software emulator which among other architectures also
	  can simulate a MIPS32 4Kc system.  This patch adds support for the
	  system architecture that currently is being simulated by Qemu.  It
	  will eventually be removed again when Qemu has the capability to
	  simulate actual MIPS hardware platforms.  More information on Qemu
	  can be found at http://www.linux-mips.org/wiki/Qemu.
353

Linus Torvalds's avatar
Linus Torvalds committed
354
config SGI_IP22
355
	bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds's avatar
Linus Torvalds committed
356 357 358 359
	select ARC
	select ARC32
	select BOOT_ELF32
	select DMA_NONCOHERENT
360
	select HW_HAS_EISA
Linus Torvalds's avatar
Linus Torvalds committed
361 362
	select IP22_CPU_SCACHE
	select IRQ_CPU
363
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
Linus Torvalds's avatar
Linus Torvalds committed
364
	select SWAP_IO_SPACE
365 366
	select SYS_HAS_CPU_R4X00
	select SYS_HAS_CPU_R5000
367
	select SYS_HAS_EARLY_PRINTK
368 369
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
370
	select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
371 372 373 374 375 376
	help
	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
	  that runs on these, say Y here.

config SGI_IP27
377
	bool "SGI IP27 (Origin200/2000)"
Linus Torvalds's avatar
Linus Torvalds committed
378 379
	select ARC
	select ARC64
380
	select BOOT_ELF64
Linus Torvalds's avatar
Linus Torvalds committed
381
	select DMA_IP27
382
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
383
	select HW_HAS_PCI
384
	select NR_CPUS_DEFAULT_64
385
	select SYS_HAS_CPU_R10000
386
	select SYS_SUPPORTS_64BIT_KERNEL
387
	select SYS_SUPPORTS_BIG_ENDIAN
388
	select SYS_SUPPORTS_KGDB
389
	select SYS_SUPPORTS_NUMA
390
	select SYS_SUPPORTS_SMP
391
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
392 393 394 395 396 397
	help
	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
	  workstations.  To compile a Linux kernel that runs on these, say Y
	  here.

config SGI_IP32
398
	bool "SGI IP32 (O2)"
Linus Torvalds's avatar
Linus Torvalds committed
399 400 401 402 403 404 405
	select ARC
	select ARC32
	select BOOT_ELF32
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select R5000_CPU_SCACHE
	select RM7000_CPU_SCACHE
406 407 408
	select SYS_HAS_CPU_R5000
	select SYS_HAS_CPU_R10000 if BROKEN
	select SYS_HAS_CPU_RM7000
409
	select SYS_HAS_CPU_NEVADA
410
	select SYS_SUPPORTS_64BIT_KERNEL
411 412
	select SYS_SUPPORTS_BIG_ENDIAN
	help
413
	  If you want this kernel to run on SGI O2 workstation, say Y here.
Linus Torvalds's avatar
Linus Torvalds committed
414

415 416 417
config SIBYTE_CRHINE
	bool "Sibyte BCM91120C-CRhine"
	depends on EXPERIMENTAL
Andrew Isaacson's avatar
Andrew Isaacson committed
418 419
	select BOOT_ELF32
	select DMA_COHERENT
420
	select SIBYTE_BCM1120
Andrew Isaacson's avatar
Andrew Isaacson committed
421
	select SWAP_IO_SPACE
422
	select SYS_HAS_CPU_SB1
Andrew Isaacson's avatar
Andrew Isaacson committed
423 424 425
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN

426 427 428
config SIBYTE_CARMEL
	bool "Sibyte BCM91120x-Carmel"
	depends on EXPERIMENTAL
429
	select BOOT_ELF32
Linus Torvalds's avatar
Linus Torvalds committed
430
	select DMA_COHERENT
431
	select SIBYTE_BCM1120
432
	select SWAP_IO_SPACE
433
	select SYS_HAS_CPU_SB1
434
	select SYS_SUPPORTS_BIG_ENDIAN
435
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
436

437 438
config SIBYTE_CRHONE
	bool "Sibyte BCM91125C-CRhone"
439 440 441
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
442
	select SIBYTE_BCM1125
443
	select SWAP_IO_SPACE
444
	select SYS_HAS_CPU_SB1
445
	select SYS_SUPPORTS_BIG_ENDIAN
446
	select SYS_SUPPORTS_HIGHMEM
447
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
448

449
config SIBYTE_RHONE
450
	bool "Sibyte BCM91125E-Rhone"
451 452 453 454 455
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
	select SIBYTE_BCM1125H
	select SWAP_IO_SPACE
456
	select SYS_HAS_CPU_SB1
457 458
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
459

460 461
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
462
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
463
	select DMA_COHERENT
464 465
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
466
	select SWAP_IO_SPACE
467
	select SYS_HAS_CPU_SB1
468
	select SYS_SUPPORTS_BIG_ENDIAN
469 470
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_KGDB
Pete Popov's avatar
Pete Popov committed
471 472
	select SYS_SUPPORTS_LITTLE_ENDIAN

473 474
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
475 476 477
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
478
	select NR_CPUS_DEFAULT_2
479 480
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
481
	select SYS_HAS_CPU_SB1
482 483 484
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
485

486 487
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
488 489 490
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
491
	select NR_CPUS_DEFAULT_2
492 493
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
494
	select SYS_HAS_CPU_SB1
495 496
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
497

498 499
config SIBYTE_PTSWARM
	bool "Sibyte BCM91250PT-PTSWARM"
500 501 502
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
503 504
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
505
	select SWAP_IO_SPACE
506
	select SYS_HAS_CPU_SB1
507
	select SYS_SUPPORTS_BIG_ENDIAN
508
	select SYS_SUPPORTS_HIGHMEM
509
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
510

511 512
config SIBYTE_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
513 514
	select BOOT_ELF32
	select DMA_COHERENT
515 516
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
517
	select SWAP_IO_SPACE
518
	select SYS_HAS_CPU_SB1
519 520
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
521

522 523
config SNI_RM
	bool "SNI RM200/300/400"
524 525
	select ARC if CPU_LITTLE_ENDIAN
	select ARC32 if CPU_LITTLE_ENDIAN
526
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
527 528 529
	select BOOT_ELF32
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
530
	select HW_HAS_EISA
Linus Torvalds's avatar
Linus Torvalds committed
531
	select HW_HAS_PCI
532
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
533 534
	select I8259
	select ISA
Ralf Baechle's avatar
Ralf Baechle committed
535
	select PCSPEAKER
536
	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
537
	select SYS_HAS_CPU_R4X00
538
	select SYS_HAS_CPU_R5000
539
	select SYS_HAS_CPU_R10000
540
	select R5000_CPU_SCACHE
541
	select SYS_HAS_EARLY_PRINTK
542 543
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
544
	select SYS_SUPPORTS_BIG_ENDIAN
545
	select SYS_SUPPORTS_HIGHMEM
546
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
547
	help
548 549
	  The SNI RM200/300/400 are MIPS-based machines manufactured by
	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
Linus Torvalds's avatar
Linus Torvalds committed
550 551 552
	  Technology and now in turn merged with Fujitsu.  Say Y here to
	  support this machine type.

553
config TOSHIBA_JMR3927
554
	bool "Toshiba JMR-TX3927 board"
555 556 557
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select MIPS_TX3927
558
	select IRQ_TXX9
559
	select SWAP_IO_SPACE
560
	select SYS_HAS_CPU_TX39XX
561
	select SYS_SUPPORTS_32BIT_KERNEL
562
	select SYS_SUPPORTS_LITTLE_ENDIAN
563
	select SYS_SUPPORTS_BIG_ENDIAN
Atsushi Nemoto's avatar
Atsushi Nemoto committed
564
	select GENERIC_HARDIRQS_NO__DO_IRQ
565

Linus Torvalds's avatar
Linus Torvalds committed
566
config TOSHIBA_RBTX4927
Yoichi Yuasa's avatar
Yoichi Yuasa committed
567
	bool "Toshiba RBTX49[23]7 board"
Linus Torvalds's avatar
Linus Torvalds committed
568 569 570
	select DMA_NONCOHERENT
	select HAS_TXX9_SERIAL
	select HW_HAS_PCI
571 572 573
	select IRQ_CPU
	select IRQ_TXX9
	select I8259 if TOSHIBA_FPCIB0
Linus Torvalds's avatar
Linus Torvalds committed
574
	select SWAP_IO_SPACE
575
	select SYS_HAS_CPU_TX49XX
576 577
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
578
	select SYS_SUPPORTS_LITTLE_ENDIAN
579
	select SYS_SUPPORTS_BIG_ENDIAN
580
	select SYS_SUPPORTS_KGDB
581
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
582 583 584 585
	help
	  This Toshiba board is based on the TX4927 processor. Say Y here to
	  support this machine type

586
config TOSHIBA_RBTX4938
587
	bool "Toshiba RBTX4938 board"
588 589 590
	select DMA_NONCOHERENT
	select HAS_TXX9_SERIAL
	select HW_HAS_PCI
591 592
	select IRQ_CPU
	select IRQ_TXX9
593
	select SWAP_IO_SPACE
594
	select SYS_HAS_CPU_TX49XX
595 596 597
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_SUPPORTS_BIG_ENDIAN
598
	select SYS_SUPPORTS_KGDB
599
	select GENERIC_HARDIRQS_NO__DO_IRQ
600
	select GENERIC_GPIO
601 602 603 604
	help
	  This Toshiba board is based on the TX4938 processor. Say Y here to
	  support this machine type

605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625
config WR_PPMC
	bool "Wind River PPMC board"
	select IRQ_CPU
	select BOOT_ELF32
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select PCI_GT64XXX_PCI0
	select SWAP_IO_SPACE
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_HAS_CPU_MIPS64_R1
	select SYS_HAS_CPU_NEVADA
	select SYS_HAS_CPU_RM7000
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
	help
	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
	  board, which is based on GT64120 bridge chip.

626
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
627

628
source "arch/mips/au1000/Kconfig"
629
source "arch/mips/jazz/Kconfig"
630
source "arch/mips/lasat/Kconfig"
631
source "arch/mips/pmc-sierra/Kconfig"
632
source "arch/mips/sgi-ip27/Kconfig"
633
source "arch/mips/sibyte/Kconfig"
634
source "arch/mips/tx4927/Kconfig"
635
source "arch/mips/tx4938/Kconfig"
636
source "arch/mips/vr41xx/Kconfig"
637

638 639
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
640 641 642 643 644 645 646
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

647 648 649 650 651 652 653 654
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

655 656 657 658 659 660 661 662
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
663 664 665 666
config GENERIC_CALIBRATE_DELAY
	bool
	default y

667 668 669 670
config GENERIC_TIME
	bool
	default y

671 672 673 674
config SCHED_NO_NO_OMIT_FRAME_POINTER
	bool
	default y

675 676 677 678
config GENERIC_HARDIRQS_NO__DO_IRQ
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
679 680 681 682 683 684
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

685 686 687
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
688 689 690
config BOOT_RAW
	bool

691
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
692 693
	bool

694
config DMA_IP27
Linus Torvalds's avatar
Linus Torvalds committed
695 696
	bool

697 698 699 700 701 702 703 704 705
config DMA_IP32
	bool
	select DMA_NEED_PCI_MAP_STATE

config DMA_NONCOHERENT
	bool
	select DMA_NEED_PCI_MAP_STATE

config DMA_NEED_PCI_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
706 707 708
	bool

config EARLY_PRINTK
709 710 711 712 713 714 715 716
	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
	depends on SYS_HAS_EARLY_PRINTK
	default y
	help
	  This option enables special console drivers which allow the kernel
	  to print messages very early in the bootup process.

	  This is useful for kernel debugging when your machine crashes very
717 718 719
	  early before the console code is initialized. For normal operation,
	  it is not recommended because it looks ugly on some machines and
	  doesn't cooperate with an X server. You should normally say N here,
720 721 722
	  unless you want to debug such a crash.

config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
723 724
	bool

725 726 727 728
config HOTPLUG_CPU
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
729 730 731 732 733 734 735 736 737
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

738 739 740
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
741 742 743
config MIPS_DISABLE_OBSOLETE_IDE
	bool

744 745 746
config NO_IOPORT
	def_bool n

747 748 749 750
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

751 752
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
753
	select GENERIC_ISA_DMA
754

Yoichi Yuasa's avatar
Yoichi Yuasa committed
755 756 757
config GENERIC_GPIO
	bool

758
#
Matt LaPlante's avatar
Matt LaPlante committed
759
# Endianess selection.  Sufficiently obscure so many users don't know what to
760 761 762 763 764
# answer,so we try hard to limit the available choices.  Also the use of a
# choice statement should be more obvious to the user.
#
choice
	prompt "Endianess selection"
Linus Torvalds's avatar
Linus Torvalds committed
765 766
	help
	  Some MIPS machines can be configured for either little or big endian
767
	  byte order. These modes require different kernels and a different
Matt LaPlante's avatar
Matt LaPlante committed
768
	  Linux distribution.  In general there is one preferred byteorder for a
769
	  particular system but some systems are just as commonly used in the
770
	  one or the other endianness.
771 772 773 774 775 776 777 778 779 780 781 782

config CPU_BIG_ENDIAN
	bool "Big endian"
	depends on SYS_SUPPORTS_BIG_ENDIAN

config CPU_LITTLE_ENDIAN
	bool "Little endian"
	depends on SYS_SUPPORTS_LITTLE_ENDIAN
	help

endchoice

783 784 785
config SYS_SUPPORTS_APM_EMULATION
	bool

786 787 788 789 790
config SYS_SUPPORTS_BIG_ENDIAN
	bool

config SYS_SUPPORTS_LITTLE_ENDIAN
	bool
Linus Torvalds's avatar
Linus Torvalds committed
791 792 793 794 795 796 797

config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

798 799 800
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
801 802 803 804 805 806
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

807 808 809
config IRQ_TXX9
	bool

810 811 812
config IRQ_GT641XX
	bool

Linus Torvalds's avatar
Linus Torvalds committed
813 814 815
config MIPS_BOARDS_GEN
	bool

816
config PCI_GT64XXX_PCI0
Linus Torvalds's avatar
Linus Torvalds committed
817 818
	bool

Marc St-Jean's avatar
Marc St-Jean committed
819 820 821
config NO_EXCEPT_FILL
	bool

Linus Torvalds's avatar
Linus Torvalds committed
822 823 824 825
config MIPS_TX3927
	bool
	select HAS_TXX9_SERIAL

826 827 828 829
config MIPS_RM9122
	bool
	select SERIAL_RM9000

830 831 832 833 834 835 836 837
config PNX8550
	bool
	select SOC_PNX8550

config SOC_PNX8550
	bool
	select DMA_NONCOHERENT
	select HW_HAS_PCI
838
	select SYS_HAS_CPU_MIPS32_R1
839
	select SYS_HAS_EARLY_PRINTK
840
	select SYS_SUPPORTS_32BIT_KERNEL
841
	select GENERIC_HARDIRQS_NO__DO_IRQ
842
	select SYS_SUPPORTS_KGDB
843
	select GENERIC_GPIO
844

Linus Torvalds's avatar
Linus Torvalds committed
845 846 847
config SWAP_IO_SPACE
	bool

848 849 850 851 852
config EMMA2RH
	bool
	depends on MARKEINS
	default y

853 854 855
config SERIAL_RM9000
	bool

856 857 858
config ARC32
	bool

Linus Torvalds's avatar
Linus Torvalds committed
859 860 861 862 863
config BOOT_ELF32
	bool

config MIPS_L1_CACHE_SHIFT
	int
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
864 865
	default "4" if MACH_DECSTATION
	default "7" if SGI_IP27 || SNI_RM
Marc St-Jean's avatar
Marc St-Jean committed
866
	default "4" if PMC_MSP4200_EVAL
Linus Torvalds's avatar
Linus Torvalds committed
867 868 869 870 871 872 873
	default "5"

config HAVE_STD_PC_SERIAL_PORT
	bool

config ARC_CONSOLE
	bool "ARC console support"
874
	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds's avatar
Linus Torvalds committed
875 876 877

config ARC_MEMORY
	bool
878
	depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
879 880 881 882
	default y

config ARC_PROMLIB
	bool
883
	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
884 885 886 887 888 889 890 891 892 893 894 895 896 897
	default y

config ARC64
	bool

config BOOT_ELF64
	bool

menu "CPU selection"

choice
	prompt "CPU type"
	default CPU_R4X00

898 899 900 901 902 903 904 905 906 907
config CPU_LOONGSON2
	bool "Loongson 2"
	depends on SYS_HAS_CPU_LOONGSON2
	select CPU_SUPPORTS_32BIT_KERNEL
	select CPU_SUPPORTS_64BIT_KERNEL
	select CPU_SUPPORTS_HIGHMEM
	help
	  The Loongson 2E processor implements the MIPS III instruction set
	  with many extensions.

908 909
config CPU_MIPS32_R1
	bool "MIPS32 Release 1"
910
	depends on SYS_HAS_CPU_MIPS32_R1
911
	select CPU_HAS_LLSC
912
	select CPU_HAS_PREFETCH
913
	select CPU_SUPPORTS_32BIT_KERNEL
914
	select CPU_SUPPORTS_HIGHMEM
Ralf Baechle's avatar
Ralf Baechle committed
915
	help
916
	  Choose this option to build a kernel for release 1 or later of the
Ralf Baechle's avatar
Ralf Baechle committed
917 918 919 920 921 922 923 924 925 926 927
	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
	  MIPS processor are based on a MIPS32 processor.  If you know the
	  specific type of processor in your system, choose those that one
	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
	  Release 2 of the MIPS32 architecture is available since several
	  years so chances are you even have a MIPS32 Release 2 processor
	  in which case you should choose CPU_MIPS32_R2 instead for better
	  performance.

config CPU_MIPS32_R2
	bool "MIPS32 Release 2"
928
	depends on SYS_HAS_CPU_MIPS32_R2
929
	select CPU_HAS_LLSC
Ralf Baechle's avatar
Ralf Baechle committed
930
	select CPU_HAS_PREFETCH
931
	select CPU_SUPPORTS_32BIT_KERNEL
932
	select CPU_SUPPORTS_HIGHMEM
933
	help
934
	  Choose this option to build a kernel for release 2 or later of the
935 936 937 938 939 940 941
	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
	  MIPS processor are based on a MIPS32 processor.  If you know the
	  specific type of processor in your system, choose those that one
	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.

config CPU_MIPS64_R1
	bool "MIPS64 Release 1"
942
	depends on SYS_HAS_CPU_MIPS64_R1
943
	select CPU_HAS_LLSC
944
	select CPU_HAS_PREFETCH
945 946
	select CPU_SUPPORTS_32BIT_KERNEL
	select CPU_SUPPORTS_64BIT_KERNEL
947
	select CPU_SUPPORTS_HIGHMEM
948 949 950 951 952 953
	help
	  Choose this option to build a kernel for release 1 or later of the
	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
	  MIPS processor are based on a MIPS64 processor.  If you know the
	  specific type of processor in your system, choose those that one
	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Ralf Baechle's avatar
Ralf Baechle committed
954 955 956 957 958 959 960
	  Release 2 of the MIPS64 architecture is available since several
	  years so chances are you even have a MIPS64 Release 2 processor
	  in which case you should choose CPU_MIPS64_R2 instead for better
	  performance.

config CPU_MIPS64_R2
	bool "MIPS64 Release 2"
961
	depends on SYS_HAS_CPU_MIPS64_R2
962
	select CPU_HAS_LLSC
963
	select CPU_HAS_PREFETCH
Ralf Baechle's avatar
Ralf Baechle committed
964 965
	select CPU_SUPPORTS_32BIT_KERNEL
	select CPU_SUPPORTS_64BIT_KERNEL
966
	select CPU_SUPPORTS_HIGHMEM
Ralf Baechle's avatar
Ralf Baechle committed
967 968 969 970 971 972
	help
	  Choose this option to build a kernel for release 2 or later of the
	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
	  MIPS processor are based on a MIPS64 processor.  If you know the
	  specific type of processor in your system, choose those that one
	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Linus Torvalds's avatar
Linus Torvalds committed
973 974 975

config CPU_R3000
	bool "R3000"
976
	depends on SYS_HAS_CPU_R3000
977
	select CPU_HAS_WB
978
	select CPU_SUPPORTS_32BIT_KERNEL
979
	select CPU_SUPPORTS_HIGHMEM
Linus Torvalds's avatar
Linus Torvalds committed
980 981 982 983 984 985 986 987 988 989
	help
	  Please make sure to pick the right CPU type. Linux/MIPS is not
	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
	  *not* work on R4000 machines and vice versa.  However, since most
	  of the supported machines have an R4000 (or similar) CPU, R4x00
	  might be a safe bet.  If the resulting kernel does not work,
	  try to recompile with R3000.

config CPU_TX39XX
	bool "R39XX"