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

12
13
mainmenu "Linux/MIPS Kernel Configuration"

Linus Torvalds's avatar
Linus Torvalds committed
14
15
menu "Machine selection"

16
17
18
config ZONE_DMA
	bool

19
20
21
choice
	prompt "System type"
	default SGI_IP22
Linus Torvalds's avatar
Linus Torvalds committed
22

23
24
config MACH_ALCHEMY
	bool "Alchemy processor based machines"
Linus Torvalds's avatar
Linus Torvalds committed
25

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
	select GENERIC_GPIO
	select GCD
	select VLYNQ
	help
	  Support for the Texas Instruments AR7 System-on-a-Chip
	  family: TNETD7100, 7200 and 7300.

46
config BASLER_EXCITE
47
	bool "Basler eXcite smart camera"
48
	select CEVT_R4K
49
	select CSRC_R4K
50
51
52
53
54
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
55
	select MIPS_RM9122
56
57
58
59
60
	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
61
	  Basler Vision Technologies AG.
62

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

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

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

147
148
149
150
		DECstation 5000/50
		DECstation 5000/150
		DECstation 5000/260
		DECsystem 5900/260
Linus Torvalds's avatar
Linus Torvalds committed
151
152
153

	  otherwise choose R3000.

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

177
178
config LASAT
	bool "LASAT Networks platforms"
179
	select CEVT_R4K
180
	select CSRC_R4K
181
182
183
	select DMA_NONCOHERENT
	select SYS_HAS_EARLY_PRINTK
	select HW_HAS_PCI
184
	select IRQ_CPU
185
186
187
188
189
190
191
192
	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

193
194
config MACH_LOONGSON
	bool "Loongson family of machines"
195
	help
196
197
198
199
200
201
	  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.
202

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

240
config MIPS_SIM
241
	bool 'MIPS simulator (MIPSsim)'
242
	select CEVT_R4K
243
	select CSRC_R4K
Linus Torvalds's avatar
Linus Torvalds committed
244
	select DMA_NONCOHERENT
245
	select SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
246
	select IRQ_CPU
Marc St-Jean's avatar
Marc St-Jean committed
247
	select BOOT_RAW
248
249
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
250
	select SYS_HAS_EARLY_PRINTK
251
	select SYS_SUPPORTS_32BIT_KERNEL
252
	select SYS_SUPPORTS_BIG_ENDIAN
253
	select SYS_SUPPORTS_MULTITHREADING
254
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
255
	help
256
257
	  This option enables support for MIPS Technologies MIPSsim software
	  emulator.
Linus Torvalds's avatar
Linus Torvalds committed
258

259
260
261
262
263
264
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.
265

266
config MACH_VR41XX
267
	bool "NEC VR4100 series based machines"
268
	select CEVT_R4K
269
	select CSRC_R4K
270
	select SYS_HAS_CPU_VR41XX
271
	select ARCH_REQUIRE_GPIOLIB
272

273
274
275
276
277
278
279
280
281
282
283
284
285
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.

286
config PNX8550_JBS
287
	bool "NXP PNX8550 based JBS board"
288
289
290
291
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

config PNX8550_STB810
292
	bool "NXP PNX8550 based STB810 board"
293
294
295
	select PNX8550
	select SYS_SUPPORTS_LITTLE_ENDIAN

Marc St-Jean's avatar
Marc St-Jean committed
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 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
	select CEVT_R4K
319
	select CSRC_R4K
320
321
322
323
324
325
	select DMA_COHERENT
	select HW_HAS_PCI
	select IRQ_CPU
	select IRQ_CPU_RM7K
	select IRQ_CPU_RM9K
	select SWAP_IO_SPACE
326
	select SYS_HAS_CPU_RM9000
327
	select SYS_HAS_EARLY_PRINTK
328
329
330
331
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
332
	select SYS_SUPPORTS_SMP
333
334
335
	help
	  Yosemite is an evaluation board for the RM9000x2 processor
	  manufactured by PMC-Sierra.
Linus Torvalds's avatar
Linus Torvalds committed
336
337

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

455
456
457
config SIBYTE_CRHINE
	bool "Sibyte BCM91120C-CRhine"
	depends on EXPERIMENTAL
