Kconfig 52.4 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3
config MIPS
	bool
	default y
4
	select HAVE_GENERIC_DMA_COHERENT
Sam Ravnborg's avatar
Sam Ravnborg committed
5
	select HAVE_IDE
Mathieu Desnoyers's avatar
Mathieu Desnoyers committed
6
	select HAVE_OPROFILE
7
	select HAVE_ARCH_KGDB
8
	select HAVE_FUNCTION_TRACER
9
	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
10 11
	select HAVE_DYNAMIC_FTRACE
	select HAVE_FTRACE_MCOUNT_RECORD
12
	select HAVE_FUNCTION_GRAPH_TRACER
13
	select RTC_LIB if !MACH_LOONGSON
Linus Torvalds's avatar
Linus Torvalds committed
14

15 16
mainmenu "Linux/MIPS Kernel Configuration"

Linus Torvalds's avatar
Linus Torvalds committed
17 18
menu "Machine selection"

19 20 21
config ZONE_DMA
	bool

22 23 24
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
25

26 27
config MACH_ALCHEMY
	bool "Alchemy processor based machines"
28
	select SYS_SUPPORTS_ZBOOT
Linus Torvalds's avatar
Linus Torvalds committed
29

30 31 32 33 34 35 36 37 38 39 40 41 42
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
43
	select SYS_SUPPORTS_ZBOOT_UART16550
44
	select ARCH_REQUIRE_GPIOLIB
45 46 47 48 49 50
	select GCD
	select VLYNQ
	help
	  Support for the Texas Instruments AR7 System-on-a-Chip
	  family: TNETD7100, 7200 and 7300.

51
config BCM47XX
52
	bool "Broadcom BCM47XX based boards"
53
	select CEVT_R4K
54
	select CSRC_R4K
55 56 57 58 59 60 61 62
	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
63
	select SSB_DRIVER_EXTIF
64
	select SSB_EMBEDDED
65
	select SSB_B43_PCI_BRIDGE if PCI
66
	select SSB_PCICORE_HOSTMODE if PCI
67
	select GENERIC_GPIO
68 69
	select SYS_HAS_EARLY_PRINTK
	select CFE
70 71 72
	help
	 Support for BCM47XX based boards

73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
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
88
config MIPS_COBALT
89
	bool "Cobalt Server"
90
	select CEVT_R4K
91
	select CSRC_R4K
92
	select CEVT_GT641XX
Linus Torvalds's avatar
Linus Torvalds committed
93 94
	select DMA_NONCOHERENT
	select HW_HAS_PCI
95
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
96 97
	select I8259
	select IRQ_CPU
98
	select IRQ_GT641XX
99
	select PCI_GT64XXX_PCI0
100
	select PCI
101
	select SYS_HAS_CPU_NEVADA
Yoichi Yuasa's avatar
Yoichi Yuasa committed
102
	select SYS_HAS_EARLY_PRINTK
103
	select SYS_SUPPORTS_32BIT_KERNEL
104
	select SYS_SUPPORTS_64BIT_KERNEL
105
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
106 107

config MACH_DECSTATION
108
	bool "DECstations"
Linus Torvalds's avatar
Linus Torvalds committed
109
	select BOOT_ELF32
110
	select CEVT_DS1287
111
	select CEVT_R4K
112
	select CSRC_IOASIC
113
	select CSRC_R4K
114 115 116
	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
117
	select DMA_NONCOHERENT
118
	select NO_IOPORT
Linus Torvalds's avatar
Linus Torvalds committed
119
	select IRQ_CPU
120 121
	select SYS_HAS_CPU_R3000
	select SYS_HAS_CPU_R4X00
122 123
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
124
	select SYS_SUPPORTS_LITTLE_ENDIAN
125 126 127
	select SYS_SUPPORTS_128HZ
	select SYS_SUPPORTS_256HZ
	select SYS_SUPPORTS_1024HZ
128
	help
