Kconfig 56.7 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_C_RECORDMCOUNT
15
	select HAVE_FUNCTION_GRAPH_TRACER
David Daney's avatar
David Daney committed
16 17
	select HAVE_KPROBES
	select HAVE_KRETPROBES
18
	select RTC_LIB if !MACH_LOONGSON
19
	select GENERIC_ATOMIC64 if !64BIT
20 21
	select HAVE_DMA_ATTRS
	select HAVE_DMA_API_DEBUG
22 23
	select HAVE_GENERIC_HARDIRQS
	select GENERIC_IRQ_PROBE
Linus Torvalds's avatar
Linus Torvalds committed
24 25 26

menu "Machine selection"

27 28 29
config ZONE_DMA
	bool

30 31 32
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
33

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

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

68
config BCM47XX
69
	bool "Broadcom BCM47XX based boards"
70
	select CEVT_R4K
71
	select CSRC_R4K
72 73 74 75 76 77 78 79
	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
80
	select SSB_DRIVER_EXTIF
81
	select SSB_EMBEDDED
82
	select SSB_B43_PCI_BRIDGE if PCI
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 185 186 187 188 189 190 191 192 193 194
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

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

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

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

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

279 280 281 282 283 284
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.
285

286
config MACH_VR41XX
287
	bool "NEC VR4100 series based machines"
288
	select CEVT_R4K
289
	select CSRC_R4K
290
	select SYS_HAS_CPU_VR41XX
291
	select ARCH_REQUIRE_GPIOLIB
292

293 294 295 296 297 298 299 300 301 302 303 304 305
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.

306
config PNX8550_JBS
307
	bool "NXP PNX8550 based JBS board"
308 309 310 311
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
312
	bool "NXP PNX8550 based STB810 board"
313 314 315
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

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

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

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

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

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

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

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

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

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

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

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

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

626 627
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
628

629 630
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
631

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

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

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

717
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
718

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

733 734
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
735 736 737 738 739 740 741
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

742 743 744 745 746 747 748 749
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

750 751 752 753
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

754 755 756 757 758 759 760 761
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
762 763 764 765
config GENERIC_CALIBRATE_DELAY
	bool
	default y

766 767 768 769
config GENERIC_CLOCKEVENTS
	bool
	default y

770 771 772 773
config GENERIC_CMOS_UPDATE
	bool
	default y

774
config SCHED_OMIT_FRAME_POINTER
775 776 777
	bool
	default y

778
config GENERIC_HARDIRQS_NO__DO_IRQ
779
	def_bool y
780

Linus Torvalds's avatar
Linus Torvalds committed
781 782 783 784 785 786
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

787 788 789
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
790 791 792
config BOOT_RAW
	bool

793 794 795
config CEVT_BCM1480
	bool

796 797 798
config CEVT_DS1287
	bool

799 800 801
config CEVT_GT641XX
	bool

802 803 804
config CEVT_R4K_LIB
	bool

805
config CEVT_R4K
806
	select CEVT_R4K_LIB
807 808
	bool

809 810 811
config CEVT_SB1250
	bool

812 813 814
config CEVT_TXX9
	bool

815 816 817
config CSRC_BCM1480
	bool

818 819 820
config CSRC_IOASIC
	bool

821 822 823
config CSRC_POWERTV
	bool

824 825 826
config CSRC_R4K_LIB
	bool

827
config CSRC_R4K
828
	select CSRC_R4K_LIB
829 830
	bool

831 832 833
config CSRC_SB1250
	bool

834 835
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
836
	select ARCH_REQUIRE_GPIOLIB
837 838
	bool

839 840 841
config CFE
	bool

842
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
843 844
	bool

845 846
config DMA_NONCOHERENT
	bool
847
	select NEED_DMA_MAP_STATE
848

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

852
config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
853 854
	bool

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

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

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

877 878 879
config MIPS_NILE4
	bool

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

883 884 885
config SYNC_R4K
	bool

886 887 888
config NO_IOPORT
	def_bool n

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

894 895
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
896
	select GENERIC_ISA_DMA
897

898 899 900
config ISA_DMA_API
	bool

Yoichi Yuasa's avatar
Yoichi Yuasa committed
901 902 903
config GENERIC_GPIO
	bool

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

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

929 930 931
config EXPORT_UASM
	bool

932 933 934
config SYS_SUPPORTS_APM_EMULATION
	bool