Kconfig 46.5 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3
config MIPS
	bool
	default y
Sam Ravnborg's avatar
Sam Ravnborg committed
4
	select HAVE_IDE
Mathieu Desnoyers's avatar
Mathieu Desnoyers committed
5
	select HAVE_OPROFILE
Linus Torvalds's avatar
Linus Torvalds committed
6 7
	# Horrible source of confusion.  Die, die, die ...
	select EMBEDDED
8
	select RTC_LIB
Linus Torvalds's avatar
Linus Torvalds committed
9

10 11
mainmenu "Linux/MIPS Kernel Configuration"

Linus Torvalds's avatar
Linus Torvalds committed
12 13
menu "Machine selection"

14 15 16
config ZONE_DMA
	bool

17 18 19
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
20

21 22
config MACH_ALCHEMY
	bool "Alchemy processor based machines"
Linus Torvalds's avatar
Linus Torvalds committed
23

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

42 43
config BCM47XX
	bool "BCM47XX based boards"
44
	select CEVT_R4K
45
	select CSRC_R4K
46 47 48 49 50 51 52 53
	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
54 55
	select SSB_DRIVER_EXTIF
	select SSB_PCICORE_HOSTMODE if PCI
56
	select GENERIC_GPIO
57 58
	select SYS_HAS_EARLY_PRINTK
	select CFE
59 60 61
	help
	 Support for BCM47XX based boards

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

config MACH_DECSTATION
82
	bool "DECstations"
Linus Torvalds's avatar
Linus Torvalds committed
83
	select BOOT_ELF32
84
	select CEVT_DS1287
85
	select CEVT_R4K
86
	select CSRC_IOASIC
87
	select CSRC_R4K
88 89 90
	select CPU_DADDI_WORKAROUNDS if 64BIT
	select CPU_R4000_WORKAROUNDS if 64BIT
	select CPU_R4400_WORKAROUNDS if 64BIT
Linus Torvalds's avatar
Linus Torvalds committed
91
	select DMA_NONCOHERENT
92
	select NO_IOPORT
Linus Torvalds's avatar
Linus Torvalds committed
93
	select IRQ_CPU
94 95
	select SYS_HAS_CPU_R3000
	select SYS_HAS_CPU_R4X00
96 97
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
98
	select SYS_SUPPORTS_LITTLE_ENDIAN
99 100 101
	select SYS_SUPPORTS_128HZ
	select SYS_SUPPORTS_256HZ
	select SYS_SUPPORTS_1024HZ
102
	help
Linus Torvalds's avatar
Linus Torvalds committed
103 104 105 106 107 108 109
	  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:

110 111 112 113
		DECstation 5000/50
		DECstation 5000/150
		DECstation 5000/260
		DECsystem 5900/260
Linus Torvalds's avatar
Linus Torvalds committed
114 115 116

	  otherwise choose R3000.

117
config MACH_JAZZ
118
	bool "Jazz family of machines"
119 120 121
	select ARC
	select ARC32
	select ARCH_MAY_HAVE_PC_FDC
122
	select CEVT_R4K
123
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
124
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
125
	select GENERIC_ISA_DMA
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
126
	select IRQ_CPU
127
	select I8253
128 129
	select I8259
	select ISA
130
	select SYS_HAS_CPU_R4X00
131 132
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
133
	select SYS_SUPPORTS_100HZ
134
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
135
	help
136 137 138 139 140
	 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.

141 142
config LASAT
	bool "LASAT Networks platforms"
143
	select CEVT_R4K
144
	select CSRC_R4K
145 146 147
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
148
	select IRQ_CPU
149 150 151 152 153 154 155 156 157
	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

158 159 160
config LEMOTE_FULONG
	bool "Lemote Fulong mini-PC"
	select ARCH_SPARSEMEM_ENABLE
161
	select CEVT_R4K
162
	select CSRC_R4K
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
	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
178
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
179 180 181 182 183
	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
184
config MIPS_MALTA
185
	bool "MIPS Malta board"
186
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
187
	select BOOT_ELF32
188
	select BOOT_RAW
189
	select CEVT_R4K
190
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
191 192
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
193
	select IRQ_CPU
194
	select IRQ_GIC
Linus Torvalds's avatar
Linus Torvalds committed
195
	select HW_HAS_PCI
196
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
197
	select I8259
198 199
	select MIPS_BOARDS_GEN
	select MIPS_BONITO64
200
	select MIPS_CPU_SCACHE
201
	select PCI_GT64XXX_PCI0
202
	select MIPS_MSC
Linus Torvalds's avatar
Linus Torvalds committed
203
	select SWAP_IO_SPACE
204 205 206 207 208
	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
209
	select SYS_HAS_EARLY_PRINTK
