Kconfig 59.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 ARCH_HAVE_CUSTOM_GPIO_H
12
	select HAVE_FUNCTION_TRACER
13
	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
14 15
	select HAVE_DYNAMIC_FTRACE
	select HAVE_FTRACE_MCOUNT_RECORD
16
	select HAVE_C_RECORDMCOUNT
17
	select HAVE_FUNCTION_GRAPH_TRACER
David Daney's avatar
David Daney committed
18 19
	select HAVE_KPROBES
	select HAVE_KRETPROBES
David Daney's avatar
David Daney committed
20
	select ARCH_BINFMT_ELF_RANDOMIZE_PIE
21
	select RTC_LIB if !MACH_LOONGSON
22
	select GENERIC_ATOMIC64 if !64BIT
23 24
	select HAVE_DMA_ATTRS
	select HAVE_DMA_API_DEBUG
25 26
	select HAVE_GENERIC_HARDIRQS
	select GENERIC_IRQ_PROBE
27
	select GENERIC_IRQ_SHOW
28
	select HAVE_ARCH_JUMP_LABEL
29
	select IRQ_FORCED_THREADING
Tejun Heo's avatar
Tejun Heo committed
30 31 32
	select HAVE_MEMBLOCK
	select HAVE_MEMBLOCK_NODE_MAP
	select ARCH_DISCARD_MEMBLOCK
33
	select GENERIC_SMP_IDLE_THREAD
34
	select BUILDTIME_EXTABLE_SORT
35 36
	select GENERIC_CLOCKEVENTS
	select GENERIC_CMOS_UPDATE
Linus Torvalds's avatar
Linus Torvalds committed
37 38 39

menu "Machine selection"

40 41 42
config ZONE_DMA
	bool

43 44 45
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
46

47
config MIPS_ALCHEMY
48
	bool "Alchemy processor based machines"
49 50 51 52 53 54 55 56 57
	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
58
	select SYS_SUPPORTS_ZBOOT
59 60
	select USB_ARCH_HAS_OHCI
	select USB_ARCH_HAS_EHCI
Linus Torvalds's avatar
Linus Torvalds committed
61

62 63 64 65 66 67 68 69 70 71 72 73 74
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
75
	select SYS_SUPPORTS_ZBOOT_UART16550
76
	select ARCH_REQUIRE_GPIOLIB
77 78 79 80 81
	select VLYNQ
	help
	  Support for the Texas Instruments AR7 System-on-a-Chip
	  family: TNETD7100, 7200 and 7300.

82 83
config ATH79
	bool "Atheros AR71XX/AR724X/AR913X based boards"
Gabor Juhos's avatar
Gabor Juhos committed
84
	select ARCH_REQUIRE_GPIOLIB
85 86 87 88 89
	select BOOT_RAW
	select CEVT_R4K
	select CSRC_R4K
	select DMA_NONCOHERENT
	select IRQ_CPU
90
	select MIPS_MACHINE
91 92 93 94 95 96 97
	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.

98
config BCM47XX
99
	bool "Broadcom BCM47XX based boards"
100
	select CEVT_R4K
101
	select CSRC_R4K
102 103 104 105 106 107
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select GENERIC_GPIO
108 109
	select SYS_HAS_EARLY_PRINTK
	select CFE
110 111 112
	help
	 Support for BCM47XX based boards

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

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

176 177 178 179
		DECstation 5000/50
		DECstation 5000/150
		DECstation 5000/260
		DECsystem 5900/260
Linus Torvalds's avatar
Linus Torvalds committed
180 181 182

	  otherwise choose R3000.

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

207 208 209 210 211 212 213 214 215 216 217
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
Maurus Cuelenaere's avatar
Maurus Cuelenaere committed
218
	select HAVE_CLK
219
	select GENERIC_IRQ_CHIP
220

221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
config LANTIQ
	bool "Lantiq based platforms"
	select DMA_NONCOHERENT
	select IRQ_CPU
	select CEVT_R4K
	select CSRC_R4K
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_MULTITHREADING
	select SYS_HAS_EARLY_PRINTK
	select ARCH_REQUIRE_GPIOLIB
	select SWAP_IO_SPACE
	select BOOT_RAW
236 237
	select HAVE_MACH_CLKDEV
	select CLKDEV_LOOKUP
