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
Linus Torvalds's avatar
Linus Torvalds committed
12 13
	# Horrible source of confusion.  Die, die, die ...
	select EMBEDDED
14
	select RTC_LIB if !MACH_LOONGSON
Linus Torvalds's avatar
Linus Torvalds committed
15

16 17
mainmenu "Linux/MIPS Kernel Configuration"

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

20 21 22
config ZONE_DMA
	bool

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

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

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

52
config BASLER_EXCITE
53
	bool "Basler eXcite smart camera"
54
	select CEVT_R4K
55
	select CSRC_R4K
56 57 58 59 60
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
61
	select MIPS_RM9122
62 63 64 65 66
	select SYS_HAS_CPU_RM9000
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	help
	  The eXcite is a smart camera platform manufactured by
67
	  Basler Vision Technologies AG.
68

69 70
config BCM47XX
	bool "BCM47XX based boards"
71
	select CEVT_R4K
72
	select CSRC_R4K
73 74 75 76 77 78 79 80
	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
81
	select SSB_DRIVER_EXTIF
82
	select SSB_EMBEDDED
83
	select SSB_PCICORE_HOSTMODE if PCI
84
	select GENERIC_GPIO
85 86
	select SYS_HAS_EARLY_PRINTK
	select CFE
87 88 89
	help
	 Support for BCM47XX based boards

90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
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
105
config MIPS_COBALT
106
	bool "Cobalt Server"
107
	select CEVT_R4K
108
	select CSRC_R4K
109
	select CEVT_GT641XX
Linus Torvalds's avatar
Linus Torvalds committed
110 111
	select DMA_NONCOHERENT
	select HW_HAS_PCI
112
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
113 114
	select I8259
	select IRQ_CPU
115
	select IRQ_GT641XX
116
	select PCI_GT64XXX_PCI0
117
	select PCI
118
	select SYS_HAS_CPU_NEVADA
Yoichi Yuasa's avatar
Yoichi Yuasa committed
119
	select SYS_HAS_EARLY_PRINTK
120
	select SYS_SUPPORTS_32BIT_KERNEL
121
	select SYS_SUPPORTS_64BIT_KERNEL
122
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
123 124

config MACH_DECSTATION
125
	bool "DECstations"
Linus Torvalds's avatar
Linus Torvalds committed
126
	select BOOT_ELF32
127
	select CEVT_DS1287
128
	select CEVT_R4K
129
	select CSRC_IOASIC
130
	select CSRC_R4K
131 132 133
	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
134
	select DMA_NONCOHERENT
135
	select NO_IOPORT
Linus Torvalds's avatar
Linus Torvalds committed
136
	select IRQ_CPU
137 138
	select SYS_HAS_CPU_R3000
	select SYS_HAS_CPU_R4X00
139 140
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
141
	select SYS_SUPPORTS_LITTLE_ENDIAN
142 143 144
	select SYS_SUPPORTS_128HZ
	select SYS_SUPPORTS_256HZ
	select SYS_SUPPORTS_1024HZ
145
	help
Linus Torvalds's avatar
Linus Torvalds committed
146 147 148 149 150 151 152
	  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:

153 154 155 156
		DECstation 5000/50
		DECstation 5000/150
		DECstation 5000/260
		DECsystem 5900/260
Linus Torvalds's avatar
Linus Torvalds committed
157 158 159

	  otherwise choose R3000.

160
config MACH_JAZZ
161
	bool "Jazz family of machines"
162 163 164
	select ARC
	select ARC32
	select ARCH_MAY_HAVE_PC_FDC
165
	select CEVT_R4K
166
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
167
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
168
	select GENERIC_ISA_DMA
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
169
	select IRQ_CPU
170
	select I8253
171 172
	select I8259
	select ISA
173
	select SYS_HAS_CPU_R4X00
174 175
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
176
	select SYS_SUPPORTS_100HZ
Linus Torvalds's avatar
Linus Torvalds committed
177
	help
178 179
	 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.
180
	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
181 182
	 Olivetti M700-10 workstations.

183 184
config LASAT
	bool "LASAT Networks platforms"
185
	select CEVT_R4K
186
	select CSRC_R4K
187 188 189
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
190
	select IRQ_CPU
191 192 193 194 195 196 197 198
	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

199 200
config MACH_LOONGSON
	bool "Loongson family of machines"
201
	select SYS_SUPPORTS_ZBOOT_UART16550
202
	help
203 204 205 206 207 208
	  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.
209

