Kconfig 47.1 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
	select SSB_DRIVER_EXTIF
55
	select SSB_EMBEDDED
56
	select SSB_PCICORE_HOSTMODE if PCI
57
	select GENERIC_GPIO
58 59
	select SYS_HAS_EARLY_PRINTK
	select CFE
60 61 62
	help
	 Support for BCM47XX based boards

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

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

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

	  otherwise choose R3000.

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

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

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

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

241 242
config MACH_EMMA
	bool "NEC EMMA series based machines"
243

244
config MACH_VR41XX
245
	bool "NEC VR4100 series based machines"
246
	select CEVT_R4K
247
	select CSRC_R4K
248
	select SYS_HAS_CPU_VR41XX
249
	select GENERIC_HARDIRQS_NO__DO_IRQ
250

251 252 253 254 255 256 257 258 259 260 261 262 263
config NXP_STB220
	bool "NXP STB220 board"
	select SOC_PNX833X
	help
	 Support for NXP Semiconductors STB220 Development Board.

config NXP_STB225
	bool "NXP 225 board"
	select SOC_PNX833X
	select SOC_PNX8335
	help
	 Support for NXP Semiconductors STB225 Development Board.

264
config PNX8550_JBS
265
	bool "NXP PNX8550 based JBS board"
266 267 268 269
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
270
	bool "NXP PNX8550 based STB810 board"
271 272 273
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

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

294
config PMC_YOSEMITE
295
	bool "PMC-Sierra Yosemite eval board"
296
	select CEVT_R4K
297
	select CSRC_R4K
298 299 300 301 302 303
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
304
	select SYS_HAS_CPU_RM9000
305
	select SYS_HAS_EARLY_PRINTK
306 307 308 309
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
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
	select SGI_HAS_I8042
	select SGI_HAS_INDYDOG
332
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
333 334 335
	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_NUMA
362
	select SYS_SUPPORTS_SMP
363
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
364 365 366 367 368
	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
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_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
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
570
	select ARCH_REQUIRE_GPIOLIB
571 572 573 574
	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

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

611 612
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
613 614 615 616 617 618 619
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

620 621 622 623 624 625 626 627
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

628 629 630 631
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

632 633 634 635 636 637 638 639
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
640 641 642 643
config GENERIC_CALIBRATE_DELAY
	bool
	default y

644 645 646 647
config GENERIC_CLOCKEVENTS
	bool
	default y

648 649 650 651
config GENERIC_TIME
	bool
	default y

652 653 654 655
config GENERIC_CMOS_UPDATE
	bool
	default y

656 657 658 659
config SCHED_NO_NO_OMIT_FRAME_POINTER
	bool
	default y

660 661 662 663
config GENERIC_HARDIRQS_NO__DO_IRQ
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
664 665 666 667 668 669
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

670 671 672
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
673 674 675
config BOOT_RAW
	bool

676 677 678
config CEVT_BCM1480
	bool

679 680 681
config CEVT_DS1287
	bool

682 683 684
config CEVT_GT641XX
	bool

685 686 687
config CEVT_R4K
	bool

688 689 690
config CEVT_SB1250
	bool

691 692 693
config CEVT_TXX9
	bool

694 695 696
config CSRC_BCM1480
	bool

697 698 699
config CSRC_IOASIC
	bool

700 701 702
config CSRC_R4K
	bool

703 704 705
config CSRC_SB1250
	bool

706 707
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
708
	select ARCH_REQUIRE_GPIOLIB
709 710
	bool

711 712 713
config CFE
	bool

714
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
715 716
	bool

717
config DMA_IP27
Linus Torvalds's avatar
Linus Torvalds committed
718 719
	bool

720 721 722 723 724
config DMA_NONCOHERENT
	bool
	select DMA_NEED_PCI_MAP_STATE

config DMA_NEED_PCI_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
725 726 727
	bool

config EARLY_PRINTK
728 729 730 731 732 733 734 735
	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
736 737 738
	  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,
739 740 741
	  unless you want to debug such a crash.

config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
742 743
	bool

744 745 746 747
config HOTPLUG_CPU
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
748 749 750 751 752 753 754 755 756
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

757 758 759
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
760 761 762
config MIPS_DISABLE_OBSOLETE_IDE
	bool

763 764 765
config SYNC_R4K
	bool

