Kconfig 46.3 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
6
	select HAVE_ARCH_KGDB
Linus Torvalds's avatar
Linus Torvalds committed
7 8
	# Horrible source of confusion.  Die, die, die ...
	select EMBEDDED
9
	select RTC_LIB
Linus Torvalds's avatar
Linus Torvalds committed
10

11 12
mainmenu "Linux/MIPS Kernel Configuration"

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

15 16 17
config ZONE_DMA
	bool

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

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

25
config BASLER_EXCITE
26
	bool "Basler eXcite smart camera"
27
	select CEVT_R4K
28
	select CSRC_R4K
29 30 31 32 33
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
34
	select MIPS_RM9122
35 36 37 38 39
	select SYS_HAS_CPU_RM9000
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	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
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 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.

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

config SGI_IP22
314
	bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds's avatar
Linus Torvalds committed
315 316 317
	select ARC
	select ARC32
	select BOOT_ELF32
318
	select CEVT_R4K
319
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
320
	select DEFAULT_SGI_PARTITION
Linus Torvalds's avatar
Linus Torvalds committed
321
	select DMA_NONCOHERENT
322
	select HW_HAS_EISA
323
	select I8253
324
	select I8259
Linus Torvalds's avatar
Linus Torvalds committed
325 326
	select IP22_CPU_SCACHE
	select IRQ_CPU
327
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
328 329 330
	select SGI_HAS_DS1286
	select SGI_HAS_I8042
	select SGI_HAS_INDYDOG
331
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
332 333 334
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
Linus Torvalds's avatar
Linus Torvalds committed
335
	select SWAP_IO_SPACE
336 337
	select SYS_HAS_CPU_R4X00
	select SYS_HAS_CPU_R5000
338
	select SYS_HAS_EARLY_PRINTK
339 340
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
341
	select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
342 343 344 345 346 347
	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
348
	bool "SGI IP27 (Origin200/2000)"
Linus Torvalds's avatar
Linus Torvalds committed
349 350
	select ARC
	select ARC64
351
	select BOOT_ELF64
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
352
	select DEFAULT_SGI_PARTITION
Linus Torvalds's avatar
Linus Torvalds committed
353
	select DMA_IP27
354
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
355
	select HW_HAS_PCI
356
	select NR_CPUS_DEFAULT_64
357
	select SYS_HAS_CPU_R10000
358
	select SYS_SUPPORTS_64BIT_KERNEL
359
	select SYS_SUPPORTS_BIG_ENDIAN
360
	select SYS_SUPPORTS_NUMA
361
	select SYS_SUPPORTS_SMP
362
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
363 364 365 366 367
	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
368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385
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
386
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
387 388 389 390 391 392 393 394 395 396 397 398
	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
399
config SGI_IP32
400
	bool "SGI IP32 (O2)"
Linus Torvalds's avatar
Linus Torvalds committed
401 402 403
	select ARC
	select ARC32
	select BOOT_ELF32
404
	select CEVT_R4K
405
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
406 407
	select DMA_NONCOHERENT
	select HW_HAS_PCI
408
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
409 410
	select R5000_CPU_SCACHE
	select RM7000_CPU_SCACHE
411 412 413
	select SYS_HAS_CPU_R5000
	select SYS_HAS_CPU_R10000 if BROKEN
	select SYS_HAS_CPU_RM7000
414
	select SYS_HAS_CPU_NEVADA
415
	select SYS_SUPPORTS_64BIT_KERNEL
416 417
	select SYS_SUPPORTS_BIG_ENDIAN
	help
418
	  If you want this kernel to run on SGI O2 workstation, say Y here.
Linus Torvalds's avatar
Linus Torvalds committed
419

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

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

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

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

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

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

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

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

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

551 552
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
553

554 555
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
556

557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574
config MIKROTIK_RB532
	bool "Mikrotik RB532 boards"
	select CEVT_R4K
	select CSRC_R4K
	select DMA_NONCOHERENT
	select GENERIC_HARDIRQS_NO__DO_IRQ
	select HW_HAS_PCI
	select IRQ_CPU
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SWAP_IO_SPACE
	select BOOT_RAW
	select GENERIC_GPIO
	help
	  Support the Mikrotik(tm) RouterBoard 532 series,
	  based on the IDT RC32434 SoC.