Linus Torvalds's avatar
Linus Torvalds committed
210
config MIPS_MALTA
211
	bool "MIPS Malta board"
212
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
213
	select BOOT_ELF32
214
	select BOOT_RAW
215
	select CEVT_R4K
216
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
217 218
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
219
	select IRQ_CPU
220
	select IRQ_GIC
Linus Torvalds's avatar
Linus Torvalds committed
221
	select HW_HAS_PCI
222
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
223
	select I8259
224 225
	select MIPS_BOARDS_GEN
	select MIPS_BONITO64
226
	select MIPS_CPU_SCACHE
227
	select PCI_GT64XXX_PCI0
228
	select MIPS_MSC
Linus Torvalds's avatar
Linus Torvalds committed
229
	select SWAP_IO_SPACE
230 231 232 233 234
	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
235
	select SYS_HAS_EARLY_PRINTK
236 237
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
238 239
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Tim Anderson's avatar
Tim Anderson committed
240
	select SYS_SUPPORTS_MIPS_CMP
241
	select SYS_SUPPORTS_MULTITHREADING
242
	select SYS_SUPPORTS_SMARTMIPS
243
	select SYS_SUPPORTS_ZBOOT
Linus Torvalds's avatar
Linus Torvalds committed
244
	help
245
	  This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds's avatar
Linus Torvalds committed
246 247
	  board.

248
config MIPS_SIM
249
	bool 'MIPS simulator (MIPSsim)'
250
	select CEVT_R4K
251
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
252
	select DMA_NONCOHERENT
253
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
254
	select IRQ_CPU
Marc St-Jean's avatar
Marc St-Jean committed
255
	select BOOT_RAW
256 257
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
258
	select SYS_HAS_EARLY_PRINTK
259
	select SYS_SUPPORTS_32BIT_KERNEL
260
	select SYS_SUPPORTS_BIG_ENDIAN
261
	select SYS_SUPPORTS_MULTITHREADING
262
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
263
	help
264 265
	  This option enables support for MIPS Technologies MIPSsim software
	  emulator.
Linus Torvalds's avatar
Linus Torvalds committed
266

267 268 269 270 271 272
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.
273

274
config MACH_VR41XX
275
	bool "NEC VR4100 series based machines"
276
	select CEVT_R4K
277
	select CSRC_R4K
278
	select SYS_HAS_CPU_VR41XX
279
	select ARCH_REQUIRE_GPIOLIB
280

281 282 283 284 285 286 287 288 289 290 291 292 293
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.

294
config PNX8550_JBS
295
	bool "NXP PNX8550 based JBS board"
296 297 298 299
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
300
	bool "NXP PNX8550 based STB810 board"
301 302 303
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323
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.

324
config PMC_YOSEMITE
325
	bool "PMC-Sierra Yosemite eval board"
326
	select CEVT_R4K
327
	select CSRC_R4K
328 329 330 331 332 333
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
334
	select SYS_HAS_CPU_RM9000
335
	select SYS_HAS_EARLY_PRINTK
336 337 338 339
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
340
	select SYS_SUPPORTS_SMP
341 342 343
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
344

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

481 482 483
config SIBYTE_CRHINE
	bool "Sibyte BCM91120C-CRhine"
	depends on EXPERIMENTAL
Andrew Isaacson's avatar
Andrew Isaacson committed
484 485
	select BOOT_ELF32
	select DMA_COHERENT
486
	select SIBYTE_BCM1120
Andrew Isaacson's avatar
Andrew Isaacson committed
487
	select SWAP_IO_SPACE
488
	select SYS_HAS_CPU_SB1
Andrew Isaacson's avatar
Andrew Isaacson committed
489 490 491
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN

492 493 494
config SIBYTE_CARMEL
	bool "Sibyte BCM91120x-Carmel"
	depends on EXPERIMENTAL
495
	select BOOT_ELF32
Linus Torvalds's avatar
Linus Torvalds committed
496
	select DMA_COHERENT
497
	select SIBYTE_BCM1120
498
	select SWAP_IO_SPACE
499
	select SYS_HAS_CPU_SB1
500
	select SYS_SUPPORTS_BIG_ENDIAN
501
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
502

503 504
config SIBYTE_CRHONE
	bool "Sibyte BCM91125C-CRhone"
505 506 507
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
508
	select SIBYTE_BCM1125
509
	select SWAP_IO_SPACE
510
	select SYS_HAS_CPU_SB1
511
	select SYS_SUPPORTS_BIG_ENDIAN
512
	select SYS_SUPPORTS_HIGHMEM