Andrew Isaacson's avatar
Andrew Isaacson committed
458
459
	select BOOT_ELF32
	select DMA_COHERENT
460
	select SIBYTE_BCM1120
Andrew Isaacson's avatar
Andrew Isaacson committed
461
	select SWAP_IO_SPACE
462
	select SYS_HAS_CPU_SB1
Andrew Isaacson's avatar
Andrew Isaacson committed
463
464
465
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN

466
467
468
config SIBYTE_CARMEL
	bool "Sibyte BCM91120x-Carmel"
	depends on EXPERIMENTAL
469
	select BOOT_ELF32
Linus Torvalds's avatar
Linus Torvalds committed
470
	select DMA_COHERENT
471
	select SIBYTE_BCM1120
472
	select SWAP_IO_SPACE
473
	select SYS_HAS_CPU_SB1
474
	select SYS_SUPPORTS_BIG_ENDIAN
475
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
476

477
478
config SIBYTE_CRHONE
	bool "Sibyte BCM91125C-CRhone"
479
480
481
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
482
	select SIBYTE_BCM1125
483
	select SWAP_IO_SPACE
484
	select SYS_HAS_CPU_SB1
485
	select SYS_SUPPORTS_BIG_ENDIAN
486
	select SYS_SUPPORTS_HIGHMEM
487
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
488

489
config SIBYTE_RHONE
490
	bool "Sibyte BCM91125E-Rhone"
491
492
493
494
495
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
	select SIBYTE_BCM1125H
	select SWAP_IO_SPACE
496
	select SYS_HAS_CPU_SB1
497
498
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
499

500
501
config SIBYTE_SWARM
	bool "Sibyte BCM91250A-SWARM"
502
	select BOOT_ELF32
Pete Popov's avatar
Pete Popov committed
503
	select DMA_COHERENT
504
505
	select NR_CPUS_DEFAULT_2
	select SIBYTE_SB1250
506
	select SWAP_IO_SPACE
507
	select SYS_HAS_CPU_SB1
508
	select SYS_SUPPORTS_BIG_ENDIAN
509
	select SYS_SUPPORTS_HIGHMEM
Pete Popov's avatar
Pete Popov committed
510
	select SYS_SUPPORTS_LITTLE_ENDIAN
511
	select ZONE_DMA32 if 64BIT
Pete Popov's avatar
Pete Popov committed
512

513
514
config SIBYTE_LITTLESUR
	bool "Sibyte BCM91250C2-LittleSur"
515
516
517
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
518
	select NR_CPUS_DEFAULT_2
519
520
	select SIBYTE_SB1250
	select SWAP_IO_SPACE
521
	select SYS_HAS_CPU_SB1
522
523
524
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
525

526
527
config SIBYTE_SENTOSA
	bool "Sibyte BCM91250E-Sentosa"
528
529
530
	depends on EXPERIMENTAL
	select BOOT_ELF32
	select DMA_COHERENT
531
	select NR_CPUS_DEFAULT_2
532
533
	select SIBYTE_SB1250
	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_BIGSUR
	bool "Sibyte BCM91480B-BigSur"
540
541
	select BOOT_ELF32
	select DMA_COHERENT
542
543
	select NR_CPUS_DEFAULT_4
	select SIBYTE_BCM1x80
544
	select SWAP_IO_SPACE
545
	select SYS_HAS_CPU_SB1
546
	select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle's avatar
Ralf Baechle committed
547
	select SYS_SUPPORTS_HIGHMEM
548
	select SYS_SUPPORTS_LITTLE_ENDIAN
549
	select ZONE_DMA32 if 64BIT
Linus Torvalds's avatar
Linus Torvalds committed
550

551
552
config SNI_RM
	bool "SNI RM200/300/400"
553
554
	select ARC if CPU_LITTLE_ENDIAN
	select ARC32 if CPU_LITTLE_ENDIAN
555
	select SNIPROM if CPU_BIG_ENDIAN
556
	select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds's avatar
Linus Torvalds committed
557
	select BOOT_ELF32
558
	select CEVT_R4K
559
	select CSRC_R4K
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
560
	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
561
562
	select DMA_NONCOHERENT
	select GENERIC_ISA_DMA
563
	select HW_HAS_EISA
