Kconfig 59 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 GENERIC_IRQ_SHOW
26
	select HAVE_ARCH_JUMP_LABEL
27
	select IRQ_FORCED_THREADING
Linus Torvalds's avatar
Linus Torvalds committed
28 29 30

menu "Machine selection"

31 32 33
config ZONE_DMA
	bool

34 35 36
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
37

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

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

72 73
config ATH79
	bool "Atheros AR71XX/AR724X/AR913X based boards"
Gabor Juhos's avatar
Gabor Juhos committed
74
	select ARCH_REQUIRE_GPIOLIB
75 76 77 78 79
	select BOOT_RAW
	select CEVT_R4K
	select CSRC_R4K
	select DMA_NONCOHERENT
	select IRQ_CPU
80
	select MIPS_MACHINE
81 82 83 84 85 86 87
	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.

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

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

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

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

	  otherwise choose R3000.

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

204 205 206 207 208 209 210 211 212 213 214
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
215
	select HAVE_CLK
216

217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
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
	select HAVE_CLK
233
	select MIPS_MACHINE
234

235 236
config LASAT
	bool "LASAT Networks platforms"
237
	select CEVT_R4K
238
	select CSRC_R4K
239 240 241
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
242
	select IRQ_CPU
243 244 245 246 247 248 249 250
	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

251 252
config MACH_LOONGSON
	bool "Loongson family of machines"
253
	select SYS_SUPPORTS_ZBOOT
254
	help
255 256 257 258 259 260
	  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.
261

Linus Torvalds's avatar
Linus Torvalds committed
262
config MIPS_MALTA
263
	bool "MIPS Malta board"
264
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
265
	select BOOT_ELF32
266
	select BOOT_RAW
267
	select CEVT_R4K
268
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
269 270
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
271
	select HAVE_PCSPKR_PLATFORM
272
	select IRQ_CPU
273
	select IRQ_GIC
Linus Torvalds's avatar
Linus Torvalds committed
274
	select HW_HAS_PCI
275
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
276
	select I8259
277 278
	select MIPS_BOARDS_GEN
	select MIPS_BONITO64
279
	select MIPS_CPU_SCACHE
280
	select PCI_GT64XXX_PCI0
281
	select MIPS_MSC
Linus Torvalds's avatar
Linus Torvalds committed
282
	select SWAP_IO_SPACE
283 284 285 286 287
	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
288
	select SYS_HAS_EARLY_PRINTK
289 290
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
291 292
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Tim Anderson's avatar
Tim Anderson committed
293
	select SYS_SUPPORTS_MIPS_CMP
294
	select SYS_SUPPORTS_MULTITHREADING
295
	select SYS_SUPPORTS_SMARTMIPS
296
	select SYS_SUPPORTS_ZBOOT
Linus Torvalds's avatar
Linus Torvalds committed
297
	help
298
	  This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds's avatar
Linus Torvalds committed
299 300
	  board.

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

320 321 322 323 324 325
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.
326

327
config MACH_VR41XX
328
	bool "NEC VR4100 series based machines"
329
	select CEVT_R4K
330
	select CSRC_R4K
331
	select SYS_HAS_CPU_VR41XX
332
	select ARCH_REQUIRE_GPIOLIB
333

334 335 336 337 338 339 340 341 342 343 344 345 346
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.

347
config PNX8550_JBS
348
	bool "NXP PNX8550 based JBS board"
349 350 351 352
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
353
	bool "NXP PNX8550 based STB810 board"
354 355 356
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
357 358 359
config PMC_MSP
	bool "PMC-Sierra MSP chipsets"
	depends on EXPERIMENTAL
360 361
	select CEVT_R4K
	select CSRC_R4K
Marc St-Jean's avatar
Marc St-Jean committed
362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378
	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.

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

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

536 537 538
config SIBYTE_CRHINE
	bool "Sibyte BCM91120C-CRhine"
	depends on EXPERIMENTAL
Andrew Isaacson's avatar
Andrew Isaacson committed
539 540
	select BOOT_ELF32
	select DMA_COHERENT
541
	select SIBYTE_BCM1120
Andrew Isaacson's avatar
Andrew Isaacson committed
542
	select SWAP_IO_SPACE
543
	select SYS_HAS_CPU_SB1
Andrew Isaacson's avatar
Andrew Isaacson committed
544 545 546
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN

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

558 559
config SIBYTE_CRHONE
	bool "Sibyte BCM91125C-CRhone"
560 561 562
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
563
	select SIBYTE_BCM1125
564
	select SWAP_IO_SPACE
565
	select SYS_HAS_CPU_SB1
566
	select SYS_SUPPORTS_BIG_ENDIAN
567
	select SYS_SUPPORTS_HIGHMEM
568
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
569

570
config SIBYTE_RHONE
571
	bool "Sibyte BCM91125E-Rhone"
572 573 574 575 576
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
	select SIBYTE_BCM1125H
	select SWAP_IO_SPACE
577
	select SYS_HAS_CPU_SB1
578 579
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
580

581 582
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
583
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
584
	select DMA_COHERENT
