Kconfig 47.6 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4 5
config MIPS
	bool
	default y
	# Horrible source of confusion.  Die, die, die ...
	select EMBEDDED
6
	select RTC_LIB
Linus Torvalds's avatar
Linus Torvalds committed
7

8 9
mainmenu "Linux/MIPS Kernel Configuration"

Linus Torvalds's avatar
Linus Torvalds committed
10 11
menu "Machine selection"

12 13 14
config ZONE_DMA
	bool

15 16 17
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
18

19 20
config MACH_ALCHEMY
	bool "Alchemy processor based machines"
Linus Torvalds's avatar
Linus Torvalds committed
21

22
config BASLER_EXCITE
23
	bool "Basler eXcite smart camera"
24 25 26 27 28
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
29
	select MIPS_RM9122
30 31 32
	select SYS_HAS_CPU_RM9000
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
33
	select SYS_SUPPORTS_KGDB
34 35
	help
	  The eXcite is a smart camera platform manufactured by
36
	  Basler Vision Technologies AG.
37 38 39 40 41 42 43 44 45 46 47

config BASLER_EXCITE_PROTOTYPE
	bool "Support for pre-release units"
	depends on BASLER_EXCITE
	default n
	help
	  Pre-series (prototype) units are different from later ones in
	  some ways. Select this option if you have one of these. Please
	  note that a kernel built with this option selected will not be
	  able to run on normal units.

48 49 50 51 52 53 54 55 56 57 58
config BCM47XX
	bool "BCM47XX based boards"
	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
	select GENERIC_GPIO
59 60
	select SYS_HAS_EARLY_PRINTK
	select CFE
61 62 63
	help
	 Support for BCM47XX based boards

Linus Torvalds's avatar
Linus Torvalds committed
64
config MIPS_COBALT
65
	bool "Cobalt Server"
Linus Torvalds's avatar
Linus Torvalds committed
66 67
	select DMA_NONCOHERENT
	select HW_HAS_PCI
68
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
69 70
	select I8259
	select IRQ_CPU
71
	select IRQ_GT641XX
72
	select PCI_GT64XXX_PCI0
73
	select SYS_HAS_CPU_NEVADA
Yoichi Yuasa's avatar
Yoichi Yuasa committed
74
	select SYS_HAS_EARLY_PRINTK
75 76
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
77
	select SYS_SUPPORTS_LITTLE_ENDIAN
78
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
79 80

config MACH_DECSTATION
81
	bool "DECstations"
Linus Torvalds's avatar
Linus Torvalds committed
82 83
	select BOOT_ELF32
	select DMA_NONCOHERENT
84
	select NO_IOPORT
Linus Torvalds's avatar
Linus Torvalds committed
85
	select IRQ_CPU
86 87
	select SYS_HAS_CPU_R3000
	select SYS_HAS_CPU_R4X00
88 89
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
90
	select SYS_SUPPORTS_LITTLE_ENDIAN
91 92 93
	select SYS_SUPPORTS_128HZ
	select SYS_SUPPORTS_256HZ
	select SYS_SUPPORTS_1024HZ
94
	help
Linus Torvalds's avatar
Linus Torvalds committed
95 96 97 98 99 100 101
	  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:

102 103 104 105
		DECstation 5000/50
		DECstation 5000/150
		DECstation 5000/260
		DECsystem 5900/260
Linus Torvalds's avatar
Linus Torvalds committed
106 107 108

	  otherwise choose R3000.

109
config MACH_JAZZ
110
	bool "Jazz family of machines"
111 112 113 114
	select ARC
	select ARC32
	select ARCH_MAY_HAVE_PC_FDC
	select GENERIC_ISA_DMA
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
115
	select IRQ_CPU
116
	select I8253
117 118
	select I8259
	select ISA
Ralf Baechle's avatar
Ralf Baechle committed
119
	select PCSPEAKER
120
	select SYS_HAS_CPU_R4X00
121 122
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
123
	select SYS_SUPPORTS_100HZ
124
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
125
	help
126 127 128 129 130
	 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.
	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
	 Olivetti M700-10 workstations.

131 132 133 134 135
config LASAT
	bool "LASAT Networks platforms"
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
136
	select IRQ_CPU
137 138 139 140 141 142 143 144 145
	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
	select GENERIC_HARDIRQS_NO__DO_IRQ