575 576
config WR_PPMC
	bool "Wind River PPMC board"
577
	select CEVT_R4K
578
	select CSRC_R4K
579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597
	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.

598
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
599

600
source "arch/mips/au1000/Kconfig"
601
source "arch/mips/basler/excite/Kconfig"
602
source "arch/mips/jazz/Kconfig"
603
source "arch/mips/lasat/Kconfig"
604
source "arch/mips/pmc-sierra/Kconfig"
605
source "arch/mips/sgi-ip27/Kconfig"
606
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
607
source "arch/mips/txx9/Kconfig"
608
source "arch/mips/vr41xx/Kconfig"
609

610 611
endmenu

Nick Piggin's avatar
Nick Piggin committed
612 613 614 615 616
config GENERIC_LOCKBREAK
	bool
	default y
	depends on SMP && PREEMPT

Linus Torvalds's avatar
Linus Torvalds committed
617 618 619 620 621 622 623
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

624 625 626 627 628 629 630 631
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

632 633 634 635
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

636 637 638 639 640 641 642 643
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
644 645 646 647
config GENERIC_CALIBRATE_DELAY
	bool
	default y

648 649 650 651
config GENERIC_CLOCKEVENTS
	bool
	default y

652 653 654 655
config GENERIC_TIME
	bool
	default y

656 657 658 659
config GENERIC_CMOS_UPDATE
	bool
	default y

660 661 662 663
config SCHED_NO_NO_OMIT_FRAME_POINTER
	bool
	default y

664 665 666 667
config GENERIC_HARDIRQS_NO__DO_IRQ
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
668 669 670 671 672 673
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

674 675 676
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
677 678 679
config BOOT_RAW
	bool

680 681 682
config CEVT_BCM1480
	bool

683 684 685
config CEVT_DS1287
	bool

686 687 688
config CEVT_GT641XX
	bool

689 690 691
config CEVT_R4K
	bool

692 693 694
config CEVT_SB1250
	bool

695 696 697
config CEVT_TXX9
	bool

698 699 700
config CSRC_BCM1480
	bool

701 702 703
config CSRC_IOASIC
	bool

704 705 706
config CSRC_R4K
	bool

707 708 709
config CSRC_SB1250
	bool

710 711
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
712
	select ARCH_REQUIRE_GPIOLIB
713 714
	bool

715 716 717
config CFE
	bool

718
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
719 720
	bool

721
config DMA_IP27
Linus Torvalds's avatar
Linus Torvalds committed
722 723
	bool

724 725 726 727 728
config DMA_NONCOHERENT
	bool
	select DMA_NEED_PCI_MAP_STATE

config DMA_NEED_PCI_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
729 730 731
	bool

config EARLY_PRINTK
732 733 734 735 736 737 738 739
	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
740 741 742
	  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,
743 744 745
	  unless you want to debug such a crash.

config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
746 747
	bool

748 749 750 751
config HOTPLUG_CPU
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
752 753 754 755 756 757 758 759 760
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

761 762 763
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
764 765 766
config MIPS_DISABLE_OBSOLETE_IDE
	bool

767 768 769
config SYNC_R4K
	bool

770 771 772
config NO_IOPORT
	def_bool n

773 774 775 776
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

777 778
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
779
	select GENERIC_ISA_DMA
780

Yoichi Yuasa's avatar
Yoichi Yuasa committed
781 782 783
config GENERIC_GPIO
	bool

784
#
Matt LaPlante's avatar
Matt LaPlante committed
785
# Endianess selection.  Sufficiently obscure so many users don't know what to
786 787 788 789 790
# 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
791 792
	help
	  Some MIPS machines can be configured for either little or big endian
793
	  byte order. These modes require different kernels and a different
Matt LaPlante's avatar
Matt LaPlante committed
794
	  Linux distribution.  In general there is one preferred byteorder for a
