Kconfig 46.8 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3
config MIPS
	bool
	default y
Sam Ravnborg's avatar
Sam Ravnborg committed
4
	select HAVE_IDE
Mathieu Desnoyers's avatar
Mathieu Desnoyers committed
5
	select HAVE_OPROFILE
Linus Torvalds's avatar
Linus Torvalds committed
6 7
	# Horrible source of confusion.  Die, die, die ...
	select EMBEDDED
8
	select RTC_LIB
Linus Torvalds's avatar
Linus Torvalds committed
9

10 11
mainmenu "Linux/MIPS Kernel Configuration"

Linus Torvalds's avatar
Linus Torvalds committed
12 13
menu "Machine selection"

14 15 16
config ZONE_DMA
	bool

17 18 19
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
20

21 22
config MACH_ALCHEMY
	bool "Alchemy processor based machines"
Linus Torvalds's avatar
Linus Torvalds committed
23

24
config BASLER_EXCITE
25
	bool "Basler eXcite smart camera"
26
	select CEVT_R4K
27
	select CSRC_R4K
28 29 30 31 32
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
33
	select MIPS_RM9122
34 35 36 37 38
	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
39
	  Basler Vision Technologies AG.
40

41 42
config BCM47XX
	bool "BCM47XX based boards"
43
	select CEVT_R4K
44
	select CSRC_R4K
45 46 47 48 49 50 51 52
	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
53 54
	select SSB_DRIVER_EXTIF
	select SSB_PCICORE_HOSTMODE if PCI
55
	select GENERIC_GPIO
56 57
	select SYS_HAS_EARLY_PRINTK
	select CFE
58 59 60
	help
	 Support for BCM47XX based boards

Linus Torvalds's avatar
Linus Torvalds committed
61
config MIPS_COBALT
62
	bool "Cobalt Server"
63
	select CEVT_R4K
64
	select CSRC_R4K
65
	select CEVT_GT641XX
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
	select SYS_SUPPORTS_32BIT_KERNEL
76
	select SYS_SUPPORTS_64BIT_KERNEL
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
	select BOOT_ELF32
83
	select CEVT_DS1287
84
	select CEVT_R4K
85
	select CSRC_IOASIC
86
	select CSRC_R4K
87 88 89
	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
90
	select DMA_NONCOHERENT
91
	select NO_IOPORT
Linus Torvalds's avatar
Linus Torvalds committed
92
	select IRQ_CPU
93 94
	select SYS_HAS_CPU_R3000
	select SYS_HAS_CPU_R4X00
95 96
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
97
	select SYS_SUPPORTS_LITTLE_ENDIAN
98 99 100
	select SYS_SUPPORTS_128HZ
	select SYS_SUPPORTS_256HZ
	select SYS_SUPPORTS_1024HZ
101
	help
Linus Torvalds's avatar
Linus Torvalds committed
102 103 104 105 106 107 108
	  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:

109 110 111 112
		DECstation 5000/50
		DECstation 5000/150
		DECstation 5000/260
		DECsystem 5900/260
Linus Torvalds's avatar
Linus Torvalds committed
113 114 115

	  otherwise choose R3000.

116
config MACH_JAZZ
117
	bool "Jazz family of machines"
118 119 120
	select ARC
	select ARC32
	select ARCH_MAY_HAVE_PC_FDC
121
	select CEVT_R4K
122
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
123
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
124
	select GENERIC_ISA_DMA
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
125
	select IRQ_CPU
126
	select I8253
127 128
	select I8259
	select ISA
129
	select SYS_HAS_CPU_R4X00
130 131
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
132
	select SYS_SUPPORTS_100HZ
133
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
134
	help
135 136 137 138 139
	 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.

140 141
config LASAT
	bool "LASAT Networks platforms"
142
	select CEVT_R4K
143
	select CSRC_R4K
144 145 146
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
147
	select IRQ_CPU
148 149 150 151 152 153 154 155 156
	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

157 158 159
config LEMOTE_FULONG
	bool "Lemote Fulong mini-PC"
	select ARCH_SPARSEMEM_ENABLE
160
	select CEVT_R4K
161
	select CSRC_R4K
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
	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
177
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
178 179 180 181 182
	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
183
config MIPS_MALTA
184
	bool "MIPS Malta board"
185
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
186
	select BOOT_ELF32
187
	select BOOT_RAW
188
	select CEVT_R4K
189
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
190 191
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
192
	select IRQ_CPU
193
	select IRQ_GIC