146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
config LEMOTE_FULONG
	bool "Lemote Fulong mini-PC"
	select ARCH_SPARSEMEM_ENABLE
	select SYS_HAS_CPU_LOONGSON2
	select DMA_NONCOHERENT
	select BOOT_ELF32
	select BOARD_SCACHE
	select HAVE_STD_PC_SERIAL_PORT
	select HW_HAS_PCI
	select I8259
	select ISA
	select IRQ_CPU
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_HAS_EARLY_PRINTK
	select GENERIC_HARDIRQS_NO__DO_IRQ
164
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
165 166 167 168 169
	select CPU_HAS_WB
	help
	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
	  an FPGA northbridge

Linus Torvalds's avatar
Linus Torvalds committed
170
config MIPS_ATLAS
171
	bool "MIPS Atlas board"
Linus Torvalds's avatar
Linus Torvalds committed
172 173
	select BOOT_ELF32
	select DMA_NONCOHERENT
174
	select SYS_HAS_EARLY_PRINTK
175
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
176
	select HW_HAS_PCI
177 178
	select MIPS_BOARDS_GEN
	select MIPS_BONITO64
179
	select PCI_GT64XXX_PCI0
180
	select MIPS_MSC
181
	select RM7000_CPU_SCACHE
Linus Torvalds's avatar
Linus Torvalds committed
182
	select SWAP_IO_SPACE
183 184 185 186 187
	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
188 189
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
190 191
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
192
	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
193
	select SYS_SUPPORTS_SMARTMIPS
194
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
195
	help
196
	  This enables support for the MIPS Technologies Atlas evaluation
Linus Torvalds's avatar
Linus Torvalds committed
197 198 199
	  board.

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

config MIPS_SEAD
232
	bool "MIPS SEAD board"
Linus Torvalds's avatar
Linus Torvalds committed
233 234
	select IRQ_CPU
	select DMA_NONCOHERENT
235
	select SYS_HAS_EARLY_PRINTK
236
	select MIPS_BOARDS_GEN
237 238 239
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_HAS_CPU_MIPS64_R1
240
	select SYS_SUPPORTS_32BIT_KERNEL
241 242 243
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
244
	select SYS_SUPPORTS_SMARTMIPS
245 246 247
	help
	  This enables support for the MIPS Technologies SEAD evaluation
	  board.
Linus Torvalds's avatar
Linus Torvalds committed
248

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

266 267 268 269 270 271 272 273 274 275 276 277 278 279
config MARKEINS
	bool "NEC EMMA2RH Mark-eins"
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select SWAP_IO_SPACE
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_HAS_CPU_R5000
	help
	  This enables support for the R5432-based NEC Mark-eins
	  boards with R5500 CPU.

280
config MACH_VR41XX
281
	bool "NEC VR4100 series based machines"
282
	select SYS_HAS_CPU_VR41XX
283
	select GENERIC_HARDIRQS_NO__DO_IRQ
284

285 286 287 288 289 290 291 292 293 294
config PNX8550_JBS
	bool "Philips PNX8550 based JBS board"
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
	bool "Philips PNX8550 based STB810 board"
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315
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 SYS_SUPPORTS_KGDB
	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.

316
config PMC_YOSEMITE
317
	bool "PMC-Sierra Yosemite eval board"
318 319 320 321 322 323
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
324
	select SYS_HAS_CPU_RM9000
325
	select SYS_HAS_EARLY_PRINTK
326 327 328 329
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
330
	select SYS_SUPPORTS_KGDB
331
	select SYS_SUPPORTS_SMP
332 333 334
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
335

336
config QEMU
337
	bool "Qemu"
338 339 340
	select DMA_COHERENT
	select GENERIC_ISA_DMA
	select HAVE_STD_PC_SERIAL_PORT
341
	select I8253
342
	select I8259
343
	select IRQ_CPU
344
	select ISA
Ralf Baechle's avatar
Ralf Baechle committed
345
	select PCSPEAKER
346
	select SWAP_IO_SPACE
347
	select SYS_HAS_CPU_MIPS32_R1
348 349
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
350
	select SYS_SUPPORTS_LITTLE_ENDIAN
351
	select ARCH_SPARSEMEM_ENABLE
352
	select GENERIC_HARDIRQS_NO__DO_IRQ
353 354
	select NR_CPUS_DEFAULT_1
	select SYS_SUPPORTS_SMP