210 211
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
212 213
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
214
	select SYS_SUPPORTS_MULTITHREADING
215
	select SYS_SUPPORTS_SMARTMIPS
Linus Torvalds's avatar
Linus Torvalds committed
216
	help
217
	  This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds's avatar
Linus Torvalds committed
218 219
	  board.

220
config MIPS_SIM
221
	bool 'MIPS simulator (MIPSsim)'
222
	select CEVT_R4K
223
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
224
	select DMA_NONCOHERENT
225
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
226
	select IRQ_CPU
Marc St-Jean's avatar
Marc St-Jean committed
227
	select BOOT_RAW
228 229
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
230
	select SYS_HAS_EARLY_PRINTK
231
	select SYS_SUPPORTS_32BIT_KERNEL
232
	select SYS_SUPPORTS_BIG_ENDIAN
233
	select SYS_SUPPORTS_MULTITHREADING
234
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
235
	help
236 237
	  This option enables support for MIPS Technologies MIPSsim software
	  emulator.
Linus Torvalds's avatar
Linus Torvalds committed
238

239 240
config MARKEINS
	bool "NEC EMMA2RH Mark-eins"
241
	select CEVT_R4K
242
	select CSRC_R4K
243 244 245 246 247 248 249 250 251 252 253 254
	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.

255
config MACH_VR41XX
256
	bool "NEC VR4100 series based machines"
257
	select CEVT_R4K
258
	select CSRC_R4K
259
	select SYS_HAS_CPU_VR41XX
260
	select GENERIC_HARDIRQS_NO__DO_IRQ
261

262
config PNX8550_JBS
263
	bool "NXP PNX8550 based JBS board"
264 265 266 267
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
268
	bool "NXP PNX8550 based STB810 board"
269 270 271
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292
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.

293
config PMC_YOSEMITE
294
	bool "PMC-Sierra Yosemite eval board"
295
	select CEVT_R4K
296
	select CSRC_R4K
297 298 299 300 301 302
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
303
	select SYS_HAS_CPU_RM9000
304
	select SYS_HAS_EARLY_PRINTK
305 306 307 308
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
309
	select SYS_SUPPORTS_KGDB
310
	select SYS_SUPPORTS_SMP
311 312 313
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
314 315

config SGI_IP22
316
	bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds's avatar
Linus Torvalds committed
317 318 319
	select ARC
	select ARC32
	select BOOT_ELF32
320
	select CEVT_R4K
321
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
322
	select DEFAULT_SGI_PARTITION
Linus Torvalds's avatar
Linus Torvalds committed
323
	select DMA_NONCOHERENT
324
	select HW_HAS_EISA
325
	select I8253
326
	select I8259
Linus Torvalds's avatar
Linus Torvalds committed
327 328
	select IP22_CPU_SCACHE
	select IRQ_CPU
329
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
330 331 332 333 334 335
	select SGI_HAS_DS1286
	select SGI_HAS_I8042
	select SGI_HAS_INDYDOG
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
Linus Torvalds's avatar
Linus Torvalds committed
336
	select SWAP_IO_SPACE
337 338
	select SYS_HAS_CPU_R4X00
	select SYS_HAS_CPU_R5000
339
	select SYS_HAS_EARLY_PRINTK
340 341
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
342
	select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
343 344 345 346 347 348
	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
349
	bool "SGI IP27 (Origin200/2000)"
Linus Torvalds's avatar
Linus Torvalds committed
350 351
	select ARC
	select ARC64
352
	select BOOT_ELF64
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
353
	select DEFAULT_SGI_PARTITION
Linus Torvalds's avatar
Linus Torvalds committed
354
	select DMA_IP27
355
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
356
	select HW_HAS_PCI
357
	select NR_CPUS_DEFAULT_64
358
	select SYS_HAS_CPU_R10000
359
	select SYS_SUPPORTS_64BIT_KERNEL
360
	select SYS_SUPPORTS_BIG_ENDIAN
361
	select SYS_SUPPORTS_KGDB
362
	select SYS_SUPPORTS_NUMA
363
	select SYS_SUPPORTS_SMP
364
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
365 366 367 368 369
	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.

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387
config SGI_IP28
	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
	depends on EXPERIMENTAL
	select ARC
	select ARC64
	select BOOT_ELF64
	select CEVT_R4K
	select CSRC_R4K
	select DEFAULT_SGI_PARTITION
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
	select IRQ_CPU
	select HW_HAS_EISA
	select I8253
	select I8259
	select SGI_HAS_DS1286
	select SGI_HAS_I8042
	select SGI_HAS_INDYDOG
388 389
	select SGI_HAS_HAL2
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
390 391 392 393 394 395 396 397 398 399 400 401
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
	select SWAP_IO_SPACE
	select SYS_HAS_CPU_R10000
	select SYS_HAS_EARLY_PRINTK
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
      help
        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
        kernel that runs on these, say Y here.

