Kconfig 47.1 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 PCI_GT64XXX_PCI0
68
	select SYS_HAS_CPU_NEVADA
Yoichi Yuasa's avatar
Yoichi Yuasa committed
69
	select SYS_HAS_EARLY_PRINTK
70 71
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
72
	select SYS_SUPPORTS_LITTLE_ENDIAN
73
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
74 75

config MACH_DECSTATION
76
	bool "DECstations"
Linus Torvalds's avatar
Linus Torvalds committed
77 78
	select BOOT_ELF32
	select DMA_NONCOHERENT
79
	select NO_IOPORT
Linus Torvalds's avatar
Linus Torvalds committed
80
	select IRQ_CPU
81 82
	select SYS_HAS_CPU_R3000
	select SYS_HAS_CPU_R4X00
83 84
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
85
	select SYS_SUPPORTS_LITTLE_ENDIAN
86 87 88
	select SYS_SUPPORTS_128HZ
	select SYS_SUPPORTS_256HZ
	select SYS_SUPPORTS_1024HZ
89
	help
Linus Torvalds's avatar
Linus Torvalds committed
90 91 92 93 94 95 96
	  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:

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

	  otherwise choose R3000.

104
config MACH_JAZZ
105
	bool "Jazz family of machines"
106 107 108 109
	select ARC
	select ARC32
	select ARCH_MAY_HAVE_PC_FDC
	select GENERIC_ISA_DMA
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
110
	select IRQ_CPU
111 112
	select I8259
	select ISA
Ralf Baechle's avatar
Ralf Baechle committed
113
	select PCSPEAKER
114
	select SYS_HAS_CPU_R4X00
115 116
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
117
	select SYS_SUPPORTS_100HZ
118
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
119
	help
120 121 122 123 124
	 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.

125 126 127 128 129 130 131 132 133 134 135 136 137 138
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

139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
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
157
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
158 159 160 161 162
	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
163
config MIPS_ATLAS
164
	bool "MIPS Atlas board"
Linus Torvalds's avatar
Linus Torvalds committed
165 166
	select BOOT_ELF32
	select DMA_NONCOHERENT
167
	select SYS_HAS_EARLY_PRINTK
168
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
169
	select HW_HAS_PCI
170 171
	select MIPS_BOARDS_GEN
	select MIPS_BONITO64
172
	select PCI_GT64XXX_PCI0
173
	select MIPS_MSC
174
	select RM7000_CPU_SCACHE
Linus Torvalds's avatar
Linus Torvalds committed
175
	select SWAP_IO_SPACE
176 177 178 179 180
	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
181 182
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
183 184
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
185
	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
186
	select SYS_SUPPORTS_SMARTMIPS
187
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
188
	help
189
	  This enables support for the MIPS Technologies Atlas evaluation
Linus Torvalds's avatar
Linus Torvalds committed
190 191 192
	  board.

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

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

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

258 259 260 261 262 263 264 265 266 267 268 269 270 271
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.

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

277 278 279 280 281 282 283 284 285 286
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
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307
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.

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

328
config QEMU
329
	bool "Qemu"
330 331 332 333 334
	select DMA_COHERENT
	select GENERIC_ISA_DMA
	select HAVE_STD_PC_SERIAL_PORT
	select I8259
	select ISA
Ralf Baechle's avatar
Ralf Baechle committed
335
	select PCSPEAKER
336
	select SWAP_IO_SPACE
337
	select SYS_HAS_CPU_MIPS32_R1
338 339
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
340
	select SYS_SUPPORTS_LITTLE_ENDIAN
341
	select ARCH_SPARSEMEM_ENABLE
342
	select GENERIC_HARDIRQS_NO__DO_IRQ
343 344
	select NR_CPUS_DEFAULT_1
	select SYS_SUPPORTS_SMP
345
	help
346 347 348 349 350 351
	  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.
352

Linus Torvalds's avatar
Linus Torvalds committed
353
config SGI_IP22
354
	bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds's avatar
Linus Torvalds committed
355 356 357 358
	select ARC
	select ARC32
	select BOOT_ELF32
	select DMA_NONCOHERENT
359
	select HW_HAS_EISA
Linus Torvalds's avatar
Linus Torvalds committed
360 361
	select IP22_CPU_SCACHE
	select IRQ_CPU
362
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
Linus Torvalds's avatar
Linus Torvalds committed
363
	select SWAP_IO_SPACE
364 365
	select SYS_HAS_CPU_R4X00
	select SYS_HAS_CPU_R5000
366
	select SYS_HAS_EARLY_PRINTK
367 368
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
369
	select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
370 371 372 373 374 375
	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
376
	bool "SGI IP27 (Origin200/2000)"
Linus Torvalds's avatar
Linus Torvalds committed
377 378
	select ARC
	select ARC64
379
	select BOOT_ELF64
Linus Torvalds's avatar
Linus Torvalds committed
380
	select DMA_IP27
381
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
382
	select HW_HAS_PCI
383
	select NR_CPUS_DEFAULT_64
384
	select SYS_HAS_CPU_R10000
385
	select SYS_SUPPORTS_64BIT_KERNEL
386
	select SYS_SUPPORTS_BIG_ENDIAN
387
	select SYS_SUPPORTS_KGDB
388
	select SYS_SUPPORTS_NUMA
389
	select SYS_SUPPORTS_SMP
390
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
391 392 393 394 395 396
	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
397
	bool "SGI IP32 (O2)"
Linus Torvalds's avatar
Linus Torvalds committed
398 399 400 401 402 403 404
	select ARC
	select ARC32
	select BOOT_ELF32
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select R5000_CPU_SCACHE
	select RM7000_CPU_SCACHE
405 406 407
	select SYS_HAS_CPU_R5000
	select SYS_HAS_CPU_R10000 if BROKEN
	select SYS_HAS_CPU_RM7000
408
	select SYS_HAS_CPU_NEVADA
409
	select SYS_SUPPORTS_64BIT_KERNEL
410 411
	select SYS_SUPPORTS_BIG_ENDIAN
	help
412
	  If you want this kernel to run on SGI O2 workstation, say Y here.
Linus Torvalds's avatar
Linus Torvalds committed
413

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

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

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

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

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

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

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

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

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

521 522
config SNI_RM
	bool "SNI RM200/300/400"
523 524
	select ARC if CPU_LITTLE_ENDIAN
	select ARC32 if CPU_LITTLE_ENDIAN
525
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
526 527 528
	select BOOT_ELF32
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
529
	select HW_HAS_EISA
Linus Torvalds's avatar
Linus Torvalds committed
530
	select HW_HAS_PCI
531
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
532 533
	select I8259
	select ISA
Ralf Baechle's avatar
Ralf Baechle committed
534
	select PCSPEAKER
535
	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
536
	select SYS_HAS_CPU_R4X00
537
	select SYS_HAS_CPU_R5000
538
	select SYS_HAS_CPU_R10000
539
	select R5000_CPU_SCACHE
540
	select SYS_HAS_EARLY_PRINTK
541 542
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
543
	select SYS_SUPPORTS_BIG_ENDIAN
544
	select SYS_SUPPORTS_HIGHMEM
545
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
546
	help
547 548
	  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
549 550 551
	  Technology and now in turn merged with Fujitsu.  Say Y here to
	  support this machine type.

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

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

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

604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624
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.

625
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
626

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

637 638
endmenu

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

config RWSEM_XCHGADD_ALGORITHM
	bool

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

config ARCH_HAS_ILOG2_U64
	bool
	default n

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

config GENERIC_HWEIGHT
	bool
	default y

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

666 667 668 669
config GENERIC_TIME
	bool
	default y

670 671 672 673
config SCHED_NO_NO_OMIT_FRAME_POINTER
	bool
	default y

674 675 676 677
config GENERIC_HARDIRQS_NO__DO_IRQ
	bool
	default n

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

684 685 686
config ARCH_MAY_HAVE_PC_FDC
	bool

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

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

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

696 697 698 699 700 701 702 703 704
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
705 706 707
	bool

config EARLY_PRINTK
708 709 710 711 712 713 714 715
	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
716 717 718
	  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,
719 720 721
	  unless you want to debug such a crash.

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

724 725 726 727
config HOTPLUG_CPU
	bool
	default n

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

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

737 738 739
config MIPS_NILE4
	bool

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

743 744 745
config NO_IOPORT
	def_bool n

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

750 751
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
752
	select GENERIC_ISA_DMA
753

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

757
#
Matt LaPlante's avatar
Matt LaPlante committed
758
# Endianess selection.  Sufficiently obscure so many users don't know what to
759 760 761 762 763
# 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
764 765
	help
	  Some MIPS machines can be configured for either little or big endian
766
	  byte order. These modes require different kernels and a different
Matt LaPlante's avatar
Matt LaPlante committed
767
	  Linux distribution.  In general there is one preferred byteorder for a
768
	  particular system but some systems are just as commonly used in the
769
	  one or the other endianness.
770 771 772 773 774 775 776 777 778 779 780 781

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

782 783 784
config SYS_SUPPORTS_APM_EMULATION
	bool

785 786 787 788 789
config SYS_SUPPORTS_BIG_ENDIAN
	bool

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

config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

797 798 799
config IRQ_CPU_RM9K
	bool

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

config IRQ_MSP_CIC
	bool

806 807 808
config IRQ_TXX9
	bool

Linus Torvalds's avatar
Linus Torvalds committed
809 810 811
config MIPS_BOARDS_GEN
	bool

812
config PCI_GT64XXX_PCI0
Linus Torvalds's avatar
Linus Torvalds committed
813 814
	bool

Marc St-Jean's avatar
Marc St-Jean committed
815 816 817
config NO_EXCEPT_FILL
	bool

Linus Torvalds's avatar
Linus Torvalds committed
818 819 820 821
config MIPS_TX3927
	bool
	select HAS_TXX9_SERIAL

822 823 824 825
config MIPS_RM9122
	bool
	select SERIAL_RM9000

826 827 828 829 830 831 832 833
config PNX8550
	bool
	select SOC_PNX8550

config SOC_PNX8550
	bool
	select DMA_NONCOHERENT
	select HW_HAS_PCI
834
	select SYS_HAS_CPU_MIPS32_R1
835
	select SYS_HAS_EARLY_PRINTK
836
	select SYS_SUPPORTS_32BIT_KERNEL
837
	select GENERIC_HARDIRQS_NO__DO_IRQ
838
	select SYS_SUPPORTS_KGDB
839
	select GENERIC_GPIO
840

Linus Torvalds's avatar
Linus Torvalds committed
841 842 843
config SWAP_IO_SPACE
	bool

844 845 846 847 848
config EMMA2RH
	bool
	depends on MARKEINS
	default y

849 850 851
config SERIAL_RM9000
	bool

852 853 854
config ARC32
	bool

Linus Torvalds's avatar
Linus Torvalds committed
855 856 857 858 859
config BOOT_ELF32
	bool

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

config HAVE_STD_PC_SERIAL_PORT
	bool

config ARC_CONSOLE
	bool "ARC console support"
870
	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds's avatar
Linus Torvalds committed
871 872 873

config ARC_MEMORY
	bool
874
	depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
875 876 877 878
	default y

config ARC_PROMLIB
	bool
879
	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
880 881 882 883 884 885 886 887 888 889 890 891 892 893
	default y

config ARC64
	bool

config BOOT_ELF64
	bool

menu "CPU selection"

choice
	prompt "CPU type"
	default CPU_R4X00

894 895 896 897 898 899 900 901 902 903
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.

904 905
config CPU_MIPS32_R1
	bool "MIPS32 Release 1"
906
	depends on SYS_HAS_CPU_MIPS32_R1
907
	select CPU_HAS_LLSC
908
	select CPU_HAS_PREFETCH
909
	select CPU_SUPPORTS_32BIT_KERNEL
910
	select CPU_SUPPORTS_HIGHMEM
Ralf Baechle's avatar
Ralf Baechle committed
911
	help
912
	  Choose this option to build a kernel for release 1 or later of the
Ralf Baechle's avatar
Ralf Baechle committed
913 914 915 916 917 918 919 920 921 922 923
	  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"
924
	depends on SYS_HAS_CPU_MIPS32_R2
925
	select CPU_HAS_LLSC
Ralf Baechle's avatar
Ralf Baechle committed
926
	select CPU_HAS_PREFETCH
927
	select CPU_SUPPORTS_32BIT_KERNEL
928
	select CPU_SUPPORTS_HIGHMEM
929
	help
930
	  Choose this option to build a kernel for release 2 or later of the
931 932 933 934 935 936 937
	  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"
938
	depends on SYS_HAS_CPU_MIPS64_R1
939
	select CPU_HAS_LLSC
940
	select CPU_HAS_PREFETCH
941 942
	select CPU_SUPPORTS_32BIT_KERNEL
	select CPU_SUPPORTS_64BIT_KERNEL
943
	select CPU_SUPPORTS_HIGHMEM
944 945 946 947 948 949
	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
950 951 952 953 954 955 956
	  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"
957
	depends on SYS_HAS_CPU_MIPS64_R2
958
	select CPU_HAS_LLSC
959
	select CPU_HAS_PREFETCH
Ralf Baechle's avatar
Ralf Baechle committed
960 961
	select CPU_SUPPORTS_32BIT_KERNEL
	select CPU_SUPPORTS_64BIT_KERNEL
962
	select CPU_SUPPORTS_HIGHMEM
Ralf Baechle's avatar
Ralf Baechle committed
963 964 965 966 967 968
	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
969 970 971

config CPU_R3000
	bool "R3000"
972
	depends on SYS_HAS_CPU_R3000
973
	select CPU_HAS_WB
974
	select CPU_SUPPORTS_32BIT_KERNEL
975
	select CPU_SUPPORTS_HIGHMEM
Linus Torvalds's avatar
Linus Torvalds committed
976 977 978 979 980 981 982 983 984 985
	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"
986
	depends on SYS_HAS_CPU_TX39XX
987
	select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds's avatar
Linus Torvalds committed