Linus Torvalds's avatar
Linus Torvalds committed
129 130 131 132 133 134 135
	  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:

136 137 138 139
		DECstation 5000/50
		DECstation 5000/150
		DECstation 5000/260
		DECsystem 5900/260
Linus Torvalds's avatar
Linus Torvalds committed
140 141 142

	  otherwise choose R3000.

143
config MACH_JAZZ
144
	bool "Jazz family of machines"
145 146 147
	select ARC
	select ARC32
	select ARCH_MAY_HAVE_PC_FDC
148
	select CEVT_R4K
149
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
150
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
151
	select GENERIC_ISA_DMA
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
152
	select IRQ_CPU
153
	select I8253
154 155
	select I8259
	select ISA
156
	select SYS_HAS_CPU_R4X00
157 158
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
159
	select SYS_SUPPORTS_100HZ
Linus Torvalds's avatar
Linus Torvalds committed
160
	help
161 162
	 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.
163
	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
164 165
	 Olivetti M700-10 workstations.

166 167
config LASAT
	bool "LASAT Networks platforms"
168
	select CEVT_R4K
169
	select CSRC_R4K
170 171 172
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
173
	select IRQ_CPU
174 175 176 177 178 179 180 181
	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

182 183
config MACH_LOONGSON
	bool "Loongson family of machines"
184
	select SYS_SUPPORTS_ZBOOT
185
	help
186 187 188 189 190 191
	  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.
192

Linus Torvalds's avatar
Linus Torvalds committed
193
config MIPS_MALTA
194
	bool "MIPS Malta board"
195
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
196
	select BOOT_ELF32
197
	select BOOT_RAW
198
	select CEVT_R4K
199
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
200 201
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
202
	select IRQ_CPU
203
	select IRQ_GIC
Linus Torvalds's avatar
Linus Torvalds committed
204
	select HW_HAS_PCI
205
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
206
	select I8259
207 208
	select MIPS_BOARDS_GEN
	select MIPS_BONITO64
209
	select MIPS_CPU_SCACHE
210
	select PCI_GT64XXX_PCI0
211
	select MIPS_MSC
Linus Torvalds's avatar
Linus Torvalds committed
212
	select SWAP_IO_SPACE
213 214 215 216 217
	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
218
	select SYS_HAS_EARLY_PRINTK
219 220
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
221 222
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Tim Anderson's avatar
Tim Anderson committed
223
	select SYS_SUPPORTS_MIPS_CMP
224
	select SYS_SUPPORTS_MULTITHREADING
225
	select SYS_SUPPORTS_SMARTMIPS
226
	select SYS_SUPPORTS_ZBOOT
Linus Torvalds's avatar
Linus Torvalds committed
227
	help
228
	  This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds's avatar
Linus Torvalds committed
229 230
	  board.

231
config MIPS_SIM
232
	bool 'MIPS simulator (MIPSsim)'
233
	select CEVT_R4K
234
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
235
	select DMA_NONCOHERENT
236
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
237
	select IRQ_CPU
Marc St-Jean's avatar
Marc St-Jean committed
238
	select BOOT_RAW
239 240
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
241
	select SYS_HAS_EARLY_PRINTK
242
	select SYS_SUPPORTS_32BIT_KERNEL
243
	select SYS_SUPPORTS_BIG_ENDIAN
244
	select SYS_SUPPORTS_MULTITHREADING
245
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
246
	help
247 248
	  This option enables support for MIPS Technologies MIPSsim software
	  emulator.
Linus Torvalds's avatar
Linus Torvalds committed
249

250 251 252 253 254 255
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.
256

257
config MACH_VR41XX
258
	bool "NEC VR4100 series based machines"
259
	select CEVT_R4K
260
	select CSRC_R4K
261
	select SYS_HAS_CPU_VR41XX
262
	select ARCH_REQUIRE_GPIOLIB
263

264 265 266 267 268 269 270 271 272 273 274 275 276
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.