Linus Torvalds's avatar
Linus Torvalds committed
402
config SGI_IP32
403
	bool "SGI IP32 (O2)"
Linus Torvalds's avatar
Linus Torvalds committed
404 405 406
	select ARC
	select ARC32
	select BOOT_ELF32
407
	select CEVT_R4K
408
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
409 410
	select DMA_NONCOHERENT
	select HW_HAS_PCI
411
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
412 413
	select R5000_CPU_SCACHE
	select RM7000_CPU_SCACHE
414 415 416
	select SYS_HAS_CPU_R5000
	select SYS_HAS_CPU_R10000 if BROKEN
	select SYS_HAS_CPU_RM7000
417
	select SYS_HAS_CPU_NEVADA
418
	select SYS_SUPPORTS_64BIT_KERNEL
419 420
	select SYS_SUPPORTS_BIG_ENDIAN
	help
421
	  If you want this kernel to run on SGI O2 workstation, say Y here.
Linus Torvalds's avatar
Linus Torvalds committed
422

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

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

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

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

468 469
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
470
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
471
	select DMA_COHERENT
472 473
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
474
	select SWAP_IO_SPACE
475
	select SYS_HAS_CPU_SB1
476
	select SYS_SUPPORTS_BIG_ENDIAN
477 478
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_KGDB
Pete Popov's avatar
Pete Popov committed
479
	select SYS_SUPPORTS_LITTLE_ENDIAN
480
	select ZONE_DMA32 if 64BIT
Pete Popov's avatar
Pete Popov committed
481

482 483
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
484 485 486
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
487
	select NR_CPUS_DEFAULT_2
488 489
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
490
	select SYS_HAS_CPU_SB1
491 492 493
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
494

495 496
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
497 498 499
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
500
	select NR_CPUS_DEFAULT_2
501 502
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
503
	select SYS_HAS_CPU_SB1
504 505
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
506

507 508
config SIBYTE_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
509 510
	select BOOT_ELF32
	select DMA_COHERENT
511 512
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
513
	select SWAP_IO_SPACE
514
	select SYS_HAS_CPU_SB1
515
	select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle's avatar
Ralf Baechle committed
516
	select SYS_SUPPORTS_HIGHMEM
517
	select SYS_SUPPORTS_LITTLE_ENDIAN
518
	select ZONE_DMA32 if 64BIT
Linus Torvalds's avatar
Linus Torvalds committed
519

520 521
config SNI_RM
	bool "SNI RM200/300/400"
522 523
	select ARC if CPU_LITTLE_ENDIAN
	select ARC32 if CPU_LITTLE_ENDIAN
524
	select SNIPROM if CPU_BIG_ENDIAN
525
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
526
	select BOOT_ELF32
527
	select CEVT_R4K
528
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
529
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
530 531
	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
535
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
536 537
	select I8259
	select ISA
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 556
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
557

558 559
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
560

561 562
config WR_PPMC
	bool "Wind River PPMC board"
563
	select CEVT_R4K
564
	select CSRC_R4K
565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583
	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.

584
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
585

586
source "arch/mips/au1000/Kconfig"
587
source "arch/mips/basler/excite/Kconfig"
588
source "arch/mips/jazz/Kconfig"
589
source "arch/mips/lasat/Kconfig"
590
source "arch/mips/pmc-sierra/Kconfig"
591
source "arch/mips/sgi-ip27/Kconfig"
592
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
593
source "arch/mips/txx9/Kconfig"
594
source "arch/mips/vr41xx/Kconfig"
595

596 597
endmenu

Nick Piggin's avatar
Nick Piggin committed
598 599 600 601 602
config GENERIC_LOCKBREAK
	bool
	default y
	depends on SMP && PREEMPT

Linus Torvalds's avatar
Linus Torvalds committed
603 604 605 606 607 608 609
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

610 611 612 613 614 615 616 617
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

618 619 620 621
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

622 623 624 625 626 627 628 629
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
630 631 632 633
config GENERIC_CALIBRATE_DELAY
	bool
	default y

634 635 636 637
config GENERIC_CLOCKEVENTS
	bool
	default y

638 639 640 641
config GENERIC_TIME
	bool
	default y

642 643 644 645
config GENERIC_CMOS_UPDATE
	bool
	default y

646 647 648 649
config SCHED_NO_NO_OMIT_FRAME_POINTER
	bool
	default y

650 651 652 653
config GENERIC_HARDIRQS_NO__DO_IRQ
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
654 655 656 657 658 659
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

660 661 662
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
663 664 665
config BOOT_RAW
	bool

666 667 668
config CEVT_BCM1480
	bool

669 670 671
config CEVT_DS1287
	bool