Linus Torvalds's avatar
Linus Torvalds committed
194
	select HW_HAS_PCI
195
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
196
	select I8259
197 198
	select MIPS_BOARDS_GEN
	select MIPS_BONITO64
199
	select MIPS_CPU_SCACHE
200
	select PCI_GT64XXX_PCI0
201
	select MIPS_MSC
Linus Torvalds's avatar
Linus Torvalds committed
202
	select SWAP_IO_SPACE
203 204 205 206 207
	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
208
	select SYS_HAS_EARLY_PRINTK
209 210
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
211 212
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
213
	select SYS_SUPPORTS_MULTITHREADING
214
	select SYS_SUPPORTS_SMARTMIPS
Linus Torvalds's avatar
Linus Torvalds committed
215
	help
216
	  This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds's avatar
Linus Torvalds committed
217 218
	  board.

219
config MIPS_SIM
220
	bool 'MIPS simulator (MIPSsim)'
221
	select CEVT_R4K
222
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
223
	select DMA_NONCOHERENT
224
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
225
	select IRQ_CPU
Marc St-Jean's avatar
Marc St-Jean committed
226
	select BOOT_RAW
227 228
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
229
	select SYS_HAS_EARLY_PRINTK
230
	select SYS_SUPPORTS_32BIT_KERNEL
231
	select SYS_SUPPORTS_BIG_ENDIAN
232
	select SYS_SUPPORTS_MULTITHREADING
233
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
234
	help
235 236
	  This option enables support for MIPS Technologies MIPSsim software
	  emulator.
Linus Torvalds's avatar
Linus Torvalds committed
237

238 239
config MARKEINS
	bool "NEC EMMA2RH Mark-eins"
240
	select CEVT_R4K
241
	select CSRC_R4K
242 243 244 245 246 247 248 249 250 251 252 253
	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.

254
config MACH_VR41XX
255
	bool "NEC VR4100 series based machines"
256
	select CEVT_R4K
257
	select CSRC_R4K
258
	select SYS_HAS_CPU_VR41XX
259
	select GENERIC_HARDIRQS_NO__DO_IRQ
260

261
config PNX8550_JBS
262
	bool "NXP PNX8550 based JBS board"
263 264 265 266
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
267
	bool "NXP PNX8550 based STB810 board"
268 269 270
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290
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.

291
config PMC_YOSEMITE
292
	bool "PMC-Sierra Yosemite eval board"
293
	select CEVT_R4K
294
	select CSRC_R4K
295 296 297 298 299 300
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
301
	select SYS_HAS_CPU_RM9000
302
	select SYS_HAS_EARLY_PRINTK
303 304 305 306
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
307
	select SYS_SUPPORTS_SMP
308 309 310
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
311 312

config SGI_IP22
313
	bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds's avatar
Linus Torvalds committed
314 315 316
	select ARC
	select ARC32
	select BOOT_ELF32
317
	select CEVT_R4K
318
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
319
	select DEFAULT_SGI_PARTITION
Linus Torvalds's avatar
Linus Torvalds committed
320
	select DMA_NONCOHERENT
321
	select HW_HAS_EISA
322
	select I8253
323
	select I8259
Linus Torvalds's avatar
Linus Torvalds committed
324 325
	select IP22_CPU_SCACHE
	select IRQ_CPU
326
	select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
327 328 329
	select SGI_HAS_DS1286
	select SGI_HAS_I8042
	select SGI_HAS_INDYDOG
330
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
331 332 333
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
Linus Torvalds's avatar
Linus Torvalds committed
334
	select SWAP_IO_SPACE
335 336
	select SYS_HAS_CPU_R4X00
	select SYS_HAS_CPU_R5000
337
	select SYS_HAS_EARLY_PRINTK
338 339
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
340
	select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
341 342 343 344 345 346
	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
347
	bool "SGI IP27 (Origin200/2000)"
Linus Torvalds's avatar
Linus Torvalds committed
348 349
	select ARC
	select ARC64
350
	select BOOT_ELF64
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
351
	select DEFAULT_SGI_PARTITION
Linus Torvalds's avatar
Linus Torvalds committed
352
	select DMA_IP27
353
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
354
	select HW_HAS_PCI
355
	select NR_CPUS_DEFAULT_64
356
	select SYS_HAS_CPU_R10000
357
	select SYS_SUPPORTS_64BIT_KERNEL
358
	select SYS_SUPPORTS_BIG_ENDIAN
359
	select SYS_SUPPORTS_NUMA
