[MIPS] Dyntick support for SMTC:
[safe/jmp/linux-2.6] / arch / mips / Kconfig
1 config MIPS
2         bool
3         default y
4         # Horrible source of confusion.  Die, die, die ...
5         select EMBEDDED
6         select RTC_LIB
7
8 mainmenu "Linux/MIPS Kernel Configuration"
9
10 menu "Machine selection"
11
12 config ZONE_DMA
13         bool
14
15 choice
16         prompt "System type"
17         default SGI_IP22
18
19 config MACH_ALCHEMY
20         bool "Alchemy processor based machines"
21
22 config BASLER_EXCITE
23         bool "Basler eXcite smart camera"
24         select DMA_COHERENT
25         select HW_HAS_PCI
26         select IRQ_CPU
27         select IRQ_CPU_RM7K
28         select IRQ_CPU_RM9K
29         select MIPS_RM9122
30         select SYS_HAS_CPU_RM9000
31         select SYS_SUPPORTS_32BIT_KERNEL
32         select SYS_SUPPORTS_BIG_ENDIAN
33         select SYS_SUPPORTS_KGDB
34         help
35           The eXcite is a smart camera platform manufactured by
36           Basler Vision Technologies AG.
37
38 config BASLER_EXCITE_PROTOTYPE
39         bool "Support for pre-release units"
40         depends on BASLER_EXCITE
41         default n
42         help
43           Pre-series (prototype) units are different from later ones in
44           some ways. Select this option if you have one of these. Please
45           note that a kernel built with this option selected will not be
46           able to run on normal units.
47
48 config BCM47XX
49         bool "BCM47XX based boards"
50         select DMA_NONCOHERENT
51         select HW_HAS_PCI
52         select IRQ_CPU
53         select SYS_HAS_CPU_MIPS32_R1
54         select SYS_SUPPORTS_32BIT_KERNEL
55         select SYS_SUPPORTS_LITTLE_ENDIAN
56         select SSB
57         select SSB_DRIVER_MIPS
58         select GENERIC_GPIO
59         select SYS_HAS_EARLY_PRINTK
60         select CFE
61         help
62          Support for BCM47XX based boards
63
64 config MIPS_COBALT
65         bool "Cobalt Server"
66         select DMA_NONCOHERENT
67         select HW_HAS_PCI
68         select I8259
69         select IRQ_CPU
70         select IRQ_GT641XX
71         select PCI_GT64XXX_PCI0
72         select SYS_HAS_CPU_NEVADA
73         select SYS_HAS_EARLY_PRINTK
74         select SYS_SUPPORTS_32BIT_KERNEL
75         select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
76         select SYS_SUPPORTS_LITTLE_ENDIAN
77         select GENERIC_HARDIRQS_NO__DO_IRQ
78
79 config MACH_DECSTATION
80         bool "DECstations"
81         select BOOT_ELF32
82         select DMA_NONCOHERENT
83         select NO_IOPORT
84         select IRQ_CPU
85         select SYS_HAS_CPU_R3000
86         select SYS_HAS_CPU_R4X00
87         select SYS_SUPPORTS_32BIT_KERNEL
88         select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
89         select SYS_SUPPORTS_LITTLE_ENDIAN
90         select SYS_SUPPORTS_128HZ
91         select SYS_SUPPORTS_256HZ
92         select SYS_SUPPORTS_1024HZ
93         help
94           This enables support for DEC's MIPS based workstations.  For details
95           see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
96           DECstation porting pages on <http://decstation.unix-ag.org/>.
97
98           If you have one of the following DECstation Models you definitely
99           want to choose R4xx0 for the CPU Type:
100
101                 DECstation 5000/50
102                 DECstation 5000/150
103                 DECstation 5000/260
104                 DECsystem 5900/260
105
106           otherwise choose R3000.
107
108 config MACH_JAZZ
109         bool "Jazz family of machines"
110         select ARC
111         select ARC32
112         select ARCH_MAY_HAVE_PC_FDC
113         select GENERIC_ISA_DMA
114         select IRQ_CPU
115         select I8259
116         select ISA
117         select PCSPEAKER
118         select SYS_HAS_CPU_R4X00
119         select SYS_SUPPORTS_32BIT_KERNEL
120         select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
121         select SYS_SUPPORTS_100HZ
122         select GENERIC_HARDIRQS_NO__DO_IRQ
123         help
124          This a family of machines based on the MIPS R4030 chipset which was
125          used by several vendors to build RISC/os and Windows NT workstations.
126          Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
127          Olivetti M700-10 workstations.
128
129 config LASAT
130         bool "LASAT Networks platforms"
131         select DMA_NONCOHERENT
132         select SYS_HAS_EARLY_PRINTK
133         select HW_HAS_PCI
134         select PCI_GT64XXX_PCI0
135         select MIPS_NILE4
136         select R5000_CPU_SCACHE
137         select SYS_HAS_CPU_R5000
138         select SYS_SUPPORTS_32BIT_KERNEL
139         select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
140         select SYS_SUPPORTS_LITTLE_ENDIAN
141         select GENERIC_HARDIRQS_NO__DO_IRQ
142
143 config LEMOTE_FULONG
144         bool "Lemote Fulong mini-PC"
145         select ARCH_SPARSEMEM_ENABLE
146         select SYS_HAS_CPU_LOONGSON2
147         select DMA_NONCOHERENT
148         select BOOT_ELF32
149         select BOARD_SCACHE
150         select HAVE_STD_PC_SERIAL_PORT
151         select HW_HAS_PCI
152         select I8259
153         select ISA
154         select IRQ_CPU
155         select SYS_SUPPORTS_32BIT_KERNEL
156         select SYS_SUPPORTS_64BIT_KERNEL
157         select SYS_SUPPORTS_LITTLE_ENDIAN
158         select SYS_SUPPORTS_HIGHMEM
159         select SYS_HAS_EARLY_PRINTK
160         select GENERIC_HARDIRQS_NO__DO_IRQ
161         select GENERIC_ISA_DMA_SUPPORT_BROKEN
162         select CPU_HAS_WB
163         help
164           Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
165           an FPGA northbridge
166
167 config MIPS_ATLAS
168         bool "MIPS Atlas board"
169         select BOOT_ELF32
170         select DMA_NONCOHERENT
171         select SYS_HAS_EARLY_PRINTK
172         select IRQ_CPU
173         select HW_HAS_PCI
174         select MIPS_BOARDS_GEN
175         select MIPS_BONITO64
176         select PCI_GT64XXX_PCI0
177         select MIPS_MSC
178         select RM7000_CPU_SCACHE
179         select SWAP_IO_SPACE
180         select SYS_HAS_CPU_MIPS32_R1
181         select SYS_HAS_CPU_MIPS32_R2
182         select SYS_HAS_CPU_MIPS64_R1
183         select SYS_HAS_CPU_NEVADA
184         select SYS_HAS_CPU_RM7000
185         select SYS_SUPPORTS_32BIT_KERNEL
186         select SYS_SUPPORTS_64BIT_KERNEL
187         select SYS_SUPPORTS_BIG_ENDIAN
188         select SYS_SUPPORTS_LITTLE_ENDIAN
189         select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
190         select SYS_SUPPORTS_SMARTMIPS
191         select GENERIC_HARDIRQS_NO__DO_IRQ
192         help
193           This enables support for the MIPS Technologies Atlas evaluation
194           board.
195
196 config MIPS_MALTA
197         bool "MIPS Malta board"
198         select ARCH_MAY_HAVE_PC_FDC
199         select BOOT_ELF32
200         select DMA_NONCOHERENT
201         select GENERIC_ISA_DMA
202         select IRQ_CPU
203         select HW_HAS_PCI
204         select I8259
205         select MIPS_BOARDS_GEN
206         select MIPS_BONITO64
207         select MIPS_CPU_SCACHE
208         select PCI_GT64XXX_PCI0
209         select MIPS_MSC
210         select SWAP_IO_SPACE
211         select SYS_HAS_CPU_MIPS32_R1
212         select SYS_HAS_CPU_MIPS32_R2
213         select SYS_HAS_CPU_MIPS64_R1
214         select SYS_HAS_CPU_NEVADA
215         select SYS_HAS_CPU_RM7000
216         select SYS_HAS_EARLY_PRINTK
217         select SYS_SUPPORTS_32BIT_KERNEL
218         select SYS_SUPPORTS_64BIT_KERNEL
219         select SYS_SUPPORTS_BIG_ENDIAN
220         select SYS_SUPPORTS_LITTLE_ENDIAN
221         select SYS_SUPPORTS_MULTITHREADING
222         select SYS_SUPPORTS_SMARTMIPS
223         help
224           This enables support for the MIPS Technologies Malta evaluation
225           board.
226
227 config MIPS_SEAD
228         bool "MIPS SEAD board"
229         select IRQ_CPU
230         select DMA_NONCOHERENT
231         select SYS_HAS_EARLY_PRINTK
232         select MIPS_BOARDS_GEN
233         select SYS_HAS_CPU_MIPS32_R1
234         select SYS_HAS_CPU_MIPS32_R2
235         select SYS_HAS_CPU_MIPS64_R1
236         select SYS_SUPPORTS_32BIT_KERNEL
237         select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
238         select SYS_SUPPORTS_BIG_ENDIAN
239         select SYS_SUPPORTS_LITTLE_ENDIAN
240         select SYS_SUPPORTS_SMARTMIPS
241         help
242           This enables support for the MIPS Technologies SEAD evaluation
243           board.
244
245 config MIPS_SIM
246         bool 'MIPS simulator (MIPSsim)'
247         select DMA_NONCOHERENT
248         select SYS_HAS_EARLY_PRINTK
249         select IRQ_CPU
250         select BOOT_RAW
251         select SYS_HAS_CPU_MIPS32_R1
252         select SYS_HAS_CPU_MIPS32_R2
253         select SYS_HAS_EARLY_PRINTK
254         select SYS_SUPPORTS_32BIT_KERNEL
255         select SYS_SUPPORTS_BIG_ENDIAN
256         select SYS_SUPPORTS_MULTITHREADING
257         select SYS_SUPPORTS_LITTLE_ENDIAN
258         help
259           This option enables support for MIPS Technologies MIPSsim software
260           emulator.
261
262 config MARKEINS
263         bool "NEC EMMA2RH Mark-eins"
264         select DMA_NONCOHERENT
265         select HW_HAS_PCI
266         select IRQ_CPU
267         select SWAP_IO_SPACE
268         select SYS_SUPPORTS_32BIT_KERNEL
269         select SYS_SUPPORTS_BIG_ENDIAN
270         select SYS_SUPPORTS_LITTLE_ENDIAN
271         select SYS_HAS_CPU_R5000
272         help
273           This enables support for the R5432-based NEC Mark-eins
274           boards with R5500 CPU.
275
276 config MACH_VR41XX
277         bool "NEC VR4100 series based machines"
278         select SYS_HAS_CPU_VR41XX
279         select GENERIC_HARDIRQS_NO__DO_IRQ
280
281 config PNX8550_JBS
282         bool "Philips PNX8550 based JBS board"
283         select PNX8550
284         select SYS_SUPPORTS_LITTLE_ENDIAN
285
286 config PNX8550_STB810
287         bool "Philips PNX8550 based STB810 board"
288         select PNX8550
289         select SYS_SUPPORTS_LITTLE_ENDIAN
290
291 config PMC_MSP
292         bool "PMC-Sierra MSP chipsets"
293         depends on EXPERIMENTAL
294         select DMA_NONCOHERENT
295         select SWAP_IO_SPACE
296         select NO_EXCEPT_FILL
297         select BOOT_RAW
298         select SYS_HAS_CPU_MIPS32_R1
299         select SYS_HAS_CPU_MIPS32_R2
300         select SYS_SUPPORTS_32BIT_KERNEL
301         select SYS_SUPPORTS_BIG_ENDIAN
302         select SYS_SUPPORTS_KGDB
303         select IRQ_CPU
304         select SERIAL_8250
305         select SERIAL_8250_CONSOLE
306         help
307           This adds support for the PMC-Sierra family of Multi-Service
308           Processor System-On-A-Chips.  These parts include a number
309           of integrated peripherals, interfaces and DSPs in addition to
310           a variety of MIPS cores.
311
312 config PMC_YOSEMITE
313         bool "PMC-Sierra Yosemite eval board"
314         select DMA_COHERENT
315         select HW_HAS_PCI
316         select IRQ_CPU
317         select IRQ_CPU_RM7K
318         select IRQ_CPU_RM9K
319         select SWAP_IO_SPACE
320         select SYS_HAS_CPU_RM9000
321         select SYS_HAS_EARLY_PRINTK
322         select SYS_SUPPORTS_32BIT_KERNEL
323         select SYS_SUPPORTS_64BIT_KERNEL
324         select SYS_SUPPORTS_BIG_ENDIAN
325         select SYS_SUPPORTS_HIGHMEM
326         select SYS_SUPPORTS_KGDB
327         select SYS_SUPPORTS_SMP
328         help
329           Yosemite is an evaluation board for the RM9000x2 processor
330           manufactured by PMC-Sierra.
331
332 config QEMU
333         bool "Qemu"
334         select DMA_COHERENT
335         select GENERIC_ISA_DMA
336         select HAVE_STD_PC_SERIAL_PORT
337         select I8259
338         select IRQ_CPU
339         select ISA
340         select PCSPEAKER
341         select SWAP_IO_SPACE
342         select SYS_HAS_CPU_MIPS32_R1
343         select SYS_SUPPORTS_32BIT_KERNEL
344         select SYS_SUPPORTS_BIG_ENDIAN
345         select SYS_SUPPORTS_LITTLE_ENDIAN
346         select ARCH_SPARSEMEM_ENABLE
347         select GENERIC_HARDIRQS_NO__DO_IRQ
348         select NR_CPUS_DEFAULT_1
349         select SYS_SUPPORTS_SMP
350         help
351           Qemu is a software emulator which among other architectures also
352           can simulate a MIPS32 4Kc system.  This patch adds support for the
353           system architecture that currently is being simulated by Qemu.  It
354           will eventually be removed again when Qemu has the capability to
355           simulate actual MIPS hardware platforms.  More information on Qemu
356           can be found at http://www.linux-mips.org/wiki/Qemu.
357
358 config SGI_IP22
359         bool "SGI IP22 (Indy/Indigo2)"
360         select ARC
361         select ARC32
362         select BOOT_ELF32
363         select DMA_NONCOHERENT
364         select HW_HAS_EISA
365         select IP22_CPU_SCACHE
366         select IRQ_CPU
367         select GENERIC_ISA_DMA_SUPPORT_BROKEN
368         select SWAP_IO_SPACE
369         select SYS_HAS_CPU_R4X00
370         select SYS_HAS_CPU_R5000
371         select SYS_HAS_EARLY_PRINTK
372         select SYS_SUPPORTS_32BIT_KERNEL
373         select SYS_SUPPORTS_64BIT_KERNEL
374         select SYS_SUPPORTS_BIG_ENDIAN
375         help
376           This are the SGI Indy, Challenge S and Indigo2, as well as certain
377           OEM variants like the Tandem CMN B006S. To compile a Linux kernel
378           that runs on these, say Y here.
379
380 config SGI_IP27
381         bool "SGI IP27 (Origin200/2000)"
382         select ARC
383         select ARC64
384         select BOOT_ELF64
385         select DMA_IP27
386         select SYS_HAS_EARLY_PRINTK
387         select HW_HAS_PCI
388         select NR_CPUS_DEFAULT_64
389         select SYS_HAS_CPU_R10000
390         select SYS_SUPPORTS_64BIT_KERNEL
391         select SYS_SUPPORTS_BIG_ENDIAN
392         select SYS_SUPPORTS_KGDB
393         select SYS_SUPPORTS_NUMA
394         select SYS_SUPPORTS_SMP
395         select GENERIC_HARDIRQS_NO__DO_IRQ
396         help
397           This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
398           workstations.  To compile a Linux kernel that runs on these, say Y
399           here.
400
401 config SGI_IP32
402         bool "SGI IP32 (O2)"
403         select ARC
404         select ARC32
405         select BOOT_ELF32
406         select DMA_NONCOHERENT
407         select HW_HAS_PCI
408         select R5000_CPU_SCACHE
409         select RM7000_CPU_SCACHE
410         select SYS_HAS_CPU_R5000
411         select SYS_HAS_CPU_R10000 if BROKEN
412         select SYS_HAS_CPU_RM7000
413         select SYS_HAS_CPU_NEVADA
414         select SYS_SUPPORTS_64BIT_KERNEL
415         select SYS_SUPPORTS_BIG_ENDIAN
416         help
417           If you want this kernel to run on SGI O2 workstation, say Y here.
418
419 config SIBYTE_CRHINE
420         bool "Sibyte BCM91120C-CRhine"
421         depends on EXPERIMENTAL
422         select BOOT_ELF32
423         select DMA_COHERENT
424         select SIBYTE_BCM1120
425         select SWAP_IO_SPACE
426         select SYS_HAS_CPU_SB1
427         select SYS_SUPPORTS_BIG_ENDIAN
428         select SYS_SUPPORTS_LITTLE_ENDIAN
429
430 config SIBYTE_CARMEL
431         bool "Sibyte BCM91120x-Carmel"
432         depends on EXPERIMENTAL
433         select BOOT_ELF32
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
440
441 config SIBYTE_CRHONE
442         bool "Sibyte BCM91125C-CRhone"
443         depends on EXPERIMENTAL
444         select BOOT_ELF32
445         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
452
453 config SIBYTE_RHONE
454         bool "Sibyte BCM91125E-Rhone"
455         depends on EXPERIMENTAL
456         select BOOT_ELF32
457         select DMA_COHERENT
458         select SIBYTE_BCM1125H
459         select SWAP_IO_SPACE
460         select SYS_HAS_CPU_SB1
461         select SYS_SUPPORTS_BIG_ENDIAN
462         select SYS_SUPPORTS_LITTLE_ENDIAN
463
464 config SIBYTE_SWARM
465         bool "Sibyte BCM91250A-SWARM"
466         select BOOT_ELF32
467         select DMA_COHERENT
468         select NR_CPUS_DEFAULT_2
469         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
474         select SYS_SUPPORTS_KGDB
475         select SYS_SUPPORTS_LITTLE_ENDIAN
476
477 config SIBYTE_LITTLESUR
478         bool "Sibyte BCM91250C2-LittleSur"
479         depends on EXPERIMENTAL
480         select BOOT_ELF32
481         select DMA_COHERENT
482         select NR_CPUS_DEFAULT_2
483         select SIBYTE_SB1250
484         select SWAP_IO_SPACE
485         select SYS_HAS_CPU_SB1
486         select SYS_SUPPORTS_BIG_ENDIAN
487         select SYS_SUPPORTS_HIGHMEM
488         select SYS_SUPPORTS_LITTLE_ENDIAN
489
490 config SIBYTE_SENTOSA
491         bool "Sibyte BCM91250E-Sentosa"
492         depends on EXPERIMENTAL
493         select BOOT_ELF32
494         select DMA_COHERENT
495         select NR_CPUS_DEFAULT_2
496         select SIBYTE_SB1250
497         select SWAP_IO_SPACE
498         select SYS_HAS_CPU_SB1
499         select SYS_SUPPORTS_BIG_ENDIAN
500         select SYS_SUPPORTS_LITTLE_ENDIAN
501
502 config SIBYTE_PTSWARM
503         bool "Sibyte BCM91250PT-PTSWARM"
504         depends on EXPERIMENTAL
505         select BOOT_ELF32
506         select DMA_COHERENT
507         select NR_CPUS_DEFAULT_2
508         select SIBYTE_SB1250
509         select SWAP_IO_SPACE
510         select SYS_HAS_CPU_SB1
511         select SYS_SUPPORTS_BIG_ENDIAN
512         select SYS_SUPPORTS_HIGHMEM
513         select SYS_SUPPORTS_LITTLE_ENDIAN
514
515 config SIBYTE_BIGSUR
516         bool "Sibyte BCM91480B-BigSur"
517         select BOOT_ELF32
518         select DMA_COHERENT
519         select NR_CPUS_DEFAULT_4
520         select SIBYTE_BCM1x80
521         select SWAP_IO_SPACE
522         select SYS_HAS_CPU_SB1
523         select SYS_SUPPORTS_BIG_ENDIAN
524         select SYS_SUPPORTS_LITTLE_ENDIAN
525
526 config SNI_RM
527         bool "SNI RM200/300/400"
528         select ARC if CPU_LITTLE_ENDIAN
529         select ARC32 if CPU_LITTLE_ENDIAN
530         select ARCH_MAY_HAVE_PC_FDC
531         select BOOT_ELF32
532         select DMA_NONCOHERENT
533         select GENERIC_ISA_DMA
534         select HW_HAS_EISA
535         select HW_HAS_PCI
536         select IRQ_CPU
537         select I8259
538         select ISA
539         select PCSPEAKER
540         select SWAP_IO_SPACE if CPU_BIG_ENDIAN
541         select SYS_HAS_CPU_R4X00
542         select SYS_HAS_CPU_R5000
543         select SYS_HAS_CPU_R10000
544         select R5000_CPU_SCACHE
545         select SYS_HAS_EARLY_PRINTK
546         select SYS_SUPPORTS_32BIT_KERNEL
547         select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
548         select SYS_SUPPORTS_BIG_ENDIAN
549         select SYS_SUPPORTS_HIGHMEM
550         select SYS_SUPPORTS_LITTLE_ENDIAN
551         help
552           The SNI RM200/300/400 are MIPS-based machines manufactured by
553           Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
554           Technology and now in turn merged with Fujitsu.  Say Y here to
555           support this machine type.
556
557 config TOSHIBA_JMR3927
558         bool "Toshiba JMR-TX3927 board"
559         select DMA_NONCOHERENT
560         select HW_HAS_PCI
561         select MIPS_TX3927
562         select IRQ_TXX9
563         select SWAP_IO_SPACE
564         select SYS_HAS_CPU_TX39XX
565         select SYS_SUPPORTS_32BIT_KERNEL
566         select SYS_SUPPORTS_LITTLE_ENDIAN
567         select SYS_SUPPORTS_BIG_ENDIAN
568         select GENERIC_HARDIRQS_NO__DO_IRQ
569
570 config TOSHIBA_RBTX4927
571         bool "Toshiba RBTX49[23]7 board"
572         select DMA_NONCOHERENT
573         select HAS_TXX9_SERIAL
574         select HW_HAS_PCI
575         select IRQ_CPU
576         select IRQ_TXX9
577         select I8259 if TOSHIBA_FPCIB0
578         select SWAP_IO_SPACE
579         select SYS_HAS_CPU_TX49XX
580         select SYS_SUPPORTS_32BIT_KERNEL
581         select SYS_SUPPORTS_64BIT_KERNEL
582         select SYS_SUPPORTS_LITTLE_ENDIAN
583         select SYS_SUPPORTS_BIG_ENDIAN
584         select SYS_SUPPORTS_KGDB
585         select GENERIC_HARDIRQS_NO__DO_IRQ
586         help
587           This Toshiba board is based on the TX4927 processor. Say Y here to
588           support this machine type
589
590 config TOSHIBA_RBTX4938
591         bool "Toshiba RBTX4938 board"
592         select DMA_NONCOHERENT
593         select HAS_TXX9_SERIAL
594         select HW_HAS_PCI
595         select IRQ_CPU
596         select IRQ_TXX9
597         select SWAP_IO_SPACE
598         select SYS_HAS_CPU_TX49XX
599         select SYS_SUPPORTS_32BIT_KERNEL
600         select SYS_SUPPORTS_LITTLE_ENDIAN
601         select SYS_SUPPORTS_BIG_ENDIAN
602         select SYS_SUPPORTS_KGDB
603         select GENERIC_HARDIRQS_NO__DO_IRQ
604         select GENERIC_GPIO
605         help
606           This Toshiba board is based on the TX4938 processor. Say Y here to
607           support this machine type
608
609 config WR_PPMC
610         bool "Wind River PPMC board"
611         select IRQ_CPU
612         select BOOT_ELF32
613         select DMA_NONCOHERENT
614         select HW_HAS_PCI
615         select PCI_GT64XXX_PCI0
616         select SWAP_IO_SPACE
617         select SYS_HAS_CPU_MIPS32_R1
618         select SYS_HAS_CPU_MIPS32_R2
619         select SYS_HAS_CPU_MIPS64_R1
620         select SYS_HAS_CPU_NEVADA
621         select SYS_HAS_CPU_RM7000
622         select SYS_SUPPORTS_32BIT_KERNEL
623         select SYS_SUPPORTS_64BIT_KERNEL
624         select SYS_SUPPORTS_BIG_ENDIAN
625         select SYS_SUPPORTS_LITTLE_ENDIAN
626         help
627           This enables support for the Wind River MIPS32 4KC PPMC evaluation
628           board, which is based on GT64120 bridge chip.
629
630 endchoice
631
632 source "arch/mips/au1000/Kconfig"
633 source "arch/mips/jazz/Kconfig"
634 source "arch/mips/lasat/Kconfig"
635 source "arch/mips/pmc-sierra/Kconfig"
636 source "arch/mips/sgi-ip27/Kconfig"
637 source "arch/mips/sibyte/Kconfig"
638 source "arch/mips/tx4927/Kconfig"
639 source "arch/mips/tx4938/Kconfig"
640 source "arch/mips/vr41xx/Kconfig"
641
642 endmenu
643
644 config RWSEM_GENERIC_SPINLOCK
645         bool
646         default y
647
648 config RWSEM_XCHGADD_ALGORITHM
649         bool
650
651 config ARCH_HAS_ILOG2_U32
652         bool
653         default n
654
655 config ARCH_HAS_ILOG2_U64
656         bool
657         default n
658
659 config GENERIC_FIND_NEXT_BIT
660         bool
661         default y
662
663 config GENERIC_HWEIGHT
664         bool
665         default y
666
667 config GENERIC_CALIBRATE_DELAY
668         bool
669         default y
670
671 config GENERIC_CLOCKEVENTS
672         bool
673         default y
674
675 config GENERIC_TIME
676         bool
677         default y
678
679 config GENERIC_CMOS_UPDATE
680         bool
681         default y
682
683 config SCHED_NO_NO_OMIT_FRAME_POINTER
684         bool
685         default y
686
687 config GENERIC_HARDIRQS_NO__DO_IRQ
688         bool
689         default n
690
691 #
692 # Select some configuration options automatically based on user selections.
693 #
694 config ARC
695         bool
696
697 config ARCH_MAY_HAVE_PC_FDC
698         bool
699
700 config BOOT_RAW
701         bool
702
703 config CFE
704         bool
705
706 config DMA_COHERENT
707         bool
708
709 config DMA_IP27
710         bool
711
712 config DMA_IP32
713         bool
714         select DMA_NEED_PCI_MAP_STATE
715
716 config DMA_NONCOHERENT
717         bool
718         select DMA_NEED_PCI_MAP_STATE
719
720 config DMA_NEED_PCI_MAP_STATE
721         bool
722
723 config EARLY_PRINTK
724         bool "Early printk" if EMBEDDED && DEBUG_KERNEL
725         depends on SYS_HAS_EARLY_PRINTK
726         default y
727         help
728           This option enables special console drivers which allow the kernel
729           to print messages very early in the bootup process.
730
731           This is useful for kernel debugging when your machine crashes very
732           early before the console code is initialized. For normal operation,
733           it is not recommended because it looks ugly on some machines and
734           doesn't cooperate with an X server. You should normally say N here,
735           unless you want to debug such a crash.
736
737 config SYS_HAS_EARLY_PRINTK
738         bool
739
740 config HOTPLUG_CPU
741         bool
742         default n
743
744 config I8259
745         bool
746
747 config MIPS_BONITO64
748         bool
749
750 config MIPS_MSC
751         bool
752
753 config MIPS_NILE4
754         bool
755
756 config MIPS_DISABLE_OBSOLETE_IDE
757         bool
758
759 config NO_IOPORT
760         def_bool n
761
762 config GENERIC_ISA_DMA
763         bool
764         select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
765
766 config GENERIC_ISA_DMA_SUPPORT_BROKEN
767         bool
768         select GENERIC_ISA_DMA
769
770 config GENERIC_GPIO
771         bool
772
773 #
774 # Endianess selection.  Sufficiently obscure so many users don't know what to
775 # answer,so we try hard to limit the available choices.  Also the use of a
776 # choice statement should be more obvious to the user.
777 #
778 choice
779         prompt "Endianess selection"
780         help
781           Some MIPS machines can be configured for either little or big endian
782           byte order. These modes require different kernels and a different
783           Linux distribution.  In general there is one preferred byteorder for a
784           particular system but some systems are just as commonly used in the
785           one or the other endianness.
786
787 config CPU_BIG_ENDIAN
788         bool "Big endian"
789         depends on SYS_SUPPORTS_BIG_ENDIAN
790
791 config CPU_LITTLE_ENDIAN
792         bool "Little endian"
793         depends on SYS_SUPPORTS_LITTLE_ENDIAN
794         help
795
796 endchoice
797
798 config SYS_SUPPORTS_APM_EMULATION
799         bool
800
801 config SYS_SUPPORTS_BIG_ENDIAN
802         bool
803
804 config SYS_SUPPORTS_LITTLE_ENDIAN
805         bool
806
807 config IRQ_CPU
808         bool
809
810 config IRQ_CPU_RM7K
811         bool
812
813 config IRQ_CPU_RM9K
814         bool
815
816 config IRQ_MSP_SLP
817         bool
818
819 config IRQ_MSP_CIC
820         bool
821
822 config IRQ_TXX9
823         bool
824
825 config IRQ_GT641XX
826         bool
827
828 config MIPS_BOARDS_GEN
829         bool
830
831 config PCI_GT64XXX_PCI0
832         bool
833
834 config NO_EXCEPT_FILL
835         bool
836
837 config MIPS_TX3927
838         bool
839         select HAS_TXX9_SERIAL
840
841 config MIPS_RM9122
842         bool
843         select SERIAL_RM9000
844
845 config PNX8550
846         bool
847         select SOC_PNX8550
848
849 config SOC_PNX8550
850         bool
851         select DMA_NONCOHERENT
852         select HW_HAS_PCI
853         select SYS_HAS_CPU_MIPS32_R1
854         select SYS_HAS_EARLY_PRINTK
855         select SYS_SUPPORTS_32BIT_KERNEL
856         select GENERIC_HARDIRQS_NO__DO_IRQ
857         select SYS_SUPPORTS_KGDB
858         select GENERIC_GPIO
859
860 config SWAP_IO_SPACE
861         bool
862
863 config EMMA2RH
864         bool
865         depends on MARKEINS
866         default y
867
868 config SERIAL_RM9000
869         bool
870
871 config ARC32
872         bool
873
874 config BOOT_ELF32
875         bool
876
877 config MIPS_L1_CACHE_SHIFT
878         int
879         default "4" if MACH_DECSTATION
880         default "7" if SGI_IP27 || SNI_RM
881         default "4" if PMC_MSP4200_EVAL
882         default "5"
883
884 config HAVE_STD_PC_SERIAL_PORT
885         bool
886
887 config ARC_CONSOLE
888         bool "ARC console support"
889         depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
890
891 config ARC_MEMORY
892         bool
893         depends on MACH_JAZZ || SNI_RM || SGI_IP32
894         default y
895
896 config ARC_PROMLIB
897         bool
898         depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
899         default y
900
901 config ARC64
902         bool
903
904 config BOOT_ELF64
905         bool
906
907 menu "CPU selection"
908
909 source "kernel/time/Kconfig"
910
911 choice
912         prompt "CPU type"
913         default CPU_R4X00
914
915 config CPU_LOONGSON2
916         bool "Loongson 2"
917         depends on SYS_HAS_CPU_LOONGSON2
918         select CPU_SUPPORTS_32BIT_KERNEL
919         select CPU_SUPPORTS_64BIT_KERNEL
920         select CPU_SUPPORTS_HIGHMEM
921         help
922           The Loongson 2E processor implements the MIPS III instruction set
923           with many extensions.
924
925 config CPU_MIPS32_R1
926         bool "MIPS32 Release 1"
927         depends on SYS_HAS_CPU_MIPS32_R1
928         select CPU_HAS_LLSC
929         select CPU_HAS_PREFETCH
930         select CPU_SUPPORTS_32BIT_KERNEL
931         select CPU_SUPPORTS_HIGHMEM
932         help
933           Choose this option to build a kernel for release 1 or later of the
934           MIPS32 architecture.  Most modern embedded systems with a 32-bit
935           MIPS processor are based on a MIPS32 processor.  If you know the
936           specific type of processor in your system, choose those that one
937           otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
938           Release 2 of the MIPS32 architecture is available since several
939           years so chances are you even have a MIPS32 Release 2 processor
940           in which case you should choose CPU_MIPS32_R2 instead for better
941           performance.
942
943 config CPU_MIPS32_R2
944         bool "MIPS32 Release 2"
945         depends on SYS_HAS_CPU_MIPS32_R2
946         select CPU_HAS_LLSC
947         select CPU_HAS_PREFETCH
948         select CPU_SUPPORTS_32BIT_KERNEL
949         select CPU_SUPPORTS_HIGHMEM
950         help
951           Choose this option to build a kernel for release 2 or later of the
952           MIPS32 architecture.  Most modern embedded systems with a 32-bit
953           MIPS processor are based on a MIPS32 processor.  If you know the
954           specific type of processor in your system, choose those that one
955           otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
956
957 config CPU_MIPS64_R1
958         bool "MIPS64 Release 1"
959         depends on SYS_HAS_CPU_MIPS64_R1
960         select CPU_HAS_LLSC
961         select CPU_HAS_PREFETCH
962         select CPU_SUPPORTS_32BIT_KERNEL
963         select CPU_SUPPORTS_64BIT_KERNEL
964         select CPU_SUPPORTS_HIGHMEM
965         help
966           Choose this option to build a kernel for release 1 or later of the
967           MIPS64 architecture.  Many modern embedded systems with a 64-bit
968           MIPS processor are based on a MIPS64 processor.  If you know the
969           specific type of processor in your system, choose those that one
970           otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
971           Release 2 of the MIPS64 architecture is available since several
972           years so chances are you even have a MIPS64 Release 2 processor
973           in which case you should choose CPU_MIPS64_R2 instead for better
974           performance.
975
976 config CPU_MIPS64_R2
977         bool "MIPS64 Release 2"
978         depends on SYS_HAS_CPU_MIPS64_R2
979         select CPU_HAS_LLSC
980         select CPU_HAS_PREFETCH
981         select CPU_SUPPORTS_32BIT_KERNEL
982         select CPU_SUPPORTS_64BIT_KERNEL
983         select CPU_SUPPORTS_HIGHMEM
984         help
985           Choose this option to build a kernel for release 2 or later of the
986           MIPS64 architecture.  Many modern embedded systems with a 64-bit
987           MIPS processor are based on a MIPS64 processor.  If you know the
988           specific type of processor in your system, choose those that one
989           otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
990
991 config CPU_R3000
992         bool "R3000"
993         depends on SYS_HAS_CPU_R3000
994         select CPU_HAS_WB
995         select CPU_SUPPORTS_32BIT_KERNEL
996         select CPU_SUPPORTS_HIGHMEM
997         help
998           Please make sure to pick the right CPU type. Linux/MIPS is not
999           designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1000           *not* work on R4000 machines and vice versa.  However, since most
1001           of the supported machines have an R4000 (or similar) CPU, R4x00
1002           might be a safe bet.  If the resulting kernel does not work,
1003           try to recompile with R3000.
1004
1005 config CPU_TX39XX
1006         bool "R39XX"
1007         depends on SYS_HAS_CPU_TX39XX
1008         select CPU_SUPPORTS_32BIT_KERNEL
1009
1010 config CPU_VR41XX
1011         bool "R41xx"
1012         depends on SYS_HAS_CPU_VR41XX
1013         select CPU_SUPPORTS_32BIT_KERNEL
1014         select CPU_SUPPORTS_64BIT_KERNEL
1015         help
1016           The options selects support for the NEC VR4100 series of processors.
1017           Only choose this option if you have one of these processors as a
1018           kernel built with this option will not run on any other type of
1019           processor or vice versa.
1020
1021 config CPU_R4300
1022         bool "R4300"
1023         depends on SYS_HAS_CPU_R4300
1024         select CPU_HAS_LLSC
1025         select CPU_SUPPORTS_32BIT_KERNEL
1026         select CPU_SUPPORTS_64BIT_KERNEL
1027         help
1028           MIPS Technologies R4300-series processors.
1029
1030 config CPU_R4X00
1031         bool "R4x00"
1032         depends on SYS_HAS_CPU_R4X00
1033         select CPU_HAS_LLSC
1034         select CPU_SUPPORTS_32BIT_KERNEL
1035         select CPU_SUPPORTS_64BIT_KERNEL
1036         help
1037           MIPS Technologies R4000-series processors other than 4300, including
1038           the R4000, R4400, R4600, and 4700.
1039
1040 config CPU_TX49XX
1041         bool "R49XX"
1042         depends on SYS_HAS_CPU_TX49XX
1043         select CPU_HAS_LLSC
1044         select CPU_HAS_PREFETCH
1045         select CPU_SUPPORTS_32BIT_KERNEL
1046         select CPU_SUPPORTS_64BIT_KERNEL
1047
1048 config CPU_R5000
1049         bool "R5000"
1050         depends on SYS_HAS_CPU_R5000
1051         select CPU_HAS_LLSC
1052         select CPU_SUPPORTS_32BIT_KERNEL
1053         select CPU_SUPPORTS_64BIT_KERNEL
1054         help
1055           MIPS Technologies R5000-series processors other than the Nevada.
1056
1057 config CPU_R5432
1058         bool "R5432"
1059         depends on SYS_HAS_CPU_R5432
1060         select CPU_HAS_LLSC
1061         select CPU_SUPPORTS_32BIT_KERNEL
1062         select CPU_SUPPORTS_64BIT_KERNEL
1063
1064 config CPU_R6000
1065         bool "R6000"
1066         depends on EXPERIMENTAL
1067         select CPU_HAS_LLSC
1068         depends on SYS_HAS_CPU_R6000
1069         select CPU_SUPPORTS_32BIT_KERNEL
1070         help
1071           MIPS Technologies R6000 and R6000A series processors.  Note these
1072           processors are extremely rare and the support for them is incomplete.
1073
1074 config CPU_NEVADA
1075         bool "RM52xx"
1076         depends on SYS_HAS_CPU_NEVADA
1077         select CPU_HAS_LLSC
1078         select CPU_SUPPORTS_32BIT_KERNEL
1079         select CPU_SUPPORTS_64BIT_KERNEL
1080         help
1081           QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1082
1083 config CPU_R8000
1084         bool "R8000"
1085         depends on EXPERIMENTAL
1086         depends on SYS_HAS_CPU_R8000
1087         select CPU_HAS_LLSC
1088         select CPU_HAS_PREFETCH
1089         select CPU_SUPPORTS_64BIT_KERNEL
1090         help
1091           MIPS Technologies R8000 processors.  Note these processors are
1092           uncommon and the support for them is incomplete.
1093
1094 config CPU_R10000
1095         bool "R10000"
1096         depends on SYS_HAS_CPU_R10000
1097         select CPU_HAS_LLSC
1098         select CPU_HAS_PREFETCH
1099         select CPU_SUPPORTS_32BIT_KERNEL
1100         select CPU_SUPPORTS_64BIT_KERNEL
1101         select CPU_SUPPORTS_HIGHMEM
1102         help
1103           MIPS Technologies R10000-series processors.
1104
1105 config CPU_RM7000
1106         bool "RM7000"
1107         depends on SYS_HAS_CPU_RM7000
1108         select CPU_HAS_LLSC
1109         select CPU_HAS_PREFETCH
1110         select CPU_SUPPORTS_32BIT_KERNEL
1111         select CPU_SUPPORTS_64BIT_KERNEL
1112         select CPU_SUPPORTS_HIGHMEM
1113
1114 config CPU_RM9000
1115         bool "RM9000"
1116         depends on SYS_HAS_CPU_RM9000
1117         select CPU_HAS_LLSC
1118         select CPU_HAS_PREFETCH
1119         select CPU_SUPPORTS_32BIT_KERNEL
1120         select CPU_SUPPORTS_64BIT_KERNEL
1121         select CPU_SUPPORTS_HIGHMEM
1122         select WEAK_ORDERING
1123
1124 config CPU_SB1
1125         bool "SB1"
1126         depends on SYS_HAS_CPU_SB1
1127         select CPU_HAS_LLSC
1128         select CPU_SUPPORTS_32BIT_KERNEL
1129         select CPU_SUPPORTS_64BIT_KERNEL
1130         select CPU_SUPPORTS_HIGHMEM
1131         select WEAK_ORDERING
1132
1133 endchoice
1134
1135 config SYS_HAS_CPU_LOONGSON2
1136         bool
1137
1138 config SYS_HAS_CPU_MIPS32_R1
1139         bool
1140
1141 config SYS_HAS_CPU_MIPS32_R2
1142         bool
1143
1144 config SYS_HAS_CPU_MIPS64_R1
1145         bool
1146
1147 config SYS_HAS_CPU_MIPS64_R2
1148         bool
1149
1150 config SYS_HAS_CPU_R3000
1151         bool
1152
1153 config SYS_HAS_CPU_TX39XX
1154         bool
1155
1156 config SYS_HAS_CPU_VR41XX
1157         bool
1158
1159 config SYS_HAS_CPU_R4300
1160         bool
1161
1162 config SYS_HAS_CPU_R4X00
1163         bool
1164
1165 config SYS_HAS_CPU_TX49XX
1166         bool
1167
1168 config SYS_HAS_CPU_R5000
1169         bool
1170
1171 config SYS_HAS_CPU_R5432
1172         bool
1173
1174 config SYS_HAS_CPU_R6000
1175         bool
1176
1177 config SYS_HAS_CPU_NEVADA
1178         bool
1179
1180 config SYS_HAS_CPU_R8000
1181         bool
1182
1183 config SYS_HAS_CPU_R10000
1184         bool
1185
1186 config SYS_HAS_CPU_RM7000
1187         bool
1188
1189 config SYS_HAS_CPU_RM9000
1190         bool
1191
1192 config SYS_HAS_CPU_SB1
1193         bool
1194
1195 #
1196 # CPU may reorder R->R, R->W, W->R, W->W
1197 # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1198 #
1199 config WEAK_ORDERING
1200         bool
1201
1202 #
1203 # CPU may reorder reads and writes beyond LL/SC
1204 # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1205 #
1206 config WEAK_REORDERING_BEYOND_LLSC
1207         bool
1208 endmenu
1209
1210 #
1211 # These two indicate any level of the MIPS32 and MIPS64 architecture
1212 #
1213 config CPU_MIPS32
1214         bool
1215         default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1216
1217 config CPU_MIPS64
1218         bool
1219         default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1220
1221 #
1222 # These two indicate the revision of the architecture, either Release 1 or Release 2
1223 #
1224 config CPU_MIPSR1
1225         bool
1226         default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1227
1228 config CPU_MIPSR2
1229         bool
1230         default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
1231
1232 config SYS_SUPPORTS_32BIT_KERNEL
1233         bool
1234 config SYS_SUPPORTS_64BIT_KERNEL
1235         bool
1236 config CPU_SUPPORTS_32BIT_KERNEL
1237         bool
1238 config CPU_SUPPORTS_64BIT_KERNEL
1239         bool
1240
1241 menu "Kernel type"
1242
1243 choice
1244
1245         prompt "Kernel code model"
1246         help
1247           You should only select this option if you have a workload that
1248           actually benefits from 64-bit processing or if your machine has
1249           large memory.  You will only be presented a single option in this
1250           menu if your system does not support both 32-bit and 64-bit kernels.
1251
1252 config 32BIT
1253         bool "32-bit kernel"
1254         depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1255         select TRAD_SIGNALS
1256         help
1257           Select this option if you want to build a 32-bit kernel.
1258 config 64BIT
1259         bool "64-bit kernel"
1260         depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1261         help
1262           Select this option if you want to build a 64-bit kernel.
1263
1264 endchoice
1265
1266 choice
1267         prompt "Kernel page size"
1268         default PAGE_SIZE_4KB
1269
1270 config PAGE_SIZE_4KB
1271         bool "4kB"
1272         help
1273          This option select the standard 4kB Linux page size.  On some
1274          R3000-family processors this is the only available page size.  Using
1275          4kB page size will minimize memory consumption and is therefore
1276          recommended for low memory systems.
1277
1278 config PAGE_SIZE_8KB
1279         bool "8kB"
1280         depends on EXPERIMENTAL && CPU_R8000
1281         help
1282           Using 8kB page size will result in higher performance kernel at
1283           the price of higher memory consumption.  This option is available
1284           only on the R8000 processor.  Not that at the time of this writing
1285           this option is still high experimental; there are also issues with
1286           compatibility of user applications.
1287
1288 config PAGE_SIZE_16KB
1289         bool "16kB"
1290         depends on !CPU_R3000 && !CPU_TX39XX
1291         help
1292           Using 16kB page size will result in higher performance kernel at
1293           the price of higher memory consumption.  This option is available on
1294           all non-R3000 family processors.  Note that you will need a suitable
1295           Linux distribution to support this.
1296
1297 config PAGE_SIZE_64KB
1298         bool "64kB"
1299         depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1300         help
1301           Using 64kB page size will result in higher performance kernel at
1302           the price of higher memory consumption.  This option is available on
1303           all non-R3000 family processor.  Not that at the time of this
1304           writing this option is still high experimental.
1305
1306 endchoice
1307
1308 config BOARD_SCACHE
1309         bool
1310
1311 config IP22_CPU_SCACHE
1312         bool
1313         select BOARD_SCACHE
1314
1315 #
1316 # Support for a MIPS32 / MIPS64 style S-caches
1317 #
1318 config MIPS_CPU_SCACHE
1319         bool
1320         select BOARD_SCACHE
1321
1322 config R5000_CPU_SCACHE
1323         bool
1324         select BOARD_SCACHE
1325
1326 config RM7000_CPU_SCACHE
1327         bool
1328         select BOARD_SCACHE
1329
1330 config SIBYTE_DMA_PAGEOPS
1331         bool "Use DMA to clear/copy pages"
1332         depends on CPU_SB1
1333         help
1334           Instead of using the CPU to zero and copy pages, use a Data Mover
1335           channel.  These DMA channels are otherwise unused by the standard
1336           SiByte Linux port.  Seems to give a small performance benefit.
1337
1338 config CPU_HAS_PREFETCH
1339         bool
1340
1341 choice
1342         prompt "MIPS MT options"
1343
1344 config MIPS_MT_DISABLED
1345         bool "Disable multithreading support."
1346         help
1347           Use this option if your workload can't take advantage of
1348           MIPS hardware multithreading support.  On systems that don't have
1349           the option of an MT-enabled processor this option will be the only
1350           option in this menu.
1351
1352 config MIPS_MT_SMP
1353         bool "Use 1 TC on each available VPE for SMP"
1354         depends on SYS_SUPPORTS_MULTITHREADING
1355         select CPU_MIPSR2_IRQ_VI
1356         select CPU_MIPSR2_IRQ_EI
1357         select CPU_MIPSR2_SRS
1358         select MIPS_MT
1359         select NR_CPUS_DEFAULT_2
1360         select SMP
1361         select SYS_SUPPORTS_SMP
1362         help
1363           This is a kernel model which is also known a VSMP or lately
1364           has been marketesed into SMVP.
1365
1366 config MIPS_MT_SMTC
1367         bool "SMTC: Use all TCs on all VPEs for SMP"
1368         depends on CPU_MIPS32_R2
1369         #depends on CPU_MIPS64_R2               # once there is hardware ...
1370         depends on SYS_SUPPORTS_MULTITHREADING
1371         select GENERIC_CLOCKEVENTS_BROADCAST
1372         select CPU_MIPSR2_IRQ_VI
1373         select CPU_MIPSR2_IRQ_EI
1374         select CPU_MIPSR2_SRS
1375         select MIPS_MT
1376         select NR_CPUS_DEFAULT_8
1377         select SMP
1378         select SYS_SUPPORTS_SMP
1379         help
1380           This is a kernel model which is known a SMTC or lately has been
1381           marketesed into SMVP.
1382
1383 endchoice
1384
1385 config MIPS_MT
1386         bool
1387
1388 config SYS_SUPPORTS_MULTITHREADING
1389         bool
1390
1391 config MIPS_MT_FPAFF
1392         bool "Dynamic FPU affinity for FP-intensive threads"
1393         default y
1394         depends on MIPS_MT_SMP || MIPS_MT_SMTC
1395
1396 config MIPS_VPE_LOADER
1397         bool "VPE loader support."
1398         depends on SYS_SUPPORTS_MULTITHREADING
1399         select CPU_MIPSR2_IRQ_VI
1400         select CPU_MIPSR2_IRQ_EI
1401         select CPU_MIPSR2_SRS
1402         select MIPS_MT
1403         help
1404           Includes a loader for loading an elf relocatable object
1405           onto another VPE and running it.
1406
1407 config MIPS_MT_SMTC_INSTANT_REPLAY
1408         bool "Low-latency Dispatch of Deferred SMTC IPIs"
1409         depends on MIPS_MT_SMTC && !PREEMPT
1410         default y
1411         help
1412           SMTC pseudo-interrupts between TCs are deferred and queued
1413           if the target TC is interrupt-inhibited (IXMT). In the first
1414           SMTC prototypes, these queued IPIs were serviced on return
1415           to user mode, or on entry into the kernel idle loop. The
1416           INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1417           processing, which adds runtime overhead (hence the option to turn
1418           it off), but ensures that IPIs are handled promptly even under
1419           heavy I/O interrupt load.
1420
1421 config MIPS_MT_SMTC_IM_BACKSTOP
1422         bool "Use per-TC register bits as backstop for inhibited IM bits"
1423         depends on MIPS_MT_SMTC
1424         default y
1425         help
1426           To support multiple TC microthreads acting as "CPUs" within
1427           a VPE, VPE-wide interrupt mask bits must be specially manipulated
1428           during interrupt handling. To support legacy drivers and interrupt
1429           controller management code, SMTC has a "backstop" to track and
1430           if necessary restore the interrupt mask. This has some performance
1431           impact on interrupt service overhead. Disable it only if you know
1432           what you are doing.
1433
1434 config MIPS_MT_SMTC_IRQAFF
1435         bool "Support IRQ affinity API"
1436         depends on MIPS_MT_SMTC
1437         default n
1438         help
1439           Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1440           for SMTC Linux kernel. Requires platform support, of which
1441           an example can be found in the MIPS kernel i8259 and Malta
1442           platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1443           be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1444           interrupt dispatch, and should be used only if you know what
1445           you are doing.
1446
1447 config MIPS_VPE_LOADER_TOM
1448         bool "Load VPE program into memory hidden from linux"
1449         depends on MIPS_VPE_LOADER
1450         default y
1451         help
1452           The loader can use memory that is present but has been hidden from
1453           Linux using the kernel command line option "mem=xxMB". It's up to
1454           you to ensure the amount you put in the option and the space your
1455           program requires is less or equal to the amount physically present.
1456
1457 # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1458 config MIPS_VPE_APSP_API
1459         bool "Enable support for AP/SP API (RTLX)"
1460         depends on MIPS_VPE_LOADER
1461         help
1462
1463 config MIPS_APSP_KSPD
1464         bool "Enable KSPD"
1465         depends on MIPS_VPE_APSP_API
1466         default y
1467         help
1468           KSPD is a kernel daemon that accepts syscall requests from the SP
1469           side, actions them and returns the results. It also handles the
1470           "exit" syscall notifying other kernel modules the SP program is
1471           exiting.  You probably want to say yes here.
1472
1473 config SB1_PASS_1_WORKAROUNDS
1474         bool
1475         depends on CPU_SB1_PASS_1
1476         default y
1477
1478 config SB1_PASS_2_WORKAROUNDS
1479         bool
1480         depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1481         default y
1482
1483 config SB1_PASS_2_1_WORKAROUNDS
1484         bool
1485         depends on CPU_SB1 && CPU_SB1_PASS_2
1486         default y
1487
1488 config 64BIT_PHYS_ADDR
1489         bool
1490
1491 config CPU_HAS_LLSC
1492         bool
1493
1494 config CPU_HAS_SMARTMIPS
1495         depends on SYS_SUPPORTS_SMARTMIPS
1496         bool "Support for the SmartMIPS ASE"
1497         help
1498           SmartMIPS is a extension of the MIPS32 architecture aimed at
1499           increased security at both hardware and software level for
1500           smartcards.  Enabling this option will allow proper use of the
1501           SmartMIPS instructions by Linux applications.  However a kernel with
1502           this option will not work on a MIPS core without SmartMIPS core.  If
1503           you don't know you probably don't have SmartMIPS and should say N
1504           here.
1505
1506 config CPU_HAS_WB
1507         bool
1508
1509 config 64BIT_CONTEXT
1510         bool "Save 64bit integer registers"
1511         depends on 32BIT && CPU_LOONGSON2
1512         help
1513           Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
1514           registers can still be accessed as 64bit, mainly for multimedia
1515           instructions. We must have all 64bit save/restored to make sure
1516           those instructions to get correct result.
1517
1518 #
1519 # Vectored interrupt mode is an R2 feature
1520 #
1521 config CPU_MIPSR2_IRQ_VI
1522         bool
1523
1524 #
1525 # Extended interrupt mode is an R2 feature
1526 #
1527 config CPU_MIPSR2_IRQ_EI
1528         bool
1529
1530 #
1531 # Shadow registers are an R2 feature
1532 #
1533 config CPU_MIPSR2_SRS
1534         bool
1535
1536 config CPU_HAS_SYNC
1537         bool
1538         depends on !CPU_R3000
1539         default y
1540
1541 config GENERIC_CLOCKEVENTS_BROADCAST
1542         bool
1543
1544 #
1545 # Use the generic interrupt handling code in kernel/irq/:
1546 #
1547 config GENERIC_HARDIRQS
1548         bool
1549         default y
1550
1551 config GENERIC_IRQ_PROBE
1552         bool
1553         default y
1554
1555 config IRQ_PER_CPU
1556         bool
1557
1558 #
1559 # - Highmem only makes sense for the 32-bit kernel.
1560 # - The current highmem code will only work properly on physically indexed
1561 #   caches such as R3000, SB1, R7000 or those that look like they're virtually
1562 #   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
1563 #   moment we protect the user and offer the highmem option only on machines
1564 #   where it's known to be safe.  This will not offer highmem on a few systems
1565 #   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1566 #   indexed CPUs but we're playing safe.
1567 # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1568 #   know they might have memory configurations that could make use of highmem
1569 #   support.
1570 #
1571 config HIGHMEM
1572         bool "High Memory Support"
1573         depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1574
1575 config CPU_SUPPORTS_HIGHMEM
1576         bool
1577
1578 config SYS_SUPPORTS_HIGHMEM
1579         bool
1580
1581 config SYS_SUPPORTS_SMARTMIPS
1582         bool
1583
1584 config ARCH_FLATMEM_ENABLE
1585         def_bool y
1586         depends on !NUMA
1587
1588 config ARCH_DISCONTIGMEM_ENABLE
1589         bool
1590         default y if SGI_IP27
1591         help
1592           Say Y to support efficient handling of discontiguous physical memory,
1593           for architectures which are either NUMA (Non-Uniform Memory Access)
1594           or have huge holes in the physical address space for other reasons.
1595           See <file:Documentation/vm/numa> for more.
1596
1597 config ARCH_SPARSEMEM_ENABLE
1598         bool
1599         select SPARSEMEM_STATIC
1600
1601 config NUMA
1602         bool "NUMA Support"
1603         depends on SYS_SUPPORTS_NUMA
1604         help
1605           Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1606           Access).  This option improves performance on systems with more
1607           than two nodes; on two node systems it is generally better to
1608           leave it disabled; on single node systems disable this option
1609           disabled.
1610
1611 config SYS_SUPPORTS_NUMA
1612         bool
1613
1614 config NODES_SHIFT
1615         int
1616         default "6"
1617         depends on NEED_MULTIPLE_NODES
1618
1619 source "mm/Kconfig"
1620
1621 config SMP
1622         bool "Multi-Processing support"
1623         depends on SYS_SUPPORTS_SMP
1624         select IRQ_PER_CPU
1625         help
1626           This enables support for systems with more than one CPU. If you have
1627           a system with only one CPU, like most personal computers, say N. If
1628           you have a system with more than one CPU, say Y.
1629
1630           If you say N here, the kernel will run on single and multiprocessor
1631           machines, but will use only one CPU of a multiprocessor machine. If
1632           you say Y here, the kernel will run on many, but not all,
1633           singleprocessor machines. On a singleprocessor machine, the kernel
1634           will run faster if you say N here.
1635
1636           People using multiprocessor machines who say Y here should also say
1637           Y to "Enhanced Real Time Clock Support", below.
1638
1639           See also the <file:Documentation/smp.txt> and the SMP-HOWTO
1640           available at <http://www.tldp.org/docs.html#howto>.
1641
1642           If you don't know what to do here, say N.
1643
1644 config SYS_SUPPORTS_SMP
1645         bool
1646
1647 config NR_CPUS_DEFAULT_1
1648         bool
1649
1650 config NR_CPUS_DEFAULT_2
1651         bool
1652
1653 config NR_CPUS_DEFAULT_4
1654         bool
1655
1656 config NR_CPUS_DEFAULT_8
1657         bool
1658
1659 config NR_CPUS_DEFAULT_16
1660         bool
1661
1662 config NR_CPUS_DEFAULT_32
1663         bool
1664
1665 config NR_CPUS_DEFAULT_64
1666         bool
1667
1668 config NR_CPUS
1669         int "Maximum number of CPUs (2-64)"
1670         range 1 64 if NR_CPUS_DEFAULT_1
1671         depends on SMP
1672         default "1" if NR_CPUS_DEFAULT_1
1673         default "2" if NR_CPUS_DEFAULT_2
1674         default "4" if NR_CPUS_DEFAULT_4
1675         default "8" if NR_CPUS_DEFAULT_8
1676         default "16" if NR_CPUS_DEFAULT_16
1677         default "32" if NR_CPUS_DEFAULT_32
1678         default "64" if NR_CPUS_DEFAULT_64
1679         help
1680           This allows you to specify the maximum number of CPUs which this
1681           kernel will support.  The maximum supported value is 32 for 32-bit
1682           kernel and 64 for 64-bit kernels; the minimum value which makes
1683           sense is 1 for Qemu (useful only for kernel debugging purposes)
1684           and 2 for all others.
1685
1686           This is purely to save memory - each supported CPU adds
1687           approximately eight kilobytes to the kernel image.  For best
1688           performance should round up your number of processors to the next
1689           power of two.
1690
1691 #
1692 # Timer Interrupt Frequency Configuration
1693 #
1694
1695 choice
1696         prompt "Timer frequency"
1697         default HZ_250
1698         help
1699          Allows the configuration of the timer frequency.
1700
1701         config HZ_48
1702                 bool "48 HZ" if SYS_SUPPORTS_48HZ
1703
1704         config HZ_100
1705                 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1706
1707         config HZ_128
1708                 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1709
1710         config HZ_250
1711                 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1712
1713         config HZ_256
1714                 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1715
1716         config HZ_1000
1717                 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1718
1719         config HZ_1024
1720                 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1721
1722 endchoice
1723
1724 config SYS_SUPPORTS_48HZ
1725         bool
1726
1727 config SYS_SUPPORTS_100HZ
1728         bool
1729
1730 config SYS_SUPPORTS_128HZ
1731         bool
1732
1733 config SYS_SUPPORTS_250HZ
1734         bool
1735
1736 config SYS_SUPPORTS_256HZ
1737         bool
1738
1739 config SYS_SUPPORTS_1000HZ
1740         bool
1741
1742 config SYS_SUPPORTS_1024HZ
1743         bool
1744
1745 config SYS_SUPPORTS_ARBIT_HZ
1746         bool
1747         default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1748                      !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1749                      !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1750                      !SYS_SUPPORTS_1024HZ
1751
1752 config HZ
1753         int
1754         default 48 if HZ_48
1755         default 100 if HZ_100
1756         default 128 if HZ_128
1757         default 250 if HZ_250
1758         default 256 if HZ_256
1759         default 1000 if HZ_1000
1760         default 1024 if HZ_1024
1761
1762 source "kernel/Kconfig.preempt"
1763
1764 config MIPS_INSANE_LARGE
1765         bool "Support for large 64-bit configurations"
1766         depends on CPU_R10000 && 64BIT
1767         help
1768           MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1769           previous 64-bit processors which only supported 40 bit / 1TB. If you
1770           need processes of more than 1TB virtual address space, say Y here.
1771           This will result in additional memory usage, so it is not
1772           recommended for normal users.
1773
1774 config KEXEC
1775         bool "Kexec system call (EXPERIMENTAL)"
1776         depends on EXPERIMENTAL
1777         help
1778           kexec is a system call that implements the ability to shutdown your
1779           current kernel, and to start another kernel.  It is like a reboot
1780           but it is independent of the system firmware.   And like a reboot
1781           you can start any kernel with it, not just Linux.
1782
1783           The name comes from the similiarity to the exec system call.
1784
1785           It is an ongoing process to be certain the hardware in a machine
1786           is properly shutdown, so do not be surprised if this code does not
1787           initially work for you.  It may help to enable device hotplugging
1788           support.  As of this writing the exact hardware interface is
1789           strongly in flux, so no good recommendation can be made.
1790
1791 config SECCOMP
1792         bool "Enable seccomp to safely compute untrusted bytecode"
1793         depends on PROC_FS
1794         default y
1795         help
1796           This kernel feature is useful for number crunching applications
1797           that may need to compute untrusted bytecode during their
1798           execution. By using pipes or other transports made available to
1799           the process as file descriptors supporting the read/write
1800           syscalls, it's possible to isolate those applications in
1801           their own address space using seccomp. Once seccomp is
1802           enabled via /proc/<pid>/seccomp, it cannot be disabled
1803           and the task is only allowed to execute a few safe syscalls
1804           defined by each seccomp mode.
1805
1806           If unsure, say Y. Only embedded should say N here.
1807
1808 endmenu
1809
1810 config RWSEM_GENERIC_SPINLOCK
1811         bool
1812         default y
1813
1814 config LOCKDEP_SUPPORT
1815         bool
1816         default y
1817
1818 config STACKTRACE_SUPPORT
1819         bool
1820         default y
1821
1822 source "init/Kconfig"
1823
1824 menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1825
1826 config HW_HAS_EISA
1827         bool
1828 config HW_HAS_PCI
1829         bool
1830
1831 config PCI
1832         bool "Support for PCI controller"
1833         depends on HW_HAS_PCI
1834         select PCI_DOMAINS
1835         help
1836           Find out whether you have a PCI motherboard. PCI is the name of a
1837           bus system, i.e. the way the CPU talks to the other stuff inside
1838           your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1839           say Y, otherwise N.
1840
1841           The PCI-HOWTO, available from
1842           <http://www.tldp.org/docs.html#howto>, contains valuable
1843           information about which PCI hardware does work under Linux and which
1844           doesn't.
1845
1846 config PCI_DOMAINS
1847         bool
1848
1849 source "drivers/pci/Kconfig"
1850
1851 #
1852 # ISA support is now enabled via select.  Too many systems still have the one
1853 # or other ISA chip on the board that users don't know about so don't expect
1854 # users to choose the right thing ...
1855 #
1856 config ISA
1857         bool
1858
1859 config EISA
1860         bool "EISA support"
1861         depends on HW_HAS_EISA
1862         select ISA
1863         select GENERIC_ISA_DMA
1864         ---help---
1865           The Extended Industry Standard Architecture (EISA) bus was
1866           developed as an open alternative to the IBM MicroChannel bus.
1867
1868           The EISA bus provided some of the features of the IBM MicroChannel
1869           bus while maintaining backward compatibility with cards made for
1870           the older ISA bus.  The EISA bus saw limited use between 1988 and
1871           1995 when it was made obsolete by the PCI bus.
1872
1873           Say Y here if you are building a kernel for an EISA-based machine.
1874
1875           Otherwise, say N.
1876
1877 source "drivers/eisa/Kconfig"
1878
1879 config TC
1880         bool "TURBOchannel support"
1881         depends on MACH_DECSTATION
1882         help
1883           TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
1884           processors.  Documentation on writing device drivers for TurboChannel
1885           is available at:
1886           <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
1887
1888 #config ACCESSBUS
1889 #       bool "Access.Bus support"
1890 #       depends on TC
1891
1892 config MMU
1893         bool
1894         default y
1895
1896 config PCSPEAKER
1897         bool
1898
1899 source "drivers/pcmcia/Kconfig"
1900
1901 source "drivers/pci/hotplug/Kconfig"
1902
1903 endmenu
1904
1905 menu "Executable file formats"
1906
1907 source "fs/Kconfig.binfmt"
1908
1909 config TRAD_SIGNALS
1910         bool
1911
1912 config BINFMT_IRIX
1913         bool "Include IRIX binary compatibility"
1914         depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
1915
1916 config MIPS32_COMPAT
1917         bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1918         depends on 64BIT
1919         help
1920           Select this option if you want Linux/MIPS 32-bit binary
1921           compatibility. Since all software available for Linux/MIPS is
1922           currently 32-bit you should say Y here.
1923
1924 config COMPAT
1925         bool
1926         depends on MIPS32_COMPAT
1927         default y
1928
1929 config SYSVIPC_COMPAT
1930         bool
1931         depends on COMPAT && SYSVIPC
1932         default y
1933
1934 config MIPS32_O32
1935         bool "Kernel support for o32 binaries"
1936         depends on MIPS32_COMPAT
1937         help
1938           Select this option if you want to run o32 binaries.  These are pure
1939           32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
1940           existing binaries are in this format.
1941
1942           If unsure, say Y.
1943
1944 config MIPS32_N32
1945         bool "Kernel support for n32 binaries"
1946         depends on MIPS32_COMPAT
1947         help
1948           Select this option if you want to run n32 binaries.  These are
1949           64-bit binaries using 32-bit quantities for addressing and certain
1950           data that would normally be 64-bit.  They are used in special
1951           cases.
1952
1953           If unsure, say N.
1954
1955 config BINFMT_ELF32
1956         bool
1957         default y if MIPS32_O32 || MIPS32_N32
1958
1959 endmenu
1960
1961 menu "Power management options"
1962
1963 source "kernel/power/Kconfig"
1964
1965 endmenu
1966
1967 source "net/Kconfig"
1968
1969 source "drivers/Kconfig"
1970
1971 source "fs/Kconfig"
1972
1973 source "arch/mips/oprofile/Kconfig"
1974
1975 source "arch/mips/Kconfig.debug"
1976
1977 source "security/Kconfig"
1978
1979 source "crypto/Kconfig"
1980
1981 source "lib/Kconfig"