Kconfig 53 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
8
	select HAVE_FUNCTION_TRACER
9
	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
10 11
	select HAVE_DYNAMIC_FTRACE
	select HAVE_FTRACE_MCOUNT_RECORD
12
	select HAVE_FUNCTION_GRAPH_TRACER
David Daney's avatar
David Daney committed
13 14
	select HAVE_KPROBES
	select HAVE_KRETPROBES
15
	select RTC_LIB if !MACH_LOONGSON
Linus Torvalds's avatar
Linus Torvalds committed
16

17 18
mainmenu "Linux/MIPS Kernel Configuration"

Linus Torvalds's avatar
Linus Torvalds committed
19 20
menu "Machine selection"

21 22 23
config ZONE_DMA
	bool

24 25 26
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
27

28
config MIPS_ALCHEMY
29
	bool "Alchemy processor based machines"
30 31 32 33 34 35 36 37 38
	select 64BIT_PHYS_ADDR
	select CEVT_R4K_LIB
	select CSRC_R4K_LIB
	select IRQ_CPU
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_APM_EMULATION
	select GENERIC_GPIO
	select ARCH_WANT_OPTIONAL_GPIOLIB
39
	select SYS_SUPPORTS_ZBOOT
Linus Torvalds's avatar
Linus Torvalds committed
40

41 42 43 44 45 46 47 48 49 50 51 52 53
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
54
	select SYS_SUPPORTS_ZBOOT_UART16550
55
	select ARCH_REQUIRE_GPIOLIB
56 57 58 59 60 61
	select GCD
	select VLYNQ
	help
	  Support for the Texas Instruments AR7 System-on-a-Chip
	  family: TNETD7100, 7200 and 7300.

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

84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
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
99
config MIPS_COBALT
100
	bool "Cobalt Server"
101
	select CEVT_R4K
102
	select CSRC_R4K
103
	select CEVT_GT641XX
Linus Torvalds's avatar
Linus Torvalds committed
104 105
	select DMA_NONCOHERENT
	select HW_HAS_PCI
106
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
107 108
	select I8259
	select IRQ_CPU
109
	select IRQ_GT641XX
110
	select PCI_GT64XXX_PCI0
111
	select PCI
112
	select SYS_HAS_CPU_NEVADA
Yoichi Yuasa's avatar
Yoichi Yuasa committed
113
	select SYS_HAS_EARLY_PRINTK
114
	select SYS_SUPPORTS_32BIT_KERNEL
115
	select SYS_SUPPORTS_64BIT_KERNEL
116
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
117 118

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

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

	  otherwise choose R3000.

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

177 178 179 180 181 182 183 184 185 186 187 188
config MACH_JZ4740
	bool "Ingenic JZ4740 based machines"
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select DMA_NONCOHERENT
	select IRQ_CPU
	select GENERIC_GPIO
	select ARCH_REQUIRE_GPIOLIB
	select SYS_HAS_EARLY_PRINTK
	select HAVE_PWM

189 190
config LASAT
	bool "LASAT Networks platforms"
191
	select CEVT_R4K
192
	select CSRC_R4K
193 194 195
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
196
	select IRQ_CPU
197 198 199 200 201 202 203 204
	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

205 206
config MACH_LOONGSON
	bool "Loongson family of machines"
207
	select SYS_SUPPORTS_ZBOOT
208
	help
209 210 211 212 213 214
	  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.
215

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

254
config MIPS_SIM
255
	bool 'MIPS simulator (MIPSsim)'
256
	select CEVT_R4K
257
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
258
	select DMA_NONCOHERENT
259
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
260
	select IRQ_CPU
Marc St-Jean's avatar
Marc St-Jean committed
261
	select BOOT_RAW
262 263
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
264
	select SYS_HAS_EARLY_PRINTK
265
	select SYS_SUPPORTS_32BIT_KERNEL
266
	select SYS_SUPPORTS_BIG_ENDIAN
267
	select SYS_SUPPORTS_MULTITHREADING
268
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
269
	help
270 271
	  This option enables support for MIPS Technologies MIPSsim software
	  emulator.
Linus Torvalds's avatar
Linus Torvalds committed
272