513
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
514

515
config SIBYTE_RHONE
516
	bool "Sibyte BCM91125E-Rhone"
517 518 519 520 521
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
	select SIBYTE_BCM1125H
	select SWAP_IO_SPACE
522
	select SYS_HAS_CPU_SB1
523 524
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
525

526 527
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
528
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
529
	select DMA_COHERENT
530 531
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
532
	select SWAP_IO_SPACE
533
	select SYS_HAS_CPU_SB1
534
	select SYS_SUPPORTS_BIG_ENDIAN
535
	select SYS_SUPPORTS_HIGHMEM
Pete Popov's avatar
Pete Popov committed
536
	select SYS_SUPPORTS_LITTLE_ENDIAN
537
	select ZONE_DMA32 if 64BIT
Pete Popov's avatar
Pete Popov committed
538

539 540
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
541 542 543
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
544
	select NR_CPUS_DEFAULT_2
545 546
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
547
	select SYS_HAS_CPU_SB1
548 549 550
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
551

552 553
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
554 555 556
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
557
	select NR_CPUS_DEFAULT_2
558 559
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
560
	select SYS_HAS_CPU_SB1
561 562
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
563

564 565
config SIBYTE_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
566 567
	select BOOT_ELF32
	select DMA_COHERENT
568 569
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
570
	select SWAP_IO_SPACE
571
	select SYS_HAS_CPU_SB1
572
	select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle's avatar
Ralf Baechle committed
573
	select SYS_SUPPORTS_HIGHMEM
574
	select SYS_SUPPORTS_LITTLE_ENDIAN
575
	select ZONE_DMA32 if 64BIT
Linus Torvalds's avatar
Linus Torvalds committed
576

577 578
config SNI_RM
	bool "SNI RM200/300/400"
579 580
	select ARC if CPU_LITTLE_ENDIAN
	select ARC32 if CPU_LITTLE_ENDIAN
581
	select SNIPROM if CPU_BIG_ENDIAN
582
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
583
	select BOOT_ELF32
584
	select CEVT_R4K
585
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
586
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
587 588
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
589
	select HW_HAS_EISA
Linus Torvalds's avatar
Linus Torvalds committed
590
	select HW_HAS_PCI
591
	select IRQ_CPU
592
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
593 594
	select I8259
	select ISA
595
	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
596
	select SYS_HAS_CPU_R4X00
597
	select SYS_HAS_CPU_R5000
598
	select SYS_HAS_CPU_R10000
599
	select R5000_CPU_SCACHE
600
	select SYS_HAS_EARLY_PRINTK
601 602
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
603
	select SYS_SUPPORTS_BIG_ENDIAN
604
	select SYS_SUPPORTS_HIGHMEM
605
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
606
	help
607 608
	  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
609 610 611
	  Technology and now in turn merged with Fujitsu.  Say Y here to
	  support this machine type.

612 613
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
614

615 616
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
617

618 619 620 621 622 623 624 625 626 627 628 629
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
630
	select ARCH_REQUIRE_GPIOLIB
631 632 633 634
	help
	  Support the Mikrotik(tm) RouterBoard 532 series,
	  based on the IDT RC32434 SoC.

635 636
config WR_PPMC
	bool "Wind River PPMC board"
637
	select CEVT_R4K
638
	select CSRC_R4K
639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657
	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.

658
config CAVIUM_OCTEON_SIMULATOR
659
	bool "Cavium Networks Octeon Simulator"
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_CPU_CAVIUM_OCTEON
668 669 670 671 672 673
	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
674
	bool "Cavium Networks Octeon reference board"
675 676 677 678 679 680
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
681
	select SYS_SUPPORTS_HOTPLUG_CPU
682
	select SYS_HAS_EARLY_PRINTK
683
	select SYS_HAS_CPU_CAVIUM_OCTEON
684
	select SWAP_IO_SPACE
685 686
	select HW_HAS_PCI
	select ARCH_SUPPORTS_MSI
687 688 689 690 691 692 693 694 695 696 697 698 699
	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.

700
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
701

Ralf Baechle's avatar
Ralf Baechle committed
702
source "arch/mips/alchemy/Kconfig"
703
source "arch/mips/basler/excite/Kconfig"
704
source "arch/mips/bcm63xx/Kconfig"
705
source "arch/mips/jazz/Kconfig"
706
source "arch/mips/lasat/Kconfig"
707
source "arch/mips/pmc-sierra/Kconfig"
708
source "arch/mips/powertv/Kconfig"
709
source "arch/mips/sgi-ip27/Kconfig"
710
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
711
source "arch/mips/txx9/Kconfig"
712
source "arch/mips/vr41xx/Kconfig"
713
source "arch/mips/cavium-octeon/Kconfig"
714
source "arch/mips/loongson/Kconfig"
715

