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

8 9
mainmenu "Linux/MIPS Kernel Configuration"

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

12 13 14
config ZONE_DMA
	bool

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

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

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

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.

48 49 50 51 52 53 54 55 56 57 58
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
59 60
	select SYS_HAS_EARLY_PRINTK
	select CFE
61 62 63
	help
	 Support for BCM47XX based boards

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

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

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

	  otherwise choose R3000.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

630
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
631

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

642 643
endmenu

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

config RWSEM_XCHGADD_ALGORITHM
	bool

651 652 653 654 655 656 657 658
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

659 660 661 662 663 664 665 666
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
667 668 669 670
config GENERIC_CALIBRATE_DELAY
	bool
	default y

671 672 673 674
config GENERIC_CLOCKEVENTS
	bool
	default y

675 676 677 678
config GENERIC_TIME
	bool
	default y

679 680 681 682
config GENERIC_CMOS_UPDATE
	bool
	default y

683 684 685 686
config SCHED_NO_NO_OMIT_FRAME_POINTER
	bool
	default y

687 688 689 690
config GENERIC_HARDIRQS_NO__DO_IRQ
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
691 692 693 694 695 696
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

697 698 699
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
700 701 702
config BOOT_RAW
	bool

703 704 705
config CFE
	bool

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

709
config DMA_IP27
Linus Torvalds's avatar
Linus Torvalds committed
710 711
	bool

712 713 714 715 716 717 718 719 720
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
721 722 723
	bool

config EARLY_PRINTK
724 725 726 727 728 729 730 731
	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
732 733 734
	  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,
735 736 737
	  unless you want to debug such a crash.

config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
738 739
	bool

740 741 742 743
config HOTPLUG_CPU
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
744 745 746 747 748 749 750 751 752
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

753 754 755
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
756 757 758
config MIPS_DISABLE_OBSOLETE_IDE
	bool

759 760 761
config NO_IOPORT
	def_bool n

762 763 764 765
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

766 767
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
768
	select GENERIC_ISA_DMA
769

Yoichi Yuasa's avatar
Yoichi Yuasa committed
770 771 772
config GENERIC_GPIO
	bool

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

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

798 799 800
config SYS_SUPPORTS_APM_EMULATION
	bool

801 802 803 804 805
config SYS_SUPPORTS_BIG_ENDIAN
	bool

config SYS_SUPPORTS_LITTLE_ENDIAN
	bool
Linus Torvalds's avatar
Linus Torvalds committed
806 807 808 809 810 811 812

config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

813 814 815
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
816 817 818 819 820 821
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

822 823 824
config IRQ_TXX9
	bool

825 826 827
config IRQ_GT641XX
	bool

Linus Torvalds's avatar
Linus Torvalds committed
828 829 830
config MIPS_BOARDS_GEN
	bool

831
config PCI_GT64XXX_PCI0
Linus Torvalds's avatar
Linus Torvalds committed
832 833
	bool

Marc St-Jean's avatar
Marc St-Jean committed
834 835 836
config NO_EXCEPT_FILL
	bool

Linus Torvalds's avatar
Linus Torvalds committed
837 838 839 840
config MIPS_TX3927
	bool
	select HAS_TXX9_SERIAL

841 842 843 844
config MIPS_RM9122
	bool
	select SERIAL_RM9000

845 846 847 848 849 850 851 852
config PNX8550
	bool
	select SOC_PNX8550

config SOC_PNX8550
	bool
	select DMA_NONCOHERENT
	select HW_HAS_PCI
853
	select SYS_HAS_CPU_MIPS32_R1
854
	select SYS_HAS_EARLY_PRINTK
855
	select SYS_SUPPORTS_32BIT_KERNEL
856
	select GENERIC_HARDIRQS_NO__DO_IRQ
857
	select SYS_SUPPORTS_KGDB
858
	select GENERIC_GPIO
859

Linus Torvalds's avatar
Linus Torvalds committed
860 861 862
config SWAP_IO_SPACE
	bool

863 864 865 866 867
config EMMA2RH
	bool
	depends on MARKEINS
	default y

868 869 870
config SERIAL_RM9000
	bool

871 872 873
config ARC32
	bool

Linus Torvalds's avatar
Linus Torvalds committed
874 875 876 877 878
config BOOT_ELF32
	bool

config MIPS_L1_CACHE_SHIFT
	int
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
879 880
	default "4" if MACH_DECSTATION
	default "7" if SGI_IP27 || SNI_RM
Marc St-Jean's avatar
Marc St-Jean committed
881
	default "4" if PMC_MSP4200_EVAL
Linus Torvalds's avatar
Linus Torvalds committed
882 883 884 885 886 887 888
	default "5"

config HAVE_STD_PC_SERIAL_PORT
	bool

config ARC_CONSOLE
	bool "ARC console support"
889
	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds's avatar
Linus Torvalds committed
890 891 892

config ARC_MEMORY
	bool
893
	depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
894 895 896 897
	default y

config ARC_PROMLIB
	bool
898
	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
899 900 901 902 903 904 905 906 907 908
	default y

config ARC64
	bool

config BOOT_ELF64
	bool

menu "CPU selection"

909 910
source "kernel/time/Kconfig"

Linus Torvalds's avatar
Linus Torvalds committed
911 912 913 914
choice
	prompt "CPU type"
	default CPU_R4X00

915 916 917 918 919 920 921 922 923 924
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.

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