360
	select SYS_SUPPORTS_SMP
361
	select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds's avatar
Linus Torvalds committed
362 363 364 365 366
	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
367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384
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_DS1286
	select SGI_HAS_I8042
	select SGI_HAS_INDYDOG
385
	select SGI_HAS_HAL2
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
386 387 388 389 390 391 392 393 394 395 396 397
	select SGI_HAS_SEEQ
	select SGI_HAS_WD93
	select SGI_HAS_ZILOG
	select SWAP_IO_SPACE
	select SYS_HAS_CPU_R10000
	select SYS_HAS_EARLY_PRINTK
	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
398
config SGI_IP32
399
	bool "SGI IP32 (O2)"
Linus Torvalds's avatar
Linus Torvalds committed
400 401 402
	select ARC
	select ARC32
	select BOOT_ELF32
403
	select CEVT_R4K
404
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
405 406
	select DMA_NONCOHERENT
	select HW_HAS_PCI
407
	select IRQ_CPU
Linus Torvalds's avatar
Linus Torvalds committed
408 409
	select R5000_CPU_SCACHE
	select RM7000_CPU_SCACHE
410 411 412
	select SYS_HAS_CPU_R5000
	select SYS_HAS_CPU_R10000 if BROKEN
	select SYS_HAS_CPU_RM7000
413
	select SYS_HAS_CPU_NEVADA
414
	select SYS_SUPPORTS_64BIT_KERNEL
415 416
	select SYS_SUPPORTS_BIG_ENDIAN
	help
417
	  If you want this kernel to run on SGI O2 workstation, say Y here.
Linus Torvalds's avatar
Linus Torvalds committed
418

419 420 421
config SIBYTE_CRHINE
	bool "Sibyte BCM91120C-CRhine"
	depends on EXPERIMENTAL
Andrew Isaacson's avatar
Andrew Isaacson committed
422 423
	select BOOT_ELF32
	select DMA_COHERENT
424
	select SIBYTE_BCM1120
Andrew Isaacson's avatar
Andrew Isaacson committed
425
	select SWAP_IO_SPACE
426
	select SYS_HAS_CPU_SB1
Andrew Isaacson's avatar
Andrew Isaacson committed
427 428 429
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN

430 431 432
config SIBYTE_CARMEL
	bool "Sibyte BCM91120x-Carmel"
	depends on EXPERIMENTAL
433
	select BOOT_ELF32
Linus Torvalds's avatar
Linus Torvalds committed
434
	select DMA_COHERENT
435
	select SIBYTE_BCM1120
436
	select SWAP_IO_SPACE
437
	select SYS_HAS_CPU_SB1
438
	select SYS_SUPPORTS_BIG_ENDIAN
439
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
440

441 442
config SIBYTE_CRHONE
	bool "Sibyte BCM91125C-CRhone"
443 444 445
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
446
	select SIBYTE_BCM1125
447
	select SWAP_IO_SPACE
448
	select SYS_HAS_CPU_SB1
449
	select SYS_SUPPORTS_BIG_ENDIAN
450
	select SYS_SUPPORTS_HIGHMEM
451
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
452

453
config SIBYTE_RHONE
454
	bool "Sibyte BCM91125E-Rhone"
455 456 457 458 459
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
	select SIBYTE_BCM1125H
	select SWAP_IO_SPACE
460
	select SYS_HAS_CPU_SB1
461 462
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
463

464 465
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
466
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
467
	select DMA_COHERENT
468 469
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
470
	select SWAP_IO_SPACE
471
	select SYS_HAS_CPU_SB1
472
	select SYS_SUPPORTS_BIG_ENDIAN
473
	select SYS_SUPPORTS_HIGHMEM
Pete Popov's avatar
Pete Popov committed
474
	select SYS_SUPPORTS_LITTLE_ENDIAN
475
	select ZONE_DMA32 if 64BIT
Pete Popov's avatar
Pete Popov committed
476

477 478
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
479 480 481
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
482
	select NR_CPUS_DEFAULT_2
483 484
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
485
	select SYS_HAS_CPU_SB1
486 487 488
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
489

490 491
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
492 493 494
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
495
	select NR_CPUS_DEFAULT_2
496 497
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
498
	select SYS_HAS_CPU_SB1
499 500
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
501

502 503
config SIBYTE_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
504 505
	select BOOT_ELF32
	select DMA_COHERENT
506 507
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
508
	select SWAP_IO_SPACE
509
	select SYS_HAS_CPU_SB1
510
	select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle's avatar
