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

12 13
mainmenu "Linux/MIPS Kernel Configuration"

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

16 17 18
config ZONE_DMA
	bool

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

23 24
config MACH_ALCHEMY
	bool "Alchemy processor based machines"
25
	select SYS_SUPPORTS_ZBOOT
Linus Torvalds's avatar
Linus Torvalds committed
26

27 28 29 30 31 32 33 34 35 36 37 38 39
config AR7
	bool "Texas Instruments AR7"
	select BOOT_ELF32
	select DMA_NONCOHERENT
	select CEVT_R4K
	select CSRC_R4K
	select IRQ_CPU
	select NO_EXCEPT_FILL
	select SWAP_IO_SPACE
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_EARLY_PRINTK
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
40
	select SYS_SUPPORTS_ZBOOT_UART16550
41 42 43 44 45 46 47
	select GENERIC_GPIO
	select GCD
	select VLYNQ
	help
	  Support for the Texas Instruments AR7 System-on-a-Chip
	  family: TNETD7100, 7200 and 7300.

48
config BASLER_EXCITE
49
	bool "Basler eXcite smart camera"
50
	select CEVT_R4K
51
	select CSRC_R4K
52 53 54 55 56
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
57
	select MIPS_RM9122
58 59 60 61 62
	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
63
	  Basler Vision Technologies AG.
64

65 66
config BCM47XX
	bool "BCM47XX based boards"
67
	select CEVT_R4K
68
	select CSRC_R4K
69 70 71 72 73 74 75 76
	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
77
	select SSB_DRIVER_EXTIF
78
	select SSB_EMBEDDED
79
	select SSB_PCICORE_HOSTMODE if PCI
80
	select GENERIC_GPIO
81 82
	select SYS_HAS_EARLY_PRINTK
	select CFE
83 84 85
	help
	 Support for BCM47XX based boards

86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
config BCM63XX
	bool "Broadcom BCM63XX based boards"
	select CEVT_R4K
	select CSRC_R4K
	select DMA_NONCOHERENT
	select IRQ_CPU
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_HAS_EARLY_PRINTK
	select SWAP_IO_SPACE
	select ARCH_REQUIRE_GPIOLIB
	help
	 Support for BCM63XX based boards

Linus Torvalds's avatar
Linus Torvalds committed
101
config MIPS_COBALT
102
	bool "Cobalt Server"
103
	select CEVT_R4K
104
	select CSRC_R4K
105
	select CEVT_GT641XX
Linus Torvalds's avatar
Linus Torvalds committed
106 107
	select DMA_NONCOHERENT
	select HW_HAS_PCI
108
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
109 110
	select I8259
	select IRQ_CPU
111
	select IRQ_GT641XX
112
	select PCI_GT64XXX_PCI0
113
	select PCI
114
	select SYS_HAS_CPU_NEVADA
Yoichi Yuasa's avatar
Yoichi Yuasa committed
115
	select SYS_HAS_EARLY_PRINTK
116
	select SYS_SUPPORTS_32BIT_KERNEL
117
	select SYS_SUPPORTS_64BIT_KERNEL
118
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
119 120

config MACH_DECSTATION
121
	bool "DECstations"
Linus Torvalds's avatar
Linus Torvalds committed
122
	select BOOT_ELF32
123
	select CEVT_DS1287
124
	select CEVT_R4K
125
	select CSRC_IOASIC
126
	select CSRC_R4K
127 128 129
	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
130
	select DMA_NONCOHERENT
131
	select NO_IOPORT
Linus Torvalds's avatar
Linus Torvalds committed
132
	select IRQ_CPU
133 134
	select SYS_HAS_CPU_R3000
	select SYS_HAS_CPU_R4X00
135 136
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
137
	select SYS_SUPPORTS_LITTLE_ENDIAN
138 139 140
	select SYS_SUPPORTS_128HZ
	select SYS_SUPPORTS_256HZ
	select SYS_SUPPORTS_1024HZ
141
	help
Linus Torvalds's avatar
Linus Torvalds committed
142 143 144 145 146 147 148
	  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:

