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