238
	select USE_OF
239

240 241
config LASAT
	bool "LASAT Networks platforms"
242
	select CEVT_R4K
243
	select CSRC_R4K
244 245 246
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
247
	select IRQ_CPU
248 249 250 251 252 253 254 255
	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

256 257
config MACH_LOONGSON
	bool "Loongson family of machines"
258
	select SYS_SUPPORTS_ZBOOT
259
	help
260 261 262 263 264 265
	  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.
266

Linus Torvalds's avatar
Linus Torvalds committed
267
config MIPS_MALTA
268
	bool "MIPS Malta board"
269
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
270
	select BOOT_ELF32
271
	select BOOT_RAW
272
	select CEVT_R4K
273
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
274 275
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
276
	select HAVE_PCSPKR_PLATFORM
277
	select IRQ_CPU
278
	select IRQ_GIC
Linus Torvalds's avatar
Linus Torvalds committed
279
	select HW_HAS_PCI
280
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
281
	select I8259
282 283
	select MIPS_BOARDS_GEN
	select MIPS_BONITO64
284
	select MIPS_CPU_SCACHE
285
	select PCI_GT64XXX_PCI0
286
	select MIPS_MSC
Linus Torvalds's avatar
Linus Torvalds committed
287
	select SWAP_IO_SPACE
288 289 290
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_HAS_CPU_MIPS64_R1
291
	select SYS_HAS_CPU_MIPS64_R2
292 293
	select SYS_HAS_CPU_NEVADA
	select SYS_HAS_CPU_RM7000
294
	select SYS_HAS_EARLY_PRINTK
295 296
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
297 298
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Tim Anderson's avatar
Tim Anderson committed
299
	select SYS_SUPPORTS_MIPS_CMP
300
	select SYS_SUPPORTS_MULTITHREADING
301
	select SYS_SUPPORTS_SMARTMIPS
302
	select SYS_SUPPORTS_ZBOOT
Linus Torvalds's avatar
Linus Torvalds committed
303
	help
304
	  This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds's avatar
Linus Torvalds committed
305 306
	  board.

307
config MIPS_SIM
308
	bool 'MIPS simulator (MIPSsim)'
309
	select CEVT_R4K
310
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
311
	select DMA_NONCOHERENT
312
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
313
	select IRQ_CPU
Marc St-Jean's avatar
Marc St-Jean committed
314
	select BOOT_RAW
315 316
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
317
	select SYS_HAS_EARLY_PRINTK
318
	select SYS_SUPPORTS_32BIT_KERNEL
319
	select SYS_SUPPORTS_BIG_ENDIAN
320
	select SYS_SUPPORTS_MULTITHREADING
321
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
322
	help
323 324
	  This option enables support for MIPS Technologies MIPSsim software
	  emulator.
Linus Torvalds's avatar
Linus Torvalds committed
325

326 327 328 329 330 331
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.
332

333
config MACH_VR41XX
334
	bool "NEC VR4100 series based machines"
335
	select CEVT_R4K
336
	select CSRC_R4K
337
	select SYS_HAS_CPU_VR41XX
338
	select ARCH_REQUIRE_GPIOLIB
339

340 341 342 343 344 345 346 347 348 349 350 351 352
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.

353
config PNX8550_JBS
354
	bool "NXP PNX8550 based JBS board"
355 356 357 358
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
359
	bool "NXP PNX8550 based STB810 board"
360 361 362
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
363 364 365
config PMC_MSP
	bool "PMC-Sierra MSP chipsets"
	depends on EXPERIMENTAL
366 367
	select CEVT_R4K
	select CSRC_R4K
Marc St-Jean's avatar
Marc St-Jean committed
368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384
	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.

385
config PMC_YOSEMITE
386
	bool "PMC-Sierra Yosemite eval board"
387
	select CEVT_R4K
388
	select CSRC_R4K
389 390 391 392 393 394
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
395
	select SYS_HAS_CPU_RM9000
396
	select SYS_HAS_EARLY_PRINTK
397 398 399 400
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
401
	select SYS_SUPPORTS_SMP
402 403 404
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
405

406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423
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
424
config SGI_IP22
425
	bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds's avatar
Linus Torvalds committed
426 427 428
	select ARC
	select ARC32
	select BOOT_ELF32