273 274 275 276 277 278
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.
279

280
config MACH_VR41XX
281
	bool "NEC VR4100 series based machines"
282
	select CEVT_R4K
283
	select CSRC_R4K
284
	select SYS_HAS_CPU_VR41XX
285
	select ARCH_REQUIRE_GPIOLIB
286

287 288 289 290 291 292 293 294 295 296 297 298 299
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.

300
config PNX8550_JBS
301
	bool "NXP PNX8550 based JBS board"
302 303 304 305
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
306
	bool "NXP PNX8550 based STB810 board"
307 308 309
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329
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.

330
config PMC_YOSEMITE
331
	bool "PMC-Sierra Yosemite eval board"
332
	select CEVT_R4K
333
	select CSRC_R4K
334 335 336 337 338 339
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
340
	select SYS_HAS_CPU_RM9000
341
	select SYS_HAS_EARLY_PRINTK
342 343 344 345
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
346
	select SYS_SUPPORTS_SMP
347 348 349
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
350

351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368
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
369
config SGI_IP22
370
	bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds's avatar
Linus Torvalds committed
371 372 373
	select ARC
	select ARC32
	select BOOT_ELF32
374
	select CEVT_R4K
375
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
376
	select DEFAULT_SGI_PARTITION
Linus Torvalds's avatar
Linus Torvalds committed
377
	select DMA_NONCOHERENT
378
	select HW_HAS_EISA
379
	select I8253
380
	select I8259
Linus Torvalds's avatar
Linus Torvalds committed
381 382
	select IP22_CPU_SCACHE
	select IRQ_CPU
383
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
384 385
	select SGI_HAS_I8042
	select SGI_HAS_INDYDOG
386
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
387 388 389
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
Linus Torvalds's avatar
Linus Torvalds committed
390
	select SWAP_IO_SPACE
391 392
	select SYS_HAS_CPU_R4X00
	select SYS_HAS_CPU_R5000
393 394 395 396 397 398 399 400
	#
	# 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
401 402
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
403
	select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
404 405 406 407 408 409
	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
410
	bool "SGI IP27 (Origin200/2000)"
Linus Torvalds's avatar
Linus Torvalds committed
411 412
	select ARC
	select ARC64
413
	select BOOT_ELF64
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
414
	select DEFAULT_SGI_PARTITION
415
	select DMA_COHERENT
416
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
417
	select HW_HAS_PCI
418
	select NR_CPUS_DEFAULT_64
419
	select SYS_HAS_CPU_R10000
420
	select SYS_SUPPORTS_64BIT_KERNEL
421
	select SYS_SUPPORTS_BIG_ENDIAN
422
	select SYS_SUPPORTS_NUMA
423
	select SYS_SUPPORTS_SMP
Linus Torvalds's avatar
Linus Torvalds committed
424 425 426 427 428
	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
429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445
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
446
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
447 448 449 450 451
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
	select SWAP_IO_SPACE
	select SYS_HAS_CPU_R10000
452 453 454 455 456 457 458 459
	#
	# 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
460 461 462 463 464 465
	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
466
config SGI_IP32
467
	bool "SGI IP32 (O2)"
Linus Torvalds's avatar
Linus Torvalds committed
468 469 470
	select ARC
	select ARC32
	select BOOT_ELF32
471
	select CEVT_R4K
472
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
473 474
	select DMA_NONCOHERENT
	select HW_HAS_PCI
475
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
476 477
	select R5000_CPU_SCACHE
	select RM7000_CPU_SCACHE
478 479 480
	select SYS_HAS_CPU_R5000
	select SYS_HAS_CPU_R10000 if BROKEN
	select SYS_HAS_CPU_RM7000
481
	select SYS_HAS_CPU_NEVADA
482
	select SYS_SUPPORTS_64BIT_KERNEL
483 484
	select SYS_SUPPORTS_BIG_ENDIAN
	help
485
	  If you want this kernel to run on SGI O2 workstation, say Y here.
Linus Torvalds's avatar
Linus Torvalds committed
486

487 488 489
config SIBYTE_CRHINE
	bool "Sibyte BCM91120C-CRhine"
	depends on EXPERIMENTAL