Linus Torvalds's avatar
Linus Torvalds committed
564
	select HW_HAS_PCI
565
	select IRQ_CPU
566
	select I8253
Linus Torvalds's avatar
Linus Torvalds committed
567
568
	select I8259
	select ISA
569
	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
570
	select SYS_HAS_CPU_R4X00
571
	select SYS_HAS_CPU_R5000
572
	select SYS_HAS_CPU_R10000
573
	select R5000_CPU_SCACHE
574
	select SYS_HAS_EARLY_PRINTK
575
576
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
577
	select SYS_SUPPORTS_BIG_ENDIAN
578
	select SYS_SUPPORTS_HIGHMEM
579
	select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds's avatar
Linus Torvalds committed
580
	help
581
582
	  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
583
584
585
	  Technology and now in turn merged with Fujitsu.  Say Y here to
	  support this machine type.

586
587
config MACH_TX39XX
	bool "Toshiba TX39 series based machines"
588

589
590
config MACH_TX49XX
	bool "Toshiba TX49 series based machines"
591

592
593
594
595
596
597
598
599
600
601
602
603
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
604
	select ARCH_REQUIRE_GPIOLIB
605
606
607
608
	help
	  Support the Mikrotik(tm) RouterBoard 532 series,
	  based on the IDT RC32434 SoC.

609
610
config WR_PPMC
	bool "Wind River PPMC board"
611
	select CEVT_R4K
612
	select CSRC_R4K
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
	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.

632
config CAVIUM_OCTEON_SIMULATOR
633
	bool "Cavium Networks Octeon Simulator"
634
635
636
637
638
639
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
640
	select SYS_SUPPORTS_HOTPLUG_CPU
641
	select SYS_HAS_CPU_CAVIUM_OCTEON
642
643
644
645
646
647
	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
648
	bool "Cavium Networks Octeon reference board"
649
650
651
652
653
654
	select CEVT_R4K
	select 64BIT_PHYS_ADDR
	select DMA_COHERENT
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_HIGHMEM
655
	select SYS_SUPPORTS_HOTPLUG_CPU
656
	select SYS_HAS_EARLY_PRINTK
657
	select SYS_HAS_CPU_CAVIUM_OCTEON
658
	select SWAP_IO_SPACE
659
660
	select HW_HAS_PCI
	select ARCH_SUPPORTS_MSI
661
662
663
664
665
666
667
668
669
670
671
672
673
	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.

674
endchoice
Linus Torvalds's avatar
Linus Torvalds committed
675

Ralf Baechle's avatar
Ralf Baechle committed
676
source "arch/mips/alchemy/Kconfig"
677
source "arch/mips/basler/excite/Kconfig"
678
source "arch/mips/bcm63xx/Kconfig"
679
source "arch/mips/jazz/Kconfig"
680
source "arch/mips/lasat/Kconfig"
681
source "arch/mips/pmc-sierra/Kconfig"
682
source "arch/mips/sgi-ip27/Kconfig"
683
source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto's avatar
Atsushi Nemoto committed
684
source "arch/mips/txx9/Kconfig"
685
source "arch/mips/vr41xx/Kconfig"
686
source "arch/mips/cavium-octeon/Kconfig"
687
source "arch/mips/loongson/Kconfig"
688

689
690
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
691
692
693
694
695
696
697
config RWSEM_GENERIC_SPINLOCK
	bool
	default y

config RWSEM_XCHGADD_ALGORITHM
	bool

698
699
700
701
702
703
704
705
config ARCH_HAS_ILOG2_U32
	bool
	default n

config ARCH_HAS_ILOG2_U64
	bool
	default n

706
707
708
709
config ARCH_SUPPORTS_OPROFILE
	bool
	default y if !MIPS_MT_SMTC

710
711
712
713
714
715
716
717
config GENERIC_FIND_NEXT_BIT
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

Linus Torvalds's avatar
Linus Torvalds committed
718
719
720
721
config GENERIC_CALIBRATE_DELAY
	bool
	default y

722
723
724
725
config GENERIC_CLOCKEVENTS
	bool
	default y

726
727
728
729
config GENERIC_TIME
	bool
	default y

730
731
732
733
config GENERIC_CMOS_UPDATE
	bool
	default y