149 150 151 152
		DECstation 5000/50
		DECstation 5000/150
		DECstation 5000/260
		DECsystem 5900/260
Linus Torvalds's avatar
Linus Torvalds committed
153 154 155

	  otherwise choose R3000.

156
config MACH_JAZZ
157
	bool "Jazz family of machines"
158 159 160
	select ARC
	select ARC32
	select ARCH_MAY_HAVE_PC_FDC
161
	select CEVT_R4K
162
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
163
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
164
	select GENERIC_ISA_DMA
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
165
	select IRQ_CPU
166
	select I8253
167 168
	select I8259
	select ISA
169
	select SYS_HAS_CPU_R4X00
170 171
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
172
	select SYS_SUPPORTS_100HZ
Linus Torvalds's avatar
Linus Torvalds committed
173
	help
174 175
	 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.
176
	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
177 178
	 Olivetti M700-10 workstations.

179 180
config LASAT
	bool "LASAT Networks platforms"
181
	select CEVT_R4K
182
	select CSRC_R4K
183 184 185
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
186
	select IRQ_CPU
187 188 189 190 191 192 193 194
	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

195 196
config MACH_LOONGSON
	bool "Loongson family of machines"
197
	select SYS_SUPPORTS_ZBOOT_UART16550
198
	help
199 200 201 202 203 204
	  This enables the support of Loongson family of machines.

	  Loongson is a family of general-purpose MIPS-compatible CPUs.
	  developed at Institute of Computing Technology (ICT),
	  Chinese Academy of Sciences (CAS) in the People's Republic
	  of China. The chief architect is Professor Weiwu Hu.
205

Linus Torvalds's avatar
Linus Torvalds committed
206
config MIPS_MALTA
207
	bool "MIPS Malta board"
208
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
209
	select BOOT_ELF32
210
	select BOOT_RAW
211
	select CEVT_R4K
212
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
213 214
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
215
	select IRQ_CPU
216
	select IRQ_GIC
Linus Torvalds's avatar
Linus Torvalds committed
217
	select HW_HAS_PCI
218
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
219
	select I8259
220 221
	select MIPS_BOARDS_GEN
	select MIPS_BONITO64
222
	select MIPS_CPU_SCACHE
223
	select PCI_GT64XXX_PCI0
224
	select MIPS_MSC
Linus Torvalds's avatar
Linus Torvalds committed
225
	select SWAP_IO_SPACE
226 227 228 229 230
	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
231
	select SYS_HAS_EARLY_PRINTK
232 233
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
234 235
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Tim Anderson's avatar
Tim Anderson committed
236
	select SYS_SUPPORTS_MIPS_CMP
237
	select SYS_SUPPORTS_MULTITHREADING
238
	select SYS_SUPPORTS_SMARTMIPS
239
	select SYS_SUPPORTS_ZBOOT
Linus Torvalds's avatar
Linus Torvalds committed
240
	help
241
	  This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds's avatar
Linus Torvalds committed
242 243
	  board.

244
config MIPS_SIM
245
	bool 'MIPS simulator (MIPSsim)'
246
	select CEVT_R4K
247
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
248
	select DMA_NONCOHERENT
249
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
250
	select IRQ_CPU
Marc St-Jean's avatar
Marc St-Jean committed
251
	select BOOT_RAW
252 253
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
254
	select SYS_HAS_EARLY_PRINTK
255
	select SYS_SUPPORTS_32BIT_KERNEL
256
	select SYS_SUPPORTS_BIG_ENDIAN
257
	select SYS_SUPPORTS_MULTITHREADING
258
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
259
	help
260 261
	  This option enables support for MIPS Technologies MIPSsim software
	  emulator.
Linus Torvalds's avatar
Linus Torvalds committed
262

263 264 265 266 267 268
config NEC_MARKEINS
	bool "NEC EMMA2RH Mark-eins board"
	select SOC_EMMA2RH
	select HW_HAS_PCI
	help
	  This enables support for the NEC Electronics Mark-eins boards.
269

270
config MACH_VR41XX
271
	bool "NEC VR4100 series based machines"
272
	select CEVT_R4K
