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