716 717
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
718 719 720 721 722 723 724
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

725 726 727 728 729 730 731 732
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

733 734 735 736
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

737 738 739 740 741 742 743 744
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
745 746 747 748
config GENERIC_CALIBRATE_DELAY
	bool
	default y

749 750 751 752
config GENERIC_CLOCKEVENTS
	bool
	default y

753 754 755 756
config GENERIC_TIME
	bool
	default y

757 758 759 760
config GENERIC_CMOS_UPDATE
	bool
	default y

761
config SCHED_OMIT_FRAME_POINTER
762 763 764
	bool
	default y

765
config GENERIC_HARDIRQS_NO__DO_IRQ
766
	def_bool y
767

Linus Torvalds's avatar
Linus Torvalds committed
768 769 770 771 772 773
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

774 775 776
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
777 778 779
config BOOT_RAW
	bool

780 781 782
config CEVT_BCM1480
	bool

783 784 785
config CEVT_DS1287
	bool

786 787 788
config CEVT_GT641XX
	bool

789 790 791
config CEVT_R4K_LIB
	bool

792
config CEVT_R4K
793
	select CEVT_R4K_LIB
794 795
	bool

796 797 798
config CEVT_SB1250
	bool

799 800 801
config CEVT_TXX9
	bool

802 803 804
config CSRC_BCM1480
	bool

805 806 807
config CSRC_IOASIC
	bool

808 809 810
config CSRC_POWERTV
	bool

811 812 813
config CSRC_R4K_LIB
	bool

814
config CSRC_R4K
815
	select CSRC_R4K_LIB
816 817
	bool

818 819 820
config CSRC_SB1250
	bool

821 822
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
823
	select ARCH_REQUIRE_GPIOLIB
824 825
	bool

826 827 828
config CFE
	bool

829
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
830 831
	bool

832 833 834 835 836
config DMA_NONCOHERENT
	bool
	select DMA_NEED_PCI_MAP_STATE

config DMA_NEED_PCI_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
837 838 839
	bool

config EARLY_PRINTK
840 841 842 843 844 845 846 847
	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
	depends on SYS_HAS_EARLY_PRINTK
	default y
	help
	  This option enables special console drivers which allow the kernel
	  to print messages very early in the bootup process.

	  This is useful for kernel debugging when your machine crashes very
848 849 850
	  early before the console code is initialized. For normal operation,
	  it is not recommended because it looks ugly on some machines and
	  doesn't cooperate with an X server. You should normally say N here,
851 852 853
	  unless you want to debug such a crash.

config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
854 855
	bool

856
config HOTPLUG_CPU
857 858 859 860 861 862 863 864 865 866
	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
867 868
	bool

Linus Torvalds's avatar
Linus Torvalds committed
869 870 871 872 873 874 875 876 877
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

878 879 880
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
881 882 883
config MIPS_DISABLE_OBSOLETE_IDE
	bool

884 885 886
config SYNC_R4K
	bool

887 888 889
config NO_IOPORT
	def_bool n

890 891 892 893
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

894 895
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
896
	select GENERIC_ISA_DMA
897

Yoichi Yuasa's avatar
Yoichi Yuasa committed
898 899 900
config GENERIC_GPIO
	bool

901
#
Matt LaPlante's avatar
Matt LaPlante committed
902
# Endianess selection.  Sufficiently obscure so many users don't know what to
903 904 905 906 907
# 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
908 909
	help
	  Some MIPS machines can be configured for either little or big endian
910
	  byte order. These modes require different kernels and a different
Matt LaPlante's avatar
Matt LaPlante committed
911
	  Linux distribution.  In general there is one preferred byteorder for a
912
	  particular system but some systems are just as commonly used in the
913
	  one or the other endianness.
914 915 916 917 918 919 920 921 922 923 924 925

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

926 927 928
config SYS_SUPPORTS_APM_EMULATION
	bool

929 930 931 932 933
config SYS_SUPPORTS_BIG_ENDIAN
	bool

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

935 936 937 938 939
config SYS_SUPPORTS_HUGETLBFS
	bool
	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
	default y

Linus Torvalds's avatar
Linus Torvalds committed
940 941 942 943 944 945
config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

946 947 948
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
949 950 951 952 953