277
config PNX8550_JBS
278
	bool "NXP PNX8550 based JBS board"
279 280 281 282
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
283
	bool "NXP PNX8550 based STB810 board"
284 285 286
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306
config PMC_MSP
	bool "PMC-Sierra MSP chipsets"
	depends on EXPERIMENTAL
	select DMA_NONCOHERENT
	select SWAP_IO_SPACE
	select NO_EXCEPT_FILL
	select BOOT_RAW
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select IRQ_CPU
	select SERIAL_8250
	select SERIAL_8250_CONSOLE
	help
	  This adds support for the PMC-Sierra family of Multi-Service
	  Processor System-On-A-Chips.  These parts include a number
	  of integrated peripherals, interfaces and DSPs in addition to
	  a variety of MIPS cores.

307
config PMC_YOSEMITE
308
	bool "PMC-Sierra Yosemite eval board"
309
	select CEVT_R4K
310
	select CSRC_R4K
311 312 313 314 315 316
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
317
	select SYS_HAS_CPU_RM9000
318
	select SYS_HAS_EARLY_PRINTK
319 320 321 322
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
323
	select SYS_SUPPORTS_SMP
324 325 326
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
327

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

464 465 466
config SIBYTE_CRHINE
	bool "Sibyte BCM91120C-CRhine"
	depends on EXPERIMENTAL
Andrew Isaacson's avatar
Andrew Isaacson committed
467 468
	select BOOT_ELF32
	select DMA_COHERENT
469
	select SIBYTE_BCM1120
Andrew Isaacson's avatar
Andrew Isaacson committed
470
	select SWAP_IO_SPACE
471
	select SYS_HAS_CPU_SB1
Andrew Isaacson's avatar
Andrew Isaacson committed
472 473 474
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN

475 476 477
config SIBYTE_CARMEL
	bool "Sibyte BCM91120x-Carmel"
	depends on EXPERIMENTAL
478
	select BOOT_ELF32
Linus Torvalds's avatar
Linus Torvalds committed
479
	select DMA_COHERENT
480
	select SIBYTE_BCM1120
481
	select SWAP_IO_SPACE
482
	select SYS_HAS_CPU_SB1
483
	select SYS_SUPPORTS_BIG_ENDIAN
484
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
485

486 487
config SIBYTE_CRHONE
	bool "Sibyte BCM91125C-CRhone"
488 489 490
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
491
	select SIBYTE_BCM1125
492
	select SWAP_IO_SPACE
493
	select SYS_HAS_CPU_SB1
494
	select SYS_SUPPORTS_BIG_ENDIAN
495
	select SYS_SUPPORTS_HIGHMEM
496
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
497

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

509 510
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
511
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
512
	select DMA_COHERENT
513
	select HAVE_PATA_PLATFORM
514 515
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
516
	select SWAP_IO_SPACE
517
	select SYS_HAS_CPU_SB1
518
	select SYS_SUPPORTS_BIG_ENDIAN
519
	select SYS_SUPPORTS_HIGHMEM
Pete Popov's avatar
Pete Popov committed
520
	select SYS_SUPPORTS_LITTLE_ENDIAN
521
	select ZONE_DMA32 if 64BIT
Pete Popov's avatar
Pete Popov committed
522

523 524
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
525 526 527
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
528
	select HAVE_PATA_PLATFORM
529
	select NR_CPUS_DEFAULT_2
530 531
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
532
	select SYS_HAS_CPU_SB1
533 534 535
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
536

537 538
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
539 540 541
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
542
	select NR_CPUS_DEFAULT_2
543 544
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
545
	select SYS_HAS_CPU_SB1
546 547
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
548

549 550
config SIBYTE_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
551 552
	select BOOT_ELF32
	select DMA_COHERENT
553 554
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
555
	select SWAP_IO_SPACE
556
	select SYS_HAS_CPU_SB1
557
	select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle's avatar
Ralf Baechle committed
558
	select SYS_SUPPORTS_HIGHMEM
