xref: /linux/arch/mips/Kconfig (revision 1c0c13eb935c95fd2ca0b0aca6dd4860487fb242)
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_BIG_ENDIAN
32cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3335189fadSRalf Baechle	help
3435189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
35be91589eSThomas Koeller	  Basler Vision Technologies AG.
3635189fadSRalf Baechle
3735189fadSRalf Baechleconfig BASLER_EXCITE_PROTOTYPE
3835189fadSRalf Baechle	bool "Support for pre-release units"
3935189fadSRalf Baechle	depends on BASLER_EXCITE
4035189fadSRalf Baechle	default n
4135189fadSRalf Baechle	help
4235189fadSRalf Baechle	  Pre-series (prototype) units are different from later ones in
4335189fadSRalf Baechle	  some ways. Select this option if you have one of these. Please
4435189fadSRalf Baechle	  note that a kernel built with this option selected will not be
4535189fadSRalf Baechle	  able to run on normal units.
4635189fadSRalf Baechle
47*1c0c13ebSAurelien Jarnoconfig BCM47XX
48*1c0c13ebSAurelien Jarno	bool "BCM47XX based boards"
49*1c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
50*1c0c13ebSAurelien Jarno	select HW_HAS_PCI
51*1c0c13ebSAurelien Jarno	select IRQ_CPU
52*1c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
53*1c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
54*1c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
55*1c0c13ebSAurelien Jarno	select SSB
56*1c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
57*1c0c13ebSAurelien Jarno	select GENERIC_GPIO
58*1c0c13ebSAurelien Jarno	help
59*1c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
60*1c0c13ebSAurelien Jarno
611da177e4SLinus Torvaldsconfig MIPS_COBALT
623fa986faSMartin Michlmayr	bool "Cobalt Server"
631da177e4SLinus Torvalds	select DMA_NONCOHERENT
641da177e4SLinus Torvalds	select HW_HAS_PCI
651da177e4SLinus Torvalds	select I8259
661da177e4SLinus Torvalds	select IRQ_CPU
67252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
687cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
690a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
70ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
71ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
725e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
739fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
741da177e4SLinus Torvalds
751da177e4SLinus Torvaldsconfig MACH_DECSTATION
763fa986faSMartin Michlmayr	bool "DECstations"
771da177e4SLinus Torvalds	select BOOT_ELF32
781da177e4SLinus Torvalds	select DMA_NONCOHERENT
79d388d685SMaciej W. Rozycki	select NO_IOPORT
801da177e4SLinus Torvalds	select IRQ_CPU
817cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
827cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
83ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
84ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
855e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
861723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
871723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
881723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
895e83d430SRalf Baechle	help
901da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
911da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
921da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
931da177e4SLinus Torvalds
941da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
951da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
961da177e4SLinus Torvalds
971da177e4SLinus Torvalds		DECstation 5000/50
981da177e4SLinus Torvalds		DECstation 5000/150
991da177e4SLinus Torvalds		DECstation 5000/260
1001da177e4SLinus Torvalds		DECsystem 5900/260
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvalds	  otherwise choose R3000.
1031da177e4SLinus Torvalds
1045e83d430SRalf Baechleconfig MACH_JAZZ
1053fa986faSMartin Michlmayr	bool "Jazz family of machines"
1065e83d430SRalf Baechle	select ARC
1075e83d430SRalf Baechle	select ARC32
1085e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1095e83d430SRalf Baechle	select GENERIC_ISA_DMA
110ea202c63SThomas Bogendoerfer	select IRQ_CPU
1115e83d430SRalf Baechle	select I8259
1125e83d430SRalf Baechle	select ISA
113de61b542SRalf Baechle	select PCSPEAKER
1147cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1155e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1165e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1171723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1189fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1191da177e4SLinus Torvalds	help
1205e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1215e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1225e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1235e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1245e83d430SRalf Baechle
1251f21d2bdSBrian Murphyconfig LASAT
1261f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
1271f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1281f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1291f21d2bdSBrian Murphy	select HW_HAS_PCI
1301f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1311f21d2bdSBrian Murphy	select MIPS_NILE4
1321f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1331f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1341f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1351f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1361f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1371f21d2bdSBrian Murphy	select GENERIC_HARDIRQS_NO__DO_IRQ
1381f21d2bdSBrian Murphy
139ade299d8SYoichi Yuasaconfig LEMOTE_FULONG
140ade299d8SYoichi Yuasa	bool "Lemote Fulong mini-PC"
141ade299d8SYoichi Yuasa	select ARCH_SPARSEMEM_ENABLE
142ade299d8SYoichi Yuasa	select SYS_HAS_CPU_LOONGSON2
143ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
144ade299d8SYoichi Yuasa	select BOOT_ELF32
145ade299d8SYoichi Yuasa	select BOARD_SCACHE
146ade299d8SYoichi Yuasa	select HAVE_STD_PC_SERIAL_PORT
147ade299d8SYoichi Yuasa	select HW_HAS_PCI
148ade299d8SYoichi Yuasa	select I8259
149ade299d8SYoichi Yuasa	select ISA
150ade299d8SYoichi Yuasa	select IRQ_CPU
151ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
152ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
153ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
154ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
155ade299d8SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
156ade299d8SYoichi Yuasa	select GENERIC_HARDIRQS_NO__DO_IRQ
15723dd6d35SRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
158ade299d8SYoichi Yuasa	select CPU_HAS_WB
159ade299d8SYoichi Yuasa	help
160ade299d8SYoichi Yuasa	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
161ade299d8SYoichi Yuasa	  an FPGA northbridge
162ade299d8SYoichi Yuasa
1631da177e4SLinus Torvaldsconfig MIPS_ATLAS
1643fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1651da177e4SLinus Torvalds	select BOOT_ELF32
1661da177e4SLinus Torvalds	select DMA_NONCOHERENT
16736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1685e83d430SRalf Baechle	select IRQ_CPU
1691da177e4SLinus Torvalds	select HW_HAS_PCI
1705e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1715e83d430SRalf Baechle	select MIPS_BONITO64
172252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1735e83d430SRalf Baechle	select MIPS_MSC
174f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1751da177e4SLinus Torvalds	select SWAP_IO_SPACE
1767cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1777cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1787cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1797cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1807cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
181ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
182ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1835e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1845e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
185f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
1869693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
187e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
1881da177e4SLinus Torvalds	help
189f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
1901da177e4SLinus Torvalds	  board.
1911da177e4SLinus Torvalds
1921da177e4SLinus Torvaldsconfig MIPS_MALTA
1933fa986faSMartin Michlmayr	bool "MIPS Malta board"
19461ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1951da177e4SLinus Torvalds	select BOOT_ELF32
1961da177e4SLinus Torvalds	select DMA_NONCOHERENT
1971da177e4SLinus Torvalds	select GENERIC_ISA_DMA
198aa414dffSRalf Baechle	select IRQ_CPU
1991da177e4SLinus Torvalds	select HW_HAS_PCI
2001da177e4SLinus Torvalds	select I8259
2015e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2025e83d430SRalf Baechle	select MIPS_BONITO64
2039318c51aSChris Dearman	select MIPS_CPU_SCACHE
204252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2055e83d430SRalf Baechle	select MIPS_MSC
2061da177e4SLinus Torvalds	select SWAP_IO_SPACE
2077cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2087cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2097cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2107cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2117cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
21236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
213ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
214ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2155e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2165e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
217f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2189693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2191da177e4SLinus Torvalds	help
220f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2211da177e4SLinus Torvalds	  board.
2221da177e4SLinus Torvalds
2231da177e4SLinus Torvaldsconfig MIPS_SEAD
224d98cc84dSRalf Baechle	bool "MIPS SEAD board"
2251da177e4SLinus Torvalds	select IRQ_CPU
2261da177e4SLinus Torvalds	select DMA_NONCOHERENT
22736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2285e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2297cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2307cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2317cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
232ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2335e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2345e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2355e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2369693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
237f638d197SMaciej W. Rozycki	help
238f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
239f638d197SMaciej W. Rozycki	  board.
2401da177e4SLinus Torvalds
241c78cbf49SRalf Baechleconfig MIPS_SIM
2423fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
243c78cbf49SRalf Baechle	select DMA_NONCOHERENT
24436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
245c78cbf49SRalf Baechle	select IRQ_CPU
2469267a30dSMarc St-Jean	select BOOT_RAW
2477cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2487cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
24936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
250c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
251c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
252f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
253c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
254c78cbf49SRalf Baechle	help
255c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
256c78cbf49SRalf Baechle	  emulator.
257c78cbf49SRalf Baechle
258ade299d8SYoichi Yuasaconfig MARKEINS
259ade299d8SYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
260ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
261ade299d8SYoichi Yuasa	select HW_HAS_PCI
262ade299d8SYoichi Yuasa	select IRQ_CPU
263ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
264ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
265ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
266ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
267ade299d8SYoichi Yuasa	select SYS_HAS_CPU_R5000
268ade299d8SYoichi Yuasa	help
269ade299d8SYoichi Yuasa	  This enables support for the R5432-based NEC Mark-eins
270ade299d8SYoichi Yuasa	  boards with R5500 CPU.
271ade299d8SYoichi Yuasa
2725e83d430SRalf Baechleconfig MACH_VR41XX
27374142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
2747cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
2759fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
2765e83d430SRalf Baechle
277ade299d8SYoichi Yuasaconfig PNX8550_JBS
278ade299d8SYoichi Yuasa	bool "Philips PNX8550 based JBS board"
279ade299d8SYoichi Yuasa	select PNX8550
280ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
281ade299d8SYoichi Yuasa
282ade299d8SYoichi Yuasaconfig PNX8550_STB810
283ade299d8SYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
284ade299d8SYoichi Yuasa	select PNX8550
285ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
286ade299d8SYoichi Yuasa
2879267a30dSMarc St-Jeanconfig PMC_MSP
2889267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
2899267a30dSMarc St-Jean	depends on EXPERIMENTAL
2909267a30dSMarc St-Jean	select DMA_NONCOHERENT
2919267a30dSMarc St-Jean	select SWAP_IO_SPACE
2929267a30dSMarc St-Jean	select NO_EXCEPT_FILL
2939267a30dSMarc St-Jean	select BOOT_RAW
2949267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
2959267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
2969267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
2979267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
2989267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
2999267a30dSMarc St-Jean	select IRQ_CPU
3009267a30dSMarc St-Jean	select SERIAL_8250
3019267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3029267a30dSMarc St-Jean	help
3039267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3049267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3059267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3069267a30dSMarc St-Jean	  a variety of MIPS cores.
3079267a30dSMarc St-Jean
3085e83d430SRalf Baechleconfig PMC_YOSEMITE
3093fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
3105e83d430SRalf Baechle	select DMA_COHERENT
3115e83d430SRalf Baechle	select HW_HAS_PCI
3125e83d430SRalf Baechle	select IRQ_CPU
3135e83d430SRalf Baechle	select IRQ_CPU_RM7K
3145e83d430SRalf Baechle	select IRQ_CPU_RM9K
3155e83d430SRalf Baechle	select SWAP_IO_SPACE
3167cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
31736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3185e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3195e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3205e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3215e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
322cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
323e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3245e83d430SRalf Baechle	help
3255e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3265e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3271da177e4SLinus Torvalds
32807119621SRalf Baechleconfig QEMU
3293fa986faSMartin Michlmayr	bool "Qemu"
33007119621SRalf Baechle	select DMA_COHERENT
33107119621SRalf Baechle	select GENERIC_ISA_DMA
33207119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
33307119621SRalf Baechle	select I8259
33407119621SRalf Baechle	select ISA
335de61b542SRalf Baechle	select PCSPEAKER
33607119621SRalf Baechle	select SWAP_IO_SPACE
3377cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
33807119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
33907119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
340c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
341b1c6cd42SAtsushi Nemoto	select ARCH_SPARSEMEM_ENABLE
3429fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
34372ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
34472ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
34507119621SRalf Baechle	help
34607119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
34707119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
34807119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
34907119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
35007119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
35107119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
35207119621SRalf Baechle
3531da177e4SLinus Torvaldsconfig SGI_IP22
3543fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3551da177e4SLinus Torvalds	select ARC
3561da177e4SLinus Torvalds	select ARC32
3571da177e4SLinus Torvalds	select BOOT_ELF32
3581da177e4SLinus Torvalds	select DMA_NONCOHERENT
3595e83d430SRalf Baechle	select HW_HAS_EISA
3601da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3611da177e4SLinus Torvalds	select IRQ_CPU
362aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
3631da177e4SLinus Torvalds	select SWAP_IO_SPACE
3647cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3657cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
36636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
367ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
368ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3695e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3701da177e4SLinus Torvalds	help
3711da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3721da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3731da177e4SLinus Torvalds	  that runs on these, say Y here.
3741da177e4SLinus Torvalds
3751da177e4SLinus Torvaldsconfig SGI_IP27
3763fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3771da177e4SLinus Torvalds	select ARC
3781da177e4SLinus Torvalds	select ARC64
3795e83d430SRalf Baechle	select BOOT_ELF64
3801da177e4SLinus Torvalds	select DMA_IP27
38136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3821da177e4SLinus Torvalds	select HW_HAS_PCI
383130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
3841da177e4SLinus Torvalds	select PCI_DOMAINS
3857cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
386ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3875e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
388cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
389d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
3901a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
391e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
3921da177e4SLinus Torvalds	help
3931da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
3941da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
3951da177e4SLinus Torvalds	  here.
3961da177e4SLinus Torvalds
3971da177e4SLinus Torvaldsconfig SGI_IP32
398cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
3991da177e4SLinus Torvalds	select ARC
4001da177e4SLinus Torvalds	select ARC32
4011da177e4SLinus Torvalds	select BOOT_ELF32
4021da177e4SLinus Torvalds	select DMA_NONCOHERENT
4031da177e4SLinus Torvalds	select HW_HAS_PCI
4041da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4051da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4067cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4077cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4087cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
409dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
410ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4115e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4121da177e4SLinus Torvalds	help
4131da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4141da177e4SLinus Torvalds
415ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
416ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4175e83d430SRalf Baechle	depends on EXPERIMENTAL
4185e83d430SRalf Baechle	select BOOT_ELF32
4195e83d430SRalf Baechle	select DMA_COHERENT
4205e83d430SRalf Baechle	select SIBYTE_BCM1120
4215e83d430SRalf Baechle	select SWAP_IO_SPACE
4227cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4235e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4245e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4255e83d430SRalf Baechle
426ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
427ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4285e83d430SRalf Baechle	depends on EXPERIMENTAL
4295e83d430SRalf Baechle	select BOOT_ELF32
4305e83d430SRalf Baechle	select DMA_COHERENT
4315e83d430SRalf Baechle	select SIBYTE_BCM1120
4325e83d430SRalf Baechle	select SWAP_IO_SPACE
4337cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4345e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4355e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4365e83d430SRalf Baechle
4375e83d430SRalf Baechleconfig SIBYTE_CRHONE
4383fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4395e83d430SRalf Baechle	depends on EXPERIMENTAL
4405e83d430SRalf Baechle	select BOOT_ELF32
4415e83d430SRalf Baechle	select DMA_COHERENT
4425e83d430SRalf Baechle	select SIBYTE_BCM1125
4435e83d430SRalf Baechle	select SWAP_IO_SPACE
4447cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4455e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4465e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4475e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4485e83d430SRalf Baechle
449ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
450ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
451ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
452ade299d8SYoichi Yuasa	select BOOT_ELF32
453ade299d8SYoichi Yuasa	select DMA_COHERENT
454ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
455ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
456ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
457ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
458ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
459ade299d8SYoichi Yuasa
460ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
461ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
462ade299d8SYoichi Yuasa	select BOOT_ELF32
463ade299d8SYoichi Yuasa	select DMA_COHERENT
464ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
465ade299d8SYoichi Yuasa	select SIBYTE_SB1250
466ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
467ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
468ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
469ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
470ade299d8SYoichi Yuasa	select SYS_SUPPORTS_KGDB
471ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
472ade299d8SYoichi Yuasa
473ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
474ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
475ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
476ade299d8SYoichi Yuasa	select BOOT_ELF32
477ade299d8SYoichi Yuasa	select DMA_COHERENT
478ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
479ade299d8SYoichi Yuasa	select SIBYTE_SB1250
480ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
481ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
482ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
483ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
484ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
485ade299d8SYoichi Yuasa
486ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
487ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
488ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
489ade299d8SYoichi Yuasa	select BOOT_ELF32
490ade299d8SYoichi Yuasa	select DMA_COHERENT
491ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
492ade299d8SYoichi Yuasa	select SIBYTE_SB1250
493ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
494ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
495ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
496ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
497ade299d8SYoichi Yuasa
498ade299d8SYoichi Yuasaconfig SIBYTE_PTSWARM
499ade299d8SYoichi Yuasa	bool "Sibyte BCM91250PT-PTSWARM"
500ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
501ade299d8SYoichi Yuasa	select BOOT_ELF32
502ade299d8SYoichi Yuasa	select DMA_COHERENT
503ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
504ade299d8SYoichi Yuasa	select SIBYTE_SB1250
505ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
506ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
507ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
508ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
509ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
510ade299d8SYoichi Yuasa
511ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
512ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
513ade299d8SYoichi Yuasa	select BOOT_ELF32
514ade299d8SYoichi Yuasa	select DMA_COHERENT
515ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
516ade299d8SYoichi Yuasa	select PCI_DOMAINS
517ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
518ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
519ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
520ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
521ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
522ade299d8SYoichi Yuasa
52314b36af4SThomas Bogendoerferconfig SNI_RM
52414b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5254a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5264a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
5275e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5285e83d430SRalf Baechle	select BOOT_ELF32
5295e83d430SRalf Baechle	select DMA_NONCOHERENT
5305e83d430SRalf Baechle	select GENERIC_ISA_DMA
5315e83d430SRalf Baechle	select HW_HAS_EISA
5325e83d430SRalf Baechle	select HW_HAS_PCI
533c066a32aSThomas Bogendoerfer	select IRQ_CPU
5345e83d430SRalf Baechle	select I8259
5355e83d430SRalf Baechle	select ISA
536de61b542SRalf Baechle	select PCSPEAKER
5374a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5387cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5394a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
540c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5414a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
54236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
543ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5445e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5454a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5465e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5475e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5481da177e4SLinus Torvalds	help
54914b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
55014b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5515e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5525e83d430SRalf Baechle	  support this machine type.
5531da177e4SLinus Torvalds
5545e83d430SRalf Baechleconfig TOSHIBA_JMR3927
5553fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
5565e83d430SRalf Baechle	select DMA_NONCOHERENT
5575e83d430SRalf Baechle	select HW_HAS_PCI
5585e83d430SRalf Baechle	select MIPS_TX3927
559c87abd75SAtsushi Nemoto	select IRQ_TXX9
5605e83d430SRalf Baechle	select SWAP_IO_SPACE
5617cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
5625e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5636a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5645e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5652127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5665e83d430SRalf Baechle
5675e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
56808a91283SYoichi Yuasa	bool "Toshiba RBTX49[23]7 board"
5695e83d430SRalf Baechle	select DMA_NONCOHERENT
5705e83d430SRalf Baechle	select HAS_TXX9_SERIAL
5715e83d430SRalf Baechle	select HW_HAS_PCI
572c87abd75SAtsushi Nemoto	select IRQ_CPU
573c87abd75SAtsushi Nemoto	select IRQ_TXX9
574c87abd75SAtsushi Nemoto	select I8259 if TOSHIBA_FPCIB0
5755e83d430SRalf Baechle	select SWAP_IO_SPACE
5767cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
5775e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5785e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
5796a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5805e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
581cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
5829fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5835e83d430SRalf Baechle	help
5845e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
5855e83d430SRalf Baechle	  support this machine type
5861da177e4SLinus Torvalds
58723fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
5883fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
58923fbee9dSRalf Baechle	select DMA_NONCOHERENT
59023fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
59123fbee9dSRalf Baechle	select HW_HAS_PCI
592c87abd75SAtsushi Nemoto	select IRQ_CPU
593c87abd75SAtsushi Nemoto	select IRQ_TXX9
59423fbee9dSRalf Baechle	select SWAP_IO_SPACE
5957cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
59623fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
59723fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
59823fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
599cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6009fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6013896b054SAtsushi Nemoto	select GENERIC_GPIO
60223fbee9dSRalf Baechle	help
60323fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
60423fbee9dSRalf Baechle	  support this machine type
60523fbee9dSRalf Baechle
606ade299d8SYoichi Yuasaconfig WR_PPMC
607ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
608ade299d8SYoichi Yuasa	select IRQ_CPU
609ade299d8SYoichi Yuasa	select BOOT_ELF32
610ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
611ade299d8SYoichi Yuasa	select HW_HAS_PCI
612ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
613ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
614ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
615ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
616ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
617ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
618ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
619ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
620ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
621ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
622ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
623ade299d8SYoichi Yuasa	help
624ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
625ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
626ade299d8SYoichi Yuasa
6271da177e4SLinus Torvaldsendchoice
6281da177e4SLinus Torvalds
629c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6305e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6311f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6325e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
63329c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
63438b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6355e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
63623fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6375e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
63838b18f72SRalf Baechle
6395e83d430SRalf Baechleendmenu
6405e83d430SRalf Baechle
6411da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6421da177e4SLinus Torvalds	bool
6431da177e4SLinus Torvalds	default y
6441da177e4SLinus Torvalds
6451da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6461da177e4SLinus Torvalds	bool
6471da177e4SLinus Torvalds
648f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
649f0d1b0b3SDavid Howells	bool
650f0d1b0b3SDavid Howells	default n
651f0d1b0b3SDavid Howells
652f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
653f0d1b0b3SDavid Howells	bool
654f0d1b0b3SDavid Howells	default n
655f0d1b0b3SDavid Howells
6563c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6573c9ee7efSAkinobu Mita	bool
6583c9ee7efSAkinobu Mita	default y
6593c9ee7efSAkinobu Mita
6603c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6613c9ee7efSAkinobu Mita	bool
6623c9ee7efSAkinobu Mita	default y
6633c9ee7efSAkinobu Mita
6641da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
6651da177e4SLinus Torvalds	bool
6661da177e4SLinus Torvalds	default y
6671da177e4SLinus Torvalds
6688db02010SRalf Baechleconfig GENERIC_TIME
6698db02010SRalf Baechle	bool
6708db02010SRalf Baechle	default y
6718db02010SRalf Baechle
6721cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
6731cc89038SAtsushi Nemoto	bool
6741cc89038SAtsushi Nemoto	default y
6751cc89038SAtsushi Nemoto
676e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
677e77c232cSFranck Bui-Huu	bool
678e77c232cSFranck Bui-Huu	default n
679e77c232cSFranck Bui-Huu
6801da177e4SLinus Torvalds#
6811da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
6821da177e4SLinus Torvalds#
6831da177e4SLinus Torvaldsconfig ARC
6841da177e4SLinus Torvalds	bool
6851da177e4SLinus Torvalds
68661ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
68761ed242dSRalf Baechle	bool
68861ed242dSRalf Baechle
6899267a30dSMarc St-Jeanconfig BOOT_RAW
6909267a30dSMarc St-Jean	bool
6919267a30dSMarc St-Jean
6921da177e4SLinus Torvaldsconfig DMA_COHERENT
6931da177e4SLinus Torvalds	bool
6941da177e4SLinus Torvalds
6951da177e4SLinus Torvaldsconfig DMA_IP27
6961da177e4SLinus Torvalds	bool
6971da177e4SLinus Torvalds
6984ce588cdSRalf Baechleconfig DMA_IP32
6994ce588cdSRalf Baechle	bool
7004ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7014ce588cdSRalf Baechle
7021da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7031da177e4SLinus Torvalds	bool
7044ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7054ce588cdSRalf Baechle
7064ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7074ce588cdSRalf Baechle	bool
7081da177e4SLinus Torvalds
7091da177e4SLinus Torvaldsconfig EARLY_PRINTK
71036a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
71136a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
71236a88530SRalf Baechle	default y
71336a88530SRalf Baechle	help
71436a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
71536a88530SRalf Baechle	  to print messages very early in the bootup process.
71636a88530SRalf Baechle
71736a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
718490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
719490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
720490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
72136a88530SRalf Baechle	  unless you want to debug such a crash.
72236a88530SRalf Baechle
72336a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7241da177e4SLinus Torvalds	bool
7251da177e4SLinus Torvalds
726dbb74540SRalf Baechleconfig HOTPLUG_CPU
727dbb74540SRalf Baechle	bool
728dbb74540SRalf Baechle	default n
729dbb74540SRalf Baechle
7301da177e4SLinus Torvaldsconfig I8259
7311da177e4SLinus Torvalds	bool
7321da177e4SLinus Torvalds
7331da177e4SLinus Torvaldsconfig MIPS_BONITO64
7341da177e4SLinus Torvalds	bool
7351da177e4SLinus Torvalds
7361da177e4SLinus Torvaldsconfig MIPS_MSC
7371da177e4SLinus Torvalds	bool
7381da177e4SLinus Torvalds
7391f21d2bdSBrian Murphyconfig MIPS_NILE4
7401f21d2bdSBrian Murphy	bool
7411f21d2bdSBrian Murphy
7421da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7431da177e4SLinus Torvalds	bool
7441da177e4SLinus Torvalds
745d388d685SMaciej W. Rozyckiconfig NO_IOPORT
746d388d685SMaciej W. Rozycki	def_bool n
747d388d685SMaciej W. Rozycki
7488313da30SRalf Baechleconfig GENERIC_ISA_DMA
7498313da30SRalf Baechle	bool
7508313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
7518313da30SRalf Baechle
752aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
753aa414dffSRalf Baechle	bool
7548313da30SRalf Baechle	select GENERIC_ISA_DMA
755aa414dffSRalf Baechle
75609663335SYoichi Yuasaconfig GENERIC_GPIO
75709663335SYoichi Yuasa	bool
75809663335SYoichi Yuasa
7595e83d430SRalf Baechle#
7603cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
7615e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
7625e83d430SRalf Baechle# choice statement should be more obvious to the user.
7635e83d430SRalf Baechle#
7645e83d430SRalf Baechlechoice
7655e83d430SRalf Baechle	prompt "Endianess selection"
7661da177e4SLinus Torvalds	help
7671da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
7685e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
7693cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
7705e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
7713dde6ad8SDavid Sterba	  one or the other endianness.
7725e83d430SRalf Baechle
7735e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
7745e83d430SRalf Baechle	bool "Big endian"
7755e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
7765e83d430SRalf Baechle
7775e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
7785e83d430SRalf Baechle	bool "Little endian"
7795e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
7805e83d430SRalf Baechle	help
7815e83d430SRalf Baechle
7825e83d430SRalf Baechleendchoice
7835e83d430SRalf Baechle
7842116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
7852116245eSRalf Baechle	bool
7862116245eSRalf Baechle
7875e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
7885e83d430SRalf Baechle	bool
7895e83d430SRalf Baechle
7905e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
7915e83d430SRalf Baechle	bool
7921da177e4SLinus Torvalds
7931da177e4SLinus Torvaldsconfig IRQ_CPU
7941da177e4SLinus Torvalds	bool
7951da177e4SLinus Torvalds
7961da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
7971da177e4SLinus Torvalds	bool
7981da177e4SLinus Torvalds
7995e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8005e83d430SRalf Baechle	bool
8015e83d430SRalf Baechle
8029267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8039267a30dSMarc St-Jean	bool
8049267a30dSMarc St-Jean
8059267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
8069267a30dSMarc St-Jean	bool
8079267a30dSMarc St-Jean
8088420fd00SAtsushi Nemotoconfig IRQ_TXX9
8098420fd00SAtsushi Nemoto	bool
8108420fd00SAtsushi Nemoto
8111da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8121da177e4SLinus Torvalds	bool
8131da177e4SLinus Torvalds
814252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8151da177e4SLinus Torvalds	bool
8161da177e4SLinus Torvalds
8179267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
8189267a30dSMarc St-Jean	bool
8199267a30dSMarc St-Jean
8201da177e4SLinus Torvaldsconfig MIPS_TX3927
8211da177e4SLinus Torvalds	bool
8221da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
8231da177e4SLinus Torvalds
824663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
825663c3d90Sthomas@koeller.dyndns.org	bool
826663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
827663c3d90Sthomas@koeller.dyndns.org
828bdf21b18SPete Popovconfig PNX8550
829bdf21b18SPete Popov	bool
830bdf21b18SPete Popov	select SOC_PNX8550
831bdf21b18SPete Popov
832bdf21b18SPete Popovconfig SOC_PNX8550
833bdf21b18SPete Popov	bool
834bdf21b18SPete Popov	select DMA_NONCOHERENT
835bdf21b18SPete Popov	select HW_HAS_PCI
836b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
83736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8387cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
839e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
840cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8414ead1681SFlorian Fainelli	select GENERIC_GPIO
842bdf21b18SPete Popov
8431da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8441da177e4SLinus Torvalds	bool
8451da177e4SLinus Torvalds
846355c471fSdmitry pervushinconfig EMMA2RH
847355c471fSdmitry pervushin	bool
848355c471fSdmitry pervushin	depends on MARKEINS
849355c471fSdmitry pervushin	default y
850355c471fSdmitry pervushin
851663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
852663c3d90Sthomas@koeller.dyndns.org	bool
853663c3d90Sthomas@koeller.dyndns.org
8545e83d430SRalf Baechleconfig ARC32
8555e83d430SRalf Baechle	bool
8565e83d430SRalf Baechle
8571da177e4SLinus Torvaldsconfig BOOT_ELF32
8581da177e4SLinus Torvalds	bool
8591da177e4SLinus Torvalds
8601da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
8611da177e4SLinus Torvalds	int
86206cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
86306cf5583SThomas Bogendoerfer	default "7" if SGI_IP27 || SNI_RM
8649267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
8651da177e4SLinus Torvalds	default "5"
8661da177e4SLinus Torvalds
8671da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
8681da177e4SLinus Torvalds	bool
8691da177e4SLinus Torvalds
8701da177e4SLinus Torvaldsconfig ARC_CONSOLE
8711da177e4SLinus Torvalds	bool "ARC console support"
87236a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
8731da177e4SLinus Torvalds
8741da177e4SLinus Torvaldsconfig ARC_MEMORY
8751da177e4SLinus Torvalds	bool
87614b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
8771da177e4SLinus Torvalds	default y
8781da177e4SLinus Torvalds
8791da177e4SLinus Torvaldsconfig ARC_PROMLIB
8801da177e4SLinus Torvalds	bool
88114b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
8821da177e4SLinus Torvalds	default y
8831da177e4SLinus Torvalds
8841da177e4SLinus Torvaldsconfig ARC64
8851da177e4SLinus Torvalds	bool
8861da177e4SLinus Torvalds
8871da177e4SLinus Torvaldsconfig BOOT_ELF64
8881da177e4SLinus Torvalds	bool
8891da177e4SLinus Torvalds
8901da177e4SLinus Torvaldsmenu "CPU selection"
8911da177e4SLinus Torvalds
8921da177e4SLinus Torvaldschoice
8931da177e4SLinus Torvalds	prompt "CPU type"
8941da177e4SLinus Torvalds	default CPU_R4X00
8951da177e4SLinus Torvalds
8962a21c730SFuxin Zhangconfig CPU_LOONGSON2
8972a21c730SFuxin Zhang	bool "Loongson 2"
8982a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
8992a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
9002a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
9012a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
9022a21c730SFuxin Zhang	help
9032a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
9042a21c730SFuxin Zhang	  with many extensions.
9052a21c730SFuxin Zhang
9066e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9076e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9087cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
909f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9106e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
911797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
912ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9136e760c8dSRalf Baechle	help
9145e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9151e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9161e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9171e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9181e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9191e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9201e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9211e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9221e5f1caaSRalf Baechle	  performance.
9231e5f1caaSRalf Baechle
9241e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9251e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9267cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
927f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9281e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
929797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
930ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9311e5f1caaSRalf Baechle	help
9325e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9336e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9346e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9356e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9366e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9371da177e4SLinus Torvalds
9386e760c8dSRalf Baechleconfig CPU_MIPS64_R1
9396e760c8dSRalf Baechle	bool "MIPS64 Release 1"
9407cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
941f7062ddbSRalf Baechle	select CPU_HAS_LLSC
942797798c1SRalf Baechle	select CPU_HAS_PREFETCH
943ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
944ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
945ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9466e760c8dSRalf Baechle	help
9476e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9486e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9496e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9506e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9516e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9521e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
9531e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
9541e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
9551e5f1caaSRalf Baechle	  performance.
9561e5f1caaSRalf Baechle
9571e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
9581e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
9597cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
960f7062ddbSRalf Baechle	select CPU_HAS_LLSC
961797798c1SRalf Baechle	select CPU_HAS_PREFETCH
9621e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
9631e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
964ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9651e5f1caaSRalf Baechle	help
9661e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9671e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9681e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9691e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9701e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9711da177e4SLinus Torvalds
9721da177e4SLinus Torvaldsconfig CPU_R3000
9731da177e4SLinus Torvalds	bool "R3000"
9747cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
975f7062ddbSRalf Baechle	select CPU_HAS_WB
976ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
977797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9781da177e4SLinus Torvalds	help
9791da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
9801da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
9811da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
9821da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
9831da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
9841da177e4SLinus Torvalds	  try to recompile with R3000.
9851da177e4SLinus Torvalds
9861da177e4SLinus Torvaldsconfig CPU_TX39XX
9871da177e4SLinus Torvalds	bool "R39XX"
9887cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
989ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
9901da177e4SLinus Torvalds
9911da177e4SLinus Torvaldsconfig CPU_VR41XX
9921da177e4SLinus Torvalds	bool "R41xx"
9937cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
994ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
995ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
9961da177e4SLinus Torvalds	help
9975e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
9981da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
9991da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10001da177e4SLinus Torvalds	  processor or vice versa.
10011da177e4SLinus Torvalds
10021da177e4SLinus Torvaldsconfig CPU_R4300
10031da177e4SLinus Torvalds	bool "R4300"
10047cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1005f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1006ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1007ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10081da177e4SLinus Torvalds	help
10091da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10101da177e4SLinus Torvalds
10111da177e4SLinus Torvaldsconfig CPU_R4X00
10121da177e4SLinus Torvalds	bool "R4x00"
10137cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1014f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1015ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1016ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10171da177e4SLinus Torvalds	help
10181da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10191da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10201da177e4SLinus Torvalds
10211da177e4SLinus Torvaldsconfig CPU_TX49XX
10221da177e4SLinus Torvalds	bool "R49XX"
10237cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1024f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1025de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1026ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1027ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10281da177e4SLinus Torvalds
10291da177e4SLinus Torvaldsconfig CPU_R5000
10301da177e4SLinus Torvalds	bool "R5000"
10317cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1032f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1033ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1034ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10351da177e4SLinus Torvalds	help
10361da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
10371da177e4SLinus Torvalds
10381da177e4SLinus Torvaldsconfig CPU_R5432
10391da177e4SLinus Torvalds	bool "R5432"
10407cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1041f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10425e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10435e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
10441da177e4SLinus Torvalds
10451da177e4SLinus Torvaldsconfig CPU_R6000
10461da177e4SLinus Torvalds	bool "R6000"
1047ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1048f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10497cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1050ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10511da177e4SLinus Torvalds	help
10521da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1053c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
10541da177e4SLinus Torvalds
10551da177e4SLinus Torvaldsconfig CPU_NEVADA
10561da177e4SLinus Torvalds	bool "RM52xx"
10577cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1058f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1059ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1060ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10611da177e4SLinus Torvalds	help
10621da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
10631da177e4SLinus Torvalds
10641da177e4SLinus Torvaldsconfig CPU_R8000
10651da177e4SLinus Torvalds	bool "R8000"
1066ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
10677cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1068f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10695e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1070ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10711da177e4SLinus Torvalds	help
10721da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
10731da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
10741da177e4SLinus Torvalds
10751da177e4SLinus Torvaldsconfig CPU_R10000
10761da177e4SLinus Torvalds	bool "R10000"
10777cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
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
10831da177e4SLinus Torvalds	help
10841da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
10851da177e4SLinus Torvalds
10861da177e4SLinus Torvaldsconfig CPU_RM7000
10871da177e4SLinus Torvalds	bool "RM7000"
10887cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1089f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10905e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1091ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1092ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1093797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10941da177e4SLinus Torvalds
10951da177e4SLinus Torvaldsconfig CPU_RM9000
10961da177e4SLinus Torvalds	bool "RM9000"
10977cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1098f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10995e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1100ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1101ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1102797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11030004a9dfSRalf Baechle	select WEAK_ORDERING
11041da177e4SLinus Torvalds
11051da177e4SLinus Torvaldsconfig CPU_SB1
11061da177e4SLinus Torvalds	bool "SB1"
11077cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1108f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1109ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1110ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1111797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11120004a9dfSRalf Baechle	select WEAK_ORDERING
11131da177e4SLinus Torvalds
11141da177e4SLinus Torvaldsendchoice
11151da177e4SLinus Torvalds
11162a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
11172a21c730SFuxin Zhang	bool
11182a21c730SFuxin Zhang
11197cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11207cf8053bSRalf Baechle	bool
11217cf8053bSRalf Baechle
11227cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11237cf8053bSRalf Baechle	bool
11247cf8053bSRalf Baechle
11257cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11267cf8053bSRalf Baechle	bool
11277cf8053bSRalf Baechle
11287cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
11297cf8053bSRalf Baechle	bool
11307cf8053bSRalf Baechle
11317cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
11327cf8053bSRalf Baechle	bool
11337cf8053bSRalf Baechle
11347cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
11357cf8053bSRalf Baechle	bool
11367cf8053bSRalf Baechle
11377cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
11387cf8053bSRalf Baechle	bool
11397cf8053bSRalf Baechle
11407cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
11417cf8053bSRalf Baechle	bool
11427cf8053bSRalf Baechle
11437cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
11447cf8053bSRalf Baechle	bool
11457cf8053bSRalf Baechle
11467cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
11477cf8053bSRalf Baechle	bool
11487cf8053bSRalf Baechle
11497cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
11507cf8053bSRalf Baechle	bool
11517cf8053bSRalf Baechle
11527cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
11537cf8053bSRalf Baechle	bool
11547cf8053bSRalf Baechle
11557cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
11567cf8053bSRalf Baechle	bool
11577cf8053bSRalf Baechle
11587cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
11597cf8053bSRalf Baechle	bool
11607cf8053bSRalf Baechle
11617cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
11627cf8053bSRalf Baechle	bool
11637cf8053bSRalf Baechle
11647cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
11657cf8053bSRalf Baechle	bool
11667cf8053bSRalf Baechle
11677cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
11687cf8053bSRalf Baechle	bool
11697cf8053bSRalf Baechle
11707cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
11717cf8053bSRalf Baechle	bool
11727cf8053bSRalf Baechle
11737cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
11747cf8053bSRalf Baechle	bool
11757cf8053bSRalf Baechle
117617099b11SRalf Baechle#
117717099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
117817099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
117917099b11SRalf Baechle#
11800004a9dfSRalf Baechleconfig WEAK_ORDERING
11810004a9dfSRalf Baechle	bool
118217099b11SRalf Baechle
118317099b11SRalf Baechle#
118417099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
118517099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
118617099b11SRalf Baechle#
118717099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
118817099b11SRalf Baechle	bool
11895e83d430SRalf Baechleendmenu
11905e83d430SRalf Baechle
11915e83d430SRalf Baechle#
11925e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
11935e83d430SRalf Baechle#
11945e83d430SRalf Baechleconfig CPU_MIPS32
11955e83d430SRalf Baechle	bool
11965e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
11975e83d430SRalf Baechle
11985e83d430SRalf Baechleconfig CPU_MIPS64
11995e83d430SRalf Baechle	bool
12005e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
12015e83d430SRalf Baechle
12025e83d430SRalf Baechle#
1203c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
12045e83d430SRalf Baechle#
12055e83d430SRalf Baechleconfig CPU_MIPSR1
12065e83d430SRalf Baechle	bool
12075e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
12085e83d430SRalf Baechle
12095e83d430SRalf Baechleconfig CPU_MIPSR2
12105e83d430SRalf Baechle	bool
12115e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
12125e83d430SRalf Baechle
12135e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
12145e83d430SRalf Baechle	bool
12155e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12165e83d430SRalf Baechle	bool
12175e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12185e83d430SRalf Baechle	bool
12195e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12205e83d430SRalf Baechle	bool
12215e83d430SRalf Baechle
12225e83d430SRalf Baechlemenu "Kernel type"
12235e83d430SRalf Baechle
12245e83d430SRalf Baechlechoice
12255e83d430SRalf Baechle
12265e83d430SRalf Baechle	prompt "Kernel code model"
12275e83d430SRalf Baechle	help
12285e83d430SRalf Baechle	  You should only select this option if you have a workload that
12295e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
12305e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
12315e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
12325e83d430SRalf Baechle
12335e83d430SRalf Baechleconfig 32BIT
12345e83d430SRalf Baechle	bool "32-bit kernel"
12355e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
12365e83d430SRalf Baechle	select TRAD_SIGNALS
12375e83d430SRalf Baechle	help
12385e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
12395e83d430SRalf Baechleconfig 64BIT
12405e83d430SRalf Baechle	bool "64-bit kernel"
12415e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
12425e83d430SRalf Baechle	help
12435e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
12445e83d430SRalf Baechle
12455e83d430SRalf Baechleendchoice
12465e83d430SRalf Baechle
12471da177e4SLinus Torvaldschoice
12481da177e4SLinus Torvalds	prompt "Kernel page size"
12491da177e4SLinus Torvalds	default PAGE_SIZE_4KB
12501da177e4SLinus Torvalds
12511da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
12521da177e4SLinus Torvalds	bool "4kB"
12531da177e4SLinus Torvalds	help
12541da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
12551da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
12561da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
12571da177e4SLinus Torvalds	 recommended for low memory systems.
12581da177e4SLinus Torvalds
12591da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
12601da177e4SLinus Torvalds	bool "8kB"
12611da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
12621da177e4SLinus Torvalds	help
12631da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
12641da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
12651da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
12661da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
12671da177e4SLinus Torvalds	  compatibility of user applications.
12681da177e4SLinus Torvalds
12691da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
12701da177e4SLinus Torvalds	bool "16kB"
1271714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
12721da177e4SLinus Torvalds	help
12731da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
12741da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1275714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1276714bfad6SRalf Baechle	  Linux distribution to support this.
12771da177e4SLinus Torvalds
12781da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
12791da177e4SLinus Torvalds	bool "64kB"
12801da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
12811da177e4SLinus Torvalds	help
12821da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
12831da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
12841da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1285714bfad6SRalf Baechle	  writing this option is still high experimental.
12861da177e4SLinus Torvalds
12871da177e4SLinus Torvaldsendchoice
12881da177e4SLinus Torvalds
12891da177e4SLinus Torvaldsconfig BOARD_SCACHE
12901da177e4SLinus Torvalds	bool
12911da177e4SLinus Torvalds
12921da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
12931da177e4SLinus Torvalds	bool
12941da177e4SLinus Torvalds	select BOARD_SCACHE
12951da177e4SLinus Torvalds
12969318c51aSChris Dearman#
12979318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
12989318c51aSChris Dearman#
12999318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
13009318c51aSChris Dearman	bool
13019318c51aSChris Dearman	select BOARD_SCACHE
13029318c51aSChris Dearman
13031da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
13041da177e4SLinus Torvalds	bool
13051da177e4SLinus Torvalds	select BOARD_SCACHE
13061da177e4SLinus Torvalds
13071da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
13081da177e4SLinus Torvalds	bool
13091da177e4SLinus Torvalds	select BOARD_SCACHE
13101da177e4SLinus Torvalds
13111da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
13121da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
13131da177e4SLinus Torvalds	depends on CPU_SB1
13141da177e4SLinus Torvalds	help
13151da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13161da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13171da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13181da177e4SLinus Torvalds
13191da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1320c8094b53SRalf Baechle	bool
13211da177e4SLinus Torvalds
1322340ee4b9SRalf Baechlechoice
1323340ee4b9SRalf Baechle	prompt "MIPS MT options"
1324f41ae0b2SRalf Baechle
1325f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1326f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1327f41ae0b2SRalf Baechle	help
1328f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1329f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1330f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1331f41ae0b2SRalf Baechle	  option in this menu.
1332340ee4b9SRalf Baechle
133359d6ab86SRalf Baechleconfig MIPS_MT_SMP
133459d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
133559d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
133659d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1337d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
133859d6ab86SRalf Baechle	select CPU_MIPSR2_SRS
133959d6ab86SRalf Baechle	select MIPS_MT
1340f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
134159d6ab86SRalf Baechle	select SMP
134259d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
134359d6ab86SRalf Baechle	help
134459d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
134559d6ab86SRalf Baechle	  has been marketesed into SMVP.
134659d6ab86SRalf Baechle
134741c594abSRalf Baechleconfig MIPS_MT_SMTC
134841c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1349f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1350f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1351f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1352f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1353d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1354f7062ddbSRalf Baechle	select CPU_MIPSR2_SRS
1355f41ae0b2SRalf Baechle	select MIPS_MT
1356130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
135741c594abSRalf Baechle	select SMP
135873b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1359f41ae0b2SRalf Baechle	help
1360f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1361f41ae0b2SRalf Baechle	  marketesed into SMVP.
136241c594abSRalf Baechle
1363340ee4b9SRalf Baechleendchoice
1364340ee4b9SRalf Baechle
1365f41ae0b2SRalf Baechleconfig MIPS_MT
1366f41ae0b2SRalf Baechle	bool
1367f41ae0b2SRalf Baechle
1368f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1369f41ae0b2SRalf Baechle	bool
1370f41ae0b2SRalf Baechle
1371f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1372f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1373f088fc84SRalf Baechle	default y
137407cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
137507cc0c9eSRalf Baechle
137607cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
137707cc0c9eSRalf Baechle	bool "VPE loader support."
137807cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
137907cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
138007cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
138107cc0c9eSRalf Baechle	select CPU_MIPSR2_SRS
138207cc0c9eSRalf Baechle	select MIPS_MT
138307cc0c9eSRalf Baechle	help
138407cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
138507cc0c9eSRalf Baechle	  onto another VPE and running it.
1386f088fc84SRalf Baechle
1387ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1388ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1389619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1390ac8be955SRalf Baechle	default y
1391ac8be955SRalf Baechle	help
1392ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1393ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1394ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1395ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1396ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1397ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1398ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1399ac8be955SRalf Baechle	  heavy I/O interrupt load.
1400ac8be955SRalf Baechle
14010db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
14020db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
14030db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
14040db34215SKevin D. Kissell	default y
14050db34215SKevin D. Kissell	help
14060db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
14070db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
14080db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
14090db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
14100db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
14110db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
14120db34215SKevin D. Kissell	  what you are doing.
14130db34215SKevin D. Kissell
1414f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1415f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1416f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1417f571eff0SKevin D. Kissell	default n
1418f571eff0SKevin D. Kissell	help
1419f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1420f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1421f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
1422f571eff0SKevin D. Kissell	  platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1423f571eff0SKevin D. Kissell	  be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1424f571eff0SKevin D. Kissell	  interrupt dispatch, and should be used only if you know what
1425f571eff0SKevin D. Kissell	  you are doing.
1426f571eff0SKevin D. Kissell
1427e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1428e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1429e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1430e01402b1SRalf Baechle	default y
1431e01402b1SRalf Baechle	help
1432e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1433e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1434e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1435e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1436e01402b1SRalf Baechle
1437e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1438e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1439e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1440e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
14415e83d430SRalf Baechle	help
1442e01402b1SRalf Baechle
14432600990eSRalf Baechleconfig MIPS_APSP_KSPD
14442600990eSRalf Baechle	bool "Enable KSPD"
14452600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
14462600990eSRalf Baechle	default y
14472600990eSRalf Baechle	help
14482600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
14492600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
14502600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
14512600990eSRalf Baechle	  exiting.  You probably want to say yes here.
14522600990eSRalf Baechle
14531da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
14541da177e4SLinus Torvalds	bool
14551da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
14561da177e4SLinus Torvalds	default y
14571da177e4SLinus Torvalds
14581da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
14591da177e4SLinus Torvalds	bool
14601da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
14611da177e4SLinus Torvalds	default y
14621da177e4SLinus Torvalds
14631da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
14641da177e4SLinus Torvalds	bool
14651da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
14661da177e4SLinus Torvalds	default y
14671da177e4SLinus Torvalds
14681da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1469d806cb2bSRalf Baechle	bool
14701da177e4SLinus Torvalds
14711da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1472f7062ddbSRalf Baechle	bool
14731da177e4SLinus Torvalds
14749693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
14759693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
14769693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
14779693a853SFranck Bui-Huu	help
14789693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
14799693a853SFranck Bui-Huu	  increased security at both hardware and software level for
14809693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
14819693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
14829693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
14839693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
14849693a853SFranck Bui-Huu	  here.
14859693a853SFranck Bui-Huu
14861da177e4SLinus Torvaldsconfig CPU_HAS_WB
1487f7062ddbSRalf Baechle	bool
1488e01402b1SRalf Baechle
14892a21c730SFuxin Zhangconfig 64BIT_CONTEXT
14902a21c730SFuxin Zhang	bool "Save 64bit integer registers"
14912a21c730SFuxin Zhang	depends on 32BIT && CPU_LOONGSON2
14922a21c730SFuxin Zhang	help
14932a21c730SFuxin Zhang	  Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
14942a21c730SFuxin Zhang	  registers can still be accessed as 64bit, mainly for multimedia
14952a21c730SFuxin Zhang	  instructions. We must have all 64bit save/restored to make sure
14962a21c730SFuxin Zhang	  those instructions to get correct result.
14972a21c730SFuxin Zhang
1498f41ae0b2SRalf Baechle#
1499f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1500f41ae0b2SRalf Baechle#
1501e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1502f41ae0b2SRalf Baechle	bool
1503e01402b1SRalf Baechle
1504f41ae0b2SRalf Baechle#
1505f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1506f41ae0b2SRalf Baechle#
1507e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1508f41ae0b2SRalf Baechle	bool
1509e01402b1SRalf Baechle
1510f41ae0b2SRalf Baechle#
1511f41ae0b2SRalf Baechle# Shadow registers are an R2 feature
1512f41ae0b2SRalf Baechle#
1513e01402b1SRalf Baechleconfig CPU_MIPSR2_SRS
1514f41ae0b2SRalf Baechle	bool
1515e01402b1SRalf Baechle
15161da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
15171da177e4SLinus Torvalds	bool
15181da177e4SLinus Torvalds	depends on !CPU_R3000
15191da177e4SLinus Torvalds	default y
15201da177e4SLinus Torvalds
15211da177e4SLinus Torvalds#
1522797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1523797798c1SRalf Baechle#
1524797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1525797798c1SRalf Baechle	bool
1526797798c1SRalf Baechle	default y
1527797798c1SRalf Baechle
1528797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1529797798c1SRalf Baechle	bool
1530797798c1SRalf Baechle	default y
1531797798c1SRalf Baechle
15320d7012a9SIngo Molnarconfig IRQ_PER_CPU
15330d7012a9SIngo Molnar	bool
15340d7012a9SIngo Molnar
1535797798c1SRalf Baechle#
15361da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
15371da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
15381da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
15391da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
15401da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
15411da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
15421da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
15431da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1544797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1545797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1546797798c1SRalf Baechle#   support.
15471da177e4SLinus Torvalds#
15481da177e4SLinus Torvaldsconfig HIGHMEM
15491da177e4SLinus Torvalds	bool "High Memory Support"
1550797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1551797798c1SRalf Baechle
1552797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1553797798c1SRalf Baechle	bool
1554797798c1SRalf Baechle
1555797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1556797798c1SRalf Baechle	bool
15571da177e4SLinus Torvalds
15589693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
15599693a853SFranck Bui-Huu	bool
15609693a853SFranck Bui-Huu
1561b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1562b4819b59SYoichi Yuasa	def_bool y
1563b4819b59SYoichi Yuasa	depends on !NUMA
1564b4819b59SYoichi Yuasa
1565d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1566d8cb4e11SRalf Baechle	bool
1567d8cb4e11SRalf Baechle	default y if SGI_IP27
1568d8cb4e11SRalf Baechle	help
15693dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1570d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1571d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1572d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1573d8cb4e11SRalf Baechle
1574b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1575b1c6cd42SAtsushi Nemoto	bool
15767de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
157731473747SAtsushi Nemoto
1578d8cb4e11SRalf Baechleconfig NUMA
1579d8cb4e11SRalf Baechle	bool "NUMA Support"
1580d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1581d8cb4e11SRalf Baechle	help
1582d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1583d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1584d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1585d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1586d8cb4e11SRalf Baechle	  disabled.
1587d8cb4e11SRalf Baechle
1588d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1589d8cb4e11SRalf Baechle	bool
1590d8cb4e11SRalf Baechle
1591c80d79d7SYasunori Gotoconfig NODES_SHIFT
1592c80d79d7SYasunori Goto	int
1593c80d79d7SYasunori Goto	default "6"
1594c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1595c80d79d7SYasunori Goto
1596b4819b59SYoichi Yuasasource "mm/Kconfig"
1597b4819b59SYoichi Yuasa
15981da177e4SLinus Torvaldsconfig SMP
15991da177e4SLinus Torvalds	bool "Multi-Processing support"
1600e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1601b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1602e73ea273SRalf Baechle	help
16031da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
16041da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
16051da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
16061da177e4SLinus Torvalds
16071da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
16081da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
16091da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
16101da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
16111da177e4SLinus Torvalds	  will run faster if you say N here.
16121da177e4SLinus Torvalds
16131da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
16141da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
16151da177e4SLinus Torvalds
16161da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
16171da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
16181da177e4SLinus Torvalds
16191da177e4SLinus Torvalds	  If you don't know what to do here, say N.
16201da177e4SLinus Torvalds
1621e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1622e73ea273SRalf Baechle	bool
1623e73ea273SRalf Baechle
162472ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
162572ede9b1SAtsushi Nemoto	bool
162672ede9b1SAtsushi Nemoto
1627130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1628130e2fb7SRalf Baechle	bool
1629130e2fb7SRalf Baechle
1630130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1631130e2fb7SRalf Baechle	bool
1632130e2fb7SRalf Baechle
1633130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1634130e2fb7SRalf Baechle	bool
1635130e2fb7SRalf Baechle
1636130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1637130e2fb7SRalf Baechle	bool
1638130e2fb7SRalf Baechle
1639130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1640130e2fb7SRalf Baechle	bool
1641130e2fb7SRalf Baechle
1642130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1643130e2fb7SRalf Baechle	bool
1644130e2fb7SRalf Baechle
16451da177e4SLinus Torvaldsconfig NR_CPUS
16461da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
164772ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
16481da177e4SLinus Torvalds	depends on SMP
164972ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1650130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1651130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1652130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1653130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1654130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1655130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
16561da177e4SLinus Torvalds	help
16571da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
16581da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
16591da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
166072ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
166172ede9b1SAtsushi Nemoto	  and 2 for all others.
16621da177e4SLinus Torvalds
16631da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
166472ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
166572ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
166672ede9b1SAtsushi Nemoto	  power of two.
16671da177e4SLinus Torvalds
16681723b4a3SAtsushi Nemoto#
16691723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
16701723b4a3SAtsushi Nemoto#
16711723b4a3SAtsushi Nemoto
16721723b4a3SAtsushi Nemotochoice
16731723b4a3SAtsushi Nemoto	prompt "Timer frequency"
16741723b4a3SAtsushi Nemoto	default HZ_250
16751723b4a3SAtsushi Nemoto	help
16761723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
16771723b4a3SAtsushi Nemoto
16781723b4a3SAtsushi Nemoto	config HZ_48
16791723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
16801723b4a3SAtsushi Nemoto
16811723b4a3SAtsushi Nemoto	config HZ_100
16821723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
16831723b4a3SAtsushi Nemoto
16841723b4a3SAtsushi Nemoto	config HZ_128
16851723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
16861723b4a3SAtsushi Nemoto
16871723b4a3SAtsushi Nemoto	config HZ_250
16881723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
16891723b4a3SAtsushi Nemoto
16901723b4a3SAtsushi Nemoto	config HZ_256
16911723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
16921723b4a3SAtsushi Nemoto
16931723b4a3SAtsushi Nemoto	config HZ_1000
16941723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
16951723b4a3SAtsushi Nemoto
16961723b4a3SAtsushi Nemoto	config HZ_1024
16971723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
16981723b4a3SAtsushi Nemoto
16991723b4a3SAtsushi Nemotoendchoice
17001723b4a3SAtsushi Nemoto
17011723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
17021723b4a3SAtsushi Nemoto	bool
17031723b4a3SAtsushi Nemoto
17041723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
17051723b4a3SAtsushi Nemoto	bool
17061723b4a3SAtsushi Nemoto
17071723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
17081723b4a3SAtsushi Nemoto	bool
17091723b4a3SAtsushi Nemoto
17101723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
17111723b4a3SAtsushi Nemoto	bool
17121723b4a3SAtsushi Nemoto
17131723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
17141723b4a3SAtsushi Nemoto	bool
17151723b4a3SAtsushi Nemoto
17161723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
17171723b4a3SAtsushi Nemoto	bool
17181723b4a3SAtsushi Nemoto
17191723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
17201723b4a3SAtsushi Nemoto	bool
17211723b4a3SAtsushi Nemoto
17221723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
17231723b4a3SAtsushi Nemoto	bool
17241723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
17251723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
17261723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
17271723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
17281723b4a3SAtsushi Nemoto
17291723b4a3SAtsushi Nemotoconfig HZ
17301723b4a3SAtsushi Nemoto	int
17311723b4a3SAtsushi Nemoto	default 48 if HZ_48
17321723b4a3SAtsushi Nemoto	default 100 if HZ_100
17331723b4a3SAtsushi Nemoto	default 128 if HZ_128
17341723b4a3SAtsushi Nemoto	default 250 if HZ_250
17351723b4a3SAtsushi Nemoto	default 256 if HZ_256
17361723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
17371723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
17381723b4a3SAtsushi Nemoto
1739e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
17401da177e4SLinus Torvalds
17411da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
17421da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1743875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
17441da177e4SLinus Torvalds	help
17451da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
17461da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
17471da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
17481da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
17491da177e4SLinus Torvalds	  recommended for normal users.
17501da177e4SLinus Torvalds
1751ea6e942bSAtsushi Nemotoconfig KEXEC
1752ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1753ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1754ea6e942bSAtsushi Nemoto	help
1755ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1756ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
17573dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1758ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1759ea6e942bSAtsushi Nemoto
1760ea6e942bSAtsushi Nemoto	  The name comes from the similiarity to the exec system call.
1761ea6e942bSAtsushi Nemoto
1762ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1763ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1764ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1765ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1766ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1767ea6e942bSAtsushi Nemoto
1768ea6e942bSAtsushi Nemotoconfig SECCOMP
1769ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1770293c5bd1SRalf Baechle	depends on PROC_FS
1771ea6e942bSAtsushi Nemoto	default y
1772ea6e942bSAtsushi Nemoto	help
1773ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1774ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1775ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1776ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1777ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1778ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1779ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1780ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1781ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1782ea6e942bSAtsushi Nemoto
1783ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1784ea6e942bSAtsushi Nemoto
17855e83d430SRalf Baechleendmenu
17865e83d430SRalf Baechle
17871da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
17881da177e4SLinus Torvalds	bool
17891da177e4SLinus Torvalds	default y
17901da177e4SLinus Torvalds
17911df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
17921df0f0ffSAtsushi Nemoto	bool
17931df0f0ffSAtsushi Nemoto	default y
17941df0f0ffSAtsushi Nemoto
17951df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
17961df0f0ffSAtsushi Nemoto	bool
17971df0f0ffSAtsushi Nemoto	default y
17981df0f0ffSAtsushi Nemoto
1799b6c3539bSRalf Baechlesource "init/Kconfig"
1800b6c3539bSRalf Baechle
18011da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
18021da177e4SLinus Torvalds
18035e83d430SRalf Baechleconfig HW_HAS_EISA
18045e83d430SRalf Baechle	bool
18051da177e4SLinus Torvaldsconfig HW_HAS_PCI
18061da177e4SLinus Torvalds	bool
18071da177e4SLinus Torvalds
18081da177e4SLinus Torvaldsconfig PCI
18091da177e4SLinus Torvalds	bool "Support for PCI controller"
18101da177e4SLinus Torvalds	depends on HW_HAS_PCI
18111da177e4SLinus Torvalds	help
18121da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
18131da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
18141da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
18151da177e4SLinus Torvalds	  say Y, otherwise N.
18161da177e4SLinus Torvalds
18171da177e4SLinus Torvalds	  The PCI-HOWTO, available from
18181da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
18191da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
18201da177e4SLinus Torvalds	  doesn't.
18211da177e4SLinus Torvalds
18221da177e4SLinus Torvaldsconfig PCI_DOMAINS
18231da177e4SLinus Torvalds	bool
18241da177e4SLinus Torvalds	depends on PCI
18251da177e4SLinus Torvalds
18261da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
18271da177e4SLinus Torvalds
18281da177e4SLinus Torvalds#
18291da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
18301da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
18311da177e4SLinus Torvalds# users to choose the right thing ...
18321da177e4SLinus Torvalds#
18331da177e4SLinus Torvaldsconfig ISA
18341da177e4SLinus Torvalds	bool
18351da177e4SLinus Torvalds
18361da177e4SLinus Torvaldsconfig EISA
18371da177e4SLinus Torvalds	bool "EISA support"
18385e83d430SRalf Baechle	depends on HW_HAS_EISA
18391da177e4SLinus Torvalds	select ISA
1840aa414dffSRalf Baechle	select GENERIC_ISA_DMA
18411da177e4SLinus Torvalds	---help---
18421da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
18431da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
18441da177e4SLinus Torvalds
18451da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
18461da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
18471da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
18481da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
18491da177e4SLinus Torvalds
18501da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
18511da177e4SLinus Torvalds
18521da177e4SLinus Torvalds	  Otherwise, say N.
18531da177e4SLinus Torvalds
18541da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
18551da177e4SLinus Torvalds
18561da177e4SLinus Torvaldsconfig TC
18571da177e4SLinus Torvalds	bool "TURBOchannel support"
18581da177e4SLinus Torvalds	depends on MACH_DECSTATION
18591da177e4SLinus Torvalds	help
18601da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
18611da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
18621da177e4SLinus Torvalds	  is available at:
18631da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
18641da177e4SLinus Torvalds
18651da177e4SLinus Torvalds#config ACCESSBUS
18661da177e4SLinus Torvalds#	bool "Access.Bus support"
18671da177e4SLinus Torvalds#	depends on TC
18681da177e4SLinus Torvalds
18691da177e4SLinus Torvaldsconfig MMU
18701da177e4SLinus Torvalds	bool
18711da177e4SLinus Torvalds	default y
18721da177e4SLinus Torvalds
1873de61b542SRalf Baechleconfig PCSPEAKER
1874e5c6c8e4SMichael Neuling	bool
1875e5c6c8e4SMichael Neuling
18761da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
18771da177e4SLinus Torvalds
18781da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
18791da177e4SLinus Torvalds
18801da177e4SLinus Torvaldsendmenu
18811da177e4SLinus Torvalds
18821da177e4SLinus Torvaldsmenu "Executable file formats"
18831da177e4SLinus Torvalds
18841da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
18851da177e4SLinus Torvalds
18861da177e4SLinus Torvaldsconfig TRAD_SIGNALS
18871da177e4SLinus Torvalds	bool
18881da177e4SLinus Torvalds
18891da177e4SLinus Torvaldsconfig BINFMT_IRIX
18901da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
18915e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
18921da177e4SLinus Torvalds
18931da177e4SLinus Torvaldsconfig MIPS32_COMPAT
18941da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1895875d43e7SRalf Baechle	depends on 64BIT
18961da177e4SLinus Torvalds	help
18971da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
18981da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
18991da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
19001da177e4SLinus Torvalds
19011da177e4SLinus Torvaldsconfig COMPAT
19021da177e4SLinus Torvalds	bool
19031da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19041da177e4SLinus Torvalds	default y
19051da177e4SLinus Torvalds
190605e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
190705e43966SAtsushi Nemoto	bool
190805e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
190905e43966SAtsushi Nemoto	default y
191005e43966SAtsushi Nemoto
19111da177e4SLinus Torvaldsconfig MIPS32_O32
19121da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
19131da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19141da177e4SLinus Torvalds	help
19151da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
19161da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
19171da177e4SLinus Torvalds	  existing binaries are in this format.
19181da177e4SLinus Torvalds
19191da177e4SLinus Torvalds	  If unsure, say Y.
19201da177e4SLinus Torvalds
19211da177e4SLinus Torvaldsconfig MIPS32_N32
19221da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
19231da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19241da177e4SLinus Torvalds	help
19251da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
19261da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
19271da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
19281da177e4SLinus Torvalds	  cases.
19291da177e4SLinus Torvalds
19301da177e4SLinus Torvalds	  If unsure, say N.
19311da177e4SLinus Torvalds
19321da177e4SLinus Torvaldsconfig BINFMT_ELF32
19331da177e4SLinus Torvalds	bool
19341da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
19351da177e4SLinus Torvalds
19362116245eSRalf Baechleendmenu
19371da177e4SLinus Torvalds
19382116245eSRalf Baechlemenu "Power management options"
1939952fa954SRodolfo Giometti
19402116245eSRalf Baechlesource "kernel/power/Kconfig"
1941952fa954SRodolfo Giometti
19421da177e4SLinus Torvaldsendmenu
19431da177e4SLinus Torvalds
1944d5950b43SSam Ravnborgsource "net/Kconfig"
1945d5950b43SSam Ravnborg
19461da177e4SLinus Torvaldssource "drivers/Kconfig"
19471da177e4SLinus Torvalds
19481da177e4SLinus Torvaldssource "fs/Kconfig"
19491da177e4SLinus Torvalds
19505e83d430SRalf Baechlesource "arch/mips/oprofile/Kconfig"
19515e83d430SRalf Baechle
19521da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
19531da177e4SLinus Torvalds
19541da177e4SLinus Torvaldssource "security/Kconfig"
19551da177e4SLinus Torvalds
19561da177e4SLinus Torvaldssource "crypto/Kconfig"
19571da177e4SLinus Torvalds
19581da177e4SLinus Torvaldssource "lib/Kconfig"
1959