355
	help
356 357 358 359 360 361
	  Qemu is a software emulator which among other architectures also
	  can simulate a MIPS32 4Kc system.  This patch adds support for the
	  system architecture that currently is being simulated by Qemu.  It
	  will eventually be removed again when Qemu has the capability to
	  simulate actual MIPS hardware platforms.  More information on Qemu
	  can be found at http://www.linux-mips.org/wiki/Qemu.
362

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 368
	select ARC
	select ARC32
	select BOOT_ELF32
	select DMA_NONCOHERENT
369
	select HW_HAS_EISA
370
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
371 372
	select IP22_CPU_SCACHE
	select IRQ_CPU
373
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
Linus Torvalds's avatar
Linus Torvalds committed
374
	select SWAP_IO_SPACE
375 376
	select SYS_HAS_CPU_R4X00
	select SYS_HAS_CPU_R5000
377
	select SYS_HAS_EARLY_PRINTK
378 379
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
380
	select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
381 382 383 384 385 386
	help
	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
	  that runs on these, say Y here.

config SGI_IP27
387
	bool "SGI IP27 (Origin200/2000)"
Linus Torvalds's avatar
Linus Torvalds committed
388 389
	select ARC
	select ARC64
390
	select BOOT_ELF64
Linus Torvalds's avatar
Linus Torvalds committed
391
	select DMA_IP27
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_KGDB
399
	select SYS_SUPPORTS_NUMA
400
	select SYS_SUPPORTS_SMP
401
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
402 403 404 405 406 407
	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.

config SGI_IP32
408
	bool "SGI IP32 (O2)"
Linus Torvalds's avatar
Linus Torvalds committed
409 410 411 412 413
	select ARC
	select ARC32
	select BOOT_ELF32
	select DMA_NONCOHERENT
	select HW_HAS_PCI
414
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
415 416
	select R5000_CPU_SCACHE
	select RM7000_CPU_SCACHE
417 418 419
	select SYS_HAS_CPU_R5000
	select SYS_HAS_CPU_R10000 if BROKEN
	select SYS_HAS_CPU_RM7000
420
	select SYS_HAS_CPU_NEVADA
421
	select SYS_SUPPORTS_64BIT_KERNEL
422 423
	select SYS_SUPPORTS_BIG_ENDIAN
	help
424
	  If you want this kernel to run on SGI O2 workstation, say Y here.
Linus Torvalds's avatar
Linus Torvalds committed
425

426 427 428
config SIBYTE_CRHINE
	bool "Sibyte BCM91120C-CRhine"
	depends on EXPERIMENTAL
Andrew Isaacson's avatar
Andrew Isaacson committed
429 430
	select BOOT_ELF32
	select DMA_COHERENT
431
	select SIBYTE_BCM1120
Andrew Isaacson's avatar
Andrew Isaacson committed
432
	select SWAP_IO_SPACE
433
	select SYS_HAS_CPU_SB1
Andrew Isaacson's avatar
Andrew Isaacson committed
434 435 436
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN

437 438 439
config SIBYTE_CARMEL
	bool "Sibyte BCM91120x-Carmel"
	depends on EXPERIMENTAL
440
	select BOOT_ELF32
Linus Torvalds's avatar
Linus Torvalds committed
441
	select DMA_COHERENT
442
	select SIBYTE_BCM1120
443
	select SWAP_IO_SPACE
444
	select SYS_HAS_CPU_SB1
445
	select SYS_SUPPORTS_BIG_ENDIAN
446
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
447

448 449
config SIBYTE_CRHONE
	bool "Sibyte BCM91125C-CRhone"
450 451 452
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
453
	select SIBYTE_BCM1125
454
	select SWAP_IO_SPACE
455
	select SYS_HAS_CPU_SB1
456
	select SYS_SUPPORTS_BIG_ENDIAN
457
	select SYS_SUPPORTS_HIGHMEM
458
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
459

460
config SIBYTE_RHONE
461
	bool "Sibyte BCM91125E-Rhone"
462 463 464 465 466
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
	select SIBYTE_BCM1125H
	select SWAP_IO_SPACE
467
	select SYS_HAS_CPU_SB1
468 469
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
470

471 472
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
473
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
474
	select DMA_COHERENT
475 476
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
477
	select SWAP_IO_SPACE
478
	select SYS_HAS_CPU_SB1