559
	select SYS_SUPPORTS_LITTLE_ENDIAN
560
	select ZONE_DMA32 if 64BIT
Linus Torvalds's avatar
Linus Torvalds committed
561

562 563
config SNI_RM
	bool "SNI RM200/300/400"
564 565
	select ARC if CPU_LITTLE_ENDIAN
	select ARC32 if CPU_LITTLE_ENDIAN
566
	select SNIPROM if CPU_BIG_ENDIAN
567
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
568
	select BOOT_ELF32
569
	select CEVT_R4K
570
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
571
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
572 573
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
574
	select HW_HAS_EISA
Linus Torvalds's avatar
Linus Torvalds committed
575
	select HW_HAS_PCI
576
	select IRQ_CPU
577
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
578 579
	select I8259
	select ISA
580
	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
581
	select SYS_HAS_CPU_R4X00
582
	select SYS_HAS_CPU_R5000
583
	select SYS_HAS_CPU_R10000
584
	select R5000_CPU_SCACHE
585
	select SYS_HAS_EARLY_PRINTK
586 587
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
588
	select SYS_SUPPORTS_BIG_ENDIAN
589
	select SYS_SUPPORTS_HIGHMEM
590
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
591
	help
592 593
	  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
594 595 596
	  Technology and now in turn merged with Fujitsu.  Say Y here to
	  support this machine type.

597 598
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
599

600 601
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
602

603 604 605 606 607 608 609 610 611 612 613 614
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
615
	select ARCH_REQUIRE_GPIOLIB
616 617 618 619
	help
	  Support the Mikrotik(tm) RouterBoard 532 series,
	  based on the IDT RC32434 SoC.

620 621
config WR_PPMC
	bool "Wind River PPMC board"
622
	select CEVT_R4K
623
	select CSRC_R4K
624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642
	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.

643
config CAVIUM_OCTEON_SIMULATOR
644
	bool "Cavium Networks Octeon Simulator"
645 646 647 648 649 650
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
651
	select SYS_SUPPORTS_HOTPLUG_CPU
652
	select SYS_HAS_CPU_CAVIUM_OCTEON
653 654 655 656 657 658
	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
659
	bool "Cavium Networks Octeon reference board"
660 661 662 663 664 665
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
666
	select SYS_SUPPORTS_HOTPLUG_CPU
667
	select SYS_HAS_EARLY_PRINTK
668
	select SYS_HAS_CPU_CAVIUM_OCTEON
669
	select SWAP_IO_SPACE
670 671
	select HW_HAS_PCI
	select ARCH_SUPPORTS_MSI
672 673 674 675 676 677 678 679 680 681 682 683 684
	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.

685
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
686

Ralf Baechle's avatar
Ralf Baechle committed
687
source "arch/mips/alchemy/Kconfig"
688
source "arch/mips/bcm63xx/Kconfig"
689
source "arch/mips/jazz/Kconfig"
690
source "arch/mips/lasat/Kconfig"
691
source "arch/mips/pmc-sierra/Kconfig"
692
source "arch/mips/powertv/Kconfig"
693
source "arch/mips/sgi-ip27/Kconfig"
694
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
695
source "arch/mips/txx9/Kconfig"
696
source "arch/mips/vr41xx/Kconfig"
697
source "arch/mips/cavium-octeon/Kconfig"
698
source "arch/mips/loongson/Kconfig"
699

700 701
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
702 703 704 705 706 707 708
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

709 710 711 712 713 714 715 716
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

717 718 719 720
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

721 722 723 724 725 726 727 728
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
729 730 731 732
config GENERIC_CALIBRATE_DELAY
	bool
	default y

733 734 735 736
config GENERIC_CLOCKEVENTS
	bool
	default y

737 738 739 740
config GENERIC_TIME
	bool
	default y

741 742 743 744
config GENERIC_CMOS_UPDATE
	bool
	default y

745
config SCHED_OMIT_FRAME_POINTER
746 747 748
	bool
	default y