Ralf Baechle committed
511
	select SYS_SUPPORTS_HIGHMEM
512
	select SYS_SUPPORTS_LITTLE_ENDIAN
513
	select ZONE_DMA32 if 64BIT
Linus Torvalds's avatar
Linus Torvalds committed
514

515 516
config SNI_RM
	bool "SNI RM200/300/400"
517 518
	select ARC if CPU_LITTLE_ENDIAN
	select ARC32 if CPU_LITTLE_ENDIAN
519
	select SNIPROM if CPU_BIG_ENDIAN
520
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
521
	select BOOT_ELF32
522
	select CEVT_R4K
523
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
524
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
525 526
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
527
	select HW_HAS_EISA
Linus Torvalds's avatar
Linus Torvalds committed
528
	select HW_HAS_PCI
529
	select IRQ_CPU
530
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
531 532
	select I8259
	select ISA
533
	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
534
	select SYS_HAS_CPU_R4X00
535
	select SYS_HAS_CPU_R5000
536
	select SYS_HAS_CPU_R10000
537
	select R5000_CPU_SCACHE
538
	select SYS_HAS_EARLY_PRINTK
539 540
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
541
	select SYS_SUPPORTS_BIG_ENDIAN
542
	select SYS_SUPPORTS_HIGHMEM
543
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
544
	help
545 546
	  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
547 548 549
	  Technology and now in turn merged with Fujitsu.  Say Y here to
	  support this machine type.

550 551
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
552

553 554
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
555

556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573
config MIKROTIK_RB532
	bool "Mikrotik RB532 boards"
	select CEVT_R4K
	select CSRC_R4K
	select DMA_NONCOHERENT
	select GENERIC_HARDIRQS_NO__DO_IRQ
	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
	select GENERIC_GPIO
	help
	  Support the Mikrotik(tm) RouterBoard 532 series,
	  based on the IDT RC32434 SoC.

574 575
config WR_PPMC
	bool "Wind River PPMC board"
576
	select CEVT_R4K
577
	select CSRC_R4K
578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596
	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.

597
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
598

599
source "arch/mips/au1000/Kconfig"
600
source "arch/mips/basler/excite/Kconfig"
601
source "arch/mips/jazz/Kconfig"
602
source "arch/mips/lasat/Kconfig"
603
source "arch/mips/pmc-sierra/Kconfig"
604
source "arch/mips/sgi-ip27/Kconfig"
605
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
606
source "arch/mips/txx9/Kconfig"
607
source "arch/mips/vr41xx/Kconfig"
608

609 610
endmenu

Nick Piggin's avatar
Nick Piggin committed
611 612 613 614 615
config GENERIC_LOCKBREAK
	bool
	default y
	depends on SMP && PREEMPT

Linus Torvalds's avatar
Linus Torvalds committed
616 617 618 619 620 621 622
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

623 624 625 626 627 628 629 630
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

631 632 633 634
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

635 636 637 638 639 640 641 642
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
643 644 645 646
config GENERIC_CALIBRATE_DELAY
	bool
	default y

647 648 649 650
config GENERIC_CLOCKEVENTS
	bool
	default y

651 652 653 654
config GENERIC_TIME
	bool
	default y

655 656 657 658
config GENERIC_CMOS_UPDATE
	bool
	default y

659 660 661 662
config SCHED_NO_NO_OMIT_FRAME_POINTER
	bool
	default y

663 664 665 666
config GENERIC_HARDIRQS_NO__DO_IRQ
	bool
	default n

Linus Torvalds's avatar
Linus Torvalds committed
667 668 669 670 671 672
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

673 674 675
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
676 677 678
config BOOT_RAW
	bool

679 680 681
config CEVT_BCM1480
	bool

682 683 684
config CEVT_DS1287
	bool

685 686 687
config CEVT_GT641XX
	bool

688 689 690
config CEVT_R4K
	bool

691 692 693
config CEVT_SB1250
	bool

694 695 696
config CEVT_TXX9
	bool

697 698 699
config CSRC_BCM1480
	bool

700 701 702
config CSRC_IOASIC
	bool

703 704 705
config CSRC_R4K
	bool

706 707 708
config CSRC_SB1250
	bool

709 710
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
711
	select ARCH_REQUIRE_GPIOLIB
712 713
	bool

714 715 716
config CFE
	bool

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

720
config DMA_IP27
Linus Torvalds's avatar
Linus Torvalds committed
721 722
	bool