766 767 768
config NO_IOPORT
	def_bool n

769 770 771 772
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

773 774
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
775
	select GENERIC_ISA_DMA
776

Yoichi Yuasa's avatar
Yoichi Yuasa committed
777 778 779
config GENERIC_GPIO
	bool

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

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

805 806 807
config SYS_SUPPORTS_APM_EMULATION
	bool

808 809 810 811 812
config SYS_SUPPORTS_BIG_ENDIAN
	bool

config SYS_SUPPORTS_LITTLE_ENDIAN
	bool
Linus Torvalds's avatar
Linus Torvalds committed
813 814 815 816 817 818 819

config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

820 821 822
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
823 824 825 826 827 828
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

829 830 831
config IRQ_TXX9
	bool

832 833 834
config IRQ_GT641XX
	bool

835 836 837
config IRQ_GIC
	bool

Linus Torvalds's avatar
Linus Torvalds committed
838 839 840
config MIPS_BOARDS_GEN
	bool

841
config PCI_GT64XXX_PCI0
Linus Torvalds's avatar
Linus Torvalds committed
842 843
	bool

Marc St-Jean's avatar
Marc St-Jean committed
844 845 846
config NO_EXCEPT_FILL
	bool

847 848 849 850
config MIPS_RM9122
	bool
	select SERIAL_RM9000

851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868
config SOC_PNX833X
	bool
	select CEVT_R4K
	select CSRC_R4K
	select IRQ_CPU
	select DMA_NONCOHERENT
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_SUPPORTS_BIG_ENDIAN
	select GENERIC_HARDIRQS_NO__DO_IRQ
	select GENERIC_GPIO
	select CPU_MIPSR2_IRQ_VI

config SOC_PNX8335
	bool
	select SOC_PNX833X

869 870 871 872 873 874 875 876
config PNX8550
	bool
	select SOC_PNX8550

config SOC_PNX8550
	bool
	select DMA_NONCOHERENT
	select HW_HAS_PCI
877
	select SYS_HAS_CPU_MIPS32_R1
878
	select SYS_HAS_EARLY_PRINTK
879
	select SYS_SUPPORTS_32BIT_KERNEL
880
	select GENERIC_HARDIRQS_NO__DO_IRQ
881
	select GENERIC_GPIO
882

Linus Torvalds's avatar
Linus Torvalds committed
883 884 885
config SWAP_IO_SPACE
	bool

886 887 888 889 890
config EMMA2RH
	bool
	depends on MARKEINS
	default y

891 892 893
config SERIAL_RM9000
	bool

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
894 895 896
config SGI_HAS_INDYDOG
	bool

897 898 899
config SGI_HAS_HAL2
	bool

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
900 901 902 903 904 905 906 907 908 909 910 911 912 913 914
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

915 916 917
config ARC32
	bool

918 919 920
config SNIPROM
	bool

Linus Torvalds's avatar
Linus Torvalds committed
921 922 923 924 925
config BOOT_ELF32
	bool

config MIPS_L1_CACHE_SHIFT
	int
926
	default "4" if MACH_DECSTATION || MIKROTIK_RB532
927
	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM
Marc St-Jean's avatar
Marc St-Jean committed
928
	default "4" if PMC_MSP4200_EVAL
Linus Torvalds's avatar
Linus Torvalds committed
929 930 931 932 933 934 935
	default "5"

config HAVE_STD_PC_SERIAL_PORT
	bool

config ARC_CONSOLE
	bool "ARC console support"
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
936
	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds's avatar
Linus Torvalds committed
937 938 939

config ARC_MEMORY
	bool
940
	depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
941 942 943 944
	default y

config ARC_PROMLIB
	bool
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
945
	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
946 947 948 949 950 951 952 953 954 955 956 957 958 959
	default y

config ARC64
	bool

config BOOT_ELF64
	bool

menu "CPU selection"

choice
	prompt "CPU type"
	default CPU_R4X00

960 961 962 963 964 965 966 967 968 969
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.

970 971
config CPU_MIPS32_R1
	bool "MIPS32 Release 1"
972
	depends on SYS_HAS_CPU_MIPS32_R1
973
	select CPU_HAS_LLSC
974
	select CPU_HAS_PREFETCH
975
	select CPU_SUPPORTS_32BIT_KERNEL
976
	select CPU_SUPPORTS_HIGHMEM