749
config GENERIC_HARDIRQS_NO__DO_IRQ
750
	def_bool y
751

Linus Torvalds's avatar
Linus Torvalds committed
752 753 754 755 756 757
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

758 759 760
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
761 762 763
config BOOT_RAW
	bool

764 765 766
config CEVT_BCM1480
	bool

767 768 769
config CEVT_DS1287
	bool

770 771 772
config CEVT_GT641XX
	bool

773 774 775
config CEVT_R4K_LIB
	bool

776
config CEVT_R4K
777
	select CEVT_R4K_LIB
778 779
	bool

780 781 782
config CEVT_SB1250
	bool

783 784 785
config CEVT_TXX9
	bool

786 787 788
config CSRC_BCM1480
	bool

789 790 791
config CSRC_IOASIC
	bool

792 793 794
config CSRC_POWERTV
	bool

795 796 797
config CSRC_R4K_LIB
	bool

798
config CSRC_R4K
799
	select CSRC_R4K_LIB
800 801
	bool

802 803 804
config CSRC_SB1250
	bool

805 806
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
807
	select ARCH_REQUIRE_GPIOLIB
808 809
	bool

810 811 812
config CFE
	bool

813
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
814 815
	bool

816 817
config DMA_NONCOHERENT
	bool
818
	select NEED_DMA_MAP_STATE
819

820
config NEED_DMA_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
821 822
	bool

823
config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
824 825
	bool

826
config HOTPLUG_CPU
827 828 829 830 831 832 833 834 835 836
	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
837 838
	bool

Linus Torvalds's avatar
Linus Torvalds committed
839 840 841 842 843 844 845 846 847
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

848 849 850
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
851 852 853
config MIPS_DISABLE_OBSOLETE_IDE
	bool

854 855 856
config SYNC_R4K
	bool

857 858 859
config NO_IOPORT
	def_bool n

860 861 862 863
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

864 865
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
866
	select GENERIC_ISA_DMA
867

Yoichi Yuasa's avatar
Yoichi Yuasa committed
868 869 870
config GENERIC_GPIO
	bool

871
#
Matt LaPlante's avatar
Matt LaPlante committed
872
# Endianess selection.  Sufficiently obscure so many users don't know what to
873 874 875 876 877
# 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
878 879
	help
	  Some MIPS machines can be configured for either little or big endian
880
	  byte order. These modes require different kernels and a different
Matt LaPlante's avatar
Matt LaPlante committed
881
	  Linux distribution.  In general there is one preferred byteorder for a
882
	  particular system but some systems are just as commonly used in the
883
	  one or the other endianness.
884 885 886 887 888 889 890 891 892 893 894 895

config CPU_BIG_ENDIAN
	bool "Big endian"
	depends on SYS_SUPPORTS_BIG_ENDIAN

config CPU_LITTLE_ENDIAN
	bool "Little endian"
	depends on SYS_SUPPORTS_LITTLE_ENDIAN
	help

endchoice

896 897 898
config SYS_SUPPORTS_APM_EMULATION
	bool

899 900 901 902 903
config SYS_SUPPORTS_BIG_ENDIAN
	bool

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

905 906 907 908 909
config SYS_SUPPORTS_HUGETLBFS
	bool
	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
	default y

Linus Torvalds's avatar
Linus Torvalds committed
910 911 912 913 914 915
config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

916 917 918
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
919 920 921 922 923 924
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

925 926 927
config IRQ_TXX9
	bool

928 929 930
config IRQ_GT641XX
	bool

931 932 933
config IRQ_GIC
	bool

934 935 936
config IRQ_CPU_OCTEON
	bool

Linus Torvalds's avatar
Linus Torvalds committed
937 938 939
config MIPS_BOARDS_GEN
	bool

940
config PCI_GT64XXX_PCI0
Linus Torvalds's avatar
Linus Torvalds committed
941 942
	bool

Marc St-Jean's avatar