734
config SCHED_OMIT_FRAME_POINTER
735
736
737
	bool
	default y

738
config GENERIC_HARDIRQS_NO__DO_IRQ
739
	def_bool y
740

Linus Torvalds's avatar
Linus Torvalds committed
741
742
743
744
745
746
#
# Select some configuration options automatically based on user selections.
#
config ARC
	bool

747
748
749
config ARCH_MAY_HAVE_PC_FDC
	bool

Marc St-Jean's avatar
Marc St-Jean committed
750
751
752
config BOOT_RAW
	bool

753
754
755
config CEVT_BCM1480
	bool

756
757
758
config CEVT_DS1287
	bool

759
760
761
config CEVT_GT641XX
	bool

762
763
764
config CEVT_R4K_LIB
	bool

765
config CEVT_R4K
766
	select CEVT_R4K_LIB
767
768
	bool

769
770
771
config CEVT_SB1250
	bool

772
773
774
config CEVT_TXX9
	bool

775
776
777
config CSRC_BCM1480
	bool

778
779
780
config CSRC_IOASIC
	bool

781
782
783
config CSRC_R4K_LIB
	bool

784
config CSRC_R4K
785
	select CSRC_R4K_LIB
786
787
	bool

788
789
790
config CSRC_SB1250
	bool

791
792
config GPIO_TXX9
	select GENERIC_GPIO
Michael Buesch's avatar
Michael Buesch committed
793
	select ARCH_REQUIRE_GPIOLIB
794
795
	bool

796
797
798
config CFE
	bool

799
config DMA_COHERENT
Linus Torvalds's avatar
Linus Torvalds committed
800
801
	bool

802
803
804
805
806
config DMA_NONCOHERENT
	bool
	select DMA_NEED_PCI_MAP_STATE

config DMA_NEED_PCI_MAP_STATE
Linus Torvalds's avatar
Linus Torvalds committed
807
808
809
	bool

config EARLY_PRINTK
810
811
812
813
814
815
816
817
	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
818
819
820
	  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,
821
822
823
	  unless you want to debug such a crash.

config SYS_HAS_EARLY_PRINTK
Linus Torvalds's avatar
Linus Torvalds committed
824
825
	bool

826
config HOTPLUG_CPU
827
828
829
830
831
832
833
834
835
836
	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
837
838
	bool

Linus Torvalds's avatar
Linus Torvalds committed
839
840
841
842
843
844
845
846
847
config I8259
	bool

config MIPS_BONITO64
	bool

config MIPS_MSC
	bool

848
849
850
config MIPS_NILE4
	bool

Linus Torvalds's avatar
Linus Torvalds committed
851
852
853
config MIPS_DISABLE_OBSOLETE_IDE
	bool

854
855
856
config SYNC_R4K
	bool

857
858
859
config NO_IOPORT
	def_bool n

860
861
862
863
config GENERIC_ISA_DMA
	bool
	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n

864
865
config GENERIC_ISA_DMA_SUPPORT_BROKEN
	bool
866
	select GENERIC_ISA_DMA
867

Yoichi Yuasa's avatar
Yoichi Yuasa committed
868
869
870
config GENERIC_GPIO
	bool

871
#
Matt LaPlante's avatar
Matt LaPlante committed
872
# Endianess selection.  Sufficiently obscure so many users don't know what to
873
874
875
876
877
# 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
878
879
	help
	  Some MIPS machines can be configured for either little or big endian
880
	  byte order. These modes require different kernels and a different
Matt LaPlante's avatar
Matt LaPlante committed
881
	  Linux distribution.  In general there is one preferred byteorder for a
882
	  particular system but some systems are just as commonly used in the
883
	  one or the other endianness.
884
885
886
887
888
889
890
891
892
893
894
895

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

896
897
898
config SYS_SUPPORTS_APM_EMULATION
	bool

899
900
901
902
903
config SYS_SUPPORTS_BIG_ENDIAN
	bool

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

905
906
907
908
909
config SYS_SUPPORTS_HUGETLBFS
	bool
	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
	default y

Linus Torvalds's avatar
Linus Torvalds committed
910
911
912
913
914
915
config IRQ_CPU
	bool

config IRQ_CPU_RM7K
	bool

916
917
918
config IRQ_CPU_RM9K
	bool