479
	select SYS_SUPPORTS_BIG_ENDIAN
480 481
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_KGDB
Pete Popov's avatar
Pete Popov committed
482 483
	select SYS_SUPPORTS_LITTLE_ENDIAN

484 485
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
486 487 488
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
489
	select NR_CPUS_DEFAULT_2
490 491
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
492
	select SYS_HAS_CPU_SB1
493 494 495
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
496

497 498
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
499 500 501
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
502
	select NR_CPUS_DEFAULT_2
503 504
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
505
	select SYS_HAS_CPU_SB1
506 507
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
508

509 510
config SIBYTE_PTSWARM
	bool "Sibyte BCM91250PT-PTSWARM"
511 512 513
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
514 515
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
516
	select SWAP_IO_SPACE
517
	select SYS_HAS_CPU_SB1
518
	select SYS_SUPPORTS_BIG_ENDIAN
519
	select SYS_SUPPORTS_HIGHMEM
520
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
521

522 523
config SIBYTE_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
524 525
	select BOOT_ELF32
	select DMA_COHERENT
526 527
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
528
	select SWAP_IO_SPACE
529
	select SYS_HAS_CPU_SB1
530 531
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
532

533 534
config SNI_RM
	bool "SNI RM200/300/400"
535 536
	select ARC if CPU_LITTLE_ENDIAN
	select ARC32 if CPU_LITTLE_ENDIAN
537
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
538 539 540
	select BOOT_ELF32
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
541
	select HW_HAS_EISA
Linus Torvalds's avatar
Linus Torvalds committed
542
	select HW_HAS_PCI
543
	select IRQ_CPU
544
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
545 546
	select I8259
	select ISA
Ralf Baechle's avatar
Ralf Baechle committed
547
	select PCSPEAKER
548
	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
549
	select SYS_HAS_CPU_R4X00
550
	select SYS_HAS_CPU_R5000
551
	select SYS_HAS_CPU_R10000
552
	select R5000_CPU_SCACHE
553
	select SYS_HAS_EARLY_PRINTK
554 555
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
556
	select SYS_SUPPORTS_BIG_ENDIAN
557
	select SYS_SUPPORTS_HIGHMEM
558
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
559
	help
560 561
	  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
562 563 564
	  Technology and now in turn merged with Fujitsu.  Say Y here to
	  support this machine type.

565
config TOSHIBA_JMR3927
566
	bool "Toshiba JMR-TX3927 board"
567 568 569
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select MIPS_TX3927
570
	select IRQ_TXX9
571
	select SWAP_IO_SPACE
572
	select SYS_HAS_CPU_TX39XX
573
	select SYS_SUPPORTS_32BIT_KERNEL
574
	select SYS_SUPPORTS_LITTLE_ENDIAN
575
	select SYS_SUPPORTS_BIG_ENDIAN
Atsushi Nemoto's avatar
Atsushi Nemoto committed
576
	select GENERIC_HARDIRQS_NO__DO_IRQ
577

Linus Torvalds's avatar
Linus Torvalds committed
578
config TOSHIBA_RBTX4927
Yoichi Yuasa's avatar
Yoichi Yuasa committed
579
	bool "Toshiba RBTX49[23]7 board"
Linus Torvalds's avatar
Linus Torvalds committed
580 581 582
	select DMA_NONCOHERENT
	select HAS_TXX9_SERIAL
	select HW_HAS_PCI
583 584 585
	select IRQ_CPU
	select IRQ_TXX9
	select I8259 if TOSHIBA_FPCIB0
Linus Torvalds's avatar
Linus Torvalds committed
586
	select SWAP_IO_SPACE
587
	select SYS_HAS_CPU_TX49XX
588 589
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
590
	select SYS_SUPPORTS_LITTLE_ENDIAN
591
	select SYS_SUPPORTS_BIG_ENDIAN
592
	select SYS_SUPPORTS_KGDB
593
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
594 595 596 597
	help
	  This Toshiba board is based on the TX4927 processor. Say Y here to
	  support this machine type

598
config TOSHIBA_RBTX4938
599
	bool "Toshiba RBTX4938 board"
600 601 602
	select DMA_NONCOHERENT
	select HAS_TXX9_SERIAL
	select HW_HAS_PCI
603 604
	select IRQ_CPU
	select IRQ_TXX9
605
	select SWAP_IO_SPACE
606
	select SYS_HAS_CPU_TX49XX
