xref: /linux/arch/mips/Kconfig (revision 651194f82066ba3688630b5a0d79d13d26a7ccbb)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
41da177e4SLinus Torvalds	# Horrible source of confusion.  Die, die, die ...
51da177e4SLinus Torvalds	select EMBEDDED
690b02340SRalf Baechle	select RTC_LIB
71da177e4SLinus Torvalds
81da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
91da177e4SLinus Torvalds
101da177e4SLinus Torvaldsmenu "Machine selection"
111da177e4SLinus Torvalds
125ac6da66SChristoph Lameterconfig ZONE_DMA
135ac6da66SChristoph Lameter	bool
145ac6da66SChristoph Lameter
155e83d430SRalf Baechlechoice
165e83d430SRalf Baechle	prompt "System type"
175e83d430SRalf Baechle	default SGI_IP22
181da177e4SLinus Torvalds
19c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
20c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
211da177e4SLinus Torvalds
2235189fadSRalf Baechleconfig BASLER_EXCITE
23be91589eSThomas Koeller	bool "Basler eXcite smart camera"
2442f77542SRalf Baechle	select CEVT_R4K
2535189fadSRalf Baechle	select DMA_COHERENT
2635189fadSRalf Baechle	select HW_HAS_PCI
2735189fadSRalf Baechle	select IRQ_CPU
2835189fadSRalf Baechle	select IRQ_CPU_RM7K
2935189fadSRalf Baechle	select IRQ_CPU_RM9K
30663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
3135189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
3235189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3335189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
34cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3535189fadSRalf Baechle	help
3635189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
37be91589eSThomas Koeller	  Basler Vision Technologies AG.
3835189fadSRalf Baechle
3935189fadSRalf Baechleconfig BASLER_EXCITE_PROTOTYPE
4035189fadSRalf Baechle	bool "Support for pre-release units"
4135189fadSRalf Baechle	depends on BASLER_EXCITE
4235189fadSRalf Baechle	default n
4335189fadSRalf Baechle	help
4435189fadSRalf Baechle	  Pre-series (prototype) units are different from later ones in
4535189fadSRalf Baechle	  some ways. Select this option if you have one of these. Please
4635189fadSRalf Baechle	  note that a kernel built with this option selected will not be
4735189fadSRalf Baechle	  able to run on normal units.
4835189fadSRalf Baechle
491c0c13ebSAurelien Jarnoconfig BCM47XX
501c0c13ebSAurelien Jarno	bool "BCM47XX based boards"
5142f77542SRalf Baechle	select CEVT_R4K
521c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
531c0c13ebSAurelien Jarno	select HW_HAS_PCI
541c0c13ebSAurelien Jarno	select IRQ_CPU
551c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
561c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
571c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
581c0c13ebSAurelien Jarno	select SSB
591c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
601c0c13ebSAurelien Jarno	select GENERIC_GPIO
6125e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
6225e5fb97SAurelien Jarno	select CFE
631c0c13ebSAurelien Jarno	help
641c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
651c0c13ebSAurelien Jarno
661da177e4SLinus Torvaldsconfig MIPS_COBALT
673fa986faSMartin Michlmayr	bool "Cobalt Server"
6842f77542SRalf Baechle	select CEVT_R4K
691097c6acSYoichi Yuasa	select CEVT_GT641XX
701da177e4SLinus Torvalds	select DMA_NONCOHERENT
711da177e4SLinus Torvalds	select HW_HAS_PCI
72d865bea4SRalf Baechle	select I8253
731da177e4SLinus Torvalds	select I8259
741da177e4SLinus Torvalds	select IRQ_CPU
75d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
76252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
777cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
780a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
79ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
80ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
815e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
829fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
831da177e4SLinus Torvalds
841da177e4SLinus Torvaldsconfig MACH_DECSTATION
853fa986faSMartin Michlmayr	bool "DECstations"
861da177e4SLinus Torvalds	select BOOT_ELF32
8742f77542SRalf Baechle	select CEVT_R4K
881da177e4SLinus Torvalds	select DMA_NONCOHERENT
89d388d685SMaciej W. Rozycki	select NO_IOPORT
901da177e4SLinus Torvalds	select IRQ_CPU
917cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
927cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
93ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
94ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
955e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
961723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
971723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
981723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
995e83d430SRalf Baechle	help
1001da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1011da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1021da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1051da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds		DECstation 5000/50
1081da177e4SLinus Torvalds		DECstation 5000/150
1091da177e4SLinus Torvalds		DECstation 5000/260
1101da177e4SLinus Torvalds		DECsystem 5900/260
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvalds	  otherwise choose R3000.
1131da177e4SLinus Torvalds
1145e83d430SRalf Baechleconfig MACH_JAZZ
1153fa986faSMartin Michlmayr	bool "Jazz family of machines"
1165e83d430SRalf Baechle	select ARC
1175e83d430SRalf Baechle	select ARC32
1185e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
11942f77542SRalf Baechle	select CEVT_R4K
1205e83d430SRalf Baechle	select GENERIC_ISA_DMA
121ea202c63SThomas Bogendoerfer	select IRQ_CPU
122d865bea4SRalf Baechle	select I8253
1235e83d430SRalf Baechle	select I8259
1245e83d430SRalf Baechle	select ISA
125de61b542SRalf Baechle	select PCSPEAKER
1267cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1275e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1285e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1291723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1309fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1311da177e4SLinus Torvalds	help
1325e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1335e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1345e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1355e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1365e83d430SRalf Baechle
1371f21d2bdSBrian Murphyconfig LASAT
1381f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
13942f77542SRalf Baechle	select CEVT_R4K
1401f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1411f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1421f21d2bdSBrian Murphy	select HW_HAS_PCI
143a5ccfe5cSRalf Baechle	select IRQ_CPU
1441f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1451f21d2bdSBrian Murphy	select MIPS_NILE4
1461f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1471f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1481f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1491f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1501f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1511f21d2bdSBrian Murphy	select GENERIC_HARDIRQS_NO__DO_IRQ
1521f21d2bdSBrian Murphy
153ade299d8SYoichi Yuasaconfig LEMOTE_FULONG
154ade299d8SYoichi Yuasa	bool "Lemote Fulong mini-PC"
155ade299d8SYoichi Yuasa	select ARCH_SPARSEMEM_ENABLE
15642f77542SRalf Baechle	select CEVT_R4K
157ade299d8SYoichi Yuasa	select SYS_HAS_CPU_LOONGSON2
158ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
159ade299d8SYoichi Yuasa	select BOOT_ELF32
160ade299d8SYoichi Yuasa	select BOARD_SCACHE
161ade299d8SYoichi Yuasa	select HAVE_STD_PC_SERIAL_PORT
162ade299d8SYoichi Yuasa	select HW_HAS_PCI
163ade299d8SYoichi Yuasa	select I8259
164ade299d8SYoichi Yuasa	select ISA
165ade299d8SYoichi Yuasa	select IRQ_CPU
166ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
167ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
168ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
169ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
170ade299d8SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
171ade299d8SYoichi Yuasa	select GENERIC_HARDIRQS_NO__DO_IRQ
17223dd6d35SRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
173ade299d8SYoichi Yuasa	select CPU_HAS_WB
174ade299d8SYoichi Yuasa	help
175ade299d8SYoichi Yuasa	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
176ade299d8SYoichi Yuasa	  an FPGA northbridge
177ade299d8SYoichi Yuasa
1781da177e4SLinus Torvaldsconfig MIPS_ATLAS
1793fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1801da177e4SLinus Torvalds	select BOOT_ELF32
18142f77542SRalf Baechle	select CEVT_R4K
1821da177e4SLinus Torvalds	select DMA_NONCOHERENT
18336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1845e83d430SRalf Baechle	select IRQ_CPU
1851da177e4SLinus Torvalds	select HW_HAS_PCI
1865e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1875e83d430SRalf Baechle	select MIPS_BONITO64
188252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1895e83d430SRalf Baechle	select MIPS_MSC
190f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1911da177e4SLinus Torvalds	select SWAP_IO_SPACE
1927cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1937cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1947cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1957cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1967cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
197ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
198ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1995e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2005e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
201f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
2029693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
203e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
2041da177e4SLinus Torvalds	help
205f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
2061da177e4SLinus Torvalds	  board.
2071da177e4SLinus Torvalds
2081da177e4SLinus Torvaldsconfig MIPS_MALTA
2093fa986faSMartin Michlmayr	bool "MIPS Malta board"
21061ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2111da177e4SLinus Torvalds	select BOOT_ELF32
21242f77542SRalf Baechle	select CEVT_R4K
2131da177e4SLinus Torvalds	select DMA_NONCOHERENT
2141da177e4SLinus Torvalds	select GENERIC_ISA_DMA
215aa414dffSRalf Baechle	select IRQ_CPU
2161da177e4SLinus Torvalds	select HW_HAS_PCI
217d865bea4SRalf Baechle	select I8253
2181da177e4SLinus Torvalds	select I8259
2195e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2205e83d430SRalf Baechle	select MIPS_BONITO64
2219318c51aSChris Dearman	select MIPS_CPU_SCACHE
222252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2235e83d430SRalf Baechle	select MIPS_MSC
2241da177e4SLinus Torvalds	select SWAP_IO_SPACE
2257cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2267cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2277cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2287cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2297cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
23036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
231ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
232ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2335e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2345e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
235f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2369693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2371da177e4SLinus Torvalds	help
238f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2391da177e4SLinus Torvalds	  board.
2401da177e4SLinus Torvalds
2411da177e4SLinus Torvaldsconfig MIPS_SEAD
242d98cc84dSRalf Baechle	bool "MIPS SEAD board"
24342f77542SRalf Baechle	select CEVT_R4K
2441da177e4SLinus Torvalds	select IRQ_CPU
2451da177e4SLinus Torvalds	select DMA_NONCOHERENT
24636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2475e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2487cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2497cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2507cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
251ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2525e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2535e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2545e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2559693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
256f638d197SMaciej W. Rozycki	help
257f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
258f638d197SMaciej W. Rozycki	  board.
2591da177e4SLinus Torvalds
260c78cbf49SRalf Baechleconfig MIPS_SIM
2613fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
26242f77542SRalf Baechle	select CEVT_R4K
263c78cbf49SRalf Baechle	select DMA_NONCOHERENT
26436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
265c78cbf49SRalf Baechle	select IRQ_CPU
2669267a30dSMarc St-Jean	select BOOT_RAW
2677cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2687cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
26936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
270c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
271c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
272f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
273c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
274c78cbf49SRalf Baechle	help
275c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
276c78cbf49SRalf Baechle	  emulator.
277c78cbf49SRalf Baechle
278ade299d8SYoichi Yuasaconfig MARKEINS
279ade299d8SYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
28042f77542SRalf Baechle	select CEVT_R4K
281ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
282ade299d8SYoichi Yuasa	select HW_HAS_PCI
283ade299d8SYoichi Yuasa	select IRQ_CPU
284ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
285ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
286ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
287ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
288ade299d8SYoichi Yuasa	select SYS_HAS_CPU_R5000
289ade299d8SYoichi Yuasa	help
290ade299d8SYoichi Yuasa	  This enables support for the R5432-based NEC Mark-eins
291ade299d8SYoichi Yuasa	  boards with R5500 CPU.
292ade299d8SYoichi Yuasa
2935e83d430SRalf Baechleconfig MACH_VR41XX
29474142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
29542f77542SRalf Baechle	select CEVT_R4K
2967cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
2979fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
2985e83d430SRalf Baechle
299ade299d8SYoichi Yuasaconfig PNX8550_JBS
300ade299d8SYoichi Yuasa	bool "Philips PNX8550 based JBS board"
301ade299d8SYoichi Yuasa	select PNX8550
302ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
303ade299d8SYoichi Yuasa
304ade299d8SYoichi Yuasaconfig PNX8550_STB810
305ade299d8SYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
306ade299d8SYoichi Yuasa	select PNX8550
307ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
308ade299d8SYoichi Yuasa
3099267a30dSMarc St-Jeanconfig PMC_MSP
3109267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3119267a30dSMarc St-Jean	depends on EXPERIMENTAL
3129267a30dSMarc St-Jean	select DMA_NONCOHERENT
3139267a30dSMarc St-Jean	select SWAP_IO_SPACE
3149267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3159267a30dSMarc St-Jean	select BOOT_RAW
3169267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3179267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3189267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3199267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3209267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
3219267a30dSMarc St-Jean	select IRQ_CPU
3229267a30dSMarc St-Jean	select SERIAL_8250
3239267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3249267a30dSMarc St-Jean	help
3259267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3269267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3279267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3289267a30dSMarc St-Jean	  a variety of MIPS cores.
3299267a30dSMarc St-Jean
3305e83d430SRalf Baechleconfig PMC_YOSEMITE
3313fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
33242f77542SRalf Baechle	select CEVT_R4K
3335e83d430SRalf Baechle	select DMA_COHERENT
3345e83d430SRalf Baechle	select HW_HAS_PCI
3355e83d430SRalf Baechle	select IRQ_CPU
3365e83d430SRalf Baechle	select IRQ_CPU_RM7K
3375e83d430SRalf Baechle	select IRQ_CPU_RM9K
3385e83d430SRalf Baechle	select SWAP_IO_SPACE
3397cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
34036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3415e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3425e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3435e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3445e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
345cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
346e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3475e83d430SRalf Baechle	help
3485e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3495e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3501da177e4SLinus Torvalds
35107119621SRalf Baechleconfig QEMU
3523fa986faSMartin Michlmayr	bool "Qemu"
35342f77542SRalf Baechle	select CEVT_R4K
35407119621SRalf Baechle	select DMA_COHERENT
35507119621SRalf Baechle	select GENERIC_ISA_DMA
35607119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
357d865bea4SRalf Baechle	select I8253
35807119621SRalf Baechle	select I8259
3597bcf7717SRalf Baechle	select IRQ_CPU
36007119621SRalf Baechle	select ISA
361de61b542SRalf Baechle	select PCSPEAKER
36207119621SRalf Baechle	select SWAP_IO_SPACE
3637cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
36407119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
36507119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
366c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
367b1c6cd42SAtsushi Nemoto	select ARCH_SPARSEMEM_ENABLE
3689fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
36972ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
37072ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
37107119621SRalf Baechle	help
37207119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
37307119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
37407119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
37507119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
37607119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
37707119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
37807119621SRalf Baechle
3791da177e4SLinus Torvaldsconfig SGI_IP22
3803fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3811da177e4SLinus Torvalds	select ARC
3821da177e4SLinus Torvalds	select ARC32
3831da177e4SLinus Torvalds	select BOOT_ELF32
38442f77542SRalf Baechle	select CEVT_R4K
3851da177e4SLinus Torvalds	select DMA_NONCOHERENT
3865e83d430SRalf Baechle	select HW_HAS_EISA
387d865bea4SRalf Baechle	select I8253
3881da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3891da177e4SLinus Torvalds	select IRQ_CPU
390aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
3911da177e4SLinus Torvalds	select SWAP_IO_SPACE
3927cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3937cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
39436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
395ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
396ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3975e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3981da177e4SLinus Torvalds	help
3991da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4001da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4011da177e4SLinus Torvalds	  that runs on these, say Y here.
4021da177e4SLinus Torvalds
4031da177e4SLinus Torvaldsconfig SGI_IP27
4043fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4051da177e4SLinus Torvalds	select ARC
4061da177e4SLinus Torvalds	select ARC64
4075e83d430SRalf Baechle	select BOOT_ELF64
4081da177e4SLinus Torvalds	select DMA_IP27
40936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4101da177e4SLinus Torvalds	select HW_HAS_PCI
411130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4127cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
413ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4145e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
415cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
416d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4171a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
418e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
4191da177e4SLinus Torvalds	help
4201da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4211da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4221da177e4SLinus Torvalds	  here.
4231da177e4SLinus Torvalds
4241da177e4SLinus Torvaldsconfig SGI_IP32
425cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4261da177e4SLinus Torvalds	select ARC
4271da177e4SLinus Torvalds	select ARC32
4281da177e4SLinus Torvalds	select BOOT_ELF32
42942f77542SRalf Baechle	select CEVT_R4K
4301da177e4SLinus Torvalds	select DMA_NONCOHERENT
4311da177e4SLinus Torvalds	select HW_HAS_PCI
432dd67b155SRalf Baechle	select IRQ_CPU
4331da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4341da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4357cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4367cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4377cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
438dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
439ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4405e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4411da177e4SLinus Torvalds	help
4421da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4431da177e4SLinus Torvalds
444ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
445ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4465e83d430SRalf Baechle	depends on EXPERIMENTAL
4475e83d430SRalf Baechle	select BOOT_ELF32
4485e83d430SRalf Baechle	select DMA_COHERENT
4495e83d430SRalf Baechle	select SIBYTE_BCM1120
4505e83d430SRalf Baechle	select SWAP_IO_SPACE
4517cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4525e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4535e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4545e83d430SRalf Baechle
455ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
456ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4575e83d430SRalf Baechle	depends on EXPERIMENTAL
4585e83d430SRalf Baechle	select BOOT_ELF32
4595e83d430SRalf Baechle	select DMA_COHERENT
4605e83d430SRalf Baechle	select SIBYTE_BCM1120
4615e83d430SRalf Baechle	select SWAP_IO_SPACE
4627cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4635e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4645e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4655e83d430SRalf Baechle
4665e83d430SRalf Baechleconfig SIBYTE_CRHONE
4673fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4685e83d430SRalf Baechle	depends on EXPERIMENTAL
4695e83d430SRalf Baechle	select BOOT_ELF32
4705e83d430SRalf Baechle	select DMA_COHERENT
4715e83d430SRalf Baechle	select SIBYTE_BCM1125
4725e83d430SRalf Baechle	select SWAP_IO_SPACE
4737cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4745e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4755e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4765e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4775e83d430SRalf Baechle
478ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
479ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
480ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
481ade299d8SYoichi Yuasa	select BOOT_ELF32
482ade299d8SYoichi Yuasa	select DMA_COHERENT
483ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
484ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
485ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
486ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
487ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
488ade299d8SYoichi Yuasa
489ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
490ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
491ade299d8SYoichi Yuasa	select BOOT_ELF32
492ade299d8SYoichi Yuasa	select DMA_COHERENT
493ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
494ade299d8SYoichi Yuasa	select SIBYTE_SB1250
495ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
496ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
497ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
498ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
499ade299d8SYoichi Yuasa	select SYS_SUPPORTS_KGDB
500ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
501ade299d8SYoichi Yuasa
502ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
503ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
504ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
505ade299d8SYoichi Yuasa	select BOOT_ELF32
506ade299d8SYoichi Yuasa	select DMA_COHERENT
507ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
508ade299d8SYoichi Yuasa	select SIBYTE_SB1250
509ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
510ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
511ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
512ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
513ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
514ade299d8SYoichi Yuasa
515ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
516ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
517ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
518ade299d8SYoichi Yuasa	select BOOT_ELF32
519ade299d8SYoichi Yuasa	select DMA_COHERENT
520ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
521ade299d8SYoichi Yuasa	select SIBYTE_SB1250
522ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
523ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
524ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
525ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
526ade299d8SYoichi Yuasa
527ade299d8SYoichi Yuasaconfig SIBYTE_PTSWARM
528ade299d8SYoichi Yuasa	bool "Sibyte BCM91250PT-PTSWARM"
529ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
530ade299d8SYoichi Yuasa	select BOOT_ELF32
531ade299d8SYoichi Yuasa	select DMA_COHERENT
532ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
533ade299d8SYoichi Yuasa	select SIBYTE_SB1250
534ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
535ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
536ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
537ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
538ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
539ade299d8SYoichi Yuasa
540ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
541ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
542ade299d8SYoichi Yuasa	select BOOT_ELF32
543ade299d8SYoichi Yuasa	select DMA_COHERENT
544ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
545ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
546ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
547ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
548ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
549*651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
550ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
551ade299d8SYoichi Yuasa
55214b36af4SThomas Bogendoerferconfig SNI_RM
55314b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5544a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5554a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
5565e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5575e83d430SRalf Baechle	select BOOT_ELF32
55842f77542SRalf Baechle	select CEVT_R4K
5595e83d430SRalf Baechle	select DMA_NONCOHERENT
5605e83d430SRalf Baechle	select GENERIC_ISA_DMA
5615e83d430SRalf Baechle	select HW_HAS_EISA
5625e83d430SRalf Baechle	select HW_HAS_PCI
563c066a32aSThomas Bogendoerfer	select IRQ_CPU
564d865bea4SRalf Baechle	select I8253
5655e83d430SRalf Baechle	select I8259
5665e83d430SRalf Baechle	select ISA
567de61b542SRalf Baechle	select PCSPEAKER
5684a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5697cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5704a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
571c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5724a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
57336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
574ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5755e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5764a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5775e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5785e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5791da177e4SLinus Torvalds	help
58014b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
58114b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5825e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5835e83d430SRalf Baechle	  support this machine type.
5841da177e4SLinus Torvalds
5855e83d430SRalf Baechleconfig TOSHIBA_JMR3927
5863fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
587229f773eSAtsushi Nemoto	select CEVT_TXX9
5885e83d430SRalf Baechle	select DMA_NONCOHERENT
5895e83d430SRalf Baechle	select HW_HAS_PCI
5905e83d430SRalf Baechle	select MIPS_TX3927
591c87abd75SAtsushi Nemoto	select IRQ_TXX9
5925e83d430SRalf Baechle	select SWAP_IO_SPACE
5937cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
5945e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5956a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5965e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5972127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5985e83d430SRalf Baechle
5995e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
60008a91283SYoichi Yuasa	bool "Toshiba RBTX49[23]7 board"
60142f77542SRalf Baechle	select CEVT_R4K
602229f773eSAtsushi Nemoto	select CEVT_TXX9
6035e83d430SRalf Baechle	select DMA_NONCOHERENT
6045e83d430SRalf Baechle	select HAS_TXX9_SERIAL
6055e83d430SRalf Baechle	select HW_HAS_PCI
606c87abd75SAtsushi Nemoto	select IRQ_CPU
607c87abd75SAtsushi Nemoto	select IRQ_TXX9
608c87abd75SAtsushi Nemoto	select I8259 if TOSHIBA_FPCIB0
6095e83d430SRalf Baechle	select SWAP_IO_SPACE
6107cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
6115e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6125e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
6136a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6145e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
615cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6169fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6175e83d430SRalf Baechle	help
6185e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
6195e83d430SRalf Baechle	  support this machine type
6201da177e4SLinus Torvalds
62123fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
6223fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
62342f77542SRalf Baechle	select CEVT_R4K
624229f773eSAtsushi Nemoto	select CEVT_TXX9
62523fbee9dSRalf Baechle	select DMA_NONCOHERENT
62623fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
62723fbee9dSRalf Baechle	select HW_HAS_PCI
628c87abd75SAtsushi Nemoto	select IRQ_CPU
629c87abd75SAtsushi Nemoto	select IRQ_TXX9
63023fbee9dSRalf Baechle	select SWAP_IO_SPACE
6317cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
63223fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
63323fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
63423fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
635cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6369fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6373896b054SAtsushi Nemoto	select GENERIC_GPIO
63823fbee9dSRalf Baechle	help
63923fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
64023fbee9dSRalf Baechle	  support this machine type
64123fbee9dSRalf Baechle
642ade299d8SYoichi Yuasaconfig WR_PPMC
643ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
64442f77542SRalf Baechle	select CEVT_R4K
645ade299d8SYoichi Yuasa	select IRQ_CPU
646ade299d8SYoichi Yuasa	select BOOT_ELF32
647ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
648ade299d8SYoichi Yuasa	select HW_HAS_PCI
649ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
650ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
651ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
652ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
653ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
654ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
655ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
656ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
657ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
658ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
659ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
660ade299d8SYoichi Yuasa	help
661ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
662ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
663ade299d8SYoichi Yuasa
6641da177e4SLinus Torvaldsendchoice
6651da177e4SLinus Torvalds
666c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6675e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6681f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6695e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
67029c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
67138b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6725e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
67323fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6745e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
67538b18f72SRalf Baechle
6765e83d430SRalf Baechleendmenu
6775e83d430SRalf Baechle
6781da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6791da177e4SLinus Torvalds	bool
6801da177e4SLinus Torvalds	default y
6811da177e4SLinus Torvalds
6821da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6831da177e4SLinus Torvalds	bool
6841da177e4SLinus Torvalds
685f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
686f0d1b0b3SDavid Howells	bool
687f0d1b0b3SDavid Howells	default n
688f0d1b0b3SDavid Howells
689f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
690f0d1b0b3SDavid Howells	bool
691f0d1b0b3SDavid Howells	default n
692f0d1b0b3SDavid Howells
6933c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6943c9ee7efSAkinobu Mita	bool
6953c9ee7efSAkinobu Mita	default y
6963c9ee7efSAkinobu Mita
6973c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6983c9ee7efSAkinobu Mita	bool
6993c9ee7efSAkinobu Mita	default y
7003c9ee7efSAkinobu Mita
7011da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7021da177e4SLinus Torvalds	bool
7031da177e4SLinus Torvalds	default y
7041da177e4SLinus Torvalds
7057bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7067bcf7717SRalf Baechle	bool
7077bcf7717SRalf Baechle	default y
7087bcf7717SRalf Baechle
7098db02010SRalf Baechleconfig GENERIC_TIME
7108db02010SRalf Baechle	bool
7118db02010SRalf Baechle	default y
7128db02010SRalf Baechle
713f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
714f5ff0a28SRalf Baechle	bool
715f5ff0a28SRalf Baechle	default y
716f5ff0a28SRalf Baechle
7171cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
7181cc89038SAtsushi Nemoto	bool
7191cc89038SAtsushi Nemoto	default y
7201cc89038SAtsushi Nemoto
721e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
722e77c232cSFranck Bui-Huu	bool
723e77c232cSFranck Bui-Huu	default n
724e77c232cSFranck Bui-Huu
7251da177e4SLinus Torvalds#
7261da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7271da177e4SLinus Torvalds#
7281da177e4SLinus Torvaldsconfig ARC
7291da177e4SLinus Torvalds	bool
7301da177e4SLinus Torvalds
73161ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
73261ed242dSRalf Baechle	bool
73361ed242dSRalf Baechle
7349267a30dSMarc St-Jeanconfig BOOT_RAW
7359267a30dSMarc St-Jean	bool
7369267a30dSMarc St-Jean
737217dd11eSRalf Baechleconfig CEVT_BCM1480
738217dd11eSRalf Baechle	bool
739217dd11eSRalf Baechle
7401097c6acSYoichi Yuasaconfig CEVT_GT641XX
7411097c6acSYoichi Yuasa	bool
7421097c6acSYoichi Yuasa
74342f77542SRalf Baechleconfig CEVT_R4K
74442f77542SRalf Baechle	bool
74542f77542SRalf Baechle
746217dd11eSRalf Baechleconfig CEVT_SB1250
747217dd11eSRalf Baechle	bool
748217dd11eSRalf Baechle
749229f773eSAtsushi Nemotoconfig CEVT_TXX9
750229f773eSAtsushi Nemoto	bool
751229f773eSAtsushi Nemoto
752217dd11eSRalf Baechleconfig CSRC_BCM1480
753217dd11eSRalf Baechle	bool
754217dd11eSRalf Baechle
755217dd11eSRalf Baechleconfig CSRC_SB1250
756217dd11eSRalf Baechle	bool
757217dd11eSRalf Baechle
758df78b5c8SAurelien Jarnoconfig CFE
759df78b5c8SAurelien Jarno	bool
760df78b5c8SAurelien Jarno
7611da177e4SLinus Torvaldsconfig DMA_COHERENT
7621da177e4SLinus Torvalds	bool
7631da177e4SLinus Torvalds
7641da177e4SLinus Torvaldsconfig DMA_IP27
7651da177e4SLinus Torvalds	bool
7661da177e4SLinus Torvalds
7674ce588cdSRalf Baechleconfig DMA_IP32
7684ce588cdSRalf Baechle	bool
7694ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7704ce588cdSRalf Baechle
7711da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7721da177e4SLinus Torvalds	bool
7734ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7744ce588cdSRalf Baechle
7754ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7764ce588cdSRalf Baechle	bool
7771da177e4SLinus Torvalds
7781da177e4SLinus Torvaldsconfig EARLY_PRINTK
77936a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
78036a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
78136a88530SRalf Baechle	default y
78236a88530SRalf Baechle	help
78336a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
78436a88530SRalf Baechle	  to print messages very early in the bootup process.
78536a88530SRalf Baechle
78636a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
787490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
788490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
789490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
79036a88530SRalf Baechle	  unless you want to debug such a crash.
79136a88530SRalf Baechle
79236a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7931da177e4SLinus Torvalds	bool
7941da177e4SLinus Torvalds
795dbb74540SRalf Baechleconfig HOTPLUG_CPU
796dbb74540SRalf Baechle	bool
797dbb74540SRalf Baechle	default n
798dbb74540SRalf Baechle
7991da177e4SLinus Torvaldsconfig I8259
8001da177e4SLinus Torvalds	bool
8011da177e4SLinus Torvalds
8021da177e4SLinus Torvaldsconfig MIPS_BONITO64
8031da177e4SLinus Torvalds	bool
8041da177e4SLinus Torvalds
8051da177e4SLinus Torvaldsconfig MIPS_MSC
8061da177e4SLinus Torvalds	bool
8071da177e4SLinus Torvalds
8081f21d2bdSBrian Murphyconfig MIPS_NILE4
8091f21d2bdSBrian Murphy	bool
8101f21d2bdSBrian Murphy
8111da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8121da177e4SLinus Torvalds	bool
8131da177e4SLinus Torvalds
814d388d685SMaciej W. Rozyckiconfig NO_IOPORT
815d388d685SMaciej W. Rozycki	def_bool n
816d388d685SMaciej W. Rozycki
8178313da30SRalf Baechleconfig GENERIC_ISA_DMA
8188313da30SRalf Baechle	bool
8198313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
8208313da30SRalf Baechle
821aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
822aa414dffSRalf Baechle	bool
8238313da30SRalf Baechle	select GENERIC_ISA_DMA
824aa414dffSRalf Baechle
82509663335SYoichi Yuasaconfig GENERIC_GPIO
82609663335SYoichi Yuasa	bool
82709663335SYoichi Yuasa
8285e83d430SRalf Baechle#
8293cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
8305e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
8315e83d430SRalf Baechle# choice statement should be more obvious to the user.
8325e83d430SRalf Baechle#
8335e83d430SRalf Baechlechoice
8345e83d430SRalf Baechle	prompt "Endianess selection"
8351da177e4SLinus Torvalds	help
8361da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
8375e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
8383cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
8395e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
8403dde6ad8SDavid Sterba	  one or the other endianness.
8415e83d430SRalf Baechle
8425e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
8435e83d430SRalf Baechle	bool "Big endian"
8445e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
8455e83d430SRalf Baechle
8465e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8475e83d430SRalf Baechle	bool "Little endian"
8485e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8495e83d430SRalf Baechle	help
8505e83d430SRalf Baechle
8515e83d430SRalf Baechleendchoice
8525e83d430SRalf Baechle
8532116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8542116245eSRalf Baechle	bool
8552116245eSRalf Baechle
8565e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8575e83d430SRalf Baechle	bool
8585e83d430SRalf Baechle
8595e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8605e83d430SRalf Baechle	bool
8611da177e4SLinus Torvalds
8621da177e4SLinus Torvaldsconfig IRQ_CPU
8631da177e4SLinus Torvalds	bool
8641da177e4SLinus Torvalds
8651da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8661da177e4SLinus Torvalds	bool
8671da177e4SLinus Torvalds
8685e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8695e83d430SRalf Baechle	bool
8705e83d430SRalf Baechle
8719267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8729267a30dSMarc St-Jean	bool
8739267a30dSMarc St-Jean
8749267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
8759267a30dSMarc St-Jean	bool
8769267a30dSMarc St-Jean
8778420fd00SAtsushi Nemotoconfig IRQ_TXX9
8788420fd00SAtsushi Nemoto	bool
8798420fd00SAtsushi Nemoto
880d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
881d5ab1a69SYoichi Yuasa	bool
882d5ab1a69SYoichi Yuasa
8831da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8841da177e4SLinus Torvalds	bool
8851da177e4SLinus Torvalds
886252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8871da177e4SLinus Torvalds	bool
8881da177e4SLinus Torvalds
8899267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
8909267a30dSMarc St-Jean	bool
8919267a30dSMarc St-Jean
8921da177e4SLinus Torvaldsconfig MIPS_TX3927
8931da177e4SLinus Torvalds	bool
8941da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
8951da177e4SLinus Torvalds
896663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
897663c3d90Sthomas@koeller.dyndns.org	bool
898663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
899663c3d90Sthomas@koeller.dyndns.org
900bdf21b18SPete Popovconfig PNX8550
901bdf21b18SPete Popov	bool
902bdf21b18SPete Popov	select SOC_PNX8550
903bdf21b18SPete Popov
904bdf21b18SPete Popovconfig SOC_PNX8550
905bdf21b18SPete Popov	bool
906bdf21b18SPete Popov	select DMA_NONCOHERENT
907bdf21b18SPete Popov	select HW_HAS_PCI
908b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
90936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
9107cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
911e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
912cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
9134ead1681SFlorian Fainelli	select GENERIC_GPIO
914bdf21b18SPete Popov
9151da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
9161da177e4SLinus Torvalds	bool
9171da177e4SLinus Torvalds
918355c471fSdmitry pervushinconfig EMMA2RH
919355c471fSdmitry pervushin	bool
920355c471fSdmitry pervushin	depends on MARKEINS
921355c471fSdmitry pervushin	default y
922355c471fSdmitry pervushin
923663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
924663c3d90Sthomas@koeller.dyndns.org	bool
925663c3d90Sthomas@koeller.dyndns.org
9265e83d430SRalf Baechleconfig ARC32
9275e83d430SRalf Baechle	bool
9285e83d430SRalf Baechle
9291da177e4SLinus Torvaldsconfig BOOT_ELF32
9301da177e4SLinus Torvalds	bool
9311da177e4SLinus Torvalds
9321da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
9331da177e4SLinus Torvalds	int
93406cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
93506cf5583SThomas Bogendoerfer	default "7" if SGI_IP27 || SNI_RM
9369267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
9371da177e4SLinus Torvalds	default "5"
9381da177e4SLinus Torvalds
9391da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
9401da177e4SLinus Torvalds	bool
9411da177e4SLinus Torvalds
9421da177e4SLinus Torvaldsconfig ARC_CONSOLE
9431da177e4SLinus Torvalds	bool "ARC console support"
94436a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
9451da177e4SLinus Torvalds
9461da177e4SLinus Torvaldsconfig ARC_MEMORY
9471da177e4SLinus Torvalds	bool
94814b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9491da177e4SLinus Torvalds	default y
9501da177e4SLinus Torvalds
9511da177e4SLinus Torvaldsconfig ARC_PROMLIB
9521da177e4SLinus Torvalds	bool
95314b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
9541da177e4SLinus Torvalds	default y
9551da177e4SLinus Torvalds
9561da177e4SLinus Torvaldsconfig ARC64
9571da177e4SLinus Torvalds	bool
9581da177e4SLinus Torvalds
9591da177e4SLinus Torvaldsconfig BOOT_ELF64
9601da177e4SLinus Torvalds	bool
9611da177e4SLinus Torvalds
9621da177e4SLinus Torvaldsmenu "CPU selection"
9631da177e4SLinus Torvalds
9647bcf7717SRalf Baechlesource "kernel/time/Kconfig"
9657bcf7717SRalf Baechle
9661da177e4SLinus Torvaldschoice
9671da177e4SLinus Torvalds	prompt "CPU type"
9681da177e4SLinus Torvalds	default CPU_R4X00
9691da177e4SLinus Torvalds
9702a21c730SFuxin Zhangconfig CPU_LOONGSON2
9712a21c730SFuxin Zhang	bool "Loongson 2"
9722a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
9732a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
9742a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
9752a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
9762a21c730SFuxin Zhang	help
9772a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
9782a21c730SFuxin Zhang	  with many extensions.
9792a21c730SFuxin Zhang
9806e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9816e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9827cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
983f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9846e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
985797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
986ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9876e760c8dSRalf Baechle	help
9885e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9891e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9901e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9911e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9921e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9931e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9941e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9951e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9961e5f1caaSRalf Baechle	  performance.
9971e5f1caaSRalf Baechle
9981e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9991e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
10007cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
1001f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10021e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1003797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1004ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10051e5f1caaSRalf Baechle	help
10065e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10076e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10086e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10096e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10106e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10111da177e4SLinus Torvalds
10126e760c8dSRalf Baechleconfig CPU_MIPS64_R1
10136e760c8dSRalf Baechle	bool "MIPS64 Release 1"
10147cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1015f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1016797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1017ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1018ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1019ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10206e760c8dSRalf Baechle	help
10216e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10226e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10236e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10246e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10256e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10261e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
10271e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
10281e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
10291e5f1caaSRalf Baechle	  performance.
10301e5f1caaSRalf Baechle
10311e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
10321e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
10337cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1034f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1035797798c1SRalf Baechle	select CPU_HAS_PREFETCH
10361e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10371e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1038ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10391e5f1caaSRalf Baechle	help
10401e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10411e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10421e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10431e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10441e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10451da177e4SLinus Torvalds
10461da177e4SLinus Torvaldsconfig CPU_R3000
10471da177e4SLinus Torvalds	bool "R3000"
10487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1049f7062ddbSRalf Baechle	select CPU_HAS_WB
1050ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1051797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10521da177e4SLinus Torvalds	help
10531da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
10541da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
10551da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
10561da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
10571da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
10581da177e4SLinus Torvalds	  try to recompile with R3000.
10591da177e4SLinus Torvalds
10601da177e4SLinus Torvaldsconfig CPU_TX39XX
10611da177e4SLinus Torvalds	bool "R39XX"
10627cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1063ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10641da177e4SLinus Torvalds
10651da177e4SLinus Torvaldsconfig CPU_VR41XX
10661da177e4SLinus Torvalds	bool "R41xx"
10677cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1068ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1069ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10701da177e4SLinus Torvalds	help
10715e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
10721da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
10731da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10741da177e4SLinus Torvalds	  processor or vice versa.
10751da177e4SLinus Torvalds
10761da177e4SLinus Torvaldsconfig CPU_R4300
10771da177e4SLinus Torvalds	bool "R4300"
10787cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1079f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1080ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1081ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10821da177e4SLinus Torvalds	help
10831da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10841da177e4SLinus Torvalds
10851da177e4SLinus Torvaldsconfig CPU_R4X00
10861da177e4SLinus Torvalds	bool "R4x00"
10877cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1088f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1089ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1090ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10911da177e4SLinus Torvalds	help
10921da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10931da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10941da177e4SLinus Torvalds
10951da177e4SLinus Torvaldsconfig CPU_TX49XX
10961da177e4SLinus Torvalds	bool "R49XX"
10977cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1098f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1099de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1100ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1101ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11021da177e4SLinus Torvalds
11031da177e4SLinus Torvaldsconfig CPU_R5000
11041da177e4SLinus Torvalds	bool "R5000"
11057cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1106f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1107ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1108ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11091da177e4SLinus Torvalds	help
11101da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
11111da177e4SLinus Torvalds
11121da177e4SLinus Torvaldsconfig CPU_R5432
11131da177e4SLinus Torvalds	bool "R5432"
11147cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1115f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11165e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11175e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
11181da177e4SLinus Torvalds
11191da177e4SLinus Torvaldsconfig CPU_R6000
11201da177e4SLinus Torvalds	bool "R6000"
1121ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1122f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11237cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1124ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11251da177e4SLinus Torvalds	help
11261da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1127c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
11281da177e4SLinus Torvalds
11291da177e4SLinus Torvaldsconfig CPU_NEVADA
11301da177e4SLinus Torvalds	bool "RM52xx"
11317cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1132f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1133ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1134ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11351da177e4SLinus Torvalds	help
11361da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
11371da177e4SLinus Torvalds
11381da177e4SLinus Torvaldsconfig CPU_R8000
11391da177e4SLinus Torvalds	bool "R8000"
1140ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
11417cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1142f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11435e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1144ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11451da177e4SLinus Torvalds	help
11461da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
11471da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
11481da177e4SLinus Torvalds
11491da177e4SLinus Torvaldsconfig CPU_R10000
11501da177e4SLinus Torvalds	bool "R10000"
11517cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1152f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11535e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1154ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1155ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1156797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11571da177e4SLinus Torvalds	help
11581da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
11591da177e4SLinus Torvalds
11601da177e4SLinus Torvaldsconfig CPU_RM7000
11611da177e4SLinus Torvalds	bool "RM7000"
11627cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1163f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11645e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1165ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1166ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1167797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11681da177e4SLinus Torvalds
11691da177e4SLinus Torvaldsconfig CPU_RM9000
11701da177e4SLinus Torvalds	bool "RM9000"
11717cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1172f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11735e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1174ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1175ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1176797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11770004a9dfSRalf Baechle	select WEAK_ORDERING
11781da177e4SLinus Torvalds
11791da177e4SLinus Torvaldsconfig CPU_SB1
11801da177e4SLinus Torvalds	bool "SB1"
11817cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1182f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1183ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1184ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1185797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11860004a9dfSRalf Baechle	select WEAK_ORDERING
11871da177e4SLinus Torvalds
11881da177e4SLinus Torvaldsendchoice
11891da177e4SLinus Torvalds
11902a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
11912a21c730SFuxin Zhang	bool
11922a21c730SFuxin Zhang
11937cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11947cf8053bSRalf Baechle	bool
11957cf8053bSRalf Baechle
11967cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11977cf8053bSRalf Baechle	bool
11987cf8053bSRalf Baechle
11997cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
12007cf8053bSRalf Baechle	bool
12017cf8053bSRalf Baechle
12027cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
12037cf8053bSRalf Baechle	bool
12047cf8053bSRalf Baechle
12057cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
12067cf8053bSRalf Baechle	bool
12077cf8053bSRalf Baechle
12087cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
12097cf8053bSRalf Baechle	bool
12107cf8053bSRalf Baechle
12117cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
12127cf8053bSRalf Baechle	bool
12137cf8053bSRalf Baechle
12147cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
12157cf8053bSRalf Baechle	bool
12167cf8053bSRalf Baechle
12177cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
12187cf8053bSRalf Baechle	bool
12197cf8053bSRalf Baechle
12207cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
12217cf8053bSRalf Baechle	bool
12227cf8053bSRalf Baechle
12237cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
12247cf8053bSRalf Baechle	bool
12257cf8053bSRalf Baechle
12267cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
12277cf8053bSRalf Baechle	bool
12287cf8053bSRalf Baechle
12297cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
12307cf8053bSRalf Baechle	bool
12317cf8053bSRalf Baechle
12327cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
12337cf8053bSRalf Baechle	bool
12347cf8053bSRalf Baechle
12357cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
12367cf8053bSRalf Baechle	bool
12377cf8053bSRalf Baechle
12387cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
12397cf8053bSRalf Baechle	bool
12407cf8053bSRalf Baechle
12417cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
12427cf8053bSRalf Baechle	bool
12437cf8053bSRalf Baechle
12447cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
12457cf8053bSRalf Baechle	bool
12467cf8053bSRalf Baechle
12477cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
12487cf8053bSRalf Baechle	bool
12497cf8053bSRalf Baechle
125017099b11SRalf Baechle#
125117099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
125217099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
125317099b11SRalf Baechle#
12540004a9dfSRalf Baechleconfig WEAK_ORDERING
12550004a9dfSRalf Baechle	bool
125617099b11SRalf Baechle
125717099b11SRalf Baechle#
125817099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
125917099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
126017099b11SRalf Baechle#
126117099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
126217099b11SRalf Baechle	bool
12635e83d430SRalf Baechleendmenu
12645e83d430SRalf Baechle
12655e83d430SRalf Baechle#
12665e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
12675e83d430SRalf Baechle#
12685e83d430SRalf Baechleconfig CPU_MIPS32
12695e83d430SRalf Baechle	bool
12705e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
12715e83d430SRalf Baechle
12725e83d430SRalf Baechleconfig CPU_MIPS64
12735e83d430SRalf Baechle	bool
12745e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
12755e83d430SRalf Baechle
12765e83d430SRalf Baechle#
1277c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
12785e83d430SRalf Baechle#
12795e83d430SRalf Baechleconfig CPU_MIPSR1
12805e83d430SRalf Baechle	bool
12815e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
12825e83d430SRalf Baechle
12835e83d430SRalf Baechleconfig CPU_MIPSR2
12845e83d430SRalf Baechle	bool
12855e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
12865e83d430SRalf Baechle
12875e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
12885e83d430SRalf Baechle	bool
12895e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12905e83d430SRalf Baechle	bool
12915e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12925e83d430SRalf Baechle	bool
12935e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12945e83d430SRalf Baechle	bool
12955e83d430SRalf Baechle
12965e83d430SRalf Baechlemenu "Kernel type"
12975e83d430SRalf Baechle
12985e83d430SRalf Baechlechoice
12995e83d430SRalf Baechle
13005e83d430SRalf Baechle	prompt "Kernel code model"
13015e83d430SRalf Baechle	help
13025e83d430SRalf Baechle	  You should only select this option if you have a workload that
13035e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
13045e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
13055e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
13065e83d430SRalf Baechle
13075e83d430SRalf Baechleconfig 32BIT
13085e83d430SRalf Baechle	bool "32-bit kernel"
13095e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
13105e83d430SRalf Baechle	select TRAD_SIGNALS
13115e83d430SRalf Baechle	help
13125e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
13135e83d430SRalf Baechleconfig 64BIT
13145e83d430SRalf Baechle	bool "64-bit kernel"
13155e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
13165e83d430SRalf Baechle	help
13175e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
13185e83d430SRalf Baechle
13195e83d430SRalf Baechleendchoice
13205e83d430SRalf Baechle
13211da177e4SLinus Torvaldschoice
13221da177e4SLinus Torvalds	prompt "Kernel page size"
13231da177e4SLinus Torvalds	default PAGE_SIZE_4KB
13241da177e4SLinus Torvalds
13251da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
13261da177e4SLinus Torvalds	bool "4kB"
13271da177e4SLinus Torvalds	help
13281da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
13291da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
13301da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
13311da177e4SLinus Torvalds	 recommended for low memory systems.
13321da177e4SLinus Torvalds
13331da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
13341da177e4SLinus Torvalds	bool "8kB"
13351da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
13361da177e4SLinus Torvalds	help
13371da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
13381da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
13391da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
13401da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
13411da177e4SLinus Torvalds	  compatibility of user applications.
13421da177e4SLinus Torvalds
13431da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
13441da177e4SLinus Torvalds	bool "16kB"
1345714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
13461da177e4SLinus Torvalds	help
13471da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
13481da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1349714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1350714bfad6SRalf Baechle	  Linux distribution to support this.
13511da177e4SLinus Torvalds
13521da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
13531da177e4SLinus Torvalds	bool "64kB"
13541da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
13551da177e4SLinus Torvalds	help
13561da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
13571da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
13581da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1359714bfad6SRalf Baechle	  writing this option is still high experimental.
13601da177e4SLinus Torvalds
13611da177e4SLinus Torvaldsendchoice
13621da177e4SLinus Torvalds
13631da177e4SLinus Torvaldsconfig BOARD_SCACHE
13641da177e4SLinus Torvalds	bool
13651da177e4SLinus Torvalds
13661da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
13671da177e4SLinus Torvalds	bool
13681da177e4SLinus Torvalds	select BOARD_SCACHE
13691da177e4SLinus Torvalds
13709318c51aSChris Dearman#
13719318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
13729318c51aSChris Dearman#
13739318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
13749318c51aSChris Dearman	bool
13759318c51aSChris Dearman	select BOARD_SCACHE
13769318c51aSChris Dearman
13771da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
13781da177e4SLinus Torvalds	bool
13791da177e4SLinus Torvalds	select BOARD_SCACHE
13801da177e4SLinus Torvalds
13811da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
13821da177e4SLinus Torvalds	bool
13831da177e4SLinus Torvalds	select BOARD_SCACHE
13841da177e4SLinus Torvalds
13851da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
13861da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
13871da177e4SLinus Torvalds	depends on CPU_SB1
13881da177e4SLinus Torvalds	help
13891da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13901da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13911da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13921da177e4SLinus Torvalds
13931da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1394c8094b53SRalf Baechle	bool
13951da177e4SLinus Torvalds
1396340ee4b9SRalf Baechlechoice
1397340ee4b9SRalf Baechle	prompt "MIPS MT options"
1398f41ae0b2SRalf Baechle
1399f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1400f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1401f41ae0b2SRalf Baechle	help
1402f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1403f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1404f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1405f41ae0b2SRalf Baechle	  option in this menu.
1406340ee4b9SRalf Baechle
140759d6ab86SRalf Baechleconfig MIPS_MT_SMP
140859d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
140959d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
141059d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1411d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
141259d6ab86SRalf Baechle	select CPU_MIPSR2_SRS
141359d6ab86SRalf Baechle	select MIPS_MT
1414f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
141559d6ab86SRalf Baechle	select SMP
141659d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
141759d6ab86SRalf Baechle	help
141859d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
141959d6ab86SRalf Baechle	  has been marketesed into SMVP.
142059d6ab86SRalf Baechle
142141c594abSRalf Baechleconfig MIPS_MT_SMTC
142241c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1423f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1424f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1425f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1426ea580401SRalf Baechle	select GENERIC_CLOCKEVENTS_BROADCAST
1427f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1428d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1429f7062ddbSRalf Baechle	select CPU_MIPSR2_SRS
1430f41ae0b2SRalf Baechle	select MIPS_MT
1431130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
143241c594abSRalf Baechle	select SMP
143373b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1434f41ae0b2SRalf Baechle	help
1435f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1436f41ae0b2SRalf Baechle	  marketesed into SMVP.
143741c594abSRalf Baechle
1438340ee4b9SRalf Baechleendchoice
1439340ee4b9SRalf Baechle
1440f41ae0b2SRalf Baechleconfig MIPS_MT
1441f41ae0b2SRalf Baechle	bool
1442f41ae0b2SRalf Baechle
1443f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1444f41ae0b2SRalf Baechle	bool
1445f41ae0b2SRalf Baechle
1446f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1447f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1448f088fc84SRalf Baechle	default y
144907cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
145007cc0c9eSRalf Baechle
145107cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
145207cc0c9eSRalf Baechle	bool "VPE loader support."
145307cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
145407cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
145507cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
145607cc0c9eSRalf Baechle	select CPU_MIPSR2_SRS
145707cc0c9eSRalf Baechle	select MIPS_MT
145807cc0c9eSRalf Baechle	help
145907cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
146007cc0c9eSRalf Baechle	  onto another VPE and running it.
1461f088fc84SRalf Baechle
1462ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1463ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1464619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1465ac8be955SRalf Baechle	default y
1466ac8be955SRalf Baechle	help
1467ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1468ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1469ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1470ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1471ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1472ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1473ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1474ac8be955SRalf Baechle	  heavy I/O interrupt load.
1475ac8be955SRalf Baechle
14760db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
14770db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
14780db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
14790db34215SKevin D. Kissell	default y
14800db34215SKevin D. Kissell	help
14810db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
14820db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
14830db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
14840db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
14850db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
14860db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
14870db34215SKevin D. Kissell	  what you are doing.
14880db34215SKevin D. Kissell
1489f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1490f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1491f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1492f571eff0SKevin D. Kissell	default n
1493f571eff0SKevin D. Kissell	help
1494f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1495f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1496f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
1497f571eff0SKevin D. Kissell	  platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1498f571eff0SKevin D. Kissell	  be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1499f571eff0SKevin D. Kissell	  interrupt dispatch, and should be used only if you know what
1500f571eff0SKevin D. Kissell	  you are doing.
1501f571eff0SKevin D. Kissell
1502e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1503e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1504e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1505e01402b1SRalf Baechle	default y
1506e01402b1SRalf Baechle	help
1507e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1508e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1509e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1510e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1511e01402b1SRalf Baechle
1512e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1513e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1514e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1515e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
15165e83d430SRalf Baechle	help
1517e01402b1SRalf Baechle
15182600990eSRalf Baechleconfig MIPS_APSP_KSPD
15192600990eSRalf Baechle	bool "Enable KSPD"
15202600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
15212600990eSRalf Baechle	default y
15222600990eSRalf Baechle	help
15232600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
15242600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
15252600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
15262600990eSRalf Baechle	  exiting.  You probably want to say yes here.
15272600990eSRalf Baechle
15281da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
15291da177e4SLinus Torvalds	bool
15301da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
15311da177e4SLinus Torvalds	default y
15321da177e4SLinus Torvalds
15331da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
15341da177e4SLinus Torvalds	bool
15351da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
15361da177e4SLinus Torvalds	default y
15371da177e4SLinus Torvalds
15381da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
15391da177e4SLinus Torvalds	bool
15401da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
15411da177e4SLinus Torvalds	default y
15421da177e4SLinus Torvalds
15431da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1544d806cb2bSRalf Baechle	bool
15451da177e4SLinus Torvalds
15461da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1547f7062ddbSRalf Baechle	bool
15481da177e4SLinus Torvalds
15499693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
15509693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
15519693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
15529693a853SFranck Bui-Huu	help
15539693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
15549693a853SFranck Bui-Huu	  increased security at both hardware and software level for
15559693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
15569693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
15579693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
15589693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
15599693a853SFranck Bui-Huu	  here.
15609693a853SFranck Bui-Huu
15611da177e4SLinus Torvaldsconfig CPU_HAS_WB
1562f7062ddbSRalf Baechle	bool
1563e01402b1SRalf Baechle
15642a21c730SFuxin Zhangconfig 64BIT_CONTEXT
15652a21c730SFuxin Zhang	bool "Save 64bit integer registers"
15662a21c730SFuxin Zhang	depends on 32BIT && CPU_LOONGSON2
15672a21c730SFuxin Zhang	help
15682a21c730SFuxin Zhang	  Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
15692a21c730SFuxin Zhang	  registers can still be accessed as 64bit, mainly for multimedia
15702a21c730SFuxin Zhang	  instructions. We must have all 64bit save/restored to make sure
15712a21c730SFuxin Zhang	  those instructions to get correct result.
15722a21c730SFuxin Zhang
1573f41ae0b2SRalf Baechle#
1574f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1575f41ae0b2SRalf Baechle#
1576e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1577f41ae0b2SRalf Baechle	bool
1578e01402b1SRalf Baechle
1579f41ae0b2SRalf Baechle#
1580f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1581f41ae0b2SRalf Baechle#
1582e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1583f41ae0b2SRalf Baechle	bool
1584e01402b1SRalf Baechle
1585f41ae0b2SRalf Baechle#
1586f41ae0b2SRalf Baechle# Shadow registers are an R2 feature
1587f41ae0b2SRalf Baechle#
1588e01402b1SRalf Baechleconfig CPU_MIPSR2_SRS
1589f41ae0b2SRalf Baechle	bool
1590e01402b1SRalf Baechle
15911da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
15921da177e4SLinus Torvalds	bool
15931da177e4SLinus Torvalds	depends on !CPU_R3000
15941da177e4SLinus Torvalds	default y
15951da177e4SLinus Torvalds
1596ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1597ea580401SRalf Baechle	bool
1598ea580401SRalf Baechle
15991da177e4SLinus Torvalds#
1600797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1601797798c1SRalf Baechle#
1602797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1603797798c1SRalf Baechle	bool
1604797798c1SRalf Baechle	default y
1605797798c1SRalf Baechle
1606797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1607797798c1SRalf Baechle	bool
1608797798c1SRalf Baechle	default y
1609797798c1SRalf Baechle
16100d7012a9SIngo Molnarconfig IRQ_PER_CPU
16110d7012a9SIngo Molnar	bool
16120d7012a9SIngo Molnar
1613797798c1SRalf Baechle#
16141da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
16151da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
16161da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
16171da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
16181da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
16191da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
16201da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
16211da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1622797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1623797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1624797798c1SRalf Baechle#   support.
16251da177e4SLinus Torvalds#
16261da177e4SLinus Torvaldsconfig HIGHMEM
16271da177e4SLinus Torvalds	bool "High Memory Support"
1628797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1629797798c1SRalf Baechle
1630797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1631797798c1SRalf Baechle	bool
1632797798c1SRalf Baechle
1633797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1634797798c1SRalf Baechle	bool
16351da177e4SLinus Torvalds
16369693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
16379693a853SFranck Bui-Huu	bool
16389693a853SFranck Bui-Huu
1639b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1640b4819b59SYoichi Yuasa	def_bool y
1641b4819b59SYoichi Yuasa	depends on !NUMA
1642b4819b59SYoichi Yuasa
1643d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1644d8cb4e11SRalf Baechle	bool
1645d8cb4e11SRalf Baechle	default y if SGI_IP27
1646d8cb4e11SRalf Baechle	help
16473dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1648d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1649d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1650d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1651d8cb4e11SRalf Baechle
1652b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1653b1c6cd42SAtsushi Nemoto	bool
16547de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
165531473747SAtsushi Nemoto
1656d8cb4e11SRalf Baechleconfig NUMA
1657d8cb4e11SRalf Baechle	bool "NUMA Support"
1658d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1659d8cb4e11SRalf Baechle	help
1660d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1661d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1662d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1663d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1664d8cb4e11SRalf Baechle	  disabled.
1665d8cb4e11SRalf Baechle
1666d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1667d8cb4e11SRalf Baechle	bool
1668d8cb4e11SRalf Baechle
1669c80d79d7SYasunori Gotoconfig NODES_SHIFT
1670c80d79d7SYasunori Goto	int
1671c80d79d7SYasunori Goto	default "6"
1672c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1673c80d79d7SYasunori Goto
1674b4819b59SYoichi Yuasasource "mm/Kconfig"
1675b4819b59SYoichi Yuasa
16761da177e4SLinus Torvaldsconfig SMP
16771da177e4SLinus Torvalds	bool "Multi-Processing support"
1678e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1679b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1680e73ea273SRalf Baechle	help
16811da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
16821da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
16831da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
16841da177e4SLinus Torvalds
16851da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
16861da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
16871da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
16881da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
16891da177e4SLinus Torvalds	  will run faster if you say N here.
16901da177e4SLinus Torvalds
16911da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
16921da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
16931da177e4SLinus Torvalds
16941da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
16951da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
16961da177e4SLinus Torvalds
16971da177e4SLinus Torvalds	  If you don't know what to do here, say N.
16981da177e4SLinus Torvalds
1699e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1700e73ea273SRalf Baechle	bool
1701e73ea273SRalf Baechle
170272ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
170372ede9b1SAtsushi Nemoto	bool
170472ede9b1SAtsushi Nemoto
1705130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1706130e2fb7SRalf Baechle	bool
1707130e2fb7SRalf Baechle
1708130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1709130e2fb7SRalf Baechle	bool
1710130e2fb7SRalf Baechle
1711130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1712130e2fb7SRalf Baechle	bool
1713130e2fb7SRalf Baechle
1714130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1715130e2fb7SRalf Baechle	bool
1716130e2fb7SRalf Baechle
1717130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1718130e2fb7SRalf Baechle	bool
1719130e2fb7SRalf Baechle
1720130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1721130e2fb7SRalf Baechle	bool
1722130e2fb7SRalf Baechle
17231da177e4SLinus Torvaldsconfig NR_CPUS
17241da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
172572ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
17261da177e4SLinus Torvalds	depends on SMP
172772ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1728130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1729130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1730130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1731130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1732130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1733130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
17341da177e4SLinus Torvalds	help
17351da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
17361da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
17371da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
173872ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
173972ede9b1SAtsushi Nemoto	  and 2 for all others.
17401da177e4SLinus Torvalds
17411da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
174272ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
174372ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
174472ede9b1SAtsushi Nemoto	  power of two.
17451da177e4SLinus Torvalds
17461723b4a3SAtsushi Nemoto#
17471723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
17481723b4a3SAtsushi Nemoto#
17491723b4a3SAtsushi Nemoto
17501723b4a3SAtsushi Nemotochoice
17511723b4a3SAtsushi Nemoto	prompt "Timer frequency"
17521723b4a3SAtsushi Nemoto	default HZ_250
17531723b4a3SAtsushi Nemoto	help
17541723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
17551723b4a3SAtsushi Nemoto
17561723b4a3SAtsushi Nemoto	config HZ_48
17571723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
17581723b4a3SAtsushi Nemoto
17591723b4a3SAtsushi Nemoto	config HZ_100
17601723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
17611723b4a3SAtsushi Nemoto
17621723b4a3SAtsushi Nemoto	config HZ_128
17631723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
17641723b4a3SAtsushi Nemoto
17651723b4a3SAtsushi Nemoto	config HZ_250
17661723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
17671723b4a3SAtsushi Nemoto
17681723b4a3SAtsushi Nemoto	config HZ_256
17691723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
17701723b4a3SAtsushi Nemoto
17711723b4a3SAtsushi Nemoto	config HZ_1000
17721723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
17731723b4a3SAtsushi Nemoto
17741723b4a3SAtsushi Nemoto	config HZ_1024
17751723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
17761723b4a3SAtsushi Nemoto
17771723b4a3SAtsushi Nemotoendchoice
17781723b4a3SAtsushi Nemoto
17791723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
17801723b4a3SAtsushi Nemoto	bool
17811723b4a3SAtsushi Nemoto
17821723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
17831723b4a3SAtsushi Nemoto	bool
17841723b4a3SAtsushi Nemoto
17851723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
17861723b4a3SAtsushi Nemoto	bool
17871723b4a3SAtsushi Nemoto
17881723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
17891723b4a3SAtsushi Nemoto	bool
17901723b4a3SAtsushi Nemoto
17911723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
17921723b4a3SAtsushi Nemoto	bool
17931723b4a3SAtsushi Nemoto
17941723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
17951723b4a3SAtsushi Nemoto	bool
17961723b4a3SAtsushi Nemoto
17971723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
17981723b4a3SAtsushi Nemoto	bool
17991723b4a3SAtsushi Nemoto
18001723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
18011723b4a3SAtsushi Nemoto	bool
18021723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
18031723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
18041723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
18051723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
18061723b4a3SAtsushi Nemoto
18071723b4a3SAtsushi Nemotoconfig HZ
18081723b4a3SAtsushi Nemoto	int
18091723b4a3SAtsushi Nemoto	default 48 if HZ_48
18101723b4a3SAtsushi Nemoto	default 100 if HZ_100
18111723b4a3SAtsushi Nemoto	default 128 if HZ_128
18121723b4a3SAtsushi Nemoto	default 250 if HZ_250
18131723b4a3SAtsushi Nemoto	default 256 if HZ_256
18141723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
18151723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
18161723b4a3SAtsushi Nemoto
1817e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
18181da177e4SLinus Torvalds
18191da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
18201da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1821875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
18221da177e4SLinus Torvalds	help
18231da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
18241da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
18251da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
18261da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
18271da177e4SLinus Torvalds	  recommended for normal users.
18281da177e4SLinus Torvalds
1829ea6e942bSAtsushi Nemotoconfig KEXEC
1830ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1831ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1832ea6e942bSAtsushi Nemoto	help
1833ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1834ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
18353dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1836ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1837ea6e942bSAtsushi Nemoto
183801dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
1839ea6e942bSAtsushi Nemoto
1840ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1841ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1842ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1843ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1844ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1845ea6e942bSAtsushi Nemoto
1846ea6e942bSAtsushi Nemotoconfig SECCOMP
1847ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1848293c5bd1SRalf Baechle	depends on PROC_FS
1849ea6e942bSAtsushi Nemoto	default y
1850ea6e942bSAtsushi Nemoto	help
1851ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1852ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1853ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1854ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1855ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1856ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1857ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1858ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1859ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1860ea6e942bSAtsushi Nemoto
1861ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1862ea6e942bSAtsushi Nemoto
18635e83d430SRalf Baechleendmenu
18645e83d430SRalf Baechle
18651da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
18661da177e4SLinus Torvalds	bool
18671da177e4SLinus Torvalds	default y
18681da177e4SLinus Torvalds
18691df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
18701df0f0ffSAtsushi Nemoto	bool
18711df0f0ffSAtsushi Nemoto	default y
18721df0f0ffSAtsushi Nemoto
18731df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
18741df0f0ffSAtsushi Nemoto	bool
18751df0f0ffSAtsushi Nemoto	default y
18761df0f0ffSAtsushi Nemoto
1877b6c3539bSRalf Baechlesource "init/Kconfig"
1878b6c3539bSRalf Baechle
18791da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
18801da177e4SLinus Torvalds
18815e83d430SRalf Baechleconfig HW_HAS_EISA
18825e83d430SRalf Baechle	bool
18831da177e4SLinus Torvaldsconfig HW_HAS_PCI
18841da177e4SLinus Torvalds	bool
18851da177e4SLinus Torvalds
18861da177e4SLinus Torvaldsconfig PCI
18871da177e4SLinus Torvalds	bool "Support for PCI controller"
18881da177e4SLinus Torvalds	depends on HW_HAS_PCI
1889abb4ae46SRalf Baechle	select PCI_DOMAINS
18901da177e4SLinus Torvalds	help
18911da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
18921da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
18931da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
18941da177e4SLinus Torvalds	  say Y, otherwise N.
18951da177e4SLinus Torvalds
18961da177e4SLinus Torvalds	  The PCI-HOWTO, available from
18971da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
18981da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
18991da177e4SLinus Torvalds	  doesn't.
19001da177e4SLinus Torvalds
19011da177e4SLinus Torvaldsconfig PCI_DOMAINS
19021da177e4SLinus Torvalds	bool
19031da177e4SLinus Torvalds
19041da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
19051da177e4SLinus Torvalds
19061da177e4SLinus Torvalds#
19071da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
19081da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
19091da177e4SLinus Torvalds# users to choose the right thing ...
19101da177e4SLinus Torvalds#
19111da177e4SLinus Torvaldsconfig ISA
19121da177e4SLinus Torvalds	bool
19131da177e4SLinus Torvalds
19141da177e4SLinus Torvaldsconfig EISA
19151da177e4SLinus Torvalds	bool "EISA support"
19165e83d430SRalf Baechle	depends on HW_HAS_EISA
19171da177e4SLinus Torvalds	select ISA
1918aa414dffSRalf Baechle	select GENERIC_ISA_DMA
19191da177e4SLinus Torvalds	---help---
19201da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
19211da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
19221da177e4SLinus Torvalds
19231da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
19241da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
19251da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
19261da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
19271da177e4SLinus Torvalds
19281da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
19291da177e4SLinus Torvalds
19301da177e4SLinus Torvalds	  Otherwise, say N.
19311da177e4SLinus Torvalds
19321da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
19331da177e4SLinus Torvalds
19341da177e4SLinus Torvaldsconfig TC
19351da177e4SLinus Torvalds	bool "TURBOchannel support"
19361da177e4SLinus Torvalds	depends on MACH_DECSTATION
19371da177e4SLinus Torvalds	help
19381da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
19391da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
19401da177e4SLinus Torvalds	  is available at:
19411da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
19421da177e4SLinus Torvalds
19431da177e4SLinus Torvalds#config ACCESSBUS
19441da177e4SLinus Torvalds#	bool "Access.Bus support"
19451da177e4SLinus Torvalds#	depends on TC
19461da177e4SLinus Torvalds
19471da177e4SLinus Torvaldsconfig MMU
19481da177e4SLinus Torvalds	bool
19491da177e4SLinus Torvalds	default y
19501da177e4SLinus Torvalds
1951d865bea4SRalf Baechleconfig I8253
1952d865bea4SRalf Baechle	bool
1953d865bea4SRalf Baechle
1954de61b542SRalf Baechleconfig PCSPEAKER
1955e5c6c8e4SMichael Neuling	bool
1956e5c6c8e4SMichael Neuling
19571da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
19581da177e4SLinus Torvalds
19591da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
19601da177e4SLinus Torvalds
19611da177e4SLinus Torvaldsendmenu
19621da177e4SLinus Torvalds
19631da177e4SLinus Torvaldsmenu "Executable file formats"
19641da177e4SLinus Torvalds
19651da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
19661da177e4SLinus Torvalds
19671da177e4SLinus Torvaldsconfig TRAD_SIGNALS
19681da177e4SLinus Torvalds	bool
19691da177e4SLinus Torvalds
19701da177e4SLinus Torvaldsconfig BINFMT_IRIX
19711da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
19725e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
19731da177e4SLinus Torvalds
19741da177e4SLinus Torvaldsconfig MIPS32_COMPAT
19751da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1976875d43e7SRalf Baechle	depends on 64BIT
19771da177e4SLinus Torvalds	help
19781da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
19791da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
19801da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
19811da177e4SLinus Torvalds
19821da177e4SLinus Torvaldsconfig COMPAT
19831da177e4SLinus Torvalds	bool
19841da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19851da177e4SLinus Torvalds	default y
19861da177e4SLinus Torvalds
198705e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
198805e43966SAtsushi Nemoto	bool
198905e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
199005e43966SAtsushi Nemoto	default y
199105e43966SAtsushi Nemoto
19921da177e4SLinus Torvaldsconfig MIPS32_O32
19931da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
19941da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19951da177e4SLinus Torvalds	help
19961da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
19971da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
19981da177e4SLinus Torvalds	  existing binaries are in this format.
19991da177e4SLinus Torvalds
20001da177e4SLinus Torvalds	  If unsure, say Y.
20011da177e4SLinus Torvalds
20021da177e4SLinus Torvaldsconfig MIPS32_N32
20031da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
20041da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20051da177e4SLinus Torvalds	help
20061da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
20071da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
20081da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
20091da177e4SLinus Torvalds	  cases.
20101da177e4SLinus Torvalds
20111da177e4SLinus Torvalds	  If unsure, say N.
20121da177e4SLinus Torvalds
20131da177e4SLinus Torvaldsconfig BINFMT_ELF32
20141da177e4SLinus Torvalds	bool
20151da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
20161da177e4SLinus Torvalds
20172116245eSRalf Baechleendmenu
20181da177e4SLinus Torvalds
20192116245eSRalf Baechlemenu "Power management options"
2020952fa954SRodolfo Giometti
20212116245eSRalf Baechlesource "kernel/power/Kconfig"
2022952fa954SRodolfo Giometti
20231da177e4SLinus Torvaldsendmenu
20241da177e4SLinus Torvalds
2025d5950b43SSam Ravnborgsource "net/Kconfig"
2026d5950b43SSam Ravnborg
20271da177e4SLinus Torvaldssource "drivers/Kconfig"
20281da177e4SLinus Torvalds
20291da177e4SLinus Torvaldssource "fs/Kconfig"
20301da177e4SLinus Torvalds
203109cadedbSMathieu Desnoyerssource "kernel/Kconfig.instrumentation"
20325e83d430SRalf Baechle
20331da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
20341da177e4SLinus Torvalds
20351da177e4SLinus Torvaldssource "security/Kconfig"
20361da177e4SLinus Torvalds
20371da177e4SLinus Torvaldssource "crypto/Kconfig"
20381da177e4SLinus Torvalds
20391da177e4SLinus Torvaldssource "lib/Kconfig"
2040