273
	select CSRC_R4K
274
	select SYS_HAS_CPU_VR41XX
275
	select ARCH_REQUIRE_GPIOLIB
276

277 278 279 280 281 282 283 284 285 286 287 288 289
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.

290
config PNX8550_JBS
291
	bool "NXP PNX8550 based JBS board"
292 293 294 295
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
296
	bool "NXP PNX8550 based STB810 board"
297 298 299
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
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.

320
config PMC_YOSEMITE
321
	bool "PMC-Sierra Yosemite eval board"
322
	select CEVT_R4K
323
	select CSRC_R4K
324 325 326 327 328 329
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
330
	select SYS_HAS_CPU_RM9000
331
	select SYS_HAS_EARLY_PRINTK
332 333 334 335
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
336
	select SYS_SUPPORTS_SMP
337 338 339
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
340

341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358
config POWERTV
	bool "Cisco PowerTV"
	select BOOT_ELF32
	select CEVT_R4K
	select CPU_MIPSR2_IRQ_VI
	select CPU_MIPSR2_IRQ_EI
	select CSRC_POWERTV
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select SYS_HAS_EARLY_PRINTK
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select USB_OHCI_LITTLE_ENDIAN
	help
	  This enables support for the Cisco PowerTV Platform.

Linus Torvalds's avatar
Linus Torvalds committed
359
config SGI_IP22
360
	bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds's avatar
Linus Torvalds committed
361 362 363
	select ARC
	select ARC32
	select BOOT_ELF32
364
	select CEVT_R4K
365
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
366
	select DEFAULT_SGI_PARTITION
Linus Torvalds's avatar
Linus Torvalds committed
367
	select DMA_NONCOHERENT
368
	select HW_HAS_EISA
369
	select I8253
370
	select I8259
Linus Torvalds's avatar
Linus Torvalds committed
371 372
	select IP22_CPU_SCACHE
	select IRQ_CPU
373
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
374 375
	select SGI_HAS_I8042
	select SGI_HAS_INDYDOG
376
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
377 378 379
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
Linus Torvalds's avatar
Linus Torvalds committed
380
	select SWAP_IO_SPACE
381 382
	select SYS_HAS_CPU_R4X00
	select SYS_HAS_CPU_R5000
383 384 385 386 387 388 389 390
	#
	# Disable EARLY_PRINTK for now since it leads to overwritten prom
	# memory during early boot on some machines.
	#
	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
	# for a more details discussion
	#
	# select SYS_HAS_EARLY_PRINTK
391 392
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
393
	select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
394 395 396 397 398 399
	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
400
	bool "SGI IP27 (Origin200/2000)"
Linus Torvalds's avatar
Linus Torvalds committed
401 402
	select ARC
	select ARC64
403
	select BOOT_ELF64
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
404
	select DEFAULT_SGI_PARTITION
405
	select DMA_COHERENT
406
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
407
	select HW_HAS_PCI
408
	select NR_CPUS_DEFAULT_64
409
	select SYS_HAS_CPU_R10000
410
	select SYS_SUPPORTS_64BIT_KERNEL
411
	select SYS_SUPPORTS_BIG_ENDIAN
412
	select SYS_SUPPORTS_NUMA
413
	select SYS_SUPPORTS_SMP
Linus Torvalds's avatar
Linus Torvalds committed
414 415 416 417 418
	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
419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435
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
436
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
437 438 439 440 441
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
	select SWAP_IO_SPACE
	select SYS_HAS_CPU_R10000
442 443 444 445 446 447 448 449
	#
	# Disable EARLY_PRINTK for now since it leads to overwritten prom
	# memory during early boot on some machines.
	#
	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
	# for a more details discussion
	#
	# select SYS_HAS_EARLY_PRINTK
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
450 451 452 453 454 455
	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
456
config SGI_IP32
457
	bool "SGI IP32 (O2)"
Linus Torvalds's avatar
Linus Torvalds committed
458 459 460
	select ARC
	select ARC32
	select BOOT_ELF32
461
	select CEVT_R4K
462
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
463 464
	select DMA_NONCOHERENT
	select HW_HAS_PCI