429
	select CEVT_R4K
430
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
431
	select DEFAULT_SGI_PARTITION
Linus Torvalds's avatar
Linus Torvalds committed
432
	select DMA_NONCOHERENT
433
	select HW_HAS_EISA
434
	select I8253
435
	select I8259
Linus Torvalds's avatar
Linus Torvalds committed
436 437
	select IP22_CPU_SCACHE
	select IRQ_CPU
438
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
439 440
	select SGI_HAS_I8042
	select SGI_HAS_INDYDOG
441
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
442 443 444
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
Linus Torvalds's avatar
Linus Torvalds committed
445
	select SWAP_IO_SPACE
446 447
	select SYS_HAS_CPU_R4X00
	select SYS_HAS_CPU_R5000
448 449 450 451 452 453 454 455
	#
	# 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
456 457
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
458
	select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
459 460 461 462 463 464
	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
465
	bool "SGI IP27 (Origin200/2000)"
Linus Torvalds's avatar
Linus Torvalds committed
466 467
	select ARC
	select ARC64
468
	select BOOT_ELF64
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
469
	select DEFAULT_SGI_PARTITION
470
	select DMA_COHERENT
471
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
472
	select HW_HAS_PCI
473
	select NR_CPUS_DEFAULT_64
474
	select SYS_HAS_CPU_R10000
475
	select SYS_SUPPORTS_64BIT_KERNEL
476
	select SYS_SUPPORTS_BIG_ENDIAN
477
	select SYS_SUPPORTS_NUMA
478
	select SYS_SUPPORTS_SMP
Linus Torvalds's avatar
Linus Torvalds committed
479 480 481 482 483
	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
484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500
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
501
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
502 503 504 505 506
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
	select SWAP_IO_SPACE
	select SYS_HAS_CPU_R10000
507 508 509 510 511 512 513 514
	#
	# 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
515 516 517 518 519 520
	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
521
config SGI_IP32
522
	bool "SGI IP32 (O2)"
Linus Torvalds's avatar
Linus Torvalds committed
523 524 525
	select ARC
	select ARC32
	select BOOT_ELF32
526
	select CEVT_R4K
527
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
528 529
	select DMA_NONCOHERENT
	select HW_HAS_PCI
530
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
531 532
	select R5000_CPU_SCACHE
	select RM7000_CPU_SCACHE
533 534 535
	select SYS_HAS_CPU_R5000
	select SYS_HAS_CPU_R10000 if BROKEN
	select SYS_HAS_CPU_RM7000
536
	select SYS_HAS_CPU_NEVADA
537
	select SYS_SUPPORTS_64BIT_KERNEL
538 539
	select SYS_SUPPORTS_BIG_ENDIAN
	help
540
	  If you want this kernel to run on SGI O2 workstation, say Y here.
Linus Torvalds's avatar
Linus Torvalds committed
541

542 543 544
config SIBYTE_CRHINE
	bool "Sibyte BCM91120C-CRhine"
	depends on EXPERIMENTAL
Andrew Isaacson's avatar
Andrew Isaacson committed
545 546
	select BOOT_ELF32
	select DMA_COHERENT
547
	select SIBYTE_BCM1120
Andrew Isaacson's avatar
Andrew Isaacson committed
548
	select SWAP_IO_SPACE
549
	select SYS_HAS_CPU_SB1
Andrew Isaacson's avatar
Andrew Isaacson committed
550 551 552
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN

553 554 555
config SIBYTE_CARMEL
	bool "Sibyte BCM91120x-Carmel"
	depends on EXPERIMENTAL
556
	select BOOT_ELF32
Linus Torvalds's avatar
Linus Torvalds committed
557
	select DMA_COHERENT
558
	select SIBYTE_BCM1120
559
	select SWAP_IO_SPACE
560
	select SYS_HAS_CPU_SB1
561
	select SYS_SUPPORTS_BIG_ENDIAN
562
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
563

564 565
config SIBYTE_CRHONE
	bool "Sibyte BCM91125C-CRhone"
566 567 568
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
569
	select SIBYTE_BCM1125
570
	select SWAP_IO_SPACE
571
	select SYS_HAS_CPU_SB1
572
	select SYS_SUPPORTS_BIG_ENDIAN
573
	select SYS_SUPPORTS_HIGHMEM
