Kconfig 51.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 45 46 47 48 49 50
	select GENERIC_GPIO
	select GCD
	select VLYNQ
	help
	  Support for the Texas Instruments AR7 System-on-a-Chip
	  family: TNETD7100, 7200 and 7300.

51 52
config BCM47XX
	bool "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_PCICORE_HOSTMODE if PCI
66
	select GENERIC_GPIO
67 68
	select SYS_HAS_EARLY_PRINTK
	select CFE
69 70 71
	help
	 Support for BCM47XX based boards

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

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

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

	  otherwise choose R3000.

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

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

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

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

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

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

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

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

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

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

Marc St-Jean's avatar
Marc St-Jean committed
286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305
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.

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

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

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

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

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

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

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

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

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

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

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

594 595
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
596

597 598
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
599

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

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

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

682
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
683

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

697 698
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
699 700 701 702 703 704 705
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

706 707 708 709 710 711 712 713
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

714 715 716 717
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

718 719 720 721 722 723 724 725
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
726 727 728 729
config GENERIC_CALIBRATE_DELAY
	bool
	default y

730 731 732 733
config GENERIC_CLOCKEVENTS
	bool
	default y

734 735 736 737
config GENERIC_TIME
	bool
	default y

738 739 740 741
config GENERIC_CMOS_UPDATE
	bool
	default y

742
config SCHED_OMIT_FRAME_POINTER
743 744 745
	bool
	default y

746
config GENERIC_HARDIRQS_NO__DO_IRQ
747
	def_bool y
748

Linus Torvalds's avatar
Linus Torvalds committed
749 750 751 752 753 754
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

755 756 757
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
758 759 760
config BOOT_RAW
	bool

761 762 763
config CEVT_BCM1480
	bool

764 765 766
config CEVT_DS1287
	bool

767 768 769
config CEVT_GT641XX
	bool

770 771 772
config CEVT_R4K_LIB
	bool

773
config CEVT_R4K
774
	select CEVT_R4K_LIB
775 776
	bool

777 778 779
config CEVT_SB1250
	bool

780 781 782
config CEVT_TXX9
	bool

783 784 785
config CSRC_BCM1480
	bool

786 787 788
config CSRC_IOASIC
	bool

789 790 791
config CSRC_POWERTV
	bool

792 793 794
config CSRC_R4K_LIB
	bool

795
config CSRC_R4K
796
	select CSRC_R4K_LIB
797 798
	bool

799 800 801
config CSRC_SB1250
	bool

802 803
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
804
	select ARCH_REQUIRE_GPIOLIB
805 806
	bool

807 808 809
config CFE
	bool

810
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
811 812
	bool

813 814 815 816 817
config DMA_NONCOHERENT
	bool
	select DMA_NEED_PCI_MAP_STATE

config DMA_NEED_PCI_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
818 819
	bool

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

823
config HOTPLUG_CPU
824 825 826 827 828 829 830 831 832 833
	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
834 835
	bool

Linus Torvalds's avatar
Linus Torvalds committed
836 837 838 839 840 841 842 843 844
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

845 846 847
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
848 849 850
config MIPS_DISABLE_OBSOLETE_IDE
	bool

851 852 853
config SYNC_R4K
	bool

854 855 856
config NO_IOPORT
	def_bool n

857 858 859 860
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

861 862
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
863
	select GENERIC_ISA_DMA
864

Yoichi Yuasa's avatar
Yoichi Yuasa committed
865 866 867
config GENERIC_GPIO
	bool

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

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

893 894 895
config SYS_SUPPORTS_APM_EMULATION
	bool

896 897 898 899 900
config SYS_SUPPORTS_BIG_ENDIAN
	bool

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

902 903 904 905 906
config SYS_SUPPORTS_HUGETLBFS
	bool
	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
	default y

Linus Torvalds's avatar
Linus Torvalds committed
907 908 909 910 911 912
config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

913 914 915
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
916 917 918 919 920 921
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

922 923 924
config IRQ_TXX9
	bool

925 926 927
config IRQ_GT641XX
	bool

928 929 930
config IRQ_GIC
	bool

931 932 933
config IRQ_CPU_OCTEON
	bool

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

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

Marc St-Jean's avatar
Marc St-Jean committed
940 941 942
config NO_EXCEPT_FILL
	bool

943 944 945 946
config MIPS_RM9122
	bool
	select SERIAL_RM9000

947 948 949 950 951 952 953 954 955 956 957 958
config SOC_EMMA2RH
	bool
	select CEVT_R4K
	select CSRC_R4K
	select DMA_NONCOHERENT
	select IRQ_CPU
	select SWAP_IO_SPACE
	select SYS_HAS_CPU_R5500
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN

959 960 961 962 963 964 965 966 967 968 969