Kconfig 55.9 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 8
	select HAVE_PERF_EVENTS
	select PERF_USE_VMALLOC
9
	select HAVE_ARCH_KGDB
10
	select HAVE_FUNCTION_TRACER
11
	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
12 13
	select HAVE_DYNAMIC_FTRACE
	select HAVE_FTRACE_MCOUNT_RECORD
14
	select HAVE_FUNCTION_GRAPH_TRACER
David Daney's avatar
David Daney committed
15 16
	select HAVE_KPROBES
	select HAVE_KRETPROBES
17
	select RTC_LIB if !MACH_LOONGSON
18
	select GENERIC_ATOMIC64 if !64BIT
19 20
	select HAVE_DMA_ATTRS
	select HAVE_DMA_API_DEBUG
Linus Torvalds's avatar
Linus Torvalds committed
21 22 23

menu "Machine selection"

24 25 26
config ZONE_DMA
	bool

27 28 29
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
30

31
config MIPS_ALCHEMY
32
	bool "Alchemy processor based machines"
33 34 35 36 37 38 39 40 41
	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
42
	select SYS_SUPPORTS_ZBOOT
Linus Torvalds's avatar
Linus Torvalds committed
43

44 45 46 47 48 49 50 51 52 53 54 55 56
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
57
	select SYS_SUPPORTS_ZBOOT_UART16550
58
	select ARCH_REQUIRE_GPIOLIB
59 60 61 62 63 64
	select GCD
	select VLYNQ
	help
	  Support for the Texas Instruments AR7 System-on-a-Chip
	  family: TNETD7100, 7200 and 7300.

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

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

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

150 151 152 153
		DECstation 5000/50
		DECstation 5000/150
		DECstation 5000/260
		DECsystem 5900/260
Linus Torvalds's avatar
Linus Torvalds committed
154 155 156

	  otherwise choose R3000.

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

180 181 182 183 184 185 186 187 188 189 190 191
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

192 193
config LASAT
	bool "LASAT Networks platforms"
194
	select CEVT_R4K
195
	select CSRC_R4K
196 197 198
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
199
	select IRQ_CPU
200 201 202 203 204 205 206 207
	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

208 209
config MACH_LOONGSON
	bool "Loongson family of machines"
210
	select SYS_SUPPORTS_ZBOOT
211
	help
212 213 214 215 216 217
	  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.
218

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

257
config MIPS_SIM
258
	bool 'MIPS simulator (MIPSsim)'
259
	select CEVT_R4K
260
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
261
	select DMA_NONCOHERENT
262
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
263
	select IRQ_CPU
Marc St-Jean's avatar
Marc St-Jean committed
264
	select BOOT_RAW
265 266
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
267
	select SYS_HAS_EARLY_PRINTK
268
	select SYS_SUPPORTS_32BIT_KERNEL
269
	select SYS_SUPPORTS_BIG_ENDIAN
270
	select SYS_SUPPORTS_MULTITHREADING
271
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
272
	help
273 274
	  This option enables support for MIPS Technologies MIPSsim software
	  emulator.
Linus Torvalds's avatar
Linus Torvalds committed
275

276 277 278 279 280 281
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.
282

283
config MACH_VR41XX
284
	bool "NEC VR4100 series based machines"
285
	select CEVT_R4K
286
	select CSRC_R4K
287
	select SYS_HAS_CPU_VR41XX
288
	select ARCH_REQUIRE_GPIOLIB
289

290 291 292 293 294 295 296 297 298 299 300 301 302
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.

303
config PNX8550_JBS
304
	bool "NXP PNX8550 based JBS board"
305 306 307 308
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
309
	bool "NXP PNX8550 based STB810 board"
310 311 312
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332
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.

333
config PMC_YOSEMITE
334
	bool "PMC-Sierra Yosemite eval board"
335
	select CEVT_R4K
336
	select CSRC_R4K
337 338 339 340 341 342
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
343
	select SYS_HAS_CPU_RM9000
344
	select SYS_HAS_EARLY_PRINTK
345 346 347 348
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
349
	select SYS_SUPPORTS_SMP
350 351 352
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
353

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