574
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
575

576
config SIBYTE_RHONE
577
	bool "Sibyte BCM91125E-Rhone"
578 579 580 581 582
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
	select SIBYTE_BCM1125H
	select SWAP_IO_SPACE
583
	select SYS_HAS_CPU_SB1
584 585
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
586

587 588
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
589
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
590
	select DMA_COHERENT
591
	select HAVE_PATA_PLATFORM
592 593
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
594
	select SWAP_IO_SPACE
595
	select SYS_HAS_CPU_SB1
596
	select SYS_SUPPORTS_BIG_ENDIAN
597
	select SYS_SUPPORTS_HIGHMEM
Pete Popov's avatar
Pete Popov committed
598
	select SYS_SUPPORTS_LITTLE_ENDIAN
599
	select ZONE_DMA32 if 64BIT
Pete Popov's avatar
Pete Popov committed
600

601 602
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
603 604 605
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
606
	select HAVE_PATA_PLATFORM
607
	select NR_CPUS_DEFAULT_2
608 609
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
610
	select SYS_HAS_CPU_SB1
611 612 613
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
614

615 616
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
617 618 619
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
620
	select NR_CPUS_DEFAULT_2
621 622
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
623
	select SYS_HAS_CPU_SB1
624 625
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
626

627 628
config SIBYTE_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
629 630
	select BOOT_ELF32
	select DMA_COHERENT
631 632
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
633
	select SWAP_IO_SPACE
634
	select SYS_HAS_CPU_SB1
635
	select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle's avatar
Ralf Baechle committed
636
	select SYS_SUPPORTS_HIGHMEM
637
	select SYS_SUPPORTS_LITTLE_ENDIAN
638
	select ZONE_DMA32 if 64BIT
Linus Torvalds's avatar
Linus Torvalds committed
639

640 641
config SNI_RM
	bool "SNI RM200/300/400"
642 643
	select ARC if CPU_LITTLE_ENDIAN
	select ARC32 if CPU_LITTLE_ENDIAN
644
	select SNIPROM if CPU_BIG_ENDIAN
645
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
646
	select BOOT_ELF32
647
	select CEVT_R4K
648
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
649
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
650 651
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
652
	select HAVE_PCSPKR_PLATFORM
653
	select HW_HAS_EISA
Linus Torvalds's avatar
Linus Torvalds committed
654
	select HW_HAS_PCI
655
	select IRQ_CPU
656
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
657 658
	select I8259
	select ISA
659
	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
660
	select SYS_HAS_CPU_R4X00
661
	select SYS_HAS_CPU_R5000
662
	select SYS_HAS_CPU_R10000
663
	select R5000_CPU_SCACHE
664
	select SYS_HAS_EARLY_PRINTK
665 666
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
667
	select SYS_SUPPORTS_BIG_ENDIAN
668
	select SYS_SUPPORTS_HIGHMEM
669
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
670
	help
671 672
	  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
673 674 675
	  Technology and now in turn merged with Fujitsu.  Say Y here to
	  support this machine type.

676 677
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
678

679 680
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
681

682 683 684 685 686 687 688 689 690 691 692 693
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
694
	select ARCH_REQUIRE_GPIOLIB
695 696 697 698
	help
	  Support the Mikrotik(tm) RouterBoard 532 series,
	  based on the IDT RC32434 SoC.

699 700
config WR_PPMC
	bool "Wind River PPMC board"
701
	select CEVT_R4K
702
	select CSRC_R4K
703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721
	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.

722
config CAVIUM_OCTEON_SIMULATOR
723
	bool "Cavium Networks Octeon Simulator"
724 725 726 727 728
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
729
	select SYS_SUPPORTS_HOTPLUG_CPU
730
	select SYS_HAS_CPU_CAVIUM_OCTEON
731
	select HOLES_IN_ZONE
732 733 734 735 736 737
	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
738
	bool "Cavium Networks Octeon reference board"
739 740 741 742 743
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
744
	select SYS_SUPPORTS_HOTPLUG_CPU
745
	select SYS_HAS_EARLY_PRINTK
746
	select SYS_HAS_CPU_CAVIUM_OCTEON
747
	select SWAP_IO_SPACE
748 749
	select HW_HAS_PCI
	select ARCH_SUPPORTS_MSI
