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