465
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
466 467
	select R5000_CPU_SCACHE
	select RM7000_CPU_SCACHE
468 469 470
	select SYS_HAS_CPU_R5000
	select SYS_HAS_CPU_R10000 if BROKEN
	select SYS_HAS_CPU_RM7000
471
	select SYS_HAS_CPU_NEVADA
472
	select SYS_SUPPORTS_64BIT_KERNEL
473 474
	select SYS_SUPPORTS_BIG_ENDIAN
	help
475
	  If you want this kernel to run on SGI O2 workstation, say Y here.
Linus Torvalds's avatar
Linus Torvalds committed
476

477 478 479
config SIBYTE_CRHINE
	bool "Sibyte BCM91120C-CRhine"
	depends on EXPERIMENTAL
Andrew Isaacson's avatar
Andrew Isaacson committed
480 481
	select BOOT_ELF32
	select DMA_COHERENT
482
	select SIBYTE_BCM1120
Andrew Isaacson's avatar
Andrew Isaacson committed
483
	select SWAP_IO_SPACE
484
	select SYS_HAS_CPU_SB1
Andrew Isaacson's avatar
Andrew Isaacson committed
485 486 487
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN

488 489 490
config SIBYTE_CARMEL
	bool "Sibyte BCM91120x-Carmel"
	depends on EXPERIMENTAL
491
	select BOOT_ELF32
Linus Torvalds's avatar
Linus Torvalds committed
492
	select DMA_COHERENT
493
	select SIBYTE_BCM1120
494
	select SWAP_IO_SPACE
495
	select SYS_HAS_CPU_SB1
496
	select SYS_SUPPORTS_BIG_ENDIAN
497
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
498

499 500
config SIBYTE_CRHONE
	bool "Sibyte BCM91125C-CRhone"
501 502 503
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
504
	select SIBYTE_BCM1125
505
	select SWAP_IO_SPACE
506
	select SYS_HAS_CPU_SB1
507
	select SYS_SUPPORTS_BIG_ENDIAN
508
	select SYS_SUPPORTS_HIGHMEM
509
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
510

511
config SIBYTE_RHONE
512
	bool "Sibyte BCM91125E-Rhone"
513 514 515 516 517
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
	select SIBYTE_BCM1125H
	select SWAP_IO_SPACE
518
	select SYS_HAS_CPU_SB1
519 520
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
521

522 523
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
524
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
525
	select DMA_COHERENT
526 527
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
528
	select SWAP_IO_SPACE
529
	select SYS_HAS_CPU_SB1
530
	select SYS_SUPPORTS_BIG_ENDIAN
531
	select SYS_SUPPORTS_HIGHMEM
Pete Popov's avatar
Pete Popov committed
532
	select SYS_SUPPORTS_LITTLE_ENDIAN
533
	select ZONE_DMA32 if 64BIT
Pete Popov's avatar
Pete Popov committed
534

535 536
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
537 538 539
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
540
	select NR_CPUS_DEFAULT_2
541 542
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
543
	select SYS_HAS_CPU_SB1
544 545 546
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
547

548 549
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
550 551 552
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
553
	select NR_CPUS_DEFAULT_2
554 555
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
556
	select SYS_HAS_CPU_SB1
557 558
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
559

560 561
config SIBYTE_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
562 563
	select BOOT_ELF32
	select DMA_COHERENT
564 565
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
566
	select SWAP_IO_SPACE
567
	select SYS_HAS_CPU_SB1
568
	select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle's avatar
Ralf Baechle committed
569
	select SYS_SUPPORTS_HIGHMEM
570
	select SYS_SUPPORTS_LITTLE_ENDIAN
571
	select ZONE_DMA32 if 64BIT
Linus Torvalds's avatar
Linus Torvalds committed
572

573 574
config SNI_RM
	bool "SNI RM200/300/400"
575 576
	select ARC if CPU_LITTLE_ENDIAN
	select ARC32 if CPU_LITTLE_ENDIAN
577
	select SNIPROM if CPU_BIG_ENDIAN
578
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
579
	select BOOT_ELF32