607 608 609
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_SUPPORTS_BIG_ENDIAN
610
	select SYS_SUPPORTS_KGDB
611
	select GENERIC_HARDIRQS_NO__DO_IRQ
612
	select GENERIC_GPIO
613 614 615 616
	help
	  This Toshiba board is based on the TX4938 processor. Say Y here to
	  support this machine type

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

638
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
639

640
source "arch/mips/au1000/Kconfig"
641
source "arch/mips/jazz/Kconfig"
642
source "arch/mips/lasat/Kconfig"
643
source "arch/mips/pmc-sierra/Kconfig"
644
source "arch/mips/sgi-ip27/Kconfig"
645
source "arch/mips/sibyte/Kconfig"
646
source "arch/mips/tx4927/Kconfig"
647
source "arch/mips/tx4938/Kconfig"
648
source "arch/mips/vr41xx/Kconfig"
649

650 651
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
652 653 654 655 656 657 658
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

659 660 661 662 663 664 665 666
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

667 668 669 670 671 672 673 674
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
675 676 677 678
config GENERIC_CALIBRATE_DELAY
	bool
	default y

679 680 681 682
config GENERIC_CLOCKEVENTS
	bool
	default y

683 684 685 686
config GENERIC_TIME
	bool
	default y

687 688 689 690
config GENERIC_CMOS_UPDATE
	bool
	default y

691 692 693 694
config SCHED_NO_NO_OMIT_FRAME_POINTER
	bool
	default y

695 696 697 698
config GENERIC_HARDIRQS_NO__DO_IRQ
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
699 700 701 702 703 704
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

705 706 707
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
708 709 710
config BOOT_RAW
	bool

711 712 713
config CFE
	bool

714
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
715 716
	bool

717
config DMA_IP27
Linus Torvalds's avatar
Linus Torvalds committed
718 719
	bool

720 721 722 723 724 725 726 727 728
config DMA_IP32
	bool
	select DMA_NEED_PCI_MAP_STATE

config DMA_NONCOHERENT
	bool
	select DMA_NEED_PCI_MAP_STATE

config DMA_NEED_PCI_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
729 730 731
	bool

config EARLY_PRINTK
732 733 734 735 736 737 738 739
	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
740 741 742
	  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,
743 744 745
	  unless you want to debug such a crash.

config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
746 747
	bool

748 749 750 751
config HOTPLUG_CPU
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
752 753 754 755 756 757 758 759 760
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

761 762 763
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
764 765 766
config MIPS_DISABLE_OBSOLETE_IDE
	bool

767 768 769
config NO_IOPORT
	def_bool n

770 771 772 773
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

774 775
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
776
	select GENERIC_ISA_DMA
777

Yoichi Yuasa's avatar
Yoichi Yuasa committed
778 779 780
config GENERIC_GPIO
	bool

781
#
Matt LaPlante's avatar
Matt LaPlante committed
782
# Endianess selection.  Sufficiently obscure so many users don't know what to
783 784 785 786 787
# 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
788 789
	help
	  Some MIPS machines can be configured for either little or big endian
790
	  byte order. These modes require different kernels and a different
Matt LaPlante's avatar
Matt LaPlante committed
791
	  Linux distribution.  In general there is one preferred byteorder for a
792
	  particular system but some systems are just as commonly used in the
793
	  one or the other endianness.
794 795 796 797 798 799 800 801 802 803 804 805

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

806 807 808
config SYS_SUPPORTS_APM_EMULATION
	bool

809 810 811 812 813
config SYS_SUPPORTS_BIG_ENDIAN
	bool

config SYS_SUPPORTS_LITTLE_ENDIAN
	bool
Linus Torvalds's avatar
Linus Torvalds committed
814 815 816 817 818 819 820

config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

821 822 823
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
824 825 826 827 828 829
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

830 831 832
config IRQ_TXX9
	bool

833 834 835
config IRQ_GT641XX
	bool

Linus Torvalds's avatar
Linus Torvalds committed
836 837 838
config MIPS_BOARDS_GEN
	bool

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

Marc St-Jean's avatar
Marc St-Jean committed
842 843 844
config NO_EXCEPT_FILL
	bool

Linus Torvalds's avatar
Linus Torvalds committed
845 846 847 848
config MIPS_TX3927
	bool
	select HAS_TXX9_SERIAL