672 673 674
config CEVT_GT641XX
	bool

675 676 677
config CEVT_R4K
	bool

678 679 680
config CEVT_SB1250
	bool

681 682 683
config CEVT_TXX9
	bool

684 685 686
config CSRC_BCM1480
	bool

687 688 689
config CSRC_IOASIC
	bool

690 691 692
config CSRC_R4K
	bool

693 694 695
config CSRC_SB1250
	bool

696 697 698 699 700
config GPIO_TXX9
	select GENERIC_GPIO
	select HAVE_GPIO_LIB
	bool

701 702 703
config CFE
	bool

704
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
705 706
	bool

707
config DMA_IP27
Linus Torvalds's avatar
Linus Torvalds committed
708 709
	bool

710 711 712 713 714
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 SYNC_R4K
	bool

756 757 758
config NO_IOPORT
	def_bool n

759 760 761 762
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

763 764
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
765
	select GENERIC_ISA_DMA
766

Yoichi Yuasa's avatar
Yoichi Yuasa committed
767 768 769
config GENERIC_GPIO
	bool

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

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

795 796 797
config SYS_SUPPORTS_APM_EMULATION
	bool

798 799 800 801 802
config SYS_SUPPORTS_BIG_ENDIAN
	bool

config SYS_SUPPORTS_LITTLE_ENDIAN
	bool
Linus Torvalds's avatar
Linus Torvalds committed
803 804 805 806 807 808 809

config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

810 811 812
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
813 814 815 816 817 818
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

819 820 821
config IRQ_TXX9
	bool

822 823 824
config IRQ_GT641XX
	bool

825 826 827
config IRQ_GIC
	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

837 838 839 840
config MIPS_RM9122
	bool
	select SERIAL_RM9000

841 842 843 844 845 846 847 848
config PNX8550
	bool
	select SOC_PNX8550

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

Linus Torvalds's avatar
Linus Torvalds committed
856 857 858
config SWAP_IO_SPACE
	bool

859 860 861 862 863
config EMMA2RH
	bool
	depends on MARKEINS
	default y

864 865 866
config SERIAL_RM9000
	bool

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
867 868 869 870 871 872
config SGI_HAS_DS1286
	bool

config SGI_HAS_INDYDOG
	bool

873 874 875
config SGI_HAS_HAL2
	bool

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
876 877 878 879 880 881 882 883 884 885 886 887 888 889 890
config SGI_HAS_SEEQ
	bool

config SGI_HAS_WD93
	bool

config SGI_HAS_ZILOG
	bool

config SGI_HAS_I8042
	bool

config DEFAULT_SGI_PARTITION
	bool

891 892 893
config ARC32
	bool

894 895 896
config SNIPROM
	bool

Linus Torvalds's avatar
Linus Torvalds committed
897 898 899 900 901
config BOOT_ELF32
	bool

config MIPS_L1_CACHE_SHIFT
	int
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
902
	default "4" if MACH_DECSTATION
903
	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM
Marc St-Jean's avatar
Marc St-Jean committed
904
	default "4" if PMC_MSP4200_EVAL
Linus Torvalds's avatar
Linus Torvalds committed
905 906 907 908 909 910 911
	default "5"

config HAVE_STD_PC_SERIAL_PORT
	bool

config ARC_CONSOLE
	bool "ARC console support"
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
912
	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds's avatar
Linus Torvalds committed
913 914 915

config ARC_MEMORY
	bool
916
	depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
917 918 919 920
	default y

config ARC_PROMLIB
	bool
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
921
	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
922 923 924 925 926 927 928 929 930 931 932 933 934 935
	default y

config ARC64
	bool

config BOOT_ELF64
	bool

menu "CPU selection"

choice
	prompt "CPU type"
	default CPU_R4X00

936 937 938 939 940 941 942 943 944 945
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.

946 947
config CPU_MIPS32_R1
	bool "MIPS32 Release 1"
948
	depends on SYS_HAS_CPU_MIPS32_R1
949
	select CPU_HAS_LLSC
950
	select CPU_HAS_PREFETCH
951
	select CPU_SUPPORTS_32BIT_KERNEL
952
	select CPU_SUPPORTS_HIGHMEM
Ralf Baechle's avatar
Ralf Baechle committed
953
	help
954
	  Choose this option to build a kernel for release 1 or later of the
Ralf Baechle's avatar
Ralf Baechle committed
955 956 957 958 959 960 961 962 963 964 965
	  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"
966
	depends on SYS_HAS_CPU_MIPS32_R2
967
	select CPU_HAS_LLSC
Ralf Baechle's avatar
Ralf Baechle committed
968
	select CPU_HAS_PREFETCH
969
	select CPU_SUPPORTS_32BIT_KERNEL