Kconfig 46.6 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_MIPS_CMP if BROKEN	# because SYNC_R4K is broken
215
	select SYS_SUPPORTS_MULTITHREADING
216
	select SYS_SUPPORTS_SMARTMIPS
Linus Torvalds's avatar
Linus Torvalds committed
217
	help
218
	  This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds's avatar
Linus Torvalds committed
219 220
	  board.

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

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

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

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

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

Marc St-Jean's avatar
Marc St-Jean committed
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 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_SMP
310 311 312
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
313 314

config SGI_IP22
315
	bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds's avatar
Linus Torvalds committed
316 317 318
	select ARC
	select ARC32
	select BOOT_ELF32
319
	select CEVT_R4K
320
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
321
	select DEFAULT_SGI_PARTITION
Linus Torvalds's avatar
Linus Torvalds committed
322
	select DMA_NONCOHERENT
323
	select HW_HAS_EISA
324
	select I8253
325
	select I8259
Linus Torvalds's avatar
Linus Torvalds committed
326 327
	select IP22_CPU_SCACHE
	select IRQ_CPU
328
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
329 330 331
	select SGI_HAS_DS1286
	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 386
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
387
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
388 389 390 391 392 393 394 395 396 397 398 399
	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
	select SYS_SUPPORTS_HIGHMEM
Pete Popov's avatar
Pete Popov committed
476
	select SYS_SUPPORTS_LITTLE_ENDIAN
477
	select ZONE_DMA32 if 64BIT
Pete Popov's avatar
Pete Popov committed
478

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

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

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

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

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

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

558 559 560 561 562 563 564 565 566 567 568 569 570
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
571
	select ARCH_REQUIRE_GPIOLIB
572 573 574 575
	help
	  Support the Mikrotik(tm) RouterBoard 532 series,
	  based on the IDT RC32434 SoC.

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

599
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
600

Ralf Baechle's avatar
Ralf Baechle committed
601
source "arch/mips/alchemy/Kconfig"
602
source "arch/mips/basler/excite/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
config PNX8550
	bool
	select SOC_PNX8550

config SOC_PNX8550
	bool
	select DMA_NONCOHERENT
	select HW_HAS_PCI
859
	select SYS_HAS_CPU_MIPS32_R1
860
	select SYS_HAS_EARLY_PRINTK
861
	select SYS_SUPPORTS_32BIT_KERNEL
862
	select GENERIC_HARDIRQS_NO__DO_IRQ
863
	select GENERIC_GPIO
864

Linus Torvalds's avatar
Linus Torvalds committed
865 866 867
config SWAP_IO_SPACE
	bool

868 869 870 871 872
config EMMA2RH
	bool
	depends on MARKEINS
	default y

873 874 875
config SERIAL_RM9000
	bool

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
876 877 878 879 880 881
config SGI_HAS_DS1286
	bool

config SGI_HAS_INDYDOG
	bool

882 883 884
config SGI_HAS_HAL2
	bool

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899
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

900 901 902
config ARC32
	bool

903 904 905
config SNIPROM
	bool

Linus Torvalds's avatar
Linus Torvalds committed
906 907 908 909 910
config BOOT_ELF32
	bool

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

config HAVE_STD_PC_SERIAL_PORT
	bool

config ARC_CONSOLE
	bool "ARC console support"
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
921
	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds's avatar
Linus Torvalds committed
922 923 924

config ARC_MEMORY
	bool
925
	depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
926 927 928 929
	default y

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

config ARC64
	bool

config BOOT_ELF64
	bool

menu "CPU selection"

choice
	prompt "CPU type"
	default CPU_R4X00

945 946 947 948 949 950 951 952 953 954
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.

955 956
config CPU_MIPS32_R1
	bool "MIPS32 Release 1"
957
	depends on SYS_HAS_CPU_MIPS32_R1
958
	select CPU_HAS_LLSC
959
	select CPU_HAS_PREFETCH
960
	select CPU_SUPPORTS_32BIT_KERNEL
961
	select CPU_SUPPORTS_HIGHMEM
Ralf Baechle's avatar
Ralf Baechle committed
962
	help
963
	  Choose this option to build a kernel for release 1 or later of the
Ralf Baechle's avatar
Ralf Baechle committed
964 965 966 967 968 969 970 971 972