849 850 851 852
config MIPS_RM9122
	bool
	select SERIAL_RM9000

853 854 855 856 857 858 859 860
config PNX8550
	bool
	select SOC_PNX8550

config SOC_PNX8550
	bool
	select DMA_NONCOHERENT
	select HW_HAS_PCI
861
	select SYS_HAS_CPU_MIPS32_R1
862
	select SYS_HAS_EARLY_PRINTK
863
	select SYS_SUPPORTS_32BIT_KERNEL
864
	select GENERIC_HARDIRQS_NO__DO_IRQ
865
	select SYS_SUPPORTS_KGDB
866
	select GENERIC_GPIO
867

Linus Torvalds's avatar
Linus Torvalds committed
868 869 870
config SWAP_IO_SPACE
	bool

871 872 873 874 875
config EMMA2RH
	bool
	depends on MARKEINS
	default y

876 877 878
config SERIAL_RM9000
	bool

879 880 881
config ARC32
	bool

Linus Torvalds's avatar
Linus Torvalds committed
882 883 884 885 886
config BOOT_ELF32
	bool

config MIPS_L1_CACHE_SHIFT
	int
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
887 888
	default "4" if MACH_DECSTATION
	default "7" if SGI_IP27 || SNI_RM
Marc St-Jean's avatar
Marc St-Jean committed
889
	default "4" if PMC_MSP4200_EVAL
Linus Torvalds's avatar
Linus Torvalds committed
890 891 892 893 894 895 896
	default "5"

config HAVE_STD_PC_SERIAL_PORT
	bool

config ARC_CONSOLE
	bool "ARC console support"
897
	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds's avatar
Linus Torvalds committed
898 899 900

config ARC_MEMORY
	bool
901
	depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
902 903 904 905
	default y

config ARC_PROMLIB
	bool
906
	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
907 908 909 910 911 912 913 914 915 916
	default y

config ARC64
	bool

config BOOT_ELF64
	bool

menu "CPU selection"

917 918
source "kernel/time/Kconfig"

Linus Torvalds's avatar
Linus Torvalds committed
919 920 921 922
choice
	prompt "CPU type"
	default CPU_R4X00

923 924 925 926 927 928 929 930 931 932
config CPU_LOONGSON2
	bool "Loongson 2"
	depends on SYS_HAS_CPU_LOONGSON2
	select CPU_SUPPORTS_32BIT_KERNEL
	select CPU_SUPPORTS_64BIT_KERNEL
	select CPU_SUPPORTS_HIGHMEM
	help
	  The Loongson 2E processor implements the MIPS III instruction set
	  with many extensions.

933 934
config CPU_MIPS32_R1
	bool "MIPS32 Release 1"
935
	depends on SYS_HAS_CPU_MIPS32_R1
936
	select CPU_HAS_LLSC
937
	select CPU_HAS_PREFETCH
938
	select CPU_SUPPORTS_32BIT_KERNEL
939
	select CPU_SUPPORTS_HIGHMEM
Ralf Baechle's avatar
Ralf Baechle committed
940
	help
941
	  Choose this option to build a kernel for release 1 or later of the
Ralf Baechle's avatar
Ralf Baechle committed
942 943 944 945 946 947 948 949 950 951 952
	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
	  MIPS processor are based on a MIPS32 processor.  If you know the
	  specific type of processor in your system, choose those that one
	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
	  Release 2 of the MIPS32 architecture is available since several
	  years so chances are you even have a MIPS32 Release 2 processor
	  in which case you should choose CPU_MIPS32_R2 instead for better
	  performance.

config CPU_MIPS32_R2
	bool "MIPS32 Release 2"
953
	depends on SYS_HAS_CPU_MIPS32_R2
954
	select CPU_HAS_LLSC
Ralf Baechle's avatar
Ralf Baechle committed
955
	select CPU_HAS_PREFETCH
956
	select CPU_SUPPORTS_32BIT_KERNEL
957
	select CPU_SUPPORTS_HIGHMEM
958
	help
959
	  Choose this option to build a kernel for release 2 or later of the
960 961 962 963 964 965 966
	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
	  MIPS processor are based on a MIPS32 processor.  If you know the
	  specific type of processor in your system, choose those that one
	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.

config CPU_MIPS64_R1
	bool "MIPS64 Release 1"
967
	depends on SYS_HAS_CPU_MIPS64_R1