Kconfig 46.4 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 388 389 390 391 392 393 394 395 396 397 398 399
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
	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
400
config SGI_IP32
401
	bool "SGI IP32 (O2)"
Linus Torvalds's avatar
Linus Torvalds committed
402 403 404
	select ARC
	select ARC32
	select BOOT_ELF32
405
	select CEVT_R4K
406
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
407 408
	select DMA_NONCOHERENT
	select HW_HAS_PCI
409
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
410 411
	select R5000_CPU_SCACHE
	select RM7000_CPU_SCACHE
412 413 414
	select SYS_HAS_CPU_R5000
	select SYS_HAS_CPU_R10000 if BROKEN
	select SYS_HAS_CPU_RM7000
415
	select SYS_HAS_CPU_NEVADA
416
	select SYS_SUPPORTS_64BIT_KERNEL
417 418
	select SYS_SUPPORTS_BIG_ENDIAN
	help
419
	  If you want this kernel to run on SGI O2 workstation, say Y here.
Linus Torvalds's avatar
Linus Torvalds committed
420

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

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

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

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

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

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

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

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

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

553 554
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
555

556 557
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
558

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

582
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
583

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

594 595
endmenu

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

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

config RWSEM_XCHGADD_ALGORITHM
	bool

608 609 610 611 612 613 614 615
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

616 617 618 619
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

620 621 622 623 624 625 626 627
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
628 629 630 631
config GENERIC_CALIBRATE_DELAY
	bool
	default y

632 633 634 635
config GENERIC_CLOCKEVENTS
	bool
	default y

636 637 638 639
config GENERIC_TIME
	bool
	default y

640 641 642 643
config GENERIC_CMOS_UPDATE
	bool
	default y

644 645 646 647
config SCHED_NO_NO_OMIT_FRAME_POINTER
	bool
	default y

648 649 650 651
config GENERIC_HARDIRQS_NO__DO_IRQ
	bool
	default n

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

658 659 660
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
661 662 663
config BOOT_RAW
	bool

664 665 666
config CEVT_BCM1480
	bool

667 668 669
config CEVT_DS1287
	bool

670 671 672
config CEVT_GT641XX
	bool

673 674 675
config CEVT_R4K
	bool

676 677 678
config CEVT_SB1250
	bool

679 680 681
config CEVT_TXX9
	bool

682 683 684
config CSRC_BCM1480
	bool

685 686 687
config CSRC_IOASIC
	bool

688 689 690
config CSRC_R4K
	bool

691 692 693
config CSRC_SB1250
	bool

694 695 696 697 698
config GPIO_TXX9
	select GENERIC_GPIO
	select HAVE_GPIO_LIB
	bool

699 700 701
config CFE
	bool

702
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
703 704
	bool

705
config DMA_IP27
Linus Torvalds's avatar
Linus Torvalds committed
706 707
	bool

708 709 710 711 712
config DMA_NONCOHERENT
	bool
	select DMA_NEED_PCI_MAP_STATE

config DMA_NEED_PCI_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
713 714 715
	bool

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

config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
730 731
	bool

732 733 734 735
config HOTPLUG_CPU
	bool
	default n

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

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

745 746 747
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
748 749 750
config MIPS_DISABLE_OBSOLETE_IDE
	bool

751 752 753
config SYNC_R4K
	bool

754 755 756
config NO_IOPORT
	def_bool n

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

761 762
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
763
	select GENERIC_ISA_DMA
764

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

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

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

793 794 795
config SYS_SUPPORTS_APM_EMULATION
	bool

796 797 798 799 800
config SYS_SUPPORTS_BIG_ENDIAN
	bool

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

config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

808 809 810
config IRQ_CPU_RM9K
	bool

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

config IRQ_MSP_CIC
	bool

817 818 819
config IRQ_TXX9
	bool

820 821 822
config IRQ_GT641XX
	bool

823 824 825
config IRQ_GIC
	bool

Linus Torvalds's avatar
Linus Torvalds committed
826 827 828
config MIPS_BOARDS_GEN
	bool

829
config PCI_GT64XXX_PCI0
Linus Torvalds's avatar
Linus Torvalds committed
830 831
	bool

Marc St-Jean's avatar
Marc St-Jean committed
832 833 834
config NO_EXCEPT_FILL
	bool

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

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885
config SGI_HAS_DS1286
	bool

config SGI_HAS_INDYDOG
	bool

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

886 887 888
config ARC32
	bool

889 890 891
config SNIPROM
	bool

Linus Torvalds's avatar
Linus Torvalds committed
892 893 894 895 896
config BOOT_ELF32
	bool

config MIPS_L1_CACHE_SHIFT
	int
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
897
	default "4" if MACH_DECSTATION
898
	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM
Marc St-Jean's avatar
Marc St-Jean committed
899
	default "4" if PMC_MSP4200_EVAL
Linus Torvalds's avatar
Linus Torvalds committed
900 901 902 903 904 905 906
	default "5"

config HAVE_STD_PC_SERIAL_PORT
	bool

config ARC_CONSOLE
	bool "ARC console support"
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
907
	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds's avatar
Linus Torvalds committed
908 909 910

config ARC_MEMORY
	bool
911
	depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
912 913 914 915
	default y

config ARC_PROMLIB
	bool
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
916
	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
917 918 919 920 921 922 923 924 925 926 927 928 929 930
	default y

config ARC64
	bool

config BOOT_ELF64
	bool

menu "CPU selection"

choice
	prompt "CPU type"
	default CPU_R4X00

931 932 933 934 935 936 937 938 939 940
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.

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