Kconfig 57.6 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_IRQ_WORK
8 9
	select HAVE_PERF_EVENTS
	select PERF_USE_VMALLOC
10
	select HAVE_ARCH_KGDB
11
	select HAVE_FUNCTION_TRACER
12
	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
13 14
	select HAVE_DYNAMIC_FTRACE
	select HAVE_FTRACE_MCOUNT_RECORD
15
	select HAVE_C_RECORDMCOUNT
16
	select HAVE_FUNCTION_GRAPH_TRACER
David Daney's avatar
David Daney committed
17 18
	select HAVE_KPROBES
	select HAVE_KRETPROBES
19
	select RTC_LIB if !MACH_LOONGSON
20
	select GENERIC_ATOMIC64 if !64BIT
21 22
	select HAVE_DMA_ATTRS
	select HAVE_DMA_API_DEBUG
23 24
	select HAVE_GENERIC_HARDIRQS
	select GENERIC_IRQ_PROBE
25
	select HAVE_ARCH_JUMP_LABEL
Linus Torvalds's avatar
Linus Torvalds committed
26 27 28

menu "Machine selection"

29 30 31
config ZONE_DMA
	bool

32 33 34
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
35

36
config MIPS_ALCHEMY
37
	bool "Alchemy processor based machines"
38 39 40 41 42 43 44 45 46
	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
47
	select SYS_SUPPORTS_ZBOOT
Linus Torvalds's avatar
Linus Torvalds committed
48

49 50 51 52 53 54 55 56 57 58 59 60 61
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
62
	select SYS_SUPPORTS_ZBOOT_UART16550
63
	select ARCH_REQUIRE_GPIOLIB
64 65 66 67 68 69
	select GCD
	select VLYNQ
	help
	  Support for the Texas Instruments AR7 System-on-a-Chip
	  family: TNETD7100, 7200 and 7300.

70 71
config ATH79
	bool "Atheros AR71XX/AR724X/AR913X based boards"
Gabor Juhos's avatar
Gabor Juhos committed
72
	select ARCH_REQUIRE_GPIOLIB
73 74 75 76 77
	select BOOT_RAW
	select CEVT_R4K
	select CSRC_R4K
	select DMA_NONCOHERENT
	select IRQ_CPU
78
	select MIPS_MACHINE
79 80 81 82 83 84 85
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_HAS_EARLY_PRINTK
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	help
	  Support for the Atheros AR71XX/AR724X/AR913X SoCs.

86
config BCM47XX
87
	bool "Broadcom BCM47XX based boards"
88
	select CEVT_R4K
89
	select CSRC_R4K
90 91 92 93 94 95 96 97
	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
98
	select SSB_DRIVER_EXTIF
99
	select SSB_EMBEDDED
100
	select SSB_B43_PCI_BRIDGE if PCI
101
	select SSB_PCICORE_HOSTMODE if PCI
102
	select GENERIC_GPIO
103 104
	select SYS_HAS_EARLY_PRINTK
	select CFE
105 106 107
	help
	 Support for BCM47XX based boards

108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
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
123
config MIPS_COBALT
124
	bool "Cobalt Server"
125
	select CEVT_R4K
126
	select CSRC_R4K
127
	select CEVT_GT641XX
Linus Torvalds's avatar
Linus Torvalds committed
128 129
	select DMA_NONCOHERENT
	select HW_HAS_PCI
130
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
131 132
	select I8259
	select IRQ_CPU
133
	select IRQ_GT641XX
134
	select PCI_GT64XXX_PCI0
135
	select PCI
136
	select SYS_HAS_CPU_NEVADA
Yoichi Yuasa's avatar
Yoichi Yuasa committed
137
	select SYS_HAS_EARLY_PRINTK
138
	select SYS_SUPPORTS_32BIT_KERNEL
139
	select SYS_SUPPORTS_64BIT_KERNEL
140
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
141 142

config MACH_DECSTATION
143
	bool "DECstations"
Linus Torvalds's avatar
Linus Torvalds committed
144
	select BOOT_ELF32
145
	select CEVT_DS1287
146
	select CEVT_R4K
147
	select CSRC_IOASIC
148
	select CSRC_R4K
149 150 151
	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
152
	select DMA_NONCOHERENT
153
	select NO_IOPORT
Linus Torvalds's avatar
Linus Torvalds committed
154
	select IRQ_CPU