490 491 492
config SIBYTE_CRHINE
	bool "Sibyte BCM91120C-CRhine"
	depends on EXPERIMENTAL
Andrew Isaacson's avatar
Andrew Isaacson committed
493 494
	select BOOT_ELF32
	select DMA_COHERENT
495
	select SIBYTE_BCM1120
Andrew Isaacson's avatar
Andrew Isaacson committed
496
	select SWAP_IO_SPACE
497
	select SYS_HAS_CPU_SB1
Andrew Isaacson's avatar
Andrew Isaacson committed
498 499 500
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN

501 502 503
config SIBYTE_CARMEL
	bool "Sibyte BCM91120x-Carmel"
	depends on EXPERIMENTAL
504
	select BOOT_ELF32
Linus Torvalds's avatar
Linus Torvalds committed
505
	select DMA_COHERENT
506
	select SIBYTE_BCM1120
507
	select SWAP_IO_SPACE
508
	select SYS_HAS_CPU_SB1
509
	select SYS_SUPPORTS_BIG_ENDIAN
510
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
511

512 513
config SIBYTE_CRHONE
	bool "Sibyte BCM91125C-CRhone"
514 515 516
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
517
	select SIBYTE_BCM1125
518
	select SWAP_IO_SPACE
519
	select SYS_HAS_CPU_SB1
520
	select SYS_SUPPORTS_BIG_ENDIAN
521
	select SYS_SUPPORTS_HIGHMEM
522
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
523

524
config SIBYTE_RHONE
525
	bool "Sibyte BCM91125E-Rhone"
526 527 528 529 530
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
	select SIBYTE_BCM1125H
	select SWAP_IO_SPACE
531
	select SYS_HAS_CPU_SB1
532 533
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
534

535 536
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
537
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
538
	select DMA_COHERENT
539
	select HAVE_PATA_PLATFORM
540 541
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
542
	select SWAP_IO_SPACE
543
	select SYS_HAS_CPU_SB1
544
	select SYS_SUPPORTS_BIG_ENDIAN
545
	select SYS_SUPPORTS_HIGHMEM
Pete Popov's avatar
Pete Popov committed
546
	select SYS_SUPPORTS_LITTLE_ENDIAN
547
	select ZONE_DMA32 if 64BIT
Pete Popov's avatar
Pete Popov committed
548

549 550
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
551 552 553
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
554
	select HAVE_PATA_PLATFORM
555
	select NR_CPUS_DEFAULT_2
556 557
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
558
	select SYS_HAS_CPU_SB1
559 560 561
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
562

563 564
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
565 566 567
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
568
	select NR_CPUS_DEFAULT_2
569 570
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
571
	select SYS_HAS_CPU_SB1
572 573
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
574

575 576
config SIBYTE_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
577 578
	select BOOT_ELF32
	select DMA_COHERENT
579 580
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
581
	select SWAP_IO_SPACE
582
	select SYS_HAS_CPU_SB1
583
	select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle's avatar
Ralf Baechle committed
584
	select SYS_SUPPORTS_HIGHMEM
585
	select SYS_SUPPORTS_LITTLE_ENDIAN
586
	select ZONE_DMA32 if 64BIT
Linus Torvalds's avatar
Linus Torvalds committed
587

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

623 624
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
625

626 627
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
628

629 630 631 632 633 634 635 636 637 638 639 640
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
641
	select ARCH_REQUIRE_GPIOLIB
642 643 644 645
	help
	  Support the Mikrotik(tm) RouterBoard 532 series,
	  based on the IDT RC32434 SoC.

646 647
config WR_PPMC
	bool "Wind River PPMC board"
648
	select CEVT_R4K
649
	select CSRC_R4K
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668
	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.

669
config CAVIUM_OCTEON_SIMULATOR
670
	bool "Cavium Networks Octeon Simulator"
671 672 673 674 675 676
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
677
	select SYS_SUPPORTS_HOTPLUG_CPU
678
	select SYS_HAS_CPU_CAVIUM_OCTEON
679 680 681 682 683 684
	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
685
	bool "Cavium Networks Octeon reference board"
686 687 688 689 690 691
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
692
	select SYS_SUPPORTS_HOTPLUG_CPU
693
	select SYS_HAS_EARLY_PRINTK
