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