Andrew Isaacson's avatar
Andrew Isaacson committed
490 491
	select BOOT_ELF32
	select DMA_COHERENT
492
	select SIBYTE_BCM1120
Andrew Isaacson's avatar
Andrew Isaacson committed
493
	select SWAP_IO_SPACE
494
	select SYS_HAS_CPU_SB1
Andrew Isaacson's avatar
Andrew Isaacson committed
495 496 497
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN

498 499 500
config SIBYTE_CARMEL
	bool "Sibyte BCM91120x-Carmel"
	depends on EXPERIMENTAL
501
	select BOOT_ELF32
Linus Torvalds's avatar
Linus Torvalds committed
502
	select DMA_COHERENT
503
	select SIBYTE_BCM1120
504
	select SWAP_IO_SPACE
505
	select SYS_HAS_CPU_SB1
506
	select SYS_SUPPORTS_BIG_ENDIAN
507
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
508

509 510
config SIBYTE_CRHONE
	bool "Sibyte BCM91125C-CRhone"
511 512 513
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
514
	select SIBYTE_BCM1125
515
	select SWAP_IO_SPACE
516
	select SYS_HAS_CPU_SB1
517
	select SYS_SUPPORTS_BIG_ENDIAN
518
	select SYS_SUPPORTS_HIGHMEM
519
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
520

521
config SIBYTE_RHONE
522
	bool "Sibyte BCM91125E-Rhone"
523 524 525 526 527
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
	select SIBYTE_BCM1125H
	select SWAP_IO_SPACE
528
	select SYS_HAS_CPU_SB1
529 530
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
531

532 533
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
534
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
535
	select DMA_COHERENT
536
	select HAVE_PATA_PLATFORM
537 538
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
539
	select SWAP_IO_SPACE
540
	select SYS_HAS_CPU_SB1
541
	select SYS_SUPPORTS_BIG_ENDIAN
542
	select SYS_SUPPORTS_HIGHMEM
Pete Popov's avatar
Pete Popov committed
543
	select SYS_SUPPORTS_LITTLE_ENDIAN
544
	select ZONE_DMA32 if 64BIT
Pete Popov's avatar
Pete Popov committed
545

546 547
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
548 549 550
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
551
	select HAVE_PATA_PLATFORM
552
	select NR_CPUS_DEFAULT_2
553 554
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
555
	select SYS_HAS_CPU_SB1
556 557 558
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
559

560 561
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
562 563 564
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
565
	select NR_CPUS_DEFAULT_2
566 567
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
568
	select SYS_HAS_CPU_SB1
569 570
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
571

572 573
config SIBYTE_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
574 575
	select BOOT_ELF32
	select DMA_COHERENT
576 577
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
578
	select SWAP_IO_SPACE
579
	select SYS_HAS_CPU_SB1
580
	select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle's avatar
Ralf Baechle committed
581
	select SYS_SUPPORTS_HIGHMEM
582
	select SYS_SUPPORTS_LITTLE_ENDIAN
583
	select ZONE_DMA32 if 64BIT
Linus Torvalds's avatar
Linus Torvalds committed
584

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

620 621
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
622

623 624
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
625

626 627 628 629 630 631 632 633 634 635 636 637
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
638
	select ARCH_REQUIRE_GPIOLIB
639 640 641 642
	help
	  Support the Mikrotik(tm) RouterBoard 532 series,
	  based on the IDT RC32434 SoC.

643 644
config WR_PPMC
	bool "Wind River PPMC board"
645
	select CEVT_R4K
646
	select CSRC_R4K
647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665
	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.

666
config CAVIUM_OCTEON_SIMULATOR
667
	bool "Cavium Networks Octeon Simulator"
668 669 670 671 672 673
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
674
	select SYS_SUPPORTS_HOTPLUG_CPU
675
	select SYS_HAS_CPU_CAVIUM_OCTEON
676 677 678 679 680 681
	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
682
	bool "Cavium Networks Octeon reference board"
683 684 685 686 687 688
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
689
	select SYS_SUPPORTS_HOTPLUG_CPU
690
	select SYS_HAS_EARLY_PRINTK