580
	select CEVT_R4K
581
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
582
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
583 584
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
585
	select HW_HAS_EISA
Linus Torvalds's avatar
Linus Torvalds committed
586
	select HW_HAS_PCI
587
	select IRQ_CPU
588
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
589 590
	select I8259
	select ISA
591
	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
592
	select SYS_HAS_CPU_R4X00
593
	select SYS_HAS_CPU_R5000
594
	select SYS_HAS_CPU_R10000
595
	select R5000_CPU_SCACHE
596
	select SYS_HAS_EARLY_PRINTK
597 598
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
599
	select SYS_SUPPORTS_BIG_ENDIAN
600
	select SYS_SUPPORTS_HIGHMEM
601
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
602
	help
603 604
	  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
605 606 607
	  Technology and now in turn merged with Fujitsu.  Say Y here to
	  support this machine type.

608 609
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
610

611 612
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
613

614 615 616 617 618 619 620 621 622 623 624 625
config MIKROTIK_RB532
	bool "Mikrotik RB532 boards"
	select CEVT_R4K
	select CSRC_R4K
	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 SWAP_IO_SPACE
	select BOOT_RAW
626
	select ARCH_REQUIRE_GPIOLIB
627 628 629 630
	help
	  Support the Mikrotik(tm) RouterBoard 532 series,
	  based on the IDT RC32434 SoC.

631 632
config WR_PPMC
	bool "Wind River PPMC board"
633
	select CEVT_R4K
634
	select CSRC_R4K
635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653
	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.

654
config CAVIUM_OCTEON_SIMULATOR
655
	bool "Cavium Networks Octeon Simulator"
656 657 658 659 660 661
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
662
	select SYS_SUPPORTS_HOTPLUG_CPU
663
	select SYS_HAS_CPU_CAVIUM_OCTEON
664 665 666 667 668 669
	help
	  The Octeon simulator is software performance model of the Cavium
	  Octeon Processor. It supports simulating Octeon processors on x86
	  hardware.

config CAVIUM_OCTEON_REFERENCE_BOARD
670
	bool "Cavium Networks Octeon reference board"
671 672 673 674 675 676
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
677
	select SYS_SUPPORTS_HOTPLUG_CPU
678
	select SYS_HAS_EARLY_PRINTK
679
	select SYS_HAS_CPU_CAVIUM_OCTEON
680
	select SWAP_IO_SPACE
681 682
	select HW_HAS_PCI
	select ARCH_SUPPORTS_MSI
683 684 685 686 687 688 689 690 691 692 693 694 695
	help
	  This option supports all of the Octeon reference boards from Cavium
	  Networks. It builds a kernel that dynamically determines the Octeon
	  CPU type and supports all known board reference implementations.
	  Some of the supported boards are:
		EBT3000
		EBH3000
		EBH3100
		Thunder
		Kodama
		Hikari
	  Say Y here for most Octeon reference boards.

696
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
697

Ralf Baechle's avatar
Ralf Baechle committed
698
source "arch/mips/alchemy/Kconfig"
699
source "arch/mips/basler/excite/Kconfig"
700
source "arch/mips/bcm63xx/Kconfig"
701
source "arch/mips/jazz/Kconfig"
702
source "arch/mips/lasat/Kconfig"
703
source "arch/mips/pmc-sierra/Kconfig"
704
source "arch/mips/powertv/Kconfig"
705
source "arch/mips/sgi-ip27/Kconfig"
706
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
707
source "arch/mips/txx9/Kconfig"
708
source "arch/mips/vr41xx/Kconfig"
709
source "arch/mips/cavium-octeon/Kconfig"
710
source "arch/mips/loongson/Kconfig"
711

712 713
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
714 715 716 717 718 719 720
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

721 722 723 724 725 726 727 728
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

729 730 731 732
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

733 734 735 736 737 738 739 740
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
741 742 743 744
config GENERIC_CALIBRATE_DELAY
	bool
	default y

745 746 747 748
config GENERIC_CLOCKEVENTS
	bool
	default y

749 750 751 752
config GENERIC_TIME
	bool
	default y

