Kconfig 59.5 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
David Daney's avatar
David Daney committed
19
	select ARCH_BINFMT_ELF_RANDOMIZE_PIE
20
	select RTC_LIB if !MACH_LOONGSON
21
	select GENERIC_ATOMIC64 if !64BIT
22 23
	select HAVE_DMA_ATTRS
	select HAVE_DMA_API_DEBUG
24 25
	select HAVE_GENERIC_HARDIRQS
	select GENERIC_IRQ_PROBE
26
	select GENERIC_IRQ_SHOW
27
	select HAVE_ARCH_JUMP_LABEL
28
	select IRQ_FORCED_THREADING
Tejun Heo's avatar
Tejun Heo committed
29 30 31
	select HAVE_MEMBLOCK
	select HAVE_MEMBLOCK_NODE_MAP
	select ARCH_DISCARD_MEMBLOCK
Linus Torvalds's avatar
Linus Torvalds committed
32 33 34

menu "Machine selection"

35 36 37
config ZONE_DMA
	bool

38 39 40
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
41

42
config MIPS_ALCHEMY
43
	bool "Alchemy processor based machines"
44 45 46 47 48 49 50 51 52
	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
53
	select SYS_SUPPORTS_ZBOOT
54 55
	select USB_ARCH_HAS_OHCI
	select USB_ARCH_HAS_EHCI
Linus Torvalds's avatar
Linus Torvalds committed
56

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

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

93
config BCM47XX
94
	bool "Broadcom BCM47XX based boards"
95
	select CEVT_R4K
96
	select CSRC_R4K
97 98 99 100 101 102
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	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
187
	select HAVE_PCSPKR_PLATFORM
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
188
	select IRQ_CPU
189
	select I8253
190 191
	select I8259
	select ISA
192
	select SYS_HAS_CPU_R4X00
193 194
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
195
	select SYS_SUPPORTS_100HZ
Linus Torvalds's avatar
Linus Torvalds committed
196
	help
197 198
	 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.
199
	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
200 201
	 Olivetti M700-10 workstations.

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
Maurus Cuelenaere's avatar
Maurus Cuelenaere committed
213
	select HAVE_CLK
214
	select GENERIC_IRQ_CHIP
215

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778
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
779
	select ARCH_SUPPORTS_MSI
780 781 782 783 784 785 786
	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.

787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813
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.

814
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
815

Ralf Baechle's avatar
Ralf Baechle committed
816
source "arch/mips/alchemy/Kconfig"
817
source "arch/mips/ath79/Kconfig"
818
source "arch/mips/bcm47xx/Kconfig"
819
source "arch/mips/bcm63xx/Kconfig"
820
source "arch/mips/jazz/Kconfig"
821
source "arch/mips/jz4740/Kconfig"
822
source "arch/mips/lantiq/Kconfig"
823
source "arch/mips/lasat/Kconfig"
824
source "arch/mips/pmc-sierra/Kconfig"
825
source "arch/mips/powertv/Kconfig"
826
source "arch/mips/sgi-ip27/Kconfig"
827
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
828
source "arch/mips/txx9/Kconfig"
829
source "arch/mips/vr41xx/Kconfig"
830
source "arch/mips/cavium-octeon/Kconfig"
831
source "arch/mips/loongson/Kconfig"
832
source "arch/mips/netlogic/Kconfig"
833

834 835
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
836 837 838 839 840 841 842
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

843 844 845 846 847 848 849 850
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

851 852 853 854
config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
855 856 857 858
config GENERIC_CALIBRATE_DELAY
	bool
	default y

859 860 861 862
config GENERIC_CLOCKEVENTS
	bool
	default y

863 864 865 866
config GENERIC_CMOS_UPDATE
	bool
	default y

867
config SCHED_OMIT_FRAME_POINTER
868 869 870
	bool
	default y

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

877 878 879
config ARCH_MAY_HAVE_PC_FDC
	bool

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

883 884 885
config CEVT_BCM1480
	bool

886 887 888
config CEVT_DS1287
	bool

889 890 891
config CEVT_GT641XX
	bool

892 893 894
config CEVT_R4K_LIB
	bool

895
config CEVT_R4K
896
	select CEVT_R4K_LIB
897 898
	bool

899 900 901
config CEVT_SB1250
	bool

902 903 904
config CEVT_TXX9
	bool

905 906 907
config CSRC_BCM1480
	bool

908 909 910
config CSRC_IOASIC
	bool

911 912 913
config CSRC_POWERTV
	bool

914 915 916
config CSRC_R4K_LIB
	bool

917
config CSRC_R4K
918
	select CSRC_R4K_LIB
919 920
	bool

921 922 923
config CSRC_SB1250
	bool

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

929 930 931
config CFE
	bool

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

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

938 939
config DMA_NONCOHERENT
	bool
940
	select NEED_DMA_MAP_STATE
941

942
config NEED_DMA_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
943 944
	bool

945
config SYS_HAS_EARLY_PRINTK