691
	select SYS_HAS_CPU_CAVIUM_OCTEON
692
	select SWAP_IO_SPACE
693 694
	select HW_HAS_PCI
	select ARCH_SUPPORTS_MSI
695 696 697 698 699 700 701 702 703 704 705 706 707
	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.

708
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
709

Ralf Baechle's avatar
Ralf Baechle committed
710
source "arch/mips/alchemy/Kconfig"
711
source "arch/mips/bcm63xx/Kconfig"
712
source "arch/mips/jazz/Kconfig"
713
source "arch/mips/jz4740/Kconfig"
714
source "arch/mips/lasat/Kconfig"
715
source "arch/mips/pmc-sierra/Kconfig"
716
source "arch/mips/powertv/Kconfig"
717
source "arch/mips/sgi-ip27/Kconfig"
718
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
719
source "arch/mips/txx9/Kconfig"
720
source "arch/mips/vr41xx/Kconfig"
721
source "arch/mips/cavium-octeon/Kconfig"
722
source "arch/mips/loongson/Kconfig"
723

724 725
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
726 727 728 729 730 731 732
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

733 734 735 736 737 738 739 740
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

741 742 743 744
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

745 746 747 748 749 750 751 752
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
753 754 755 756
config GENERIC_CALIBRATE_DELAY
	bool
	default y

757 758 759 760
config GENERIC_CLOCKEVENTS
	bool
	default y

761 762 763 764
config GENERIC_CMOS_UPDATE
	bool
	default y

765
config SCHED_OMIT_FRAME_POINTER
766 767 768
	bool
	default y

769
config GENERIC_HARDIRQS_NO__DO_IRQ
770
	def_bool y
771

Linus Torvalds's avatar
Linus Torvalds committed
772 773 774 775 776 777
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

778 779 780
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
781 782 783
config BOOT_RAW
	bool

784 785 786
config CEVT_BCM1480
	bool

787 788 789
config CEVT_DS1287
	bool

790 791 792
config CEVT_GT641XX
	bool

793 794 795
config CEVT_R4K_LIB
	bool

796
config CEVT_R4K
797
	select CEVT_R4K_LIB
798 799
	bool

800 801 802
config CEVT_SB1250
	bool

803 804 805
config CEVT_TXX9
	bool

806 807 808
config CSRC_BCM1480
	bool

809 810 811
config CSRC_IOASIC
	bool

812 813 814
config CSRC_POWERTV
	bool

815 816 817
config CSRC_R4K_LIB
	bool

818
config CSRC_R4K
819
	select CSRC_R4K_LIB
820 821
	bool

822 823 824
config CSRC_SB1250
	bool

825 826
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
827
	select ARCH_REQUIRE_GPIOLIB
828 829
	bool

830 831 832
config CFE
	bool

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

836 837
config DMA_NONCOHERENT
	bool
838
	select NEED_DMA_MAP_STATE
839

840
config NEED_DMA_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
841 842
	bool

843
config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
844 845
	bool

846
config HOTPLUG_CPU
847 848 849 850 851 852 853 854 855 856
	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
857 858
	bool

Linus Torvalds's avatar
Linus Torvalds committed
859 860 861 862 863 864 865 866 867
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

868 869 870
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
871 872 873
config MIPS_DISABLE_OBSOLETE_IDE
	bool

874 875 876
config SYNC_R4K
	bool

877 878 879
config NO_IOPORT
	def_bool n

880 881 882 883
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

884 885
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
886
	select GENERIC_ISA_DMA
887

Yoichi Yuasa's avatar
Yoichi Yuasa committed
888 889 890
config GENERIC_GPIO
	bool

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

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

916 917 918
config EXPORT_UASM
	bool

919 920 921
config SYS_SUPPORTS_APM_EMULATION
	bool

922 923 924 925 926
config SYS_SUPPORTS_BIG_ENDIAN
	bool

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

928 929 930 931 932
config SYS_SUPPORTS_HUGETLBFS
	bool
	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
	default y

Linus Torvalds's avatar
Linus Torvalds committed
933 934 935 936 937 938
config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

939 940 941
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
942 943 944 945 946 947
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

948 949 950
config IRQ_TXX9
	bool