155 156
	select SYS_HAS_CPU_R3000
	select SYS_HAS_CPU_R4X00
157 158
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
159
	select SYS_SUPPORTS_LITTLE_ENDIAN
160 161 162
	select SYS_SUPPORTS_128HZ
	select SYS_SUPPORTS_256HZ
	select SYS_SUPPORTS_1024HZ
163
	help
Linus Torvalds's avatar
Linus Torvalds committed
164 165 166 167 168 169 170
	  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:

171 172 173 174
		DECstation 5000/50
		DECstation 5000/150
		DECstation 5000/260
		DECsystem 5900/260
Linus Torvalds's avatar
Linus Torvalds committed
175 176 177

	  otherwise choose R3000.

178
config MACH_JAZZ
179
	bool "Jazz family of machines"
180 181 182
	select ARC
	select ARC32
	select ARCH_MAY_HAVE_PC_FDC
183
	select CEVT_R4K
184
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
185
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
186
	select GENERIC_ISA_DMA
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
187
	select IRQ_CPU
188
	select I8253
189 190
	select I8259
	select ISA
191
	select SYS_HAS_CPU_R4X00
192 193
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
194
	select SYS_SUPPORTS_100HZ
Linus Torvalds's avatar
Linus Torvalds committed
195
	help
196 197
	 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.
198
	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
199 200
	 Olivetti M700-10 workstations.

201 202 203 204 205 206 207 208 209 210 211 212
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

213 214
config LASAT
	bool "LASAT Networks platforms"
215
	select CEVT_R4K
216
	select CSRC_R4K
217 218 219
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
220
	select IRQ_CPU
221 222 223 224 225 226 227 228
	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

229 230
config MACH_LOONGSON
	bool "Loongson family of machines"
231
	select SYS_SUPPORTS_ZBOOT
232
	help
233 234 235 236 237 238
	  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.
239

Linus Torvalds's avatar
Linus Torvalds committed
240
config MIPS_MALTA
241
	bool "MIPS Malta board"
242
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
243
	select BOOT_ELF32
244
	select BOOT_RAW
245
	select CEVT_R4K
246
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
247 248
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
249
	select IRQ_CPU
250
	select IRQ_GIC
Linus Torvalds's avatar
Linus Torvalds committed
251
	select HW_HAS_PCI
252
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
253
	select I8259
254 255
	select MIPS_BOARDS_GEN
	select MIPS_BONITO64
256
	select MIPS_CPU_SCACHE
257
	select PCI_GT64XXX_PCI0
258
	select MIPS_MSC
Linus Torvalds's avatar
Linus Torvalds committed
259
	select SWAP_IO_SPACE
260 261 262 263 264
	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
265
	select SYS_HAS_EARLY_PRINTK
266 267
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
268 269
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Tim Anderson's avatar
Tim Anderson committed
270
	select SYS_SUPPORTS_MIPS_CMP
271
	select SYS_SUPPORTS_MULTITHREADING
272
	select SYS_SUPPORTS_SMARTMIPS
273
	select SYS_SUPPORTS_ZBOOT
Linus Torvalds's avatar
Linus Torvalds committed
274
	help
275
	  This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds's avatar
Linus Torvalds committed
276 277
	  board.

278
config MIPS_SIM
279
	bool 'MIPS simulator (MIPSsim)'
280
	select CEVT_R4K
281
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
282
	select DMA_NONCOHERENT
283
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
284
	select IRQ_CPU
Marc St-Jean's avatar
Marc St-Jean committed
285
	select BOOT_RAW
286 287
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
288
	select SYS_HAS_EARLY_PRINTK
289
	select SYS_SUPPORTS_32BIT_KERNEL
290
	select SYS_SUPPORTS_BIG_ENDIAN
291
	select SYS_SUPPORTS_MULTITHREADING
292
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
293
	help
294 295
	  This option enables support for MIPS Technologies MIPSsim software
	  emulator.
Linus Torvalds's avatar
Linus Torvalds committed
296

297 298 299 300 301 302
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.
303

304
config MACH_VR41XX
305
	bool "NEC VR4100 series based machines"
306
	select CEVT_R4K
307
	select CSRC_R4K
308
	select SYS_HAS_CPU_VR41XX
309
	select ARCH_REQUIRE_GPIOLIB
310

311 312 313 314 315 316 317 318 319 320 321 322 323
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.

324
config PNX8550_JBS
325
	bool "NXP PNX8550 based JBS board"