753 754 755 756
config GENERIC_CMOS_UPDATE
	bool
	default y

757
config SCHED_OMIT_FRAME_POINTER
758 759 760
	bool
	default y

761
config GENERIC_HARDIRQS_NO__DO_IRQ
762
	def_bool y
763

Linus Torvalds's avatar
Linus Torvalds committed
764 765 766 767 768 769
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

770 771 772
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
773 774 775
config BOOT_RAW
	bool

776 777 778
config CEVT_BCM1480
	bool

779 780 781
config CEVT_DS1287
	bool

782 783 784
config CEVT_GT641XX
	bool

785 786 787
config CEVT_R4K_LIB
	bool

788
config CEVT_R4K
789
	select CEVT_R4K_LIB
790 791
	bool

792 793 794
config CEVT_SB1250
	bool

795 796 797
config CEVT_TXX9
	bool

798 799 800
config CSRC_BCM1480
	bool

801 802 803
config CSRC_IOASIC
	bool

804 805 806
config CSRC_POWERTV
	bool

807 808 809
config CSRC_R4K_LIB
	bool

810
config CSRC_R4K
811
	select CSRC_R4K_LIB
812 813
	bool

814 815 816
config CSRC_SB1250
	bool

817 818
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
819
	select ARCH_REQUIRE_GPIOLIB
820 821
	bool

822 823 824
config CFE
	bool

825
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
826 827
	bool

828 829 830 831 832
config DMA_NONCOHERENT
	bool
	select DMA_NEED_PCI_MAP_STATE

config DMA_NEED_PCI_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
833 834 835
	bool

config EARLY_PRINTK
836 837 838 839 840 841 842 843
	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
844 845 846
	  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,
847 848 849
	  unless you want to debug such a crash.

config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
850 851
	bool

852
config HOTPLUG_CPU
853 854 855 856 857 858 859 860 861 862
	bool "Support for hot-pluggable CPUs"
	depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
	help
	  Say Y here to allow turning CPUs off and on. CPUs can be
	  controlled through /sys/devices/system/cpu.
	  (Note: power management support will enable this option
	    automatically on SMP systems. )
	  Say N if you want to disable CPU hotplug.

config SYS_SUPPORTS_HOTPLUG_CPU
863 864
	bool

Linus Torvalds's avatar
Linus Torvalds committed
865 866 867 868 869 870 871 872 873
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

874 875 876
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
877 878 879
config MIPS_DISABLE_OBSOLETE_IDE
	bool

880 881 882
config SYNC_R4K
	bool

883 884 885
config NO_IOPORT
	def_bool n

886 887 888 889
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

890 891
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
892
	select GENERIC_ISA_DMA
893

Yoichi Yuasa's avatar
Yoichi Yuasa committed
894 895 896
config GENERIC_GPIO
	bool

897
#
Matt LaPlante's avatar
Matt LaPlante committed
898
# Endianess selection.  Sufficiently obscure so many users don't know what to
899 900 901 902 903
# 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
904 905
	help
	  Some MIPS machines can be configured for either little or big endian
906
	  byte order. These modes require different kernels and a different
Matt LaPlante's avatar
Matt LaPlante committed
907
	  Linux distribution.  In general there is one preferred byteorder for a
908
	  particular system but some systems are just as commonly used in the
909
	  one or the other endianness.
910 911 912 913 914 915 916 917 918 919 920 921

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

922 923 924
config SYS_SUPPORTS_APM_EMULATION
	bool

925 926 927 928 929
config SYS_SUPPORTS_BIG_ENDIAN
	bool

config SYS_SUPPORTS_LITTLE_ENDIAN
	bool
Linus Torvalds's avatar
Linus Torvalds committed
930

931 932 933 934 935
config SYS_SUPPORTS_HUGETLBFS
	bool
	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
	default y

Linus Torvalds's avatar
Linus Torvalds committed
936 937 938 939 940 941
config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

942 943 944
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
945 946 947 948 949 950
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

951 952 953
config IRQ_TXX9
	bool

954 955 956
config IRQ_GT641XX
	bool

957 958 959
config IRQ_GIC
	bool