Marc St-Jean's avatar
Marc St-Jean committed
919
920
921
922
923
924
config IRQ_MSP_SLP
	bool

config IRQ_MSP_CIC
	bool

925
926
927
config IRQ_TXX9
	bool

928
929
930
config IRQ_GT641XX
	bool

931
932
933
config IRQ_GIC
	bool

934
935
936
config IRQ_CPU_OCTEON
	bool

Linus Torvalds's avatar
Linus Torvalds committed
937
938
939
config MIPS_BOARDS_GEN
	bool

940
config PCI_GT64XXX_PCI0
Linus Torvalds's avatar
Linus Torvalds committed
941
942
	bool

Marc St-Jean's avatar
Marc St-Jean committed
943
944
945
config NO_EXCEPT_FILL
	bool

946
947
948
949
config MIPS_RM9122
	bool
	select SERIAL_RM9000

950
951
952
953
954
955
956
957
958
959
960
961
config SOC_EMMA2RH
	bool
	select CEVT_R4K
	select CSRC_R4K
	select DMA_NONCOHERENT
	select IRQ_CPU
	select SWAP_IO_SPACE
	select SYS_HAS_CPU_R5500
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_64BIT_KERNEL
	select SYS_SUPPORTS_BIG_ENDIAN

962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
config SOC_PNX833X
	bool
	select CEVT_R4K
	select CSRC_R4K
	select IRQ_CPU
	select DMA_NONCOHERENT
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_SUPPORTS_BIG_ENDIAN
	select GENERIC_GPIO
	select CPU_MIPSR2_IRQ_VI

config SOC_PNX8335
	bool
	select SOC_PNX833X

979
980
981
982
983
984
985
986
config PNX8550
	bool
	select SOC_PNX8550

config SOC_PNX8550
	bool
	select DMA_NONCOHERENT
	select HW_HAS_PCI
987
	select SYS_HAS_CPU_MIPS32_R1
988
	select SYS_HAS_EARLY_PRINTK
989
	select SYS_SUPPORTS_32BIT_KERNEL
990
	select GENERIC_GPIO
991

Linus Torvalds's avatar
Linus Torvalds committed
992
993
994
config SWAP_IO_SPACE
	bool

995
996
997
config SERIAL_RM9000
	bool

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
998
999
1000
config SGI_HAS_INDYDOG
	bool

1001
1002
1003
config SGI_HAS_HAL2
	bool

Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
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

1019
1020
1021
config ARC32
	bool

1022
1023
1024
config SNIPROM
	bool

Linus Torvalds's avatar
Linus Torvalds committed
1025
1026
1027
1028
1029
config BOOT_ELF32
	bool

config MIPS_L1_CACHE_SHIFT
	int
1030
	default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
1031
	default "6" if MIPS_CPU_SCACHE
1032
	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
Linus Torvalds's avatar
Linus Torvalds committed
1033
1034
1035
1036
1037
1038
1039
	default "5"

config HAVE_STD_PC_SERIAL_PORT
	bool

config ARC_CONSOLE
	bool "ARC console support"
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
1040
	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds's avatar
Linus Torvalds committed
1041
1042
1043

config ARC_MEMORY
	bool
1044
	depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
1045
1046
1047
1048
	default y

config ARC_PROMLIB
	bool
Thomas Bogendoerfer's avatar
Thomas Bogendoerfer committed
1049
	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds's avatar
Linus Torvalds committed
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
	default y

config ARC64
	bool

config BOOT_ELF64
	bool

menu "CPU selection"

choice
	prompt "CPU type"
	default CPU_R4X00

1064
1065
1066
1067
config CPU_LOONGSON2E
	bool "Loongson 2E"
	depends on SYS_HAS_CPU_LOONGSON2E
	select CPU_LOONGSON2
1068
1069
1070
1071
	help
	  The Loongson 2E processor implements the MIPS III instruction set
	  with many extensions.

1072
1073
config CPU_MIPS32_R1
	bool "MIPS32 Release 1"
1074
	depends on SYS_HAS_CPU_MIPS32_R1
1075
	select CPU_HAS_PREFETCH
1076
	select CPU_SUPPORTS_32BIT_KERNEL
1077
	select CPU_SUPPORTS_HIGHMEM