723 724 725 726 727
config DMA_NONCOHERENT
	bool
	select DMA_NEED_PCI_MAP_STATE

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

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

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

747 748 749 750
config HOTPLUG_CPU
	bool
	default n

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

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

760 761 762
config MIPS_NILE4
	bool

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

766 767 768
config SYNC_R4K
	bool

769 770 771
config NO_IOPORT
	def_bool n

772 773 774 775
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

776 777
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
778
	select GENERIC_ISA_DMA
779

Yoichi Yuasa's avatar
Yoichi Yuasa committed
780 781 782
config GENERIC_GPIO
	bool

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

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

808 809 810
config SYS_SUPPORTS_APM_EMULATION
	bool

811 812 813 814 815
config SYS_SUPPORTS_BIG_ENDIAN
	bool

config SYS_SUPPORTS_LITTLE_ENDIAN
	bool
Linus Torvalds's avatar
Linus Torvalds committed
816 817 818 819 820 821 822

config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

823 824 825
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
826 827 828 829 830 831
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

832 833 834
config IRQ_TXX9
	bool

835 836 837
config IRQ_GT641XX
	bool

838 839 840
config IRQ_GIC
	bool

Linus Torvalds's avatar
Linus Torvalds committed
841 842 843
config MIPS_BOARDS_GEN
	bool

844
config PCI_GT64XXX_PCI0
Linus Torvalds's avatar
Linus Torvalds committed
845 846
	bool

Marc St-Jean's avatar
Marc St-Jean committed
847 848 849
config NO_EXCEPT_FILL
	bool

850 851 852 853
config MIPS_RM9122
	bool
	select SERIAL_RM9000

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

config SOC_PNX8550
	bool
	select DMA_NONCOHERENT
	select HW_HAS_PCI
862
	select SYS_HAS_CPU_MIPS32_R1
863
	select SYS_HAS_EARLY_PRINTK
864
	select SYS_SUPPORTS_32BIT_KERNEL
865
	select GENERIC_HARDIRQS_NO__DO_IRQ
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

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
879 880 881 882 883 884
config SGI_HAS_DS1286
	bool

config SGI_HAS_INDYDOG
	bool

885 886 887
config SGI_HAS_HAL2
	bool

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
888 889 890 891 892 893 894 895 896 897 898 899 900 901 902
config SGI_HAS_SEEQ
	bool

config SGI_HAS_WD93
	bool

config SGI_HAS_ZILOG
	bool

config SGI_HAS_I8042
	bool

config DEFAULT_SGI_PARTITION
	bool

903 904 905
config ARC32
	bool

906 907 908
config SNIPROM
	bool

Linus Torvalds's avatar
Linus Torvalds committed
909 910 911 912 913
config BOOT_ELF32
	bool

config MIPS_L1_CACHE_SHIFT
	int
914
	default "4" if MACH_DECSTATION || MIKROTIK_RB532
915
	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM
Marc St-Jean's avatar
Marc St-Jean committed
916
	default "4" if PMC_MSP4200_EVAL
Linus Torvalds's avatar
Linus Torvalds committed
917 918 919 920 921 922 923
	default "5"

config HAVE_STD_PC_SERIAL_PORT
	bool

config ARC_CONSOLE
	bool "ARC console support"
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
924
	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds's avatar
Linus Torvalds committed
925 926 927

config ARC_MEMORY
	bool
928
	depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
929 930 931 932
	default y

config ARC_PROMLIB
	bool
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
933
	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
934 935 936 937 938 939 940 941 942 943 944 945 946 947
	default y

config ARC64
	bool

config BOOT_ELF64
	bool

menu "CPU selection"

choice
	prompt "CPU type"
	default CPU_R4X00

948 949 950 951 952 953 954 955 956 957
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.

958 959
config CPU_MIPS32_R1
	bool "MIPS32 Release 1"
960
	depends on SYS_HAS_CPU_MIPS32_R1
961
	select CPU_HAS_LLSC
962
	select CPU_HAS_PREFETCH
963
	select CPU_SUPPORTS_32BIT_KERNEL
964
	select CPU_SUPPORTS_HIGHMEM
Ralf Baechle's avatar
Ralf Baechle committed
965
	help
966
	  Choose this option to build a kernel for release 1 or later of the
Ralf Baechle's avatar
Ralf Baechle committed
967 968 969 970 971 972 973 974 975 976 977
	  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"
978
	depends on SYS_HAS_CPU_MIPS32_R2
979
	select CPU_HAS_LLSC
Ralf Baechle's avatar
<