xref: /linux/arch/mips/Kconfig (revision c87abd75b35e8f991ff8ff1510d6fb62612c61fa)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
41da177e4SLinus Torvalds	# Horrible source of confusion.  Die, die, die ...
51da177e4SLinus Torvalds	select EMBEDDED
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
81da177e4SLinus Torvalds
91da177e4SLinus Torvaldsmenu "Machine selection"
101da177e4SLinus Torvalds
115ac6da66SChristoph Lameterconfig ZONE_DMA
125ac6da66SChristoph Lameter	bool
135ac6da66SChristoph Lameter
145e83d430SRalf Baechlechoice
155e83d430SRalf Baechle	prompt "System type"
165e83d430SRalf Baechle	default SGI_IP22
171da177e4SLinus Torvalds
18c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
19c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
201da177e4SLinus Torvalds
2135189fadSRalf Baechleconfig BASLER_EXCITE
22be91589eSThomas Koeller	bool "Basler eXcite smart camera"
2335189fadSRalf Baechle	select DMA_COHERENT
2435189fadSRalf Baechle	select HW_HAS_PCI
2535189fadSRalf Baechle	select IRQ_CPU
2635189fadSRalf Baechle	select IRQ_CPU_RM7K
2735189fadSRalf Baechle	select IRQ_CPU_RM9K
28663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
2935189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
3035189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3135189fadSRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3235189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
33cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3435189fadSRalf Baechle	help
3535189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
36be91589eSThomas Koeller	  Basler Vision Technologies AG.
3735189fadSRalf Baechle
3835189fadSRalf Baechleconfig BASLER_EXCITE_PROTOTYPE
3935189fadSRalf Baechle	bool "Support for pre-release units"
4035189fadSRalf Baechle	depends on BASLER_EXCITE
4135189fadSRalf Baechle	default n
4235189fadSRalf Baechle	help
4335189fadSRalf Baechle	  Pre-series (prototype) units are different from later ones in
4435189fadSRalf Baechle	  some ways. Select this option if you have one of these. Please
4535189fadSRalf Baechle	  note that a kernel built with this option selected will not be
4635189fadSRalf Baechle	  able to run on normal units.
4735189fadSRalf Baechle
481da177e4SLinus Torvaldsconfig MIPS_COBALT
493fa986faSMartin Michlmayr	bool "Cobalt Server"
501da177e4SLinus Torvalds	select DMA_NONCOHERENT
511da177e4SLinus Torvalds	select HW_HAS_PCI
521da177e4SLinus Torvalds	select I8259
531da177e4SLinus Torvalds	select IRQ_CPU
54252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
557cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
560a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
57ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
58ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
595e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
609fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
611da177e4SLinus Torvalds
621da177e4SLinus Torvaldsconfig MACH_DECSTATION
633fa986faSMartin Michlmayr	bool "DECstations"
641da177e4SLinus Torvalds	select BOOT_ELF32
651da177e4SLinus Torvalds	select DMA_NONCOHERENT
66d388d685SMaciej W. Rozycki	select NO_IOPORT
671da177e4SLinus Torvalds	select IRQ_CPU
687cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
697cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
70ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
71ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
725e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
731723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
741723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
751723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
765e83d430SRalf Baechle	help
771da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
781da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
791da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
801da177e4SLinus Torvalds
811da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
821da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
831da177e4SLinus Torvalds
841da177e4SLinus Torvalds	  	DECstation 5000/50
851da177e4SLinus Torvalds	  	DECstation 5000/150
861da177e4SLinus Torvalds	  	DECstation 5000/260
871da177e4SLinus Torvalds	  	DECsystem 5900/260
881da177e4SLinus Torvalds
891da177e4SLinus Torvalds	  otherwise choose R3000.
901da177e4SLinus Torvalds
915e83d430SRalf Baechleconfig MACH_JAZZ
923fa986faSMartin Michlmayr	bool "Jazz family of machines"
935e83d430SRalf Baechle	select ARC
945e83d430SRalf Baechle	select ARC32
955e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
965e83d430SRalf Baechle	select GENERIC_ISA_DMA
975e83d430SRalf Baechle	select I8259
985e83d430SRalf Baechle	select ISA
99de61b542SRalf Baechle	select PCSPEAKER
1007cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1015e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1025e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1031723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1049fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1051da177e4SLinus Torvalds	help
1065e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1075e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1085e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1095e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1105e83d430SRalf Baechle
111ade299d8SYoichi Yuasaconfig LEMOTE_FULONG
112ade299d8SYoichi Yuasa	bool "Lemote Fulong mini-PC"
113ade299d8SYoichi Yuasa	select ARCH_SPARSEMEM_ENABLE
114ade299d8SYoichi Yuasa	select SYS_HAS_CPU_LOONGSON2
115ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
116ade299d8SYoichi Yuasa	select BOOT_ELF32
117ade299d8SYoichi Yuasa	select BOARD_SCACHE
118ade299d8SYoichi Yuasa	select HAVE_STD_PC_SERIAL_PORT
119ade299d8SYoichi Yuasa	select HW_HAS_PCI
120ade299d8SYoichi Yuasa	select I8259
121ade299d8SYoichi Yuasa	select ISA
122ade299d8SYoichi Yuasa	select IRQ_CPU
123ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
124ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
125ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
126ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
127ade299d8SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
128ade299d8SYoichi Yuasa	select GENERIC_HARDIRQS_NO__DO_IRQ
129ade299d8SYoichi Yuasa	select CPU_HAS_WB
130ade299d8SYoichi Yuasa	help
131ade299d8SYoichi Yuasa	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
132ade299d8SYoichi Yuasa	  an FPGA northbridge
133ade299d8SYoichi Yuasa
1341da177e4SLinus Torvaldsconfig MIPS_ATLAS
1353fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1361da177e4SLinus Torvalds	select BOOT_ELF32
1371da177e4SLinus Torvalds	select DMA_NONCOHERENT
13836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1395e83d430SRalf Baechle	select IRQ_CPU
1401da177e4SLinus Torvalds	select HW_HAS_PCI
1415e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1425e83d430SRalf Baechle	select MIPS_BONITO64
143252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1445e83d430SRalf Baechle	select MIPS_MSC
145f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1461da177e4SLinus Torvalds	select SWAP_IO_SPACE
1477cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1487cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1497cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1507cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1517cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
152ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
153ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1545e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1555e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
156f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
1579693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
158e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
1591da177e4SLinus Torvalds	help
160f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
1611da177e4SLinus Torvalds	  board.
1621da177e4SLinus Torvalds
1631da177e4SLinus Torvaldsconfig MIPS_MALTA
1643fa986faSMartin Michlmayr	bool "MIPS Malta board"
16561ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1661da177e4SLinus Torvalds	select BOOT_ELF32
1671da177e4SLinus Torvalds	select DMA_NONCOHERENT
1681da177e4SLinus Torvalds	select GENERIC_ISA_DMA
169aa414dffSRalf Baechle	select IRQ_CPU
1701da177e4SLinus Torvalds	select HW_HAS_PCI
1711da177e4SLinus Torvalds	select I8259
1725e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1735e83d430SRalf Baechle	select MIPS_BONITO64
1749318c51aSChris Dearman	select MIPS_CPU_SCACHE
175252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1765e83d430SRalf Baechle	select MIPS_MSC
1771da177e4SLinus Torvalds	select SWAP_IO_SPACE
1787cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1797cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1807cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1817cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1827cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
18336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
184ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
185ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1865e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1875e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
188f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
1899693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
1901da177e4SLinus Torvalds	help
191f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
1921da177e4SLinus Torvalds	  board.
1931da177e4SLinus Torvalds
1941da177e4SLinus Torvaldsconfig MIPS_SEAD
1953fa986faSMartin Michlmayr	bool "MIPS SEAD board (EXPERIMENTAL)"
1961da177e4SLinus Torvalds	depends on EXPERIMENTAL
1971da177e4SLinus Torvalds	select IRQ_CPU
1981da177e4SLinus Torvalds	select DMA_NONCOHERENT
19936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2005e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2017cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2027cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2037cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
204ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2055e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2065e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2075e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2089693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
209f638d197SMaciej W. Rozycki	help
210f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
211f638d197SMaciej W. Rozycki	  board.
2121da177e4SLinus Torvalds
213c78cbf49SRalf Baechleconfig MIPS_SIM
2143fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
215c78cbf49SRalf Baechle	select DMA_NONCOHERENT
21636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
217c78cbf49SRalf Baechle	select IRQ_CPU
2189267a30dSMarc St-Jean	select BOOT_RAW
2197cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2207cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
22136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
222c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
223c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
224f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
225c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
226c78cbf49SRalf Baechle	help
227c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
228c78cbf49SRalf Baechle	  emulator.
229c78cbf49SRalf Baechle
230ade299d8SYoichi Yuasaconfig MARKEINS
231ade299d8SYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
232ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
233ade299d8SYoichi Yuasa	select HW_HAS_PCI
234ade299d8SYoichi Yuasa	select IRQ_CPU
235ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
236ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
237ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
238ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
239ade299d8SYoichi Yuasa	select SYS_HAS_CPU_R5000
240ade299d8SYoichi Yuasa	help
241ade299d8SYoichi Yuasa	  This enables support for the R5432-based NEC Mark-eins
242ade299d8SYoichi Yuasa	  boards with R5500 CPU.
243ade299d8SYoichi Yuasa
2445e83d430SRalf Baechleconfig MACH_VR41XX
24574142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
2467cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
2479fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
2485e83d430SRalf Baechle
249ade299d8SYoichi Yuasaconfig PNX8550_JBS
250ade299d8SYoichi Yuasa	bool "Philips PNX8550 based JBS board"
251ade299d8SYoichi Yuasa	select PNX8550
252ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
253ade299d8SYoichi Yuasa
254ade299d8SYoichi Yuasaconfig PNX8550_STB810
255ade299d8SYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
256ade299d8SYoichi Yuasa	select PNX8550
257ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
258ade299d8SYoichi Yuasa
2599267a30dSMarc St-Jeanconfig PMC_MSP
2609267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
2619267a30dSMarc St-Jean	depends on EXPERIMENTAL
2629267a30dSMarc St-Jean	select DMA_NONCOHERENT
2639267a30dSMarc St-Jean	select SWAP_IO_SPACE
2649267a30dSMarc St-Jean	select NO_EXCEPT_FILL
2659267a30dSMarc St-Jean	select BOOT_RAW
2669267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
2679267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
2689267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
2699267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
2709267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
2719267a30dSMarc St-Jean	select IRQ_CPU
2729267a30dSMarc St-Jean	select SERIAL_8250
2739267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
2749267a30dSMarc St-Jean	help
2759267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
2769267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
2779267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
2789267a30dSMarc St-Jean	  a variety of MIPS cores.
2799267a30dSMarc St-Jean
2805e83d430SRalf Baechleconfig PMC_YOSEMITE
2813fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
2825e83d430SRalf Baechle	select DMA_COHERENT
2835e83d430SRalf Baechle	select HW_HAS_PCI
2845e83d430SRalf Baechle	select IRQ_CPU
2855e83d430SRalf Baechle	select IRQ_CPU_RM7K
2865e83d430SRalf Baechle	select IRQ_CPU_RM9K
2875e83d430SRalf Baechle	select SWAP_IO_SPACE
2887cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
28936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2905e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
2915e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
2925e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2935e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
294cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
295e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
2965e83d430SRalf Baechle	help
2975e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
2985e83d430SRalf Baechle	  manufactured by PMC-Sierra.
2991da177e4SLinus Torvalds
30007119621SRalf Baechleconfig QEMU
3013fa986faSMartin Michlmayr	bool "Qemu"
30207119621SRalf Baechle	select DMA_COHERENT
30307119621SRalf Baechle	select GENERIC_ISA_DMA
30407119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
30507119621SRalf Baechle	select I8259
30607119621SRalf Baechle	select ISA
307de61b542SRalf Baechle	select PCSPEAKER
30807119621SRalf Baechle	select SWAP_IO_SPACE
3097cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
31007119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
31107119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
312c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
313b1c6cd42SAtsushi Nemoto	select ARCH_SPARSEMEM_ENABLE
3149fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
31572ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
31672ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
31707119621SRalf Baechle	help
31807119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
31907119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
32007119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
32107119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
32207119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
32307119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
32407119621SRalf Baechle
3251da177e4SLinus Torvaldsconfig SGI_IP22
3263fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3271da177e4SLinus Torvalds	select ARC
3281da177e4SLinus Torvalds	select ARC32
3291da177e4SLinus Torvalds	select BOOT_ELF32
3301da177e4SLinus Torvalds	select DMA_NONCOHERENT
3315e83d430SRalf Baechle	select HW_HAS_EISA
3321da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3331da177e4SLinus Torvalds	select IRQ_CPU
334aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
3351da177e4SLinus Torvalds	select SWAP_IO_SPACE
3367cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3377cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
33836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
339ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
340ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3415e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3421da177e4SLinus Torvalds	help
3431da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3441da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3451da177e4SLinus Torvalds	  that runs on these, say Y here.
3461da177e4SLinus Torvalds
3471da177e4SLinus Torvaldsconfig SGI_IP27
3483fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3491da177e4SLinus Torvalds	select ARC
3501da177e4SLinus Torvalds	select ARC64
3515e83d430SRalf Baechle	select BOOT_ELF64
3521da177e4SLinus Torvalds	select DMA_IP27
35336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3541da177e4SLinus Torvalds	select HW_HAS_PCI
355130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
3561da177e4SLinus Torvalds	select PCI_DOMAINS
3577cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
358ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3595e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
360cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
361d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
3621a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
363e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
3641da177e4SLinus Torvalds	help
3651da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
3661da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
3671da177e4SLinus Torvalds	  here.
3681da177e4SLinus Torvalds
3691da177e4SLinus Torvaldsconfig SGI_IP32
370cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
3711da177e4SLinus Torvalds	select ARC
3721da177e4SLinus Torvalds	select ARC32
3731da177e4SLinus Torvalds	select BOOT_ELF32
3741da177e4SLinus Torvalds	select DMA_NONCOHERENT
3751da177e4SLinus Torvalds	select HW_HAS_PCI
3761da177e4SLinus Torvalds	select R5000_CPU_SCACHE
3771da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
3787cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
3797cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
3807cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
381dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
382ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3835e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3841da177e4SLinus Torvalds	help
3851da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
3861da177e4SLinus Torvalds
387ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
388ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
3895e83d430SRalf Baechle	depends on EXPERIMENTAL
3905e83d430SRalf Baechle	select BOOT_ELF32
3915e83d430SRalf Baechle	select DMA_COHERENT
3925e83d430SRalf Baechle	select SIBYTE_BCM1120
3935e83d430SRalf Baechle	select SWAP_IO_SPACE
3947cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
3955e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3965e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
3975e83d430SRalf Baechle
398ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
399ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4005e83d430SRalf Baechle	depends on EXPERIMENTAL
4015e83d430SRalf Baechle	select BOOT_ELF32
4025e83d430SRalf Baechle	select DMA_COHERENT
4035e83d430SRalf Baechle	select SIBYTE_BCM1120
4045e83d430SRalf Baechle	select SWAP_IO_SPACE
4057cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4065e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4075e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4085e83d430SRalf Baechle
4095e83d430SRalf Baechleconfig SIBYTE_CRHONE
4103fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4115e83d430SRalf Baechle	depends on EXPERIMENTAL
4125e83d430SRalf Baechle	select BOOT_ELF32
4135e83d430SRalf Baechle	select DMA_COHERENT
4145e83d430SRalf Baechle	select SIBYTE_BCM1125
4155e83d430SRalf Baechle	select SWAP_IO_SPACE
4167cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4175e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4185e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4195e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4205e83d430SRalf Baechle
421ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
422ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
423ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
424ade299d8SYoichi Yuasa	select BOOT_ELF32
425ade299d8SYoichi Yuasa	select DMA_COHERENT
426ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
427ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
428ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
429ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
430ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
431ade299d8SYoichi Yuasa
432ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
433ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
434ade299d8SYoichi Yuasa	select BOOT_ELF32
435ade299d8SYoichi Yuasa	select DMA_COHERENT
436ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
437ade299d8SYoichi Yuasa	select SIBYTE_SB1250
438ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
439ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
440ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
441ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
442ade299d8SYoichi Yuasa	select SYS_SUPPORTS_KGDB
443ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
444ade299d8SYoichi Yuasa
445ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
446ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
447ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
448ade299d8SYoichi Yuasa	select BOOT_ELF32
449ade299d8SYoichi Yuasa	select DMA_COHERENT
450ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
451ade299d8SYoichi Yuasa	select SIBYTE_SB1250
452ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
453ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
454ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
455ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
456ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
457ade299d8SYoichi Yuasa
458ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
459ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
460ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
461ade299d8SYoichi Yuasa	select BOOT_ELF32
462ade299d8SYoichi Yuasa	select DMA_COHERENT
463ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
464ade299d8SYoichi Yuasa	select SIBYTE_SB1250
465ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
466ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
467ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
468ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
469ade299d8SYoichi Yuasa
470ade299d8SYoichi Yuasaconfig SIBYTE_PTSWARM
471ade299d8SYoichi Yuasa	bool "Sibyte BCM91250PT-PTSWARM"
472ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
473ade299d8SYoichi Yuasa	select BOOT_ELF32
474ade299d8SYoichi Yuasa	select DMA_COHERENT
475ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
476ade299d8SYoichi Yuasa	select SIBYTE_SB1250
477ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
478ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
479ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
480ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
481ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
482ade299d8SYoichi Yuasa
483ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
484ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
485ade299d8SYoichi Yuasa	select BOOT_ELF32
486ade299d8SYoichi Yuasa	select DMA_COHERENT
487ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
488ade299d8SYoichi Yuasa	select PCI_DOMAINS
489ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
490ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
491ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
492ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
493ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
494ade299d8SYoichi Yuasa
49514b36af4SThomas Bogendoerferconfig SNI_RM
49614b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
4974a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
4984a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
4995e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5005e83d430SRalf Baechle	select BOOT_ELF32
5015e83d430SRalf Baechle	select DMA_NONCOHERENT
5025e83d430SRalf Baechle	select GENERIC_ISA_DMA
5035e83d430SRalf Baechle	select HW_HAS_EISA
5045e83d430SRalf Baechle	select HW_HAS_PCI
505c066a32aSThomas Bogendoerfer	select IRQ_CPU
5065e83d430SRalf Baechle	select I8259
5075e83d430SRalf Baechle	select ISA
508de61b542SRalf Baechle	select PCSPEAKER
5094a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5107cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5114a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
512c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5134a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
51436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
515ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5165e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5174a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5185e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5195e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5201da177e4SLinus Torvalds	help
52114b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
52214b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5235e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5245e83d430SRalf Baechle	  support this machine type.
5251da177e4SLinus Torvalds
5265e83d430SRalf Baechleconfig TOSHIBA_JMR3927
5273fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
5285e83d430SRalf Baechle	select DMA_NONCOHERENT
5295e83d430SRalf Baechle	select HW_HAS_PCI
5305e83d430SRalf Baechle	select MIPS_TX3927
531*c87abd75SAtsushi Nemoto	select IRQ_TXX9
5325e83d430SRalf Baechle	select SWAP_IO_SPACE
5337cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
5345e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5356a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5365e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5372127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5385e83d430SRalf Baechle
5395e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
54008a91283SYoichi Yuasa	bool "Toshiba RBTX49[23]7 board"
5415e83d430SRalf Baechle	select DMA_NONCOHERENT
5425e83d430SRalf Baechle	select HAS_TXX9_SERIAL
5435e83d430SRalf Baechle	select HW_HAS_PCI
544*c87abd75SAtsushi Nemoto	select IRQ_CPU
545*c87abd75SAtsushi Nemoto	select IRQ_TXX9
546*c87abd75SAtsushi Nemoto	select I8259 if TOSHIBA_FPCIB0
5475e83d430SRalf Baechle	select SWAP_IO_SPACE
5487cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
5495e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5505e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
5516a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5525e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
553cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
5549fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5555e83d430SRalf Baechle	help
5565e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
5575e83d430SRalf Baechle	  support this machine type
5581da177e4SLinus Torvalds
55923fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
5603fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
56123fbee9dSRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
56223fbee9dSRalf Baechle	select DMA_NONCOHERENT
56323fbee9dSRalf Baechle	select GENERIC_ISA_DMA
56423fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
56523fbee9dSRalf Baechle	select HW_HAS_PCI
566*c87abd75SAtsushi Nemoto	select IRQ_CPU
567*c87abd75SAtsushi Nemoto	select IRQ_TXX9
56823fbee9dSRalf Baechle	select SWAP_IO_SPACE
5697cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
57023fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
57123fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
57223fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
573cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
5749fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5753896b054SAtsushi Nemoto	select GENERIC_GPIO
57623fbee9dSRalf Baechle	help
57723fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
57823fbee9dSRalf Baechle	  support this machine type
57923fbee9dSRalf Baechle
580ade299d8SYoichi Yuasaconfig WR_PPMC
581ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
582ade299d8SYoichi Yuasa	select IRQ_CPU
583ade299d8SYoichi Yuasa	select BOOT_ELF32
584ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
585ade299d8SYoichi Yuasa	select HW_HAS_PCI
586ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
587ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
588ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
589ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
590ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
591ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
592ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
593ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
594ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
595ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
596ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
597ade299d8SYoichi Yuasa	help
598ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
599ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
600ade299d8SYoichi Yuasa
6011da177e4SLinus Torvaldsendchoice
6021da177e4SLinus Torvalds
603c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6045e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6055e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
60629c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
60738b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6085e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
60923fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6105e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
61138b18f72SRalf Baechle
6125e83d430SRalf Baechleendmenu
6135e83d430SRalf Baechle
6141da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6151da177e4SLinus Torvalds	bool
6161da177e4SLinus Torvalds	default y
6171da177e4SLinus Torvalds
6181da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6191da177e4SLinus Torvalds	bool
6201da177e4SLinus Torvalds
621f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
622f0d1b0b3SDavid Howells	bool
623f0d1b0b3SDavid Howells	default n
624f0d1b0b3SDavid Howells
625f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
626f0d1b0b3SDavid Howells	bool
627f0d1b0b3SDavid Howells	default n
628f0d1b0b3SDavid Howells
6293c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6303c9ee7efSAkinobu Mita	bool
6313c9ee7efSAkinobu Mita	default y
6323c9ee7efSAkinobu Mita
6333c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6343c9ee7efSAkinobu Mita	bool
6353c9ee7efSAkinobu Mita	default y
6363c9ee7efSAkinobu Mita
6371da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
6381da177e4SLinus Torvalds	bool
6391da177e4SLinus Torvalds	default y
6401da177e4SLinus Torvalds
6418db02010SRalf Baechleconfig GENERIC_TIME
6428db02010SRalf Baechle	bool
6438db02010SRalf Baechle	default y
6448db02010SRalf Baechle
6451cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
6461cc89038SAtsushi Nemoto	bool
6471cc89038SAtsushi Nemoto	default y
6481cc89038SAtsushi Nemoto
649e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
650e77c232cSFranck Bui-Huu	bool
651e77c232cSFranck Bui-Huu	default n
652e77c232cSFranck Bui-Huu
6531da177e4SLinus Torvalds#
6541da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
6551da177e4SLinus Torvalds#
6561da177e4SLinus Torvaldsconfig ARC
6571da177e4SLinus Torvalds	bool
6581da177e4SLinus Torvalds
65961ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
66061ed242dSRalf Baechle	bool
66161ed242dSRalf Baechle
6629267a30dSMarc St-Jeanconfig BOOT_RAW
6639267a30dSMarc St-Jean	bool
6649267a30dSMarc St-Jean
6651da177e4SLinus Torvaldsconfig DMA_COHERENT
6661da177e4SLinus Torvalds	bool
6671da177e4SLinus Torvalds
6681da177e4SLinus Torvaldsconfig DMA_IP27
6691da177e4SLinus Torvalds	bool
6701da177e4SLinus Torvalds
6714ce588cdSRalf Baechleconfig DMA_IP32
6724ce588cdSRalf Baechle	bool
6734ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
6744ce588cdSRalf Baechle
6751da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
6761da177e4SLinus Torvalds	bool
6774ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
6784ce588cdSRalf Baechle
6794ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
6804ce588cdSRalf Baechle	bool
6811da177e4SLinus Torvalds
6821da177e4SLinus Torvaldsconfig EARLY_PRINTK
68336a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
68436a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
68536a88530SRalf Baechle	default y
68636a88530SRalf Baechle	help
68736a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
68836a88530SRalf Baechle	  to print messages very early in the bootup process.
68936a88530SRalf Baechle
69036a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
691490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
692490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
693490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
69436a88530SRalf Baechle	  unless you want to debug such a crash.
69536a88530SRalf Baechle
69636a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
6971da177e4SLinus Torvalds	bool
6981da177e4SLinus Torvalds
6991da177e4SLinus Torvaldsconfig GENERIC_ISA_DMA
7001da177e4SLinus Torvalds	bool
70105502339SAtsushi Nemoto	select ZONE_DMA
7021da177e4SLinus Torvalds
7031da177e4SLinus Torvaldsconfig I8259
7041da177e4SLinus Torvalds	bool
7051da177e4SLinus Torvalds
7061da177e4SLinus Torvaldsconfig MIPS_BONITO64
7071da177e4SLinus Torvalds	bool
7081da177e4SLinus Torvalds
7091da177e4SLinus Torvaldsconfig MIPS_MSC
7101da177e4SLinus Torvalds	bool
7111da177e4SLinus Torvalds
7121da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7131da177e4SLinus Torvalds	bool
7141da177e4SLinus Torvalds
715d388d685SMaciej W. Rozyckiconfig NO_IOPORT
716d388d685SMaciej W. Rozycki	def_bool n
717d388d685SMaciej W. Rozycki
718aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
719aa414dffSRalf Baechle	bool
72005502339SAtsushi Nemoto	select ZONE_DMA
721aa414dffSRalf Baechle
72209663335SYoichi Yuasaconfig GENERIC_GPIO
72309663335SYoichi Yuasa	bool
72409663335SYoichi Yuasa
7255e83d430SRalf Baechle#
7263cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
7275e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
7285e83d430SRalf Baechle# choice statement should be more obvious to the user.
7295e83d430SRalf Baechle#
7305e83d430SRalf Baechlechoice
7315e83d430SRalf Baechle	prompt "Endianess selection"
7321da177e4SLinus Torvalds	help
7331da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
7345e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
7353cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
7365e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
7373dde6ad8SDavid Sterba	  one or the other endianness.
7385e83d430SRalf Baechle
7395e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
7405e83d430SRalf Baechle	bool "Big endian"
7415e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
7425e83d430SRalf Baechle
7435e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
7445e83d430SRalf Baechle	bool "Little endian"
7455e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
7465e83d430SRalf Baechle	help
7475e83d430SRalf Baechle
7485e83d430SRalf Baechleendchoice
7495e83d430SRalf Baechle
7502116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
7512116245eSRalf Baechle	bool
7522116245eSRalf Baechle
7535e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
7545e83d430SRalf Baechle	bool
7555e83d430SRalf Baechle
7565e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
7575e83d430SRalf Baechle	bool
7581da177e4SLinus Torvalds
7591da177e4SLinus Torvaldsconfig IRQ_CPU
7601da177e4SLinus Torvalds	bool
7611da177e4SLinus Torvalds
7621da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
7631da177e4SLinus Torvalds	bool
7641da177e4SLinus Torvalds
7655e83d430SRalf Baechleconfig IRQ_CPU_RM9K
7665e83d430SRalf Baechle	bool
7675e83d430SRalf Baechle
7689267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
7699267a30dSMarc St-Jean	bool
7709267a30dSMarc St-Jean
7719267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
7729267a30dSMarc St-Jean	bool
7739267a30dSMarc St-Jean
7748420fd00SAtsushi Nemotoconfig IRQ_TXX9
7758420fd00SAtsushi Nemoto	bool
7768420fd00SAtsushi Nemoto
7771da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
7781da177e4SLinus Torvalds	bool
7791da177e4SLinus Torvalds
780252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
7811da177e4SLinus Torvalds	bool
7821da177e4SLinus Torvalds
7839267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
7849267a30dSMarc St-Jean	bool
7859267a30dSMarc St-Jean
7861da177e4SLinus Torvaldsconfig MIPS_TX3927
7871da177e4SLinus Torvalds	bool
7881da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
7891da177e4SLinus Torvalds
790663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
791663c3d90Sthomas@koeller.dyndns.org	bool
792663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
793663c3d90Sthomas@koeller.dyndns.org
794bdf21b18SPete Popovconfig PNX8550
795bdf21b18SPete Popov	bool
796bdf21b18SPete Popov	select SOC_PNX8550
797bdf21b18SPete Popov
798bdf21b18SPete Popovconfig SOC_PNX8550
799bdf21b18SPete Popov	bool
800bdf21b18SPete Popov	select DMA_NONCOHERENT
801bdf21b18SPete Popov	select HW_HAS_PCI
802b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
80336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8047cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
805e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
806cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8074ead1681SFlorian Fainelli	select GENERIC_GPIO
808bdf21b18SPete Popov
8091da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8101da177e4SLinus Torvalds	bool
8111da177e4SLinus Torvalds
812355c471fSdmitry pervushinconfig EMMA2RH
813355c471fSdmitry pervushin	bool
814355c471fSdmitry pervushin	depends on MARKEINS
815355c471fSdmitry pervushin	default y
816355c471fSdmitry pervushin
817663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
818663c3d90Sthomas@koeller.dyndns.org	bool
819663c3d90Sthomas@koeller.dyndns.org
8201da177e4SLinus Torvalds#
8211da177e4SLinus Torvalds# Unfortunately not all GT64120 systems run the chip at the same clock.
8221da177e4SLinus Torvalds# As the user for the clock rate and try to minimize the available options.
8231da177e4SLinus Torvalds#
8241da177e4SLinus Torvaldschoice
8251da177e4SLinus Torvalds	prompt "Galileo Chip Clock"
8266b5bf509SYoichi Yuasa	depends on MOMENCO_OCELOT
8271e54f778SFranck Bui-Huu	default SYSCLK_100 if MOMENCO_OCELOT
8281da177e4SLinus Torvalds
8291da177e4SLinus Torvaldsconfig SYSCLK_100
8306b5bf509SYoichi Yuasa	bool "100" if MOMENCO_OCELOT
8311da177e4SLinus Torvalds
8321da177e4SLinus Torvaldsendchoice
8331da177e4SLinus Torvalds
8345e83d430SRalf Baechleconfig ARC32
8355e83d430SRalf Baechle	bool
8365e83d430SRalf Baechle
8371da177e4SLinus Torvaldsconfig BOOT_ELF32
8381da177e4SLinus Torvalds	bool
8391da177e4SLinus Torvalds
8401da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
8411da177e4SLinus Torvalds	int
84206cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
84306cf5583SThomas Bogendoerfer	default "7" if SGI_IP27 || SNI_RM
8449267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
8451da177e4SLinus Torvalds	default "5"
8461da177e4SLinus Torvalds
8471da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
8481da177e4SLinus Torvalds	bool
8491da177e4SLinus Torvalds
8501da177e4SLinus Torvaldsconfig ARC_CONSOLE
8511da177e4SLinus Torvalds	bool "ARC console support"
85236a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
8531da177e4SLinus Torvalds
8541da177e4SLinus Torvaldsconfig ARC_MEMORY
8551da177e4SLinus Torvalds	bool
85614b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
8571da177e4SLinus Torvalds	default y
8581da177e4SLinus Torvalds
8591da177e4SLinus Torvaldsconfig ARC_PROMLIB
8601da177e4SLinus Torvalds	bool
86114b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
8621da177e4SLinus Torvalds	default y
8631da177e4SLinus Torvalds
8641da177e4SLinus Torvaldsconfig ARC64
8651da177e4SLinus Torvalds	bool
8661da177e4SLinus Torvalds
8671da177e4SLinus Torvaldsconfig BOOT_ELF64
8681da177e4SLinus Torvalds	bool
8691da177e4SLinus Torvalds
8701da177e4SLinus Torvaldsmenu "CPU selection"
8711da177e4SLinus Torvalds
8721da177e4SLinus Torvaldschoice
8731da177e4SLinus Torvalds	prompt "CPU type"
8741da177e4SLinus Torvalds	default CPU_R4X00
8751da177e4SLinus Torvalds
8762a21c730SFuxin Zhangconfig CPU_LOONGSON2
8772a21c730SFuxin Zhang	bool "Loongson 2"
8782a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
8792a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
8802a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
8812a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
8822a21c730SFuxin Zhang	help
8832a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
8842a21c730SFuxin Zhang	  with many extensions.
8852a21c730SFuxin Zhang
8866e760c8dSRalf Baechleconfig CPU_MIPS32_R1
8876e760c8dSRalf Baechle	bool "MIPS32 Release 1"
8887cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
889f7062ddbSRalf Baechle	select CPU_HAS_LLSC
8906e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
891797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
892ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
8936e760c8dSRalf Baechle	help
8945e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
8951e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
8961e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
8971e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
8981e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
8991e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9001e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9011e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9021e5f1caaSRalf Baechle	  performance.
9031e5f1caaSRalf Baechle
9041e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9051e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9067cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
907f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9081e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
909797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
910ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9111e5f1caaSRalf Baechle	help
9125e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9136e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9146e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9156e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9166e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9171da177e4SLinus Torvalds
9186e760c8dSRalf Baechleconfig CPU_MIPS64_R1
9196e760c8dSRalf Baechle	bool "MIPS64 Release 1"
9207cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
921f7062ddbSRalf Baechle	select CPU_HAS_LLSC
922797798c1SRalf Baechle	select CPU_HAS_PREFETCH
923ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
924ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
925ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9266e760c8dSRalf Baechle	help
9276e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9286e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9296e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9306e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9316e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9321e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
9331e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
9341e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
9351e5f1caaSRalf Baechle	  performance.
9361e5f1caaSRalf Baechle
9371e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
9381e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
9397cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
940f7062ddbSRalf Baechle	select CPU_HAS_LLSC
941797798c1SRalf Baechle	select CPU_HAS_PREFETCH
9421e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
9431e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
944ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9451e5f1caaSRalf Baechle	help
9461e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9471e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9481e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9491e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9501e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9511da177e4SLinus Torvalds
9521da177e4SLinus Torvaldsconfig CPU_R3000
9531da177e4SLinus Torvalds	bool "R3000"
9547cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
955f7062ddbSRalf Baechle	select CPU_HAS_WB
956ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
957797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9581da177e4SLinus Torvalds	help
9591da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
9601da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
9611da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
9621da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
9631da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
9641da177e4SLinus Torvalds	  try to recompile with R3000.
9651da177e4SLinus Torvalds
9661da177e4SLinus Torvaldsconfig CPU_TX39XX
9671da177e4SLinus Torvalds	bool "R39XX"
9687cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
969ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
9701da177e4SLinus Torvalds
9711da177e4SLinus Torvaldsconfig CPU_VR41XX
9721da177e4SLinus Torvalds	bool "R41xx"
9737cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
974ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
975ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
9761da177e4SLinus Torvalds	help
9775e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
9781da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
9791da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
9801da177e4SLinus Torvalds	  processor or vice versa.
9811da177e4SLinus Torvalds
9821da177e4SLinus Torvaldsconfig CPU_R4300
9831da177e4SLinus Torvalds	bool "R4300"
9847cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
985f7062ddbSRalf Baechle	select CPU_HAS_LLSC
986ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
987ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
9881da177e4SLinus Torvalds	help
9891da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
9901da177e4SLinus Torvalds
9911da177e4SLinus Torvaldsconfig CPU_R4X00
9921da177e4SLinus Torvalds	bool "R4x00"
9937cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
994f7062ddbSRalf Baechle	select CPU_HAS_LLSC
995ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
996ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
9971da177e4SLinus Torvalds	help
9981da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
9991da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10001da177e4SLinus Torvalds
10011da177e4SLinus Torvaldsconfig CPU_TX49XX
10021da177e4SLinus Torvalds	bool "R49XX"
10037cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1004f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1005de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1006ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1007ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10081da177e4SLinus Torvalds
10091da177e4SLinus Torvaldsconfig CPU_R5000
10101da177e4SLinus Torvalds	bool "R5000"
10117cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1012f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1013ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1014ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10151da177e4SLinus Torvalds	help
10161da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
10171da177e4SLinus Torvalds
10181da177e4SLinus Torvaldsconfig CPU_R5432
10191da177e4SLinus Torvalds	bool "R5432"
10207cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1021f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10225e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10235e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
10241da177e4SLinus Torvalds
10251da177e4SLinus Torvaldsconfig CPU_R6000
10261da177e4SLinus Torvalds	bool "R6000"
1027ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1028f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10297cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1030ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10311da177e4SLinus Torvalds	help
10321da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1033c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
10341da177e4SLinus Torvalds
10351da177e4SLinus Torvaldsconfig CPU_NEVADA
10361da177e4SLinus Torvalds	bool "RM52xx"
10377cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1038f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1039ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1040ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10411da177e4SLinus Torvalds	help
10421da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
10431da177e4SLinus Torvalds
10441da177e4SLinus Torvaldsconfig CPU_R8000
10451da177e4SLinus Torvalds	bool "R8000"
1046ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
10477cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1048f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10495e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1050ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10511da177e4SLinus Torvalds	help
10521da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
10531da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
10541da177e4SLinus Torvalds
10551da177e4SLinus Torvaldsconfig CPU_R10000
10561da177e4SLinus Torvalds	bool "R10000"
10577cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1058f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10595e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1060ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1061ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1062797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10631da177e4SLinus Torvalds	help
10641da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
10651da177e4SLinus Torvalds
10661da177e4SLinus Torvaldsconfig CPU_RM7000
10671da177e4SLinus Torvalds	bool "RM7000"
10687cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1069f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10705e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1071ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1072ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1073797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10741da177e4SLinus Torvalds
10751da177e4SLinus Torvaldsconfig CPU_RM9000
10761da177e4SLinus Torvalds	bool "RM9000"
10777cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1078f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10795e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1080ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1081ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1082797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10830004a9dfSRalf Baechle	select WEAK_ORDERING
10841da177e4SLinus Torvalds
10851da177e4SLinus Torvaldsconfig CPU_SB1
10861da177e4SLinus Torvalds	bool "SB1"
10877cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1088f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1089ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1090ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1091797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10920004a9dfSRalf Baechle	select WEAK_ORDERING
10931da177e4SLinus Torvalds
10941da177e4SLinus Torvaldsendchoice
10951da177e4SLinus Torvalds
10962a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
10972a21c730SFuxin Zhang	bool
10982a21c730SFuxin Zhang
10997cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11007cf8053bSRalf Baechle	bool
11017cf8053bSRalf Baechle
11027cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11037cf8053bSRalf Baechle	bool
11047cf8053bSRalf Baechle
11057cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11067cf8053bSRalf Baechle	bool
11077cf8053bSRalf Baechle
11087cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
11097cf8053bSRalf Baechle	bool
11107cf8053bSRalf Baechle
11117cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
11127cf8053bSRalf Baechle	bool
11137cf8053bSRalf Baechle
11147cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
11157cf8053bSRalf Baechle	bool
11167cf8053bSRalf Baechle
11177cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
11187cf8053bSRalf Baechle	bool
11197cf8053bSRalf Baechle
11207cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
11217cf8053bSRalf Baechle	bool
11227cf8053bSRalf Baechle
11237cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
11247cf8053bSRalf Baechle	bool
11257cf8053bSRalf Baechle
11267cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
11277cf8053bSRalf Baechle	bool
11287cf8053bSRalf Baechle
11297cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
11307cf8053bSRalf Baechle	bool
11317cf8053bSRalf Baechle
11327cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
11337cf8053bSRalf Baechle	bool
11347cf8053bSRalf Baechle
11357cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
11367cf8053bSRalf Baechle	bool
11377cf8053bSRalf Baechle
11387cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
11397cf8053bSRalf Baechle	bool
11407cf8053bSRalf Baechle
11417cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
11427cf8053bSRalf Baechle	bool
11437cf8053bSRalf Baechle
11447cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
11457cf8053bSRalf Baechle	bool
11467cf8053bSRalf Baechle
11477cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
11487cf8053bSRalf Baechle	bool
11497cf8053bSRalf Baechle
11507cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
11517cf8053bSRalf Baechle	bool
11527cf8053bSRalf Baechle
11537cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
11547cf8053bSRalf Baechle	bool
11557cf8053bSRalf Baechle
115617099b11SRalf Baechle#
115717099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
115817099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
115917099b11SRalf Baechle#
11600004a9dfSRalf Baechleconfig WEAK_ORDERING
11610004a9dfSRalf Baechle	bool
116217099b11SRalf Baechle
116317099b11SRalf Baechle#
116417099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
116517099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
116617099b11SRalf Baechle#
116717099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
116817099b11SRalf Baechle	bool
11695e83d430SRalf Baechleendmenu
11705e83d430SRalf Baechle
11715e83d430SRalf Baechle#
11725e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
11735e83d430SRalf Baechle#
11745e83d430SRalf Baechleconfig CPU_MIPS32
11755e83d430SRalf Baechle	bool
11765e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
11775e83d430SRalf Baechle
11785e83d430SRalf Baechleconfig CPU_MIPS64
11795e83d430SRalf Baechle	bool
11805e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
11815e83d430SRalf Baechle
11825e83d430SRalf Baechle#
1183c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
11845e83d430SRalf Baechle#
11855e83d430SRalf Baechleconfig CPU_MIPSR1
11865e83d430SRalf Baechle	bool
11875e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
11885e83d430SRalf Baechle
11895e83d430SRalf Baechleconfig CPU_MIPSR2
11905e83d430SRalf Baechle	bool
11915e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
11925e83d430SRalf Baechle
11935e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
11945e83d430SRalf Baechle	bool
11955e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
11965e83d430SRalf Baechle	bool
11975e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
11985e83d430SRalf Baechle	bool
11995e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12005e83d430SRalf Baechle	bool
12015e83d430SRalf Baechle
12025e83d430SRalf Baechlemenu "Kernel type"
12035e83d430SRalf Baechle
12045e83d430SRalf Baechlechoice
12055e83d430SRalf Baechle
12065e83d430SRalf Baechle	prompt "Kernel code model"
12075e83d430SRalf Baechle	help
12085e83d430SRalf Baechle	  You should only select this option if you have a workload that
12095e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
12105e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
12115e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
12125e83d430SRalf Baechle
12135e83d430SRalf Baechleconfig 32BIT
12145e83d430SRalf Baechle	bool "32-bit kernel"
12155e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
12165e83d430SRalf Baechle	select TRAD_SIGNALS
12175e83d430SRalf Baechle	help
12185e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
12195e83d430SRalf Baechleconfig 64BIT
12205e83d430SRalf Baechle	bool "64-bit kernel"
12215e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
12225e83d430SRalf Baechle	help
12235e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
12245e83d430SRalf Baechle
12255e83d430SRalf Baechleendchoice
12265e83d430SRalf Baechle
12271da177e4SLinus Torvaldschoice
12281da177e4SLinus Torvalds	prompt "Kernel page size"
12291da177e4SLinus Torvalds	default PAGE_SIZE_4KB
12301da177e4SLinus Torvalds
12311da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
12321da177e4SLinus Torvalds	bool "4kB"
12331da177e4SLinus Torvalds	help
12341da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
12351da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
12361da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
12371da177e4SLinus Torvalds	 recommended for low memory systems.
12381da177e4SLinus Torvalds
12391da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
12401da177e4SLinus Torvalds	bool "8kB"
12411da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
12421da177e4SLinus Torvalds	help
12431da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
12441da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
12451da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
12461da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
12471da177e4SLinus Torvalds	  compatibility of user applications.
12481da177e4SLinus Torvalds
12491da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
12501da177e4SLinus Torvalds	bool "16kB"
1251714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
12521da177e4SLinus Torvalds	help
12531da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
12541da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1255714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1256714bfad6SRalf Baechle	  Linux distribution to support this.
12571da177e4SLinus Torvalds
12581da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
12591da177e4SLinus Torvalds	bool "64kB"
12601da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
12611da177e4SLinus Torvalds	help
12621da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
12631da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
12641da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1265714bfad6SRalf Baechle	  writing this option is still high experimental.
12661da177e4SLinus Torvalds
12671da177e4SLinus Torvaldsendchoice
12681da177e4SLinus Torvalds
12691da177e4SLinus Torvaldsconfig BOARD_SCACHE
12701da177e4SLinus Torvalds	bool
12711da177e4SLinus Torvalds
12721da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
12731da177e4SLinus Torvalds	bool
12741da177e4SLinus Torvalds	select BOARD_SCACHE
12751da177e4SLinus Torvalds
12769318c51aSChris Dearman#
12779318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
12789318c51aSChris Dearman#
12799318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
12809318c51aSChris Dearman	bool
12819318c51aSChris Dearman	select BOARD_SCACHE
12829318c51aSChris Dearman
12831da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
12841da177e4SLinus Torvalds	bool
12851da177e4SLinus Torvalds	select BOARD_SCACHE
12861da177e4SLinus Torvalds
12871da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
12881da177e4SLinus Torvalds	bool
12891da177e4SLinus Torvalds	select BOARD_SCACHE
12901da177e4SLinus Torvalds
12911da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
12921da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
12931da177e4SLinus Torvalds	depends on CPU_SB1
12941da177e4SLinus Torvalds	help
12951da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
12961da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
12971da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
12981da177e4SLinus Torvalds
12991da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1300c8094b53SRalf Baechle	bool
13011da177e4SLinus Torvalds
1302340ee4b9SRalf Baechlechoice
1303340ee4b9SRalf Baechle	prompt "MIPS MT options"
1304f41ae0b2SRalf Baechle
1305f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1306f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1307f41ae0b2SRalf Baechle	help
1308f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1309f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1310f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1311f41ae0b2SRalf Baechle	  option in this menu.
1312340ee4b9SRalf Baechle
131359d6ab86SRalf Baechleconfig MIPS_MT_SMP
131459d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
131559d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
131659d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1317d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
131859d6ab86SRalf Baechle	select CPU_MIPSR2_SRS
131959d6ab86SRalf Baechle	select MIPS_MT
1320f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
132159d6ab86SRalf Baechle	select SMP
132259d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
132359d6ab86SRalf Baechle	help
132459d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
132559d6ab86SRalf Baechle	  has been marketesed into SMVP.
132659d6ab86SRalf Baechle
132741c594abSRalf Baechleconfig MIPS_MT_SMTC
132841c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1329f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1330f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1331f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1332f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1333d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1334f7062ddbSRalf Baechle	select CPU_MIPSR2_SRS
1335f41ae0b2SRalf Baechle	select MIPS_MT
1336130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
133741c594abSRalf Baechle	select SMP
133873b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1339f41ae0b2SRalf Baechle	help
1340f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1341f41ae0b2SRalf Baechle	  marketesed into SMVP.
134241c594abSRalf Baechle
1343340ee4b9SRalf Baechleendchoice
1344340ee4b9SRalf Baechle
1345f41ae0b2SRalf Baechleconfig MIPS_MT
1346f41ae0b2SRalf Baechle	bool
1347f41ae0b2SRalf Baechle
1348f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1349f41ae0b2SRalf Baechle	bool
1350f41ae0b2SRalf Baechle
1351f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1352f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1353f088fc84SRalf Baechle	default y
135407cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
135507cc0c9eSRalf Baechle
135607cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
135707cc0c9eSRalf Baechle	bool "VPE loader support."
135807cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
135907cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
136007cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
136107cc0c9eSRalf Baechle	select CPU_MIPSR2_SRS
136207cc0c9eSRalf Baechle	select MIPS_MT
136307cc0c9eSRalf Baechle	help
136407cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
136507cc0c9eSRalf Baechle	  onto another VPE and running it.
1366f088fc84SRalf Baechle
1367ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1368ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1369619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1370ac8be955SRalf Baechle	default y
1371ac8be955SRalf Baechle	help
1372ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1373ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1374ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1375ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1376ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1377ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1378ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1379ac8be955SRalf Baechle	  heavy I/O interrupt load.
1380ac8be955SRalf Baechle
13810db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
13820db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
13830db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
13840db34215SKevin D. Kissell	default y
13850db34215SKevin D. Kissell	help
13860db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
13870db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
13880db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
13890db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
13900db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
13910db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
13920db34215SKevin D. Kissell	  what you are doing.
13930db34215SKevin D. Kissell
1394e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1395e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1396e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1397e01402b1SRalf Baechle	default y
1398e01402b1SRalf Baechle	help
1399e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1400e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1401e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1402e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1403e01402b1SRalf Baechle
1404e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1405e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1406e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1407e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
14085e83d430SRalf Baechle	help
1409e01402b1SRalf Baechle
14102600990eSRalf Baechleconfig MIPS_APSP_KSPD
14112600990eSRalf Baechle	bool "Enable KSPD"
14122600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
14132600990eSRalf Baechle	default y
14142600990eSRalf Baechle	help
14152600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
14162600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
14172600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
14182600990eSRalf Baechle	  exiting.  You probably want to say yes here.
14192600990eSRalf Baechle
14201da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
14211da177e4SLinus Torvalds	bool
14221da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
14231da177e4SLinus Torvalds	default y
14241da177e4SLinus Torvalds
14251da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
14261da177e4SLinus Torvalds	bool
14271da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
14281da177e4SLinus Torvalds	default y
14291da177e4SLinus Torvalds
14301da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
14311da177e4SLinus Torvalds	bool
14321da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
14331da177e4SLinus Torvalds	default y
14341da177e4SLinus Torvalds
14351da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1436d806cb2bSRalf Baechle	bool
14371da177e4SLinus Torvalds
14381da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1439f7062ddbSRalf Baechle	bool
14401da177e4SLinus Torvalds
14419693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
14429693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
14439693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
14449693a853SFranck Bui-Huu	help
14459693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
14469693a853SFranck Bui-Huu	  increased security at both hardware and software level for
14479693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
14489693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
14499693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
14509693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
14519693a853SFranck Bui-Huu	  here.
14529693a853SFranck Bui-Huu
14531da177e4SLinus Torvaldsconfig CPU_HAS_WB
1454f7062ddbSRalf Baechle	bool
1455e01402b1SRalf Baechle
14562a21c730SFuxin Zhangconfig 64BIT_CONTEXT
14572a21c730SFuxin Zhang	bool "Save 64bit integer registers"
14582a21c730SFuxin Zhang	depends on 32BIT && CPU_LOONGSON2
14592a21c730SFuxin Zhang	help
14602a21c730SFuxin Zhang	  Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
14612a21c730SFuxin Zhang	  registers can still be accessed as 64bit, mainly for multimedia
14622a21c730SFuxin Zhang	  instructions. We must have all 64bit save/restored to make sure
14632a21c730SFuxin Zhang	  those instructions to get correct result.
14642a21c730SFuxin Zhang
1465f41ae0b2SRalf Baechle#
1466f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1467f41ae0b2SRalf Baechle#
1468e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1469f41ae0b2SRalf Baechle	bool
1470e01402b1SRalf Baechle
1471f41ae0b2SRalf Baechle#
1472f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1473f41ae0b2SRalf Baechle#
1474e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1475f41ae0b2SRalf Baechle	bool
1476e01402b1SRalf Baechle
1477f41ae0b2SRalf Baechle#
1478f41ae0b2SRalf Baechle# Shadow registers are an R2 feature
1479f41ae0b2SRalf Baechle#
1480e01402b1SRalf Baechleconfig CPU_MIPSR2_SRS
1481f41ae0b2SRalf Baechle	bool
1482e01402b1SRalf Baechle
14831da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
14841da177e4SLinus Torvalds	bool
14851da177e4SLinus Torvalds	depends on !CPU_R3000
14861da177e4SLinus Torvalds	default y
14871da177e4SLinus Torvalds
14881da177e4SLinus Torvalds#
1489797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1490797798c1SRalf Baechle#
1491797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1492797798c1SRalf Baechle	bool
1493797798c1SRalf Baechle	default y
1494797798c1SRalf Baechle
1495797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1496797798c1SRalf Baechle	bool
1497797798c1SRalf Baechle	default y
1498797798c1SRalf Baechle
14990d7012a9SIngo Molnarconfig IRQ_PER_CPU
15000d7012a9SIngo Molnar	bool
15010d7012a9SIngo Molnar
1502797798c1SRalf Baechle#
15031da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
15041da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
15051da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
15061da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
15071da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
15081da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
15091da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
15101da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1511797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1512797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1513797798c1SRalf Baechle#   support.
15141da177e4SLinus Torvalds#
15151da177e4SLinus Torvaldsconfig HIGHMEM
15161da177e4SLinus Torvalds	bool "High Memory Support"
1517797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1518797798c1SRalf Baechle
1519797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1520797798c1SRalf Baechle	bool
1521797798c1SRalf Baechle
1522797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1523797798c1SRalf Baechle	bool
15241da177e4SLinus Torvalds
15259693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
15269693a853SFranck Bui-Huu	bool
15279693a853SFranck Bui-Huu
1528b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1529b4819b59SYoichi Yuasa	def_bool y
1530b4819b59SYoichi Yuasa	depends on !NUMA
1531b4819b59SYoichi Yuasa
1532d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1533d8cb4e11SRalf Baechle	bool
1534d8cb4e11SRalf Baechle	default y if SGI_IP27
1535d8cb4e11SRalf Baechle	help
15363dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1537d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1538d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1539d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1540d8cb4e11SRalf Baechle
1541b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1542b1c6cd42SAtsushi Nemoto	bool
15437de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
154431473747SAtsushi Nemoto
1545d8cb4e11SRalf Baechleconfig NUMA
1546d8cb4e11SRalf Baechle	bool "NUMA Support"
1547d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1548d8cb4e11SRalf Baechle	help
1549d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1550d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1551d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1552d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1553d8cb4e11SRalf Baechle	  disabled.
1554d8cb4e11SRalf Baechle
1555d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1556d8cb4e11SRalf Baechle	bool
1557d8cb4e11SRalf Baechle
1558c80d79d7SYasunori Gotoconfig NODES_SHIFT
1559c80d79d7SYasunori Goto	int
1560c80d79d7SYasunori Goto	default "6"
1561c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1562c80d79d7SYasunori Goto
1563b4819b59SYoichi Yuasasource "mm/Kconfig"
1564b4819b59SYoichi Yuasa
15651da177e4SLinus Torvaldsconfig SMP
15661da177e4SLinus Torvalds	bool "Multi-Processing support"
1567e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1568b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1569e73ea273SRalf Baechle	help
15701da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
15711da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
15721da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
15731da177e4SLinus Torvalds
15741da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
15751da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
15761da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
15771da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
15781da177e4SLinus Torvalds	  will run faster if you say N here.
15791da177e4SLinus Torvalds
15801da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
15811da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
15821da177e4SLinus Torvalds
15831da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
15841da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
15851da177e4SLinus Torvalds
15861da177e4SLinus Torvalds	  If you don't know what to do here, say N.
15871da177e4SLinus Torvalds
1588e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1589e73ea273SRalf Baechle	bool
1590e73ea273SRalf Baechle
159172ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
159272ede9b1SAtsushi Nemoto	bool
159372ede9b1SAtsushi Nemoto
1594130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1595130e2fb7SRalf Baechle	bool
1596130e2fb7SRalf Baechle
1597130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1598130e2fb7SRalf Baechle	bool
1599130e2fb7SRalf Baechle
1600130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1601130e2fb7SRalf Baechle	bool
1602130e2fb7SRalf Baechle
1603130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1604130e2fb7SRalf Baechle	bool
1605130e2fb7SRalf Baechle
1606130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1607130e2fb7SRalf Baechle	bool
1608130e2fb7SRalf Baechle
1609130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1610130e2fb7SRalf Baechle	bool
1611130e2fb7SRalf Baechle
16121da177e4SLinus Torvaldsconfig NR_CPUS
16131da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
161472ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
16151da177e4SLinus Torvalds	depends on SMP
161672ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1617130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1618130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1619130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1620130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1621130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1622130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
16231da177e4SLinus Torvalds	help
16241da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
16251da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
16261da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
162772ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
162872ede9b1SAtsushi Nemoto	  and 2 for all others.
16291da177e4SLinus Torvalds
16301da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
163172ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
163272ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
163372ede9b1SAtsushi Nemoto	  power of two.
16341da177e4SLinus Torvalds
16351723b4a3SAtsushi Nemoto#
16361723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
16371723b4a3SAtsushi Nemoto#
16381723b4a3SAtsushi Nemoto
16391723b4a3SAtsushi Nemotochoice
16401723b4a3SAtsushi Nemoto	prompt "Timer frequency"
16411723b4a3SAtsushi Nemoto	default HZ_250
16421723b4a3SAtsushi Nemoto	help
16431723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
16441723b4a3SAtsushi Nemoto
16451723b4a3SAtsushi Nemoto	config HZ_48
16461723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
16471723b4a3SAtsushi Nemoto
16481723b4a3SAtsushi Nemoto	config HZ_100
16491723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
16501723b4a3SAtsushi Nemoto
16511723b4a3SAtsushi Nemoto	config HZ_128
16521723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
16531723b4a3SAtsushi Nemoto
16541723b4a3SAtsushi Nemoto	config HZ_250
16551723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
16561723b4a3SAtsushi Nemoto
16571723b4a3SAtsushi Nemoto	config HZ_256
16581723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
16591723b4a3SAtsushi Nemoto
16601723b4a3SAtsushi Nemoto	config HZ_1000
16611723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
16621723b4a3SAtsushi Nemoto
16631723b4a3SAtsushi Nemoto	config HZ_1024
16641723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
16651723b4a3SAtsushi Nemoto
16661723b4a3SAtsushi Nemotoendchoice
16671723b4a3SAtsushi Nemoto
16681723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
16691723b4a3SAtsushi Nemoto	bool
16701723b4a3SAtsushi Nemoto
16711723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
16721723b4a3SAtsushi Nemoto	bool
16731723b4a3SAtsushi Nemoto
16741723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
16751723b4a3SAtsushi Nemoto	bool
16761723b4a3SAtsushi Nemoto
16771723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
16781723b4a3SAtsushi Nemoto	bool
16791723b4a3SAtsushi Nemoto
16801723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
16811723b4a3SAtsushi Nemoto	bool
16821723b4a3SAtsushi Nemoto
16831723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
16841723b4a3SAtsushi Nemoto	bool
16851723b4a3SAtsushi Nemoto
16861723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
16871723b4a3SAtsushi Nemoto	bool
16881723b4a3SAtsushi Nemoto
16891723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
16901723b4a3SAtsushi Nemoto	bool
16911723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
16921723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
16931723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
16941723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
16951723b4a3SAtsushi Nemoto
16961723b4a3SAtsushi Nemotoconfig HZ
16971723b4a3SAtsushi Nemoto	int
16981723b4a3SAtsushi Nemoto	default 48 if HZ_48
16991723b4a3SAtsushi Nemoto	default 100 if HZ_100
17001723b4a3SAtsushi Nemoto	default 128 if HZ_128
17011723b4a3SAtsushi Nemoto	default 250 if HZ_250
17021723b4a3SAtsushi Nemoto	default 256 if HZ_256
17031723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
17041723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
17051723b4a3SAtsushi Nemoto
1706e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
17071da177e4SLinus Torvalds
17081da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
17091da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1710875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
17111da177e4SLinus Torvalds	help
17121da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
17131da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
17141da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
17151da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
17161da177e4SLinus Torvalds	  recommended for normal users.
17171da177e4SLinus Torvalds
1718ea6e942bSAtsushi Nemotoconfig KEXEC
1719ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1720ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1721ea6e942bSAtsushi Nemoto	help
1722ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1723ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
17243dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1725ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1726ea6e942bSAtsushi Nemoto
1727ea6e942bSAtsushi Nemoto	  The name comes from the similiarity to the exec system call.
1728ea6e942bSAtsushi Nemoto
1729ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1730ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1731ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1732ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1733ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1734ea6e942bSAtsushi Nemoto
1735ea6e942bSAtsushi Nemotoconfig SECCOMP
1736ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1737293c5bd1SRalf Baechle	depends on PROC_FS
1738ea6e942bSAtsushi Nemoto	default y
1739ea6e942bSAtsushi Nemoto	help
1740ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1741ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1742ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1743ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1744ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1745ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1746ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1747ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1748ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1749ea6e942bSAtsushi Nemoto
1750ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1751ea6e942bSAtsushi Nemoto
17525e83d430SRalf Baechleendmenu
17535e83d430SRalf Baechle
17541da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
17551da177e4SLinus Torvalds	bool
17561da177e4SLinus Torvalds	default y
17571da177e4SLinus Torvalds
17581df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
17591df0f0ffSAtsushi Nemoto	bool
17601df0f0ffSAtsushi Nemoto	default y
17611df0f0ffSAtsushi Nemoto
17621df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
17631df0f0ffSAtsushi Nemoto	bool
17641df0f0ffSAtsushi Nemoto	default y
17651df0f0ffSAtsushi Nemoto
1766b6c3539bSRalf Baechlesource "init/Kconfig"
1767b6c3539bSRalf Baechle
17681da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
17691da177e4SLinus Torvalds
17705e83d430SRalf Baechleconfig HW_HAS_EISA
17715e83d430SRalf Baechle	bool
17721da177e4SLinus Torvaldsconfig HW_HAS_PCI
17731da177e4SLinus Torvalds	bool
17741da177e4SLinus Torvalds
17751da177e4SLinus Torvaldsconfig PCI
17761da177e4SLinus Torvalds	bool "Support for PCI controller"
17771da177e4SLinus Torvalds	depends on HW_HAS_PCI
17781da177e4SLinus Torvalds	help
17791da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
17801da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
17811da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
17821da177e4SLinus Torvalds	  say Y, otherwise N.
17831da177e4SLinus Torvalds
17841da177e4SLinus Torvalds	  The PCI-HOWTO, available from
17851da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
17861da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
17871da177e4SLinus Torvalds	  doesn't.
17881da177e4SLinus Torvalds
17891da177e4SLinus Torvaldsconfig PCI_DOMAINS
17901da177e4SLinus Torvalds	bool
17911da177e4SLinus Torvalds	depends on PCI
17921da177e4SLinus Torvalds
17931da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
17941da177e4SLinus Torvalds
17951da177e4SLinus Torvalds#
17961da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
17971da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
17981da177e4SLinus Torvalds# users to choose the right thing ...
17991da177e4SLinus Torvalds#
18001da177e4SLinus Torvaldsconfig ISA
18011da177e4SLinus Torvalds	bool
18021da177e4SLinus Torvalds
18031da177e4SLinus Torvaldsconfig EISA
18041da177e4SLinus Torvalds	bool "EISA support"
18055e83d430SRalf Baechle	depends on HW_HAS_EISA
18061da177e4SLinus Torvalds	select ISA
1807aa414dffSRalf Baechle	select GENERIC_ISA_DMA
18081da177e4SLinus Torvalds	---help---
18091da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
18101da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
18111da177e4SLinus Torvalds
18121da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
18131da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
18141da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
18151da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
18161da177e4SLinus Torvalds
18171da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
18181da177e4SLinus Torvalds
18191da177e4SLinus Torvalds	  Otherwise, say N.
18201da177e4SLinus Torvalds
18211da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
18221da177e4SLinus Torvalds
18231da177e4SLinus Torvaldsconfig TC
18241da177e4SLinus Torvalds	bool "TURBOchannel support"
18251da177e4SLinus Torvalds	depends on MACH_DECSTATION
18261da177e4SLinus Torvalds	help
18271da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
18281da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
18291da177e4SLinus Torvalds	  is available at:
18301da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
18311da177e4SLinus Torvalds
18321da177e4SLinus Torvalds#config ACCESSBUS
18331da177e4SLinus Torvalds#	bool "Access.Bus support"
18341da177e4SLinus Torvalds#	depends on TC
18351da177e4SLinus Torvalds
18361da177e4SLinus Torvaldsconfig MMU
18371da177e4SLinus Torvalds	bool
18381da177e4SLinus Torvalds	default y
18391da177e4SLinus Torvalds
1840de61b542SRalf Baechleconfig PCSPEAKER
1841e5c6c8e4SMichael Neuling	bool
1842e5c6c8e4SMichael Neuling
18431da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
18441da177e4SLinus Torvalds
18451da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
18461da177e4SLinus Torvalds
18471da177e4SLinus Torvaldsendmenu
18481da177e4SLinus Torvalds
18491da177e4SLinus Torvaldsmenu "Executable file formats"
18501da177e4SLinus Torvalds
18511da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
18521da177e4SLinus Torvalds
18531da177e4SLinus Torvaldsconfig TRAD_SIGNALS
18541da177e4SLinus Torvalds	bool
18551da177e4SLinus Torvalds
18561da177e4SLinus Torvaldsconfig BUILD_ELF64
18571da177e4SLinus Torvalds	bool "Use 64-bit ELF format for building"
1858875d43e7SRalf Baechle	depends on 64BIT
18591da177e4SLinus Torvalds	help
18601da177e4SLinus Torvalds	  A 64-bit kernel is usually built using the 64-bit ELF binary object
18611da177e4SLinus Torvalds	  format as it's one that allows arbitrary 64-bit constructs.  For
18621da177e4SLinus Torvalds	  kernels that are loaded within the KSEG compatibility segments the
18631da177e4SLinus Torvalds	  32-bit ELF format can optionally be used resulting in a somewhat
18641da177e4SLinus Torvalds	  smaller binary, but this option is not explicitly supported by the
18651da177e4SLinus Torvalds	  toolchain and since binutils 2.14 it does not even work at all.
18661da177e4SLinus Torvalds
18671da177e4SLinus Torvalds	  Say Y to use the 64-bit format or N to use the 32-bit one.
18681da177e4SLinus Torvalds
18691da177e4SLinus Torvalds	  If unsure say Y.
18701da177e4SLinus Torvalds
18711da177e4SLinus Torvaldsconfig BINFMT_IRIX
18721da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
18735e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
18741da177e4SLinus Torvalds
18751da177e4SLinus Torvaldsconfig MIPS32_COMPAT
18761da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1877875d43e7SRalf Baechle	depends on 64BIT
18781da177e4SLinus Torvalds	help
18791da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
18801da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
18811da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
18821da177e4SLinus Torvalds
18831da177e4SLinus Torvaldsconfig COMPAT
18841da177e4SLinus Torvalds	bool
18851da177e4SLinus Torvalds	depends on MIPS32_COMPAT
18861da177e4SLinus Torvalds	default y
18871da177e4SLinus Torvalds
188805e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
188905e43966SAtsushi Nemoto	bool
189005e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
189105e43966SAtsushi Nemoto	default y
189205e43966SAtsushi Nemoto
18931da177e4SLinus Torvaldsconfig MIPS32_O32
18941da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
18951da177e4SLinus Torvalds	depends on MIPS32_COMPAT
18961da177e4SLinus Torvalds	help
18971da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
18981da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
18991da177e4SLinus Torvalds	  existing binaries are in this format.
19001da177e4SLinus Torvalds
19011da177e4SLinus Torvalds	  If unsure, say Y.
19021da177e4SLinus Torvalds
19031da177e4SLinus Torvaldsconfig MIPS32_N32
19041da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
19051da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19061da177e4SLinus Torvalds	help
19071da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
19081da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
19091da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
19101da177e4SLinus Torvalds	  cases.
19111da177e4SLinus Torvalds
19121da177e4SLinus Torvalds	  If unsure, say N.
19131da177e4SLinus Torvalds
19141da177e4SLinus Torvaldsconfig BINFMT_ELF32
19151da177e4SLinus Torvalds	bool
19161da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
19171da177e4SLinus Torvalds
19182116245eSRalf Baechleendmenu
19191da177e4SLinus Torvalds
19202116245eSRalf Baechlemenu "Power management options"
1921952fa954SRodolfo Giometti
19222116245eSRalf Baechlesource "kernel/power/Kconfig"
1923952fa954SRodolfo Giometti
19241da177e4SLinus Torvaldsendmenu
19251da177e4SLinus Torvalds
1926d5950b43SSam Ravnborgsource "net/Kconfig"
1927d5950b43SSam Ravnborg
19281da177e4SLinus Torvaldssource "drivers/Kconfig"
19291da177e4SLinus Torvalds
19301da177e4SLinus Torvaldssource "fs/Kconfig"
19311da177e4SLinus Torvalds
19325e83d430SRalf Baechlesource "arch/mips/oprofile/Kconfig"
19335e83d430SRalf Baechle
19341da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
19351da177e4SLinus Torvalds
19361da177e4SLinus Torvaldssource "security/Kconfig"
19371da177e4SLinus Torvalds
19381da177e4SLinus Torvaldssource "crypto/Kconfig"
19391da177e4SLinus Torvalds
19401da177e4SLinus Torvaldssource "lib/Kconfig"
1941