326 327 328 329
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
330
	bool "NXP PNX8550 based STB810 board"
331 332 333
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
334 335 336
config PMC_MSP
	bool "PMC-Sierra MSP chipsets"
	depends on EXPERIMENTAL
337 338
	select CEVT_R4K
	select CSRC_R4K
Marc St-Jean's avatar
Marc St-Jean committed
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355
	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.

356
config PMC_YOSEMITE
357
	bool "PMC-Sierra Yosemite eval board"
358
	select CEVT_R4K
359
	select CSRC_R4K
360 361 362 363 364 365
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
366
	select SYS_HAS_CPU_RM9000
367
	select SYS_HAS_EARLY_PRINTK
368 369 370 371
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
372
	select SYS_SUPPORTS_SMP
373 374 375
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
376

377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394
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
395
config SGI_IP22
396
	bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds's avatar
Linus Torvalds committed
397 398 399
	select ARC
	select ARC32
	select BOOT_ELF32
400
	select CEVT_R4K
401
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
402
	select DEFAULT_SGI_PARTITION
Linus Torvalds's avatar
Linus Torvalds committed
403
	select DMA_NONCOHERENT
404
	select HW_HAS_EISA
405
	select I8253
406
	select I8259
Linus Torvalds's avatar
Linus Torvalds committed
407 408
	select IP22_CPU_SCACHE
	select IRQ_CPU
409
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
410 411
	select SGI_HAS_I8042
	select SGI_HAS_INDYDOG
412
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
413 414 415
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
Linus Torvalds's avatar
Linus Torvalds committed
416
	select SWAP_IO_SPACE
417 418
	select SYS_HAS_CPU_R4X00
	select SYS_HAS_CPU_R5000
419 420 421 422 423 424 425 426
	#
	# 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
427 428
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
429
	select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
430 431 432 433 434 435
	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
436
	bool "SGI IP27 (Origin200/2000)"
Linus Torvalds's avatar
Linus Torvalds committed
437 438
	select ARC
	select ARC64
439
	select BOOT_ELF64
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
440
	select DEFAULT_SGI_PARTITION
441
	select DMA_COHERENT
442
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
443
	select HW_HAS_PCI
444
	select NR_CPUS_DEFAULT_64
445
	select SYS_HAS_CPU_R10000
446
	select SYS_SUPPORTS_64BIT_KERNEL
447
	select SYS_SUPPORTS_BIG_ENDIAN
448
	select SYS_SUPPORTS_NUMA
449
	select SYS_SUPPORTS_SMP
Linus Torvalds's avatar
Linus Torvalds committed
450 451 452 453 454
	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
455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471
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
472
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
473 474 475 476 477
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
	select SWAP_IO_SPACE
	select SYS_HAS_CPU_R10000
478 479 480 481 482 483 484 485
	#
	# 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
486 487 488 489 490 491
	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
492
config SGI_IP32
493
	bool "SGI IP32 (O2)"
Linus Torvalds's avatar
Linus Torvalds committed
494 495 496
	select ARC
	select ARC32
	select BOOT_ELF32
497
	select CEVT_R4K
498
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
499 500
	select DMA_NONCOHERENT
	select HW_HAS_PCI
501
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
502 503
	select R5000_CPU_SCACHE
	select RM7000_CPU_SCACHE
504 505 506
	select SYS_HAS_CPU_R5000
	select SYS_HAS_CPU_R10000 if BROKEN
	select SYS_HAS_CPU_RM7000
507
	select SYS_HAS_CPU_NEVADA
508
	select SYS_SUPPORTS_64BIT_KERNEL
509 510
	select SYS_SUPPORTS_BIG_ENDIAN
	help
511
	  If you want this kernel to run on SGI O2 workstation, say Y here.
Linus Torvalds's avatar
Linus Torvalds committed
512

513 514 515
config SIBYTE_CRHINE
	bool "Sibyte BCM91120C-CRhine"
	depends on EXPERIMENTAL
Andrew Isaacson's avatar
Andrew Isaacson committed
516 517
	select BOOT_ELF32
	select DMA_COHERENT
518
	select SIBYTE_BCM1120
Andrew Isaacson's avatar
Andrew Isaacson committed
519
	select SWAP_IO_SPACE
520
	select SYS_HAS_CPU_SB1
Andrew Isaacson's avatar
Andrew Isaacson committed
521 522 523
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN

524 525 526
config SIBYTE_CARMEL
	bool "Sibyte BCM91120x-Carmel"
	depends on EXPERIMENTAL
527
	select BOOT_ELF32
Linus Torvalds's avatar
Linus Torvalds committed
528
	select DMA_COHERENT
529
	select SIBYTE_BCM1120
530
	select SWAP_IO_SPACE
531
	select SYS_HAS_CPU_SB1
532
	select SYS_SUPPORTS_BIG_ENDIAN
533
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
534

535 536
config SIBYTE_CRHONE
	bool "Sibyte BCM91125C-CRhone"
537 538 539
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
540
	select SIBYTE_BCM1125
541
	select SWAP_IO_SPACE
542
	select SYS_HAS_CPU_SB1
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

547
config SIBYTE_RHONE
548
	bool "Sibyte BCM91125E-Rhone"
549 550 551 552 553
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
	select SIBYTE_BCM1125H
	select SWAP_IO_SPACE
554
	select SYS_HAS_CPU_SB1
555 556
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
557

558 559
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
560
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
561
	select DMA_COHERENT
562
	select HAVE_PATA_PLATFORM
563 564
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
565
	select SWAP_IO_SPACE
566
	select SYS_HAS_CPU_SB1
567
	select SYS_SUPPORTS_BIG_ENDIAN
568
	select SYS_SUPPORTS_HIGHMEM
Pete Popov's avatar
Pete Popov committed
569
	select SYS_SUPPORTS_LITTLE_ENDIAN
570
	select ZONE_DMA32 if 64BIT
Pete Popov's avatar
Pete Popov committed
571

572 573
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
574 575 576
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
577
	select HAVE_PATA_PLATFORM
578
	select NR_CPUS_DEFAULT_2
579 580
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
581
	select SYS_HAS_CPU_SB1
582 583 584
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
585

586 587
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
588 589 590
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
591
	select NR_CPUS_DEFAULT_2
592 593
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
594
	select SYS_HAS_CPU_SB1
595 596
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
597

598 599
config SIBYTE_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
600 601
	select BOOT_ELF32
	select DMA_COHERENT
602 603
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
604
	select SWAP_IO_SPACE
605
	select SYS_HAS_CPU_SB1
606
	select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle's avatar
Ralf Baechle committed
607
	select SYS_SUPPORTS_HIGHMEM
608
	select SYS_SUPPORTS_LITTLE_ENDIAN
609
	select ZONE_DMA32 if 64BIT
Linus Torvalds's avatar
Linus Torvalds committed
610

611 612
config SNI_RM
	bool "SNI RM200/300/400"
613 614
	select ARC if CPU_LITTLE_ENDIAN
	select ARC32 if CPU_LITTLE_ENDIAN
615
	select SNIPROM if CPU_BIG_ENDIAN
616
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
617
	select BOOT_ELF32
618
	select CEVT_R4K
619
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
620
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
621 622
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
623
	select HW_HAS_EISA
Linus Torvalds's avatar
Linus Torvalds committed
624
	select HW_HAS_PCI
625
	select IRQ_CPU
626
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
627 628
	select I8259
	select ISA
629
	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
630
	select SYS_HAS_CPU_R4X00
631
	select SYS_HAS_CPU_R5000
632
	select SYS_HAS_CPU_R10000
633
	select R5000_CPU_SCACHE
634
	select SYS_HAS_EARLY_PRINTK
635 636
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
637
	select SYS_SUPPORTS_BIG_ENDIAN
638
	select SYS_SUPPORTS_HIGHMEM
639
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
640
	help
641 642
	  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
643 644 645
	  Technology and now in turn merged with Fujitsu.  Say Y here to
	  support this machine type.

646 647
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
648

649 650
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
651

652 653 654 655 656 657 658 659 660 661 662 663
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
664
	select ARCH_REQUIRE_GPIOLIB
665 666 667 668
	help
	  Support the Mikrotik(tm) RouterBoard 532 series,
	  based on the IDT RC32434 SoC.

669 670
config WR_PPMC
	bool "Wind River PPMC board"
671
	select CEVT_R4K
672
	select CSRC_R4K
673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691
	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.

692
config CAVIUM_OCTEON_SIMULATOR
693
	bool "Cavium Networks Octeon Simulator"
694 695 696 697 698 699
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
700
	select SYS_SUPPORTS_HOTPLUG_CPU
701
	select SYS_HAS_CPU_CAVIUM_OCTEON