795
	  particular system but some systems are just as commonly used in the
796
	  one or the other endianness.
797 798 799 800 801 802 803 804 805 806 807 808

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

809 810 811
config SYS_SUPPORTS_APM_EMULATION
	bool

812 813 814 815 816
config SYS_SUPPORTS_BIG_ENDIAN
	bool

config SYS_SUPPORTS_LITTLE_ENDIAN
	bool
Linus Torvalds's avatar
Linus Torvalds committed
817 818 819 820 821 822 823

config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

824 825 826
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
827 828 829 830 831 832
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

833 834 835
config IRQ_TXX9
	bool

836 837 838
config IRQ_GT641XX
	bool

839 840 841
config IRQ_GIC
	bool

Linus Torvalds's avatar
Linus Torvalds committed
842 843 844
config MIPS_BOARDS_GEN
	bool

845
config PCI_GT64XXX_PCI0
Linus Torvalds's avatar
Linus Torvalds committed
846 847
	bool

Marc St-Jean's avatar
Marc St-Jean committed
848 849 850
config NO_EXCEPT_FILL
	bool

851 852 853 854
config MIPS_RM9122
	bool
	select SERIAL_RM9000

855 856 857 858 859 860 861 862
config PNX8550
	bool
	select SOC_PNX8550

config SOC_PNX8550
	bool
	select DMA_NONCOHERENT
	select HW_HAS_PCI
863
	select SYS_HAS_CPU_MIPS32_R1
864
	select SYS_HAS_EARLY_PRINTK
865
	select SYS_SUPPORTS_32BIT_KERNEL
866
	select GENERIC_HARDIRQS_NO__DO_IRQ
867
	select GENERIC_GPIO
868

Linus Torvalds's avatar
Linus Torvalds committed
869 870 871
config SWAP_IO_SPACE
	bool

872 873 874 875 876
config EMMA2RH
	bool
	depends on MARKEINS
	default y

877 878 879
config SERIAL_RM9000
	bool

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
880 881 882 883 884 885
config SGI_HAS_DS1286
	bool

config SGI_HAS_INDYDOG
	bool

886 887 888
config SGI_HAS_HAL2
	bool

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
889 890 891 892 893 894 895 896 897 898 899 900 901 902 903
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

904 905 906
config ARC32
	bool

907 908 909
config SNIPROM
	bool

Linus Torvalds's avatar
Linus Torvalds committed
910 911 912 913 914
config BOOT_ELF32
	bool

config MIPS_L1_CACHE_SHIFT
	int
915
	default "4" if MACH_DECSTATION || MIKROTIK_RB532
916
	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM
Marc St-Jean's avatar
Marc St-Jean committed
917
	default "4" if PMC_MSP4200_EVAL
Linus Torvalds's avatar
Linus Torvalds committed
918 919 920 921 922 923 924
	default "5"

config HAVE_STD_PC_SERIAL_PORT
	bool

config ARC_CONSOLE
	bool "ARC console support"
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
925
	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds's avatar
Linus Torvalds committed
926 927 928

config ARC_MEMORY
	bool
929
	depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
930 931 932 933
	default y

config ARC_PROMLIB
	bool
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
934
	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
935 936 937 938 939 940 941 942 943 944 945 946 947 948
	default y

config ARC64
	bool

config BOOT_ELF64
	bool

menu "CPU selection"

choice
	prompt "CPU type"
	default CPU_R4X00

949 950 951 952 953 954 955 956 957 958
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.

959 960
config CPU_MIPS32_R1
	bool "MIPS32 Release 1"
961
	depends on SYS_HAS_CPU_MIPS32_R1
962
	select CPU_HAS_LLSC
963
	select CPU_HAS_PREFETCH
964
	select CPU_SUPPORTS_32BIT_KERNEL
965
	select CPU_SUPPORTS_HIGHMEM
Ralf Baechle's avatar
Ralf Baechle committed
966
	help
967
	  Choose this option to build a kernel for release 1 or later of the
Ralf Baechle's avatar
Ralf Baechle committed
968 969 970 971 972 973 974 975 976 977 978
	  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"