David Daney's avatar
David Daney committed
750
	select ZONE_DMA32
751 752
	select USB_ARCH_HAS_OHCI
	select USB_ARCH_HAS_EHCI
753
	select HOLES_IN_ZONE
754 755 756 757 758 759 760 761 762 763 764 765 766
	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.

767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785
config NLM_XLR_BOARD
	bool "Netlogic XLR/XLS based systems"
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select NLM_COMMON
	select SYS_HAS_CPU_XLR
	select SYS_SUPPORTS_SMP
	select HW_HAS_PCI
	select SWAP_IO_SPACE
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select 64BIT_PHYS_ADDR
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select DMA_COHERENT
	select NR_CPUS_DEFAULT_32
	select CEVT_R4K
	select CSRC_R4K
	select IRQ_CPU
786
	select ARCH_SUPPORTS_MSI
787 788 789 790 791 792 793
	select ZONE_DMA if 64BIT
	select SYNC_R4K
	select SYS_HAS_EARLY_PRINTK
	help
	  Support for systems based on Netlogic XLR and XLS processors.
	  Say Y here if you have a XLR or XLS based board.

794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820
config NLM_XLP_BOARD
	bool "Netlogic XLP based systems"
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select NLM_COMMON
	select SYS_HAS_CPU_XLP
	select SYS_SUPPORTS_SMP
	select HW_HAS_PCI
	select SWAP_IO_SPACE
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select 64BIT_PHYS_ADDR
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select DMA_COHERENT
	select NR_CPUS_DEFAULT_32
	select CEVT_R4K
	select CSRC_R4K
	select IRQ_CPU
	select ZONE_DMA if 64BIT
	select SYNC_R4K
	select SYS_HAS_EARLY_PRINTK
	help
	  This board is based on Netlogic XLP Processor.
	  Say Y here if you have a XLP based board.

821
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
822

Ralf Baechle's avatar
Ralf Baechle committed
823
source "arch/mips/alchemy/Kconfig"
824
source "arch/mips/ath79/Kconfig"
825
source "arch/mips/bcm47xx/Kconfig"
826
source "arch/mips/bcm63xx/Kconfig"
827
source "arch/mips/jazz/Kconfig"
828
source "arch/mips/jz4740/Kconfig"
829
source "arch/mips/lantiq/Kconfig"
830
source "arch/mips/lasat/Kconfig"
831
source "arch/mips/pmc-sierra/Kconfig"
832
source "arch/mips/powertv/Kconfig"
833
source "arch/mips/sgi-ip27/Kconfig"
834
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
835
source "arch/mips/txx9/Kconfig"
836
source "arch/mips/vr41xx/Kconfig"
837
source "arch/mips/cavium-octeon/Kconfig"
838
source "arch/mips/loongson/Kconfig"
839
source "arch/mips/netlogic/Kconfig"
840

841 842
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
843 844 845 846 847 848 849
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

850 851 852 853 854 855 856 857
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

858 859 860 861
config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
862 863 864 865
config GENERIC_CALIBRATE_DELAY
	bool
	default y

866
config SCHED_OMIT_FRAME_POINTER
867 868 869
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
870 871 872 873 874 875
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

876 877 878
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
879 880 881
config BOOT_RAW
	bool

882 883 884
config CEVT_BCM1480
	bool

885 886 887
config CEVT_DS1287
	bool

888 889 890
config CEVT_GT641XX
	bool

891 892 893
config CEVT_R4K_LIB
	bool

894
config CEVT_R4K
895
	select CEVT_R4K_LIB
896 897
	bool

898 899 900
config CEVT_SB1250
	bool

901 902 903
config CEVT_TXX9
	bool

904 905 906
config CSRC_BCM1480
	bool

907 908 909
config CSRC_IOASIC
	bool

910 911 912
config CSRC_POWERTV
	bool

913 914 915
config CSRC_R4K_LIB
	bool

916
config CSRC_R4K
917
	select CSRC_R4K_LIB
918 919
	bool

920 921 922
config CSRC_SB1250
	bool

923 924
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
925
	select ARCH_REQUIRE_GPIOLIB
926 927
	bool

928 929 930
config CFE
	bool

931 932 933
config ARCH_DMA_ADDR_T_64BIT
	def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT

934
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
935 936
	bool

937 938
config DMA_NO