702 703 704 705 706 707
	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
708
	bool "Cavium Networks Octeon reference board"
709 710 711 712 713 714
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
715
	select SYS_SUPPORTS_HOTPLUG_CPU
716
	select SYS_HAS_EARLY_PRINTK
717
	select SYS_HAS_CPU_CAVIUM_OCTEON
718
	select SWAP_IO_SPACE
719 720
	select HW_HAS_PCI
	select ARCH_SUPPORTS_MSI
David Daney's avatar
David Daney committed
721
	select ZONE_DMA32
722 723
	select USB_ARCH_HAS_OHCI
	select USB_ARCH_HAS_EHCI
724 725 726 727 728 729 730 731 732 733 734 735 736
	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.

737
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
738

Ralf Baechle's avatar
Ralf Baechle committed
739
source "arch/mips/alchemy/Kconfig"
740
source "arch/mips/ath79/Kconfig"
741
source "arch/mips/bcm63xx/Kconfig"
742
source "arch/mips/jazz/Kconfig"
743
source "arch/mips/jz4740/Kconfig"
744
source "arch/mips/lasat/Kconfig"
745
source "arch/mips/pmc-sierra/Kconfig"
746
source "arch/mips/powertv/Kconfig"
747
source "arch/mips/sgi-ip27/Kconfig"
748
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
749
source "arch/mips/txx9/Kconfig"
750
source "arch/mips/vr41xx/Kconfig"
751
source "arch/mips/cavium-octeon/Kconfig"
752
source "arch/mips/loongson/Kconfig"
753

754 755
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
756 757 758 759 760 761 762
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

763 764 765 766 767 768 769 770
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

771 772 773 774
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

775 776 777 778 779 780 781 782
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
783 784 785 786
config GENERIC_CALIBRATE_DELAY
	bool
	default y

787 788 789 790
config GENERIC_CLOCKEVENTS
	bool
	default y

791 792 793 794
config GENERIC_CMOS_UPDATE
	bool
	default y

795
config SCHED_OMIT_FRAME_POINTER
796 797 798
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
799 800 801 802 803 804
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

805 806 807
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
808 809 810
config BOOT_RAW
	bool

811 812 813
config CEVT_BCM1480
	bool

814 815 816
config CEVT_DS1287
	bool

817 818 819
config CEVT_GT641XX
	bool

820 821 822
config CEVT_R4K_LIB
	bool

823
config CEVT_R4K
824
	select CEVT_R4K_LIB
825 826
	bool

827 828 829
config CEVT_SB1250
	bool

830 831 832
config CEVT_TXX9
	bool

833 834 835
config CSRC_BCM1480
	bool

836 837 838
config CSRC_IOASIC
	bool

839 840 841
config CSRC_POWERTV
	bool

842 843 844
config CSRC_R4K_LIB
	bool

845
config CSRC_R4K
846
	select CSRC_R4K_LIB
847 848
	bool

849 850 851
config CSRC_SB1250
	bool

852 853
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
854
	select ARCH_REQUIRE_GPIOLIB
855 856
	bool

857 858 859
config CFE
	bool

860
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
861 862
	bool

863 864
config DMA_NONCOHERENT
	bool
865
	select NEED_DMA_MAP_STATE
866

867
config NEED_DMA_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
868 869
	bool

870
config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
871 872
	bool

873
config HOTPLUG_CPU
874 875 876 877 878 879 880 881 882 883
	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
884 885
	bool

Linus Torvalds's avatar
Linus Torvalds committed
886 887 888 889 890 891 892 893 894
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

895 896 897
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
898 899 900
config MIPS_DISABLE_OBSOLETE_IDE
	bool

901 902 903
config SYNC_R4K
	bool

904 905 906
config MIPS_MACHINE
	def_bool n

907 908 909
config NO_IOPORT
	def_bool n

910 911 912
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
913
	select ISA_DMA_API
914

915 916
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
917
	select GENERIC_ISA_DMA
918

919 920 921
config ISA_DMA_API
	bool

Yoichi Yuasa's avatar
Yoichi Yuasa committed
922 923 924
config GENERIC_GPIO
	bool

925
#
Matt LaPlante's avatar
Matt LaPlante committed
926
# Endianess selection.  Sufficiently obscure so many users don't know what to
927 928 929 930 931
# 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
932 933
	help
	  Some MIPS machines can be configured for either little or big endian