585
	select HAVE_PATA_PLATFORM
586 587
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
588
	select SWAP_IO_SPACE
589
	select SYS_HAS_CPU_SB1
590
	select SYS_SUPPORTS_BIG_ENDIAN
591
	select SYS_SUPPORTS_HIGHMEM
Pete Popov's avatar
Pete Popov committed
592
	select SYS_SUPPORTS_LITTLE_ENDIAN
593
	select ZONE_DMA32 if 64BIT
Pete Popov's avatar
Pete Popov committed
594

595 596
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
597 598 599
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
600
	select HAVE_PATA_PLATFORM
601
	select NR_CPUS_DEFAULT_2
602 603
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
604
	select SYS_HAS_CPU_SB1
605 606 607
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
608

609 610
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
611 612 613
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
614
	select NR_CPUS_DEFAULT_2
615 616
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
617
	select SYS_HAS_CPU_SB1
618 619
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
620

621 622
config SIBYTE_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
623 624
	select BOOT_ELF32
	select DMA_COHERENT
625 626
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
627
	select SWAP_IO_SPACE
628
	select SYS_HAS_CPU_SB1
629
	select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle's avatar
Ralf Baechle committed
630
	select SYS_SUPPORTS_HIGHMEM
631
	select SYS_SUPPORTS_LITTLE_ENDIAN
632
	select ZONE_DMA32 if 64BIT
Linus Torvalds's avatar
Linus Torvalds committed
633

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

670 671
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
672

673 674
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
675

676 677 678 679 680 681 682 683 684 685 686 687
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
688
	select ARCH_REQUIRE_GPIOLIB
689 690 691 692
	help
	  Support the Mikrotik(tm) RouterBoard 532 series,
	  based on the IDT RC32434 SoC.

693 694
config WR_PPMC
	bool "Wind River PPMC board"
695
	select CEVT_R4K
696
	select CSRC_R4K
697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715
	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.

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

761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787
config NLM_XLR_BOARD
	bool "Netlogic XLR/XLS based systems"
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select NLM_COMMON
	select NLM_XLR
	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
	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.

788
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
789

Ralf Baechle's avatar
Ralf Baechle committed
790
source "arch/mips/alchemy/Kconfig"
791
source "arch/mips/ath79/Kconfig"
792
source "arch/mips/bcm63xx/Kconfig"
793
source "arch/mips/jazz/Kconfig"
794
source "arch/mips/jz4740/Kconfig"
795
source "arch/mips/lantiq/Kconfig"
796
source "arch/mips/lasat/Kconfig"
797
source "arch/mips/pmc-sierra/Kconfig"
798
source "arch/mips/powertv/Kconfig"
799
source "arch/mips/sgi-ip27/Kconfig"
800
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
801
source "arch/mips/txx9/Kconfig"
802
source "arch/mips/vr41xx/Kconfig"
803
source "arch/mips/cavium-octeon/Kconfig"
804
source "arch/mips/loongson/Kconfig"
805
source "arch/mips/netlogic/Kconfig"
806

807 808
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
809 810 811 812 813 814 815
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

816 817 818 819 820 821 822 823
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

824 825 826 827
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

828 829 830 831
config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
832 833 834 835
config GENERIC_CALIBRATE_DELAY
	bool
	default y

836 837 838 839
config GENERIC_CLOCKEVENTS
	bool
	default y

840 841 842 843
config GENERIC_CMOS_UPDATE
	bool
	default y

844
config SCHED_OMIT_FRAME_POINTER
845 846 847
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
848 849 850 851 852 853
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

854 855 856
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
857 858 859
config BOOT_RAW
	bool

860 861 862
config CEVT_BCM1480
	bool

863 864 865
config CEVT_DS1287
	bool

866 867 868
config CEVT_GT641XX
	bool

869 870 871
config CEVT_R4K_LIB
	bool

872
config CEVT_R4K
873
	select CEVT_R4K_LIB
874 875
	bool

876 877 878
config CEVT_SB1250
	bool

879 880 881
config CEVT_TXX9
	bool

882 883 884
config CSRC_BCM1480
	bool

885 886 887
config CSRC_IOASIC
	bool

888 889 890
config CSRC_POWERTV
	bool

891 892 893
config CSRC_R4K_LIB
	bool

894
config CSRC_R4K
895
	select CSRC_R4K_LIB
896 897
	bool

898 899 900
config CSRC_SB1250
	bool

901 902
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
903
	select ARCH_REQUIRE_GPIOLIB
904 905
	bool

906 907 908
config CFE
	bool

909 910 911
config ARCH_DMA_ADDR_T_64BIT
	def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT

912
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
913 914
	bool

915 916
config DMA_NONCOHERENT
	bool
917
	select NEED_DMA_MAP_STATE
918

919
config NEED_DMA_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
920 921
	bool

922
config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
923 924
	bool

925
config HOTPLUG_CPU
926 927 928 929 930 931 932 933 934 935
	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
936 937
	bool

Linus Torvalds's avatar
Linus Torvalds committed
938 939 940 941 942 943 944 945