694
	select SYS_HAS_CPU_CAVIUM_OCTEON
695
	select SWAP_IO_SPACE
696 697
	select HW_HAS_PCI
	select ARCH_SUPPORTS_MSI
David Daney's avatar
David Daney committed
698
	select ZONE_DMA32
699 700
	select USB_ARCH_HAS_OHCI
	select USB_ARCH_HAS_EHCI
701 702 703 704 705 706 707 708 709 710 711 712 713
	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.

714
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
715

Ralf Baechle's avatar
Ralf Baechle committed
716
source "arch/mips/alchemy/Kconfig"
717
source "arch/mips/bcm63xx/Kconfig"
718
source "arch/mips/jazz/Kconfig"
719
source "arch/mips/jz4740/Kconfig"
720
source "arch/mips/lasat/Kconfig"
721
source "arch/mips/pmc-sierra/Kconfig"
722
source "arch/mips/powertv/Kconfig"
723
source "arch/mips/sgi-ip27/Kconfig"
724
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
725
source "arch/mips/txx9/Kconfig"
726
source "arch/mips/vr41xx/Kconfig"
727
source "arch/mips/cavium-octeon/Kconfig"
728
source "arch/mips/loongson/Kconfig"
729

730 731
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
732 733 734 735 736 737 738
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

739 740 741 742 743 744 745 746
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

747 748 749 750
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

751 752 753 754 755 756 757 758
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
759 760 761 762
config GENERIC_CALIBRATE_DELAY
	bool
	default y

763 764 765 766
config GENERIC_CLOCKEVENTS
	bool
	default y

767 768 769 770
config GENERIC_CMOS_UPDATE
	bool
	default y

771
config SCHED_OMIT_FRAME_POINTER
772 773 774
	bool
	default y

775
config GENERIC_HARDIRQS_NO__DO_IRQ
776
	def_bool y
777

Linus Torvalds's avatar
Linus Torvalds committed
778 779 780 781 782 783
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

784 785 786
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
787 788 789
config BOOT_RAW
	bool

790 791 792
config CEVT_BCM1480
	bool

793 794 795
config CEVT_DS1287
	bool

796 797 798
config CEVT_GT641XX
	bool

799 800 801
config CEVT_R4K_LIB
	bool

802
config CEVT_R4K
803
	select CEVT_R4K_LIB
804 805
	bool

806 807 808
config CEVT_SB1250
	bool

809 810 811
config CEVT_TXX9
	bool

812 813 814
config CSRC_BCM1480
	bool

815 816 817
config CSRC_IOASIC
	bool

818 819 820
config CSRC_POWERTV
	bool

821 822 823
config CSRC_R4K_LIB
	bool

824
config CSRC_R4K
825
	select CSRC_R4K_LIB
826 827
	bool

828 829 830
config CSRC_SB1250
	bool

831 832
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
833
	select ARCH_REQUIRE_GPIOLIB
834 835
	bool

836 837 838
config CFE
	bool

839
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
840 841
	bool

842 843
config DMA_NONCOHERENT
	bool
844
	select NEED_DMA_MAP_STATE
845

846
config NEED_DMA_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
847 848
	bool

849
config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
850 851
	bool

852
config HOTPLUG_CPU
853 854 855 856 857 858 859 860 861 862
	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
863 864
	bool

Linus Torvalds's avatar
Linus Torvalds committed
865 866 867 868 869 870 871 872 873
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

874 875 876
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
877 878 879
config MIPS_DISABLE_OBSOLETE_IDE
	bool

880 881 882
config SYNC_R4K
	bool

883 884 885
config NO_IOPORT
	def_bool n

886 887 888
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
889
	select ISA_DMA_API
890

891 892
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
893
	select GENERIC_ISA_DMA
894

895 896 897
config ISA_DMA_API
	bool

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 EXPORT_UASM
	bool

929 930 931
config SYS_SUPPORTS_APM_EMULATION
	bool

932 933 934 935 936
config SYS_SUPPORTS_BIG_ENDIAN
	bool

config SYS_SUPPORTS_LITTLE_ENDIAN
	bool
Linus Torvalds's avatar
Linus Torvalds committed