Kconfig 47.3 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
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
58 59
	select SYS_HAS_EARLY_PRINTK
	select CFE
60 61 62
	help
	 Support for BCM47XX based boards

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

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

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

	  otherwise choose R3000.

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

128 129 130 131 132 133 134 135 136 137 138 139 140 141
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

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

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

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

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

261 262 263 264 265 266 267 268 269 270 271 272 273 274
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.

275
config MACH_VR41XX
276
	bool "NEC VR4100 series based machines"
277
	select SYS_HAS_CPU_VR41XX
278
	select GENERIC_HARDIRQS_NO__DO_IRQ
279

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

628
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
629

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

640 641
endmenu

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

config RWSEM_XCHGADD_ALGORITHM
	bool

649 650 651 652 653 654 655 656
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

657 658 659 660 661 662 663 664
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
665 666 667 668
config GENERIC_CALIBRATE_DELAY
	bool
	default y

669 670 671 672
config GENERIC_TIME
	bool
	default y

673 674 675 676
config GENERIC_CMOS_UPDATE
	bool
	default y

677 678 679 680
config SCHED_NO_NO_OMIT_FRAME_POINTER
	bool
	default y

681 682 683 684
config GENERIC_HARDIRQS_NO__DO_IRQ
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
685 686 687 688 689 690
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

691 692 693
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
694 695 696
config BOOT_RAW
	bool

697 698 699
config CFE
	bool

700
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
701 702
	bool

703
config DMA_IP27
Linus Torvalds's avatar
Linus Torvalds committed
704 705
	bool

706 707 708 709 710 711 712 713 714
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
715 716 717
	bool

config EARLY_PRINTK
718 719 720 721 722 723 724 725
	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
726 727 728
	  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,
729 730 731
	  unless you want to debug such a crash.

config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
732 733
	bool

734 735 736 737
config HOTPLUG_CPU
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
738 739 740 741 742 743 744 745 746
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

747 748 749
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
750 751 752
config MIPS_DISABLE_OBSOLETE_IDE
	bool

753 754 755
config NO_IOPORT
	def_bool n

756 757 758 759
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

760 761
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
762
	select GENERIC_ISA_DMA
763

Yoichi Yuasa's avatar
Yoichi Yuasa committed
764 765 766
config GENERIC_GPIO
	bool

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

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

792 793 794
config SYS_SUPPORTS_APM_EMULATION
	bool

795 796 797 798 799
config SYS_SUPPORTS_BIG_ENDIAN
	bool

config SYS_SUPPORTS_LITTLE_ENDIAN
	bool
Linus Torvalds's avatar
Linus Torvalds committed
800 801 802 803 804 805 806

config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

807 808 809
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
810 811 812 813 814 815
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

816 817 818
config IRQ_TXX9
	bool

819 820 821
config IRQ_GT641XX
	bool

Linus Torvalds's avatar
Linus Torvalds committed
822 823 824
config MIPS_BOARDS_GEN
	bool

825
config PCI_GT64XXX_PCI0
Linus Torvalds's avatar
Linus Torvalds committed
826 827
	bool

Marc St-Jean's avatar
Marc St-Jean committed
828 829 830
config NO_EXCEPT_FILL
	bool

Linus Torvalds's avatar
Linus Torvalds committed
831 832 833 834
config MIPS_TX3927
	bool
	select HAS_TXX9_SERIAL

835 836 837 838
config MIPS_RM9122
	bool
	select SERIAL_RM9000

839 840 841 842 843 844 845 846
config PNX8550
	bool
	select SOC_PNX8550

config SOC_PNX8550
	bool
	select DMA_NONCOHERENT
	select HW_HAS_PCI
847
	select SYS_HAS_CPU_MIPS32_R1
848
	select SYS_HAS_EARLY_PRINTK
849
	select SYS_SUPPORTS_32BIT_KERNEL
850
	select GENERIC_HARDIRQS_NO__DO_IRQ
851
	select SYS_SUPPORTS_KGDB
852
	select GENERIC_GPIO
853

Linus Torvalds's avatar
Linus Torvalds committed
854 855 856
config SWAP_IO_SPACE
	bool

857 858 859 860 861
config EMMA2RH
	bool
	depends on MARKEINS
	default y

862 863 864
config SERIAL_RM9000
	bool

865 866 867
config ARC32
	bool

Linus Torvalds's avatar
Linus Torvalds committed
868 869 870 871 872
config BOOT_ELF32
	bool

config MIPS_L1_CACHE_SHIFT
	int
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
873 874
	default "4" if MACH_DECSTATION
	default "7" if SGI_IP27 || SNI_RM
Marc St-Jean's avatar
Marc St-Jean committed
875
	default "4" if PMC_MSP4200_EVAL
Linus Torvalds's avatar
Linus Torvalds committed
876 877 878 879 880 881 882
	default "5"

config HAVE_STD_PC_SERIAL_PORT
	bool

config ARC_CONSOLE
	bool "ARC console support"
883
	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds's avatar
Linus Torvalds committed
884 885 886

config ARC_MEMORY
	bool
887
	depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
888 889 890 891
	default y

config ARC_PROMLIB
	bool
892
	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
893 894 895 896 897 898 899 900 901 902 903 904 905 906
	default y

config ARC64
	bool

config BOOT_ELF64
	bool

menu "CPU selection"

choice
	prompt "CPU type"
	default CPU_R4X00

907 908 909 910 911 912 913 914 915 916
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.

917 918
config CPU_MIPS32_R1
	bool "MIPS32 Release 1"
919
	depends on SYS_HAS_CPU_MIPS32_R1
920
	select CPU_HAS_LLSC
921
	select CPU_HAS_PREFETCH
922
	select CPU_SUPPORTS_32BIT_KERNEL
923
	select CPU_SUPPORTS_HIGHMEM
Ralf Baechle's avatar
Ralf Baechle committed
924
	help
925
	  Choose this option to build a kernel for release 1 or later of the
Ralf Baechle's avatar
Ralf Baechle committed
926 927 928 929 930 931 932 933 934 935 936
	  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"
937
	depends on SYS_HAS_CPU_MIPS32_R2
938
	select CPU_HAS_LLSC
Ralf Baechle's avatar
Ralf Baechle committed
939
	select CPU_HAS_PREFETCH
940
	select CPU_SUPPORTS_32BIT_KERNEL
941
	select CPU_SUPPORTS_HIGHMEM
942
	help
943
	  Choose this option to build a kernel for release 2 or later of the
944 945 946 947 948 949 950
	  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"
951
	depends on SYS_HAS_CPU_MIPS64_R1
952
	select CPU_HAS_LLSC
953
	select CPU_HAS_PREFETCH
954 955
	select CPU_SUPPORTS_32BIT_KERNEL
	select CPU_SUPPORTS_64BIT_KERNEL
956
	select CPU_SUPPORTS_HIGHMEM
957 958 959 960 961 962
	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
963 964 965 966 967 968 969
	  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"
970
	depends on SYS_HAS_CPU_MIPS64_R2
971
	select CPU_HAS_LLSC
972
	select CPU_HAS_PREFETCH
Ralf Baechle's avatar
Ralf Baechle committed
973 974
	select CPU_SUPPORTS_32BIT_KERNEL
	select CPU_SUPPORTS_64BIT_KERNEL
975
	select CPU_SUPPORTS_HIGHMEM
Ralf Baechle's avatar
Ralf Baechle committed
976 977 978 979 980 981
	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
982 983 984

config CPU_R3000
	bool "R3000"