xref: /linux/arch/mips/Kconfig (revision 217dd11e9d0442767fa13c9c188be0b92dc93d7e)
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
549ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
550ade299d8SYoichi Yuasa
55114b36af4SThomas Bogendoerferconfig SNI_RM
55214b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5534a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5544a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
5555e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5565e83d430SRalf Baechle	select BOOT_ELF32
55742f77542SRalf Baechle	select CEVT_R4K
5585e83d430SRalf Baechle	select DMA_NONCOHERENT
5595e83d430SRalf Baechle	select GENERIC_ISA_DMA
5605e83d430SRalf Baechle	select HW_HAS_EISA
5615e83d430SRalf Baechle	select HW_HAS_PCI
562c066a32aSThomas Bogendoerfer	select IRQ_CPU
563d865bea4SRalf Baechle	select I8253
5645e83d430SRalf Baechle	select I8259
5655e83d430SRalf Baechle	select ISA
566de61b542SRalf Baechle	select PCSPEAKER
5674a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5687cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5694a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
570c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5714a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
57236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
573ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5745e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5754a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5765e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5775e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5781da177e4SLinus Torvalds	help
57914b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
58014b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5815e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5825e83d430SRalf Baechle	  support this machine type.
5831da177e4SLinus Torvalds
5845e83d430SRalf Baechleconfig TOSHIBA_JMR3927
5853fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
586229f773eSAtsushi Nemoto	select CEVT_TXX9
5875e83d430SRalf Baechle	select DMA_NONCOHERENT
5885e83d430SRalf Baechle	select HW_HAS_PCI
5895e83d430SRalf Baechle	select MIPS_TX3927
590c87abd75SAtsushi Nemoto	select IRQ_TXX9
5915e83d430SRalf Baechle	select SWAP_IO_SPACE
5927cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
5935e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5946a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5955e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5962127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5975e83d430SRalf Baechle
5985e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
59908a91283SYoichi Yuasa	bool "Toshiba RBTX49[23]7 board"
60042f77542SRalf Baechle	select CEVT_R4K
601229f773eSAtsushi Nemoto	select CEVT_TXX9
6025e83d430SRalf Baechle	select DMA_NONCOHERENT
6035e83d430SRalf Baechle	select HAS_TXX9_SERIAL
6045e83d430SRalf Baechle	select HW_HAS_PCI
605c87abd75SAtsushi Nemoto	select IRQ_CPU
606c87abd75SAtsushi Nemoto	select IRQ_TXX9
607c87abd75SAtsushi Nemoto	select I8259 if TOSHIBA_FPCIB0
6085e83d430SRalf Baechle	select SWAP_IO_SPACE
6097cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
6105e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6115e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
6126a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6135e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
614cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6159fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6165e83d430SRalf Baechle	help
6175e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
6185e83d430SRalf Baechle	  support this machine type
6191da177e4SLinus Torvalds
62023fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
6213fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
62242f77542SRalf Baechle	select CEVT_R4K
623229f773eSAtsushi Nemoto	select CEVT_TXX9
62423fbee9dSRalf Baechle	select DMA_NONCOHERENT
62523fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
62623fbee9dSRalf Baechle	select HW_HAS_PCI
627c87abd75SAtsushi Nemoto	select IRQ_CPU
628c87abd75SAtsushi Nemoto	select IRQ_TXX9
62923fbee9dSRalf Baechle	select SWAP_IO_SPACE
6307cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
63123fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
63223fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
63323fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
634cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6359fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6363896b054SAtsushi Nemoto	select GENERIC_GPIO
63723fbee9dSRalf Baechle	help
63823fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
63923fbee9dSRalf Baechle	  support this machine type
64023fbee9dSRalf Baechle
641ade299d8SYoichi Yuasaconfig WR_PPMC
642ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
64342f77542SRalf Baechle	select CEVT_R4K
644ade299d8SYoichi Yuasa	select IRQ_CPU
645ade299d8SYoichi Yuasa	select BOOT_ELF32
646ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
647ade299d8SYoichi Yuasa	select HW_HAS_PCI
648ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
649ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
650ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
651ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
652ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
653ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
654ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
655ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
656ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
657ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
658ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
659ade299d8SYoichi Yuasa	help
660ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
661ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
662ade299d8SYoichi Yuasa
6631da177e4SLinus Torvaldsendchoice
6641da177e4SLinus Torvalds
665c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6665e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6671f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6685e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
66929c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
67038b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6715e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
67223fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6735e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
67438b18f72SRalf Baechle
6755e83d430SRalf Baechleendmenu
6765e83d430SRalf Baechle
6771da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6781da177e4SLinus Torvalds	bool
6791da177e4SLinus Torvalds	default y
6801da177e4SLinus Torvalds
6811da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6821da177e4SLinus Torvalds	bool
6831da177e4SLinus Torvalds
684f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
685f0d1b0b3SDavid Howells	bool
686f0d1b0b3SDavid Howells	default n
687f0d1b0b3SDavid Howells
688f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
689f0d1b0b3SDavid Howells	bool
690f0d1b0b3SDavid Howells	default n
691f0d1b0b3SDavid Howells
6923c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6933c9ee7efSAkinobu Mita	bool
6943c9ee7efSAkinobu Mita	default y
6953c9ee7efSAkinobu Mita
6963c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6973c9ee7efSAkinobu Mita	bool
6983c9ee7efSAkinobu Mita	default y
6993c9ee7efSAkinobu Mita
7001da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7011da177e4SLinus Torvalds	bool
7021da177e4SLinus Torvalds	default y
7031da177e4SLinus Torvalds
7047bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7057bcf7717SRalf Baechle	bool
7067bcf7717SRalf Baechle	default y
7077bcf7717SRalf Baechle
7088db02010SRalf Baechleconfig GENERIC_TIME
7098db02010SRalf Baechle	bool
7108db02010SRalf Baechle	default y
7118db02010SRalf Baechle
712f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
713f5ff0a28SRalf Baechle	bool
714f5ff0a28SRalf Baechle	default y
715f5ff0a28SRalf Baechle
7161cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
7171cc89038SAtsushi Nemoto	bool
7181cc89038SAtsushi Nemoto	default y
7191cc89038SAtsushi Nemoto
720e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
721e77c232cSFranck Bui-Huu	bool
722e77c232cSFranck Bui-Huu	default n
723e77c232cSFranck Bui-Huu
7241da177e4SLinus Torvalds#
7251da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7261da177e4SLinus Torvalds#
7271da177e4SLinus Torvaldsconfig ARC
7281da177e4SLinus Torvalds	bool
7291da177e4SLinus Torvalds
73061ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
73161ed242dSRalf Baechle	bool
73261ed242dSRalf Baechle
7339267a30dSMarc St-Jeanconfig BOOT_RAW
7349267a30dSMarc St-Jean	bool
7359267a30dSMarc St-Jean
736*217dd11eSRalf Baechleconfig CEVT_BCM1480
737*217dd11eSRalf Baechle	bool
738*217dd11eSRalf Baechle
7391097c6acSYoichi Yuasaconfig CEVT_GT641XX
7401097c6acSYoichi Yuasa	bool
7411097c6acSYoichi Yuasa
74242f77542SRalf Baechleconfig CEVT_R4K
74342f77542SRalf Baechle	bool
74442f77542SRalf Baechle
745*217dd11eSRalf Baechleconfig CEVT_SB1250
746*217dd11eSRalf Baechle	bool
747*217dd11eSRalf Baechle
748229f773eSAtsushi Nemotoconfig CEVT_TXX9
749229f773eSAtsushi Nemoto	bool
750229f773eSAtsushi Nemoto
751*217dd11eSRalf Baechleconfig CSRC_BCM1480
752*217dd11eSRalf Baechle	bool
753*217dd11eSRalf Baechle
754*217dd11eSRalf Baechleconfig CSRC_SB1250
755*217dd11eSRalf Baechle	bool
756*217dd11eSRalf Baechle
757df78b5c8SAurelien Jarnoconfig CFE
758df78b5c8SAurelien Jarno	bool
759df78b5c8SAurelien Jarno
7601da177e4SLinus Torvaldsconfig DMA_COHERENT
7611da177e4SLinus Torvalds	bool
7621da177e4SLinus Torvalds
7631da177e4SLinus Torvaldsconfig DMA_IP27
7641da177e4SLinus Torvalds	bool
7651da177e4SLinus Torvalds
7664ce588cdSRalf Baechleconfig DMA_IP32
7674ce588cdSRalf Baechle	bool
7684ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7694ce588cdSRalf Baechle
7701da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7711da177e4SLinus Torvalds	bool
7724ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7734ce588cdSRalf Baechle
7744ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7754ce588cdSRalf Baechle	bool
7761da177e4SLinus Torvalds
7771da177e4SLinus Torvaldsconfig EARLY_PRINTK
77836a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
77936a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
78036a88530SRalf Baechle	default y
78136a88530SRalf Baechle	help
78236a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
78336a88530SRalf Baechle	  to print messages very early in the bootup process.
78436a88530SRalf Baechle
78536a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
786490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
787490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
788490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
78936a88530SRalf Baechle	  unless you want to debug such a crash.
79036a88530SRalf Baechle
79136a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7921da177e4SLinus Torvalds	bool
7931da177e4SLinus Torvalds
794dbb74540SRalf Baechleconfig HOTPLUG_CPU
795dbb74540SRalf Baechle	bool
796dbb74540SRalf Baechle	default n
797dbb74540SRalf Baechle
7981da177e4SLinus Torvaldsconfig I8259
7991da177e4SLinus Torvalds	bool
8001da177e4SLinus Torvalds
8011da177e4SLinus Torvaldsconfig MIPS_BONITO64
8021da177e4SLinus Torvalds	bool
8031da177e4SLinus Torvalds
8041da177e4SLinus Torvaldsconfig MIPS_MSC
8051da177e4SLinus Torvalds	bool
8061da177e4SLinus Torvalds
8071f21d2bdSBrian Murphyconfig MIPS_NILE4
8081f21d2bdSBrian Murphy	bool
8091f21d2bdSBrian Murphy
8101da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8111da177e4SLinus Torvalds	bool
8121da177e4SLinus Torvalds
813d388d685SMaciej W. Rozyckiconfig NO_IOPORT
814d388d685SMaciej W. Rozycki	def_bool n
815d388d685SMaciej W. Rozycki
8168313da30SRalf Baechleconfig GENERIC_ISA_DMA
8178313da30SRalf Baechle	bool
8188313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
8198313da30SRalf Baechle
820aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
821aa414dffSRalf Baechle	bool
8228313da30SRalf Baechle	select GENERIC_ISA_DMA
823aa414dffSRalf Baechle
82409663335SYoichi Yuasaconfig GENERIC_GPIO
82509663335SYoichi Yuasa	bool
82609663335SYoichi Yuasa
8275e83d430SRalf Baechle#
8283cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
8295e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
8305e83d430SRalf Baechle# choice statement should be more obvious to the user.
8315e83d430SRalf Baechle#
8325e83d430SRalf Baechlechoice
8335e83d430SRalf Baechle	prompt "Endianess selection"
8341da177e4SLinus Torvalds	help
8351da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
8365e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
8373cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
8385e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
8393dde6ad8SDavid Sterba	  one or the other endianness.
8405e83d430SRalf Baechle
8415e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
8425e83d430SRalf Baechle	bool "Big endian"
8435e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
8445e83d430SRalf Baechle
8455e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8465e83d430SRalf Baechle	bool "Little endian"
8475e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8485e83d430SRalf Baechle	help
8495e83d430SRalf Baechle
8505e83d430SRalf Baechleendchoice
8515e83d430SRalf Baechle
8522116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8532116245eSRalf Baechle	bool
8542116245eSRalf Baechle
8555e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8565e83d430SRalf Baechle	bool
8575e83d430SRalf Baechle
8585e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8595e83d430SRalf Baechle	bool
8601da177e4SLinus Torvalds
8611da177e4SLinus Torvaldsconfig IRQ_CPU
8621da177e4SLinus Torvalds	bool
8631da177e4SLinus Torvalds
8641da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8651da177e4SLinus Torvalds	bool
8661da177e4SLinus Torvalds
8675e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8685e83d430SRalf Baechle	bool
8695e83d430SRalf Baechle
8709267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8719267a30dSMarc St-Jean	bool
8729267a30dSMarc St-Jean
8739267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
8749267a30dSMarc St-Jean	bool
8759267a30dSMarc St-Jean
8768420fd00SAtsushi Nemotoconfig IRQ_TXX9
8778420fd00SAtsushi Nemoto	bool
8788420fd00SAtsushi Nemoto
879d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
880d5ab1a69SYoichi Yuasa	bool
881d5ab1a69SYoichi Yuasa
8821da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8831da177e4SLinus Torvalds	bool
8841da177e4SLinus Torvalds
885252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8861da177e4SLinus Torvalds	bool
8871da177e4SLinus Torvalds
8889267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
8899267a30dSMarc St-Jean	bool
8909267a30dSMarc St-Jean
8911da177e4SLinus Torvaldsconfig MIPS_TX3927
8921da177e4SLinus Torvalds	bool
8931da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
8941da177e4SLinus Torvalds
895663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
896663c3d90Sthomas@koeller.dyndns.org	bool
897663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
898663c3d90Sthomas@koeller.dyndns.org
899bdf21b18SPete Popovconfig PNX8550
900bdf21b18SPete Popov	bool
901bdf21b18SPete Popov	select SOC_PNX8550
902bdf21b18SPete Popov
903bdf21b18SPete Popovconfig SOC_PNX8550
904bdf21b18SPete Popov	bool
905bdf21b18SPete Popov	select DMA_NONCOHERENT
906bdf21b18SPete Popov	select HW_HAS_PCI
907b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
90836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
9097cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
910e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
911cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
9124ead1681SFlorian Fainelli	select GENERIC_GPIO
913bdf21b18SPete Popov
9141da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
9151da177e4SLinus Torvalds	bool
9161da177e4SLinus Torvalds
917355c471fSdmitry pervushinconfig EMMA2RH
918355c471fSdmitry pervushin	bool
919355c471fSdmitry pervushin	depends on MARKEINS
920355c471fSdmitry pervushin	default y
921355c471fSdmitry pervushin
922663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
923663c3d90Sthomas@koeller.dyndns.org	bool
924663c3d90Sthomas@koeller.dyndns.org
9255e83d430SRalf Baechleconfig ARC32
9265e83d430SRalf Baechle	bool
9275e83d430SRalf Baechle
9281da177e4SLinus Torvaldsconfig BOOT_ELF32
9291da177e4SLinus Torvalds	bool
9301da177e4SLinus Torvalds
9311da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
9321da177e4SLinus Torvalds	int
93306cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
93406cf5583SThomas Bogendoerfer	default "7" if SGI_IP27 || SNI_RM
9359267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
9361da177e4SLinus Torvalds	default "5"
9371da177e4SLinus Torvalds
9381da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
9391da177e4SLinus Torvalds	bool
9401da177e4SLinus Torvalds
9411da177e4SLinus Torvaldsconfig ARC_CONSOLE
9421da177e4SLinus Torvalds	bool "ARC console support"
94336a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
9441da177e4SLinus Torvalds
9451da177e4SLinus Torvaldsconfig ARC_MEMORY
9461da177e4SLinus Torvalds	bool
94714b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9481da177e4SLinus Torvalds	default y
9491da177e4SLinus Torvalds
9501da177e4SLinus Torvaldsconfig ARC_PROMLIB
9511da177e4SLinus Torvalds	bool
95214b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
9531da177e4SLinus Torvalds	default y
9541da177e4SLinus Torvalds
9551da177e4SLinus Torvaldsconfig ARC64
9561da177e4SLinus Torvalds	bool
9571da177e4SLinus Torvalds
9581da177e4SLinus Torvaldsconfig BOOT_ELF64
9591da177e4SLinus Torvalds	bool
9601da177e4SLinus Torvalds
9611da177e4SLinus Torvaldsmenu "CPU selection"
9621da177e4SLinus Torvalds
9637bcf7717SRalf Baechlesource "kernel/time/Kconfig"
9647bcf7717SRalf Baechle
9651da177e4SLinus Torvaldschoice
9661da177e4SLinus Torvalds	prompt "CPU type"
9671da177e4SLinus Torvalds	default CPU_R4X00
9681da177e4SLinus Torvalds
9692a21c730SFuxin Zhangconfig CPU_LOONGSON2
9702a21c730SFuxin Zhang	bool "Loongson 2"
9712a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
9722a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
9732a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
9742a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
9752a21c730SFuxin Zhang	help
9762a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
9772a21c730SFuxin Zhang	  with many extensions.
9782a21c730SFuxin Zhang
9796e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9806e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9817cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
982f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9836e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
984797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
985ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9866e760c8dSRalf Baechle	help
9875e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9881e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9891e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9901e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9911e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9921e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9931e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9941e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9951e5f1caaSRalf Baechle	  performance.
9961e5f1caaSRalf Baechle
9971e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9981e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9997cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
1000f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10011e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1002797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1003ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10041e5f1caaSRalf Baechle	help
10055e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10066e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10076e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10086e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10096e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10101da177e4SLinus Torvalds
10116e760c8dSRalf Baechleconfig CPU_MIPS64_R1
10126e760c8dSRalf Baechle	bool "MIPS64 Release 1"
10137cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1014f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1015797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1016ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1017ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1018ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10196e760c8dSRalf Baechle	help
10206e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10216e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10226e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10236e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10246e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10251e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
10261e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
10271e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
10281e5f1caaSRalf Baechle	  performance.
10291e5f1caaSRalf Baechle
10301e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
10311e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
10327cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1033f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1034797798c1SRalf Baechle	select CPU_HAS_PREFETCH
10351e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10361e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1037ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10381e5f1caaSRalf Baechle	help
10391e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10401e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10411e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10421e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10431e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10441da177e4SLinus Torvalds
10451da177e4SLinus Torvaldsconfig CPU_R3000
10461da177e4SLinus Torvalds	bool "R3000"
10477cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1048f7062ddbSRalf Baechle	select CPU_HAS_WB
1049ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1050797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10511da177e4SLinus Torvalds	help
10521da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
10531da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
10541da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
10551da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
10561da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
10571da177e4SLinus Torvalds	  try to recompile with R3000.
10581da177e4SLinus Torvalds
10591da177e4SLinus Torvaldsconfig CPU_TX39XX
10601da177e4SLinus Torvalds	bool "R39XX"
10617cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1062ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10631da177e4SLinus Torvalds
10641da177e4SLinus Torvaldsconfig CPU_VR41XX
10651da177e4SLinus Torvalds	bool "R41xx"
10667cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1067ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1068ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10691da177e4SLinus Torvalds	help
10705e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
10711da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
10721da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10731da177e4SLinus Torvalds	  processor or vice versa.
10741da177e4SLinus Torvalds
10751da177e4SLinus Torvaldsconfig CPU_R4300
10761da177e4SLinus Torvalds	bool "R4300"
10777cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1078f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1079ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1080ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10811da177e4SLinus Torvalds	help
10821da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10831da177e4SLinus Torvalds
10841da177e4SLinus Torvaldsconfig CPU_R4X00
10851da177e4SLinus Torvalds	bool "R4x00"
10867cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1087f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1088ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1089ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10901da177e4SLinus Torvalds	help
10911da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10921da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10931da177e4SLinus Torvalds
10941da177e4SLinus Torvaldsconfig CPU_TX49XX
10951da177e4SLinus Torvalds	bool "R49XX"
10967cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1097f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1098de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1099ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1100ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11011da177e4SLinus Torvalds
11021da177e4SLinus Torvaldsconfig CPU_R5000
11031da177e4SLinus Torvalds	bool "R5000"
11047cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1105f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1106ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1107ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11081da177e4SLinus Torvalds	help
11091da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
11101da177e4SLinus Torvalds
11111da177e4SLinus Torvaldsconfig CPU_R5432
11121da177e4SLinus Torvalds	bool "R5432"
11137cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1114f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11155e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11165e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
11171da177e4SLinus Torvalds
11181da177e4SLinus Torvaldsconfig CPU_R6000
11191da177e4SLinus Torvalds	bool "R6000"
1120ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1121f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11227cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1123ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11241da177e4SLinus Torvalds	help
11251da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1126c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
11271da177e4SLinus Torvalds
11281da177e4SLinus Torvaldsconfig CPU_NEVADA
11291da177e4SLinus Torvalds	bool "RM52xx"
11307cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1131f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1132ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1133ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11341da177e4SLinus Torvalds	help
11351da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
11361da177e4SLinus Torvalds
11371da177e4SLinus Torvaldsconfig CPU_R8000
11381da177e4SLinus Torvalds	bool "R8000"
1139ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
11407cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1141f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11425e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1143ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11441da177e4SLinus Torvalds	help
11451da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
11461da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
11471da177e4SLinus Torvalds
11481da177e4SLinus Torvaldsconfig CPU_R10000
11491da177e4SLinus Torvalds	bool "R10000"
11507cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1151f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11525e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1153ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1154ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1155797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11561da177e4SLinus Torvalds	help
11571da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
11581da177e4SLinus Torvalds
11591da177e4SLinus Torvaldsconfig CPU_RM7000
11601da177e4SLinus Torvalds	bool "RM7000"
11617cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1162f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11635e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1164ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1165ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1166797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11671da177e4SLinus Torvalds
11681da177e4SLinus Torvaldsconfig CPU_RM9000
11691da177e4SLinus Torvalds	bool "RM9000"
11707cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1171f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11725e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1173ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1174ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1175797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11760004a9dfSRalf Baechle	select WEAK_ORDERING
11771da177e4SLinus Torvalds
11781da177e4SLinus Torvaldsconfig CPU_SB1
11791da177e4SLinus Torvalds	bool "SB1"
11807cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1181f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1182ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1183ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1184797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11850004a9dfSRalf Baechle	select WEAK_ORDERING
11861da177e4SLinus Torvalds
11871da177e4SLinus Torvaldsendchoice
11881da177e4SLinus Torvalds
11892a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
11902a21c730SFuxin Zhang	bool
11912a21c730SFuxin Zhang
11927cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11937cf8053bSRalf Baechle	bool
11947cf8053bSRalf Baechle
11957cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11967cf8053bSRalf Baechle	bool
11977cf8053bSRalf Baechle
11987cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11997cf8053bSRalf Baechle	bool
12007cf8053bSRalf Baechle
12017cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
12027cf8053bSRalf Baechle	bool
12037cf8053bSRalf Baechle
12047cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
12057cf8053bSRalf Baechle	bool
12067cf8053bSRalf Baechle
12077cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
12087cf8053bSRalf Baechle	bool
12097cf8053bSRalf Baechle
12107cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
12117cf8053bSRalf Baechle	bool
12127cf8053bSRalf Baechle
12137cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
12147cf8053bSRalf Baechle	bool
12157cf8053bSRalf Baechle
12167cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
12177cf8053bSRalf Baechle	bool
12187cf8053bSRalf Baechle
12197cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
12207cf8053bSRalf Baechle	bool
12217cf8053bSRalf Baechle
12227cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
12237cf8053bSRalf Baechle	bool
12247cf8053bSRalf Baechle
12257cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
12267cf8053bSRalf Baechle	bool
12277cf8053bSRalf Baechle
12287cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
12297cf8053bSRalf Baechle	bool
12307cf8053bSRalf Baechle
12317cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
12327cf8053bSRalf Baechle	bool
12337cf8053bSRalf Baechle
12347cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
12357cf8053bSRalf Baechle	bool
12367cf8053bSRalf Baechle
12377cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
12387cf8053bSRalf Baechle	bool
12397cf8053bSRalf Baechle
12407cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
12417cf8053bSRalf Baechle	bool
12427cf8053bSRalf Baechle
12437cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
12447cf8053bSRalf Baechle	bool
12457cf8053bSRalf Baechle
12467cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
12477cf8053bSRalf Baechle	bool
12487cf8053bSRalf Baechle
124917099b11SRalf Baechle#
125017099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
125117099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
125217099b11SRalf Baechle#
12530004a9dfSRalf Baechleconfig WEAK_ORDERING
12540004a9dfSRalf Baechle	bool
125517099b11SRalf Baechle
125617099b11SRalf Baechle#
125717099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
125817099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
125917099b11SRalf Baechle#
126017099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
126117099b11SRalf Baechle	bool
12625e83d430SRalf Baechleendmenu
12635e83d430SRalf Baechle
12645e83d430SRalf Baechle#
12655e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
12665e83d430SRalf Baechle#
12675e83d430SRalf Baechleconfig CPU_MIPS32
12685e83d430SRalf Baechle	bool
12695e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
12705e83d430SRalf Baechle
12715e83d430SRalf Baechleconfig CPU_MIPS64
12725e83d430SRalf Baechle	bool
12735e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
12745e83d430SRalf Baechle
12755e83d430SRalf Baechle#
1276c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
12775e83d430SRalf Baechle#
12785e83d430SRalf Baechleconfig CPU_MIPSR1
12795e83d430SRalf Baechle	bool
12805e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
12815e83d430SRalf Baechle
12825e83d430SRalf Baechleconfig CPU_MIPSR2
12835e83d430SRalf Baechle	bool
12845e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
12855e83d430SRalf Baechle
12865e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
12875e83d430SRalf Baechle	bool
12885e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12895e83d430SRalf Baechle	bool
12905e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12915e83d430SRalf Baechle	bool
12925e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12935e83d430SRalf Baechle	bool
12945e83d430SRalf Baechle
12955e83d430SRalf Baechlemenu "Kernel type"
12965e83d430SRalf Baechle
12975e83d430SRalf Baechlechoice
12985e83d430SRalf Baechle
12995e83d430SRalf Baechle	prompt "Kernel code model"
13005e83d430SRalf Baechle	help
13015e83d430SRalf Baechle	  You should only select this option if you have a workload that
13025e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
13035e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
13045e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
13055e83d430SRalf Baechle
13065e83d430SRalf Baechleconfig 32BIT
13075e83d430SRalf Baechle	bool "32-bit kernel"
13085e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
13095e83d430SRalf Baechle	select TRAD_SIGNALS
13105e83d430SRalf Baechle	help
13115e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
13125e83d430SRalf Baechleconfig 64BIT
13135e83d430SRalf Baechle	bool "64-bit kernel"
13145e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
13155e83d430SRalf Baechle	help
13165e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
13175e83d430SRalf Baechle
13185e83d430SRalf Baechleendchoice
13195e83d430SRalf Baechle
13201da177e4SLinus Torvaldschoice
13211da177e4SLinus Torvalds	prompt "Kernel page size"
13221da177e4SLinus Torvalds	default PAGE_SIZE_4KB
13231da177e4SLinus Torvalds
13241da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
13251da177e4SLinus Torvalds	bool "4kB"
13261da177e4SLinus Torvalds	help
13271da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
13281da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
13291da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
13301da177e4SLinus Torvalds	 recommended for low memory systems.
13311da177e4SLinus Torvalds
13321da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
13331da177e4SLinus Torvalds	bool "8kB"
13341da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
13351da177e4SLinus Torvalds	help
13361da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
13371da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
13381da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
13391da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
13401da177e4SLinus Torvalds	  compatibility of user applications.
13411da177e4SLinus Torvalds
13421da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
13431da177e4SLinus Torvalds	bool "16kB"
1344714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
13451da177e4SLinus Torvalds	help
13461da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
13471da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1348714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1349714bfad6SRalf Baechle	  Linux distribution to support this.
13501da177e4SLinus Torvalds
13511da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
13521da177e4SLinus Torvalds	bool "64kB"
13531da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
13541da177e4SLinus Torvalds	help
13551da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
13561da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
13571da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1358714bfad6SRalf Baechle	  writing this option is still high experimental.
13591da177e4SLinus Torvalds
13601da177e4SLinus Torvaldsendchoice
13611da177e4SLinus Torvalds
13621da177e4SLinus Torvaldsconfig BOARD_SCACHE
13631da177e4SLinus Torvalds	bool
13641da177e4SLinus Torvalds
13651da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
13661da177e4SLinus Torvalds	bool
13671da177e4SLinus Torvalds	select BOARD_SCACHE
13681da177e4SLinus Torvalds
13699318c51aSChris Dearman#
13709318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
13719318c51aSChris Dearman#
13729318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
13739318c51aSChris Dearman	bool
13749318c51aSChris Dearman	select BOARD_SCACHE
13759318c51aSChris Dearman
13761da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
13771da177e4SLinus Torvalds	bool
13781da177e4SLinus Torvalds	select BOARD_SCACHE
13791da177e4SLinus Torvalds
13801da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
13811da177e4SLinus Torvalds	bool
13821da177e4SLinus Torvalds	select BOARD_SCACHE
13831da177e4SLinus Torvalds
13841da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
13851da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
13861da177e4SLinus Torvalds	depends on CPU_SB1
13871da177e4SLinus Torvalds	help
13881da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13891da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13901da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13911da177e4SLinus Torvalds
13921da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1393c8094b53SRalf Baechle	bool
13941da177e4SLinus Torvalds
1395340ee4b9SRalf Baechlechoice
1396340ee4b9SRalf Baechle	prompt "MIPS MT options"
1397f41ae0b2SRalf Baechle
1398f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1399f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1400f41ae0b2SRalf Baechle	help
1401f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1402f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1403f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1404f41ae0b2SRalf Baechle	  option in this menu.
1405340ee4b9SRalf Baechle
140659d6ab86SRalf Baechleconfig MIPS_MT_SMP
140759d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
140859d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
140959d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1410d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
141159d6ab86SRalf Baechle	select CPU_MIPSR2_SRS
141259d6ab86SRalf Baechle	select MIPS_MT
1413f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
141459d6ab86SRalf Baechle	select SMP
141559d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
141659d6ab86SRalf Baechle	help
141759d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
141859d6ab86SRalf Baechle	  has been marketesed into SMVP.
141959d6ab86SRalf Baechle
142041c594abSRalf Baechleconfig MIPS_MT_SMTC
142141c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1422f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1423f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1424f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1425ea580401SRalf Baechle	select GENERIC_CLOCKEVENTS_BROADCAST
1426f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1427d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1428f7062ddbSRalf Baechle	select CPU_MIPSR2_SRS
1429f41ae0b2SRalf Baechle	select MIPS_MT
1430130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
143141c594abSRalf Baechle	select SMP
143273b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1433f41ae0b2SRalf Baechle	help
1434f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1435f41ae0b2SRalf Baechle	  marketesed into SMVP.
143641c594abSRalf Baechle
1437340ee4b9SRalf Baechleendchoice
1438340ee4b9SRalf Baechle
1439f41ae0b2SRalf Baechleconfig MIPS_MT
1440f41ae0b2SRalf Baechle	bool
1441f41ae0b2SRalf Baechle
1442f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1443f41ae0b2SRalf Baechle	bool
1444f41ae0b2SRalf Baechle
1445f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1446f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1447f088fc84SRalf Baechle	default y
144807cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
144907cc0c9eSRalf Baechle
145007cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
145107cc0c9eSRalf Baechle	bool "VPE loader support."
145207cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
145307cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
145407cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
145507cc0c9eSRalf Baechle	select CPU_MIPSR2_SRS
145607cc0c9eSRalf Baechle	select MIPS_MT
145707cc0c9eSRalf Baechle	help
145807cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
145907cc0c9eSRalf Baechle	  onto another VPE and running it.
1460f088fc84SRalf Baechle
1461ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1462ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1463619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1464ac8be955SRalf Baechle	default y
1465ac8be955SRalf Baechle	help
1466ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1467ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1468ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1469ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1470ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1471ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1472ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1473ac8be955SRalf Baechle	  heavy I/O interrupt load.
1474ac8be955SRalf Baechle
14750db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
14760db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
14770db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
14780db34215SKevin D. Kissell	default y
14790db34215SKevin D. Kissell	help
14800db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
14810db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
14820db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
14830db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
14840db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
14850db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
14860db34215SKevin D. Kissell	  what you are doing.
14870db34215SKevin D. Kissell
1488f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1489f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1490f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1491f571eff0SKevin D. Kissell	default n
1492f571eff0SKevin D. Kissell	help
1493f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1494f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1495f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
1496f571eff0SKevin D. Kissell	  platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1497f571eff0SKevin D. Kissell	  be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1498f571eff0SKevin D. Kissell	  interrupt dispatch, and should be used only if you know what
1499f571eff0SKevin D. Kissell	  you are doing.
1500f571eff0SKevin D. Kissell
1501e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1502e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1503e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1504e01402b1SRalf Baechle	default y
1505e01402b1SRalf Baechle	help
1506e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1507e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1508e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1509e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1510e01402b1SRalf Baechle
1511e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1512e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1513e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1514e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
15155e83d430SRalf Baechle	help
1516e01402b1SRalf Baechle
15172600990eSRalf Baechleconfig MIPS_APSP_KSPD
15182600990eSRalf Baechle	bool "Enable KSPD"
15192600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
15202600990eSRalf Baechle	default y
15212600990eSRalf Baechle	help
15222600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
15232600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
15242600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
15252600990eSRalf Baechle	  exiting.  You probably want to say yes here.
15262600990eSRalf Baechle
15271da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
15281da177e4SLinus Torvalds	bool
15291da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
15301da177e4SLinus Torvalds	default y
15311da177e4SLinus Torvalds
15321da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
15331da177e4SLinus Torvalds	bool
15341da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
15351da177e4SLinus Torvalds	default y
15361da177e4SLinus Torvalds
15371da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
15381da177e4SLinus Torvalds	bool
15391da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
15401da177e4SLinus Torvalds	default y
15411da177e4SLinus Torvalds
15421da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1543d806cb2bSRalf Baechle	bool
15441da177e4SLinus Torvalds
15451da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1546f7062ddbSRalf Baechle	bool
15471da177e4SLinus Torvalds
15489693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
15499693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
15509693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
15519693a853SFranck Bui-Huu	help
15529693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
15539693a853SFranck Bui-Huu	  increased security at both hardware and software level for
15549693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
15559693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
15569693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
15579693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
15589693a853SFranck Bui-Huu	  here.
15599693a853SFranck Bui-Huu
15601da177e4SLinus Torvaldsconfig CPU_HAS_WB
1561f7062ddbSRalf Baechle	bool
1562e01402b1SRalf Baechle
15632a21c730SFuxin Zhangconfig 64BIT_CONTEXT
15642a21c730SFuxin Zhang	bool "Save 64bit integer registers"
15652a21c730SFuxin Zhang	depends on 32BIT && CPU_LOONGSON2
15662a21c730SFuxin Zhang	help
15672a21c730SFuxin Zhang	  Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
15682a21c730SFuxin Zhang	  registers can still be accessed as 64bit, mainly for multimedia
15692a21c730SFuxin Zhang	  instructions. We must have all 64bit save/restored to make sure
15702a21c730SFuxin Zhang	  those instructions to get correct result.
15712a21c730SFuxin Zhang
1572f41ae0b2SRalf Baechle#
1573f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1574f41ae0b2SRalf Baechle#
1575e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1576f41ae0b2SRalf Baechle	bool
1577e01402b1SRalf Baechle
1578f41ae0b2SRalf Baechle#
1579f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1580f41ae0b2SRalf Baechle#
1581e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1582f41ae0b2SRalf Baechle	bool
1583e01402b1SRalf Baechle
1584f41ae0b2SRalf Baechle#
1585f41ae0b2SRalf Baechle# Shadow registers are an R2 feature
1586f41ae0b2SRalf Baechle#
1587e01402b1SRalf Baechleconfig CPU_MIPSR2_SRS
1588f41ae0b2SRalf Baechle	bool
1589e01402b1SRalf Baechle
15901da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
15911da177e4SLinus Torvalds	bool
15921da177e4SLinus Torvalds	depends on !CPU_R3000
15931da177e4SLinus Torvalds	default y
15941da177e4SLinus Torvalds
1595ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1596ea580401SRalf Baechle	bool
1597ea580401SRalf Baechle
15981da177e4SLinus Torvalds#
1599797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1600797798c1SRalf Baechle#
1601797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1602797798c1SRalf Baechle	bool
1603797798c1SRalf Baechle	default y
1604797798c1SRalf Baechle
1605797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1606797798c1SRalf Baechle	bool
1607797798c1SRalf Baechle	default y
1608797798c1SRalf Baechle
16090d7012a9SIngo Molnarconfig IRQ_PER_CPU
16100d7012a9SIngo Molnar	bool
16110d7012a9SIngo Molnar
1612797798c1SRalf Baechle#
16131da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
16141da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
16151da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
16161da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
16171da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
16181da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
16191da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
16201da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1621797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1622797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1623797798c1SRalf Baechle#   support.
16241da177e4SLinus Torvalds#
16251da177e4SLinus Torvaldsconfig HIGHMEM
16261da177e4SLinus Torvalds	bool "High Memory Support"
1627797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1628797798c1SRalf Baechle
1629797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1630797798c1SRalf Baechle	bool
1631797798c1SRalf Baechle
1632797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1633797798c1SRalf Baechle	bool
16341da177e4SLinus Torvalds
16359693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
16369693a853SFranck Bui-Huu	bool
16379693a853SFranck Bui-Huu
1638b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1639b4819b59SYoichi Yuasa	def_bool y
1640b4819b59SYoichi Yuasa	depends on !NUMA
1641b4819b59SYoichi Yuasa
1642d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1643d8cb4e11SRalf Baechle	bool
1644d8cb4e11SRalf Baechle	default y if SGI_IP27
1645d8cb4e11SRalf Baechle	help
16463dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1647d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1648d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1649d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1650d8cb4e11SRalf Baechle
1651b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1652b1c6cd42SAtsushi Nemoto	bool
16537de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
165431473747SAtsushi Nemoto
1655d8cb4e11SRalf Baechleconfig NUMA
1656d8cb4e11SRalf Baechle	bool "NUMA Support"
1657d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1658d8cb4e11SRalf Baechle	help
1659d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1660d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1661d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1662d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1663d8cb4e11SRalf Baechle	  disabled.
1664d8cb4e11SRalf Baechle
1665d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1666d8cb4e11SRalf Baechle	bool
1667d8cb4e11SRalf Baechle
1668c80d79d7SYasunori Gotoconfig NODES_SHIFT
1669c80d79d7SYasunori Goto	int
1670c80d79d7SYasunori Goto	default "6"
1671c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1672c80d79d7SYasunori Goto
1673b4819b59SYoichi Yuasasource "mm/Kconfig"
1674b4819b59SYoichi Yuasa
16751da177e4SLinus Torvaldsconfig SMP
16761da177e4SLinus Torvalds	bool "Multi-Processing support"
1677e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1678b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1679e73ea273SRalf Baechle	help
16801da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
16811da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
16821da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
16831da177e4SLinus Torvalds
16841da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
16851da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
16861da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
16871da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
16881da177e4SLinus Torvalds	  will run faster if you say N here.
16891da177e4SLinus Torvalds
16901da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
16911da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
16921da177e4SLinus Torvalds
16931da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
16941da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
16951da177e4SLinus Torvalds
16961da177e4SLinus Torvalds	  If you don't know what to do here, say N.
16971da177e4SLinus Torvalds
1698e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1699e73ea273SRalf Baechle	bool
1700e73ea273SRalf Baechle
170172ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
170272ede9b1SAtsushi Nemoto	bool
170372ede9b1SAtsushi Nemoto
1704130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1705130e2fb7SRalf Baechle	bool
1706130e2fb7SRalf Baechle
1707130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1708130e2fb7SRalf Baechle	bool
1709130e2fb7SRalf Baechle
1710130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1711130e2fb7SRalf Baechle	bool
1712130e2fb7SRalf Baechle
1713130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1714130e2fb7SRalf Baechle	bool
1715130e2fb7SRalf Baechle
1716130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1717130e2fb7SRalf Baechle	bool
1718130e2fb7SRalf Baechle
1719130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1720130e2fb7SRalf Baechle	bool
1721130e2fb7SRalf Baechle
17221da177e4SLinus Torvaldsconfig NR_CPUS
17231da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
172472ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
17251da177e4SLinus Torvalds	depends on SMP
172672ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1727130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1728130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1729130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1730130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1731130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1732130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
17331da177e4SLinus Torvalds	help
17341da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
17351da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
17361da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
173772ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
173872ede9b1SAtsushi Nemoto	  and 2 for all others.
17391da177e4SLinus Torvalds
17401da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
174172ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
174272ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
174372ede9b1SAtsushi Nemoto	  power of two.
17441da177e4SLinus Torvalds
17451723b4a3SAtsushi Nemoto#
17461723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
17471723b4a3SAtsushi Nemoto#
17481723b4a3SAtsushi Nemoto
17491723b4a3SAtsushi Nemotochoice
17501723b4a3SAtsushi Nemoto	prompt "Timer frequency"
17511723b4a3SAtsushi Nemoto	default HZ_250
17521723b4a3SAtsushi Nemoto	help
17531723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
17541723b4a3SAtsushi Nemoto
17551723b4a3SAtsushi Nemoto	config HZ_48
17561723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
17571723b4a3SAtsushi Nemoto
17581723b4a3SAtsushi Nemoto	config HZ_100
17591723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
17601723b4a3SAtsushi Nemoto
17611723b4a3SAtsushi Nemoto	config HZ_128
17621723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
17631723b4a3SAtsushi Nemoto
17641723b4a3SAtsushi Nemoto	config HZ_250
17651723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
17661723b4a3SAtsushi Nemoto
17671723b4a3SAtsushi Nemoto	config HZ_256
17681723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
17691723b4a3SAtsushi Nemoto
17701723b4a3SAtsushi Nemoto	config HZ_1000
17711723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
17721723b4a3SAtsushi Nemoto
17731723b4a3SAtsushi Nemoto	config HZ_1024
17741723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
17751723b4a3SAtsushi Nemoto
17761723b4a3SAtsushi Nemotoendchoice
17771723b4a3SAtsushi Nemoto
17781723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
17791723b4a3SAtsushi Nemoto	bool
17801723b4a3SAtsushi Nemoto
17811723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
17821723b4a3SAtsushi Nemoto	bool
17831723b4a3SAtsushi Nemoto
17841723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
17851723b4a3SAtsushi Nemoto	bool
17861723b4a3SAtsushi Nemoto
17871723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
17881723b4a3SAtsushi Nemoto	bool
17891723b4a3SAtsushi Nemoto
17901723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
17911723b4a3SAtsushi Nemoto	bool
17921723b4a3SAtsushi Nemoto
17931723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
17941723b4a3SAtsushi Nemoto	bool
17951723b4a3SAtsushi Nemoto
17961723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
17971723b4a3SAtsushi Nemoto	bool
17981723b4a3SAtsushi Nemoto
17991723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
18001723b4a3SAtsushi Nemoto	bool
18011723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
18021723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
18031723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
18041723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
18051723b4a3SAtsushi Nemoto
18061723b4a3SAtsushi Nemotoconfig HZ
18071723b4a3SAtsushi Nemoto	int
18081723b4a3SAtsushi Nemoto	default 48 if HZ_48
18091723b4a3SAtsushi Nemoto	default 100 if HZ_100
18101723b4a3SAtsushi Nemoto	default 128 if HZ_128
18111723b4a3SAtsushi Nemoto	default 250 if HZ_250
18121723b4a3SAtsushi Nemoto	default 256 if HZ_256
18131723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
18141723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
18151723b4a3SAtsushi Nemoto
1816e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
18171da177e4SLinus Torvalds
18181da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
18191da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1820875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
18211da177e4SLinus Torvalds	help
18221da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
18231da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
18241da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
18251da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
18261da177e4SLinus Torvalds	  recommended for normal users.
18271da177e4SLinus Torvalds
1828ea6e942bSAtsushi Nemotoconfig KEXEC
1829ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1830ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1831ea6e942bSAtsushi Nemoto	help
1832ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1833ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
18343dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1835ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1836ea6e942bSAtsushi Nemoto
183701dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
1838ea6e942bSAtsushi Nemoto
1839ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1840ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1841ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1842ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1843ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1844ea6e942bSAtsushi Nemoto
1845ea6e942bSAtsushi Nemotoconfig SECCOMP
1846ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1847293c5bd1SRalf Baechle	depends on PROC_FS
1848ea6e942bSAtsushi Nemoto	default y
1849ea6e942bSAtsushi Nemoto	help
1850ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1851ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1852ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1853ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1854ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1855ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1856ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1857ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1858ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1859ea6e942bSAtsushi Nemoto
1860ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1861ea6e942bSAtsushi Nemoto
18625e83d430SRalf Baechleendmenu
18635e83d430SRalf Baechle
18641da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
18651da177e4SLinus Torvalds	bool
18661da177e4SLinus Torvalds	default y
18671da177e4SLinus Torvalds
18681df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
18691df0f0ffSAtsushi Nemoto	bool
18701df0f0ffSAtsushi Nemoto	default y
18711df0f0ffSAtsushi Nemoto
18721df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
18731df0f0ffSAtsushi Nemoto	bool
18741df0f0ffSAtsushi Nemoto	default y
18751df0f0ffSAtsushi Nemoto
1876b6c3539bSRalf Baechlesource "init/Kconfig"
1877b6c3539bSRalf Baechle
18781da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
18791da177e4SLinus Torvalds
18805e83d430SRalf Baechleconfig HW_HAS_EISA
18815e83d430SRalf Baechle	bool
18821da177e4SLinus Torvaldsconfig HW_HAS_PCI
18831da177e4SLinus Torvalds	bool
18841da177e4SLinus Torvalds
18851da177e4SLinus Torvaldsconfig PCI
18861da177e4SLinus Torvalds	bool "Support for PCI controller"
18871da177e4SLinus Torvalds	depends on HW_HAS_PCI
1888abb4ae46SRalf Baechle	select PCI_DOMAINS
18891da177e4SLinus Torvalds	help
18901da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
18911da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
18921da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
18931da177e4SLinus Torvalds	  say Y, otherwise N.
18941da177e4SLinus Torvalds
18951da177e4SLinus Torvalds	  The PCI-HOWTO, available from
18961da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
18971da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
18981da177e4SLinus Torvalds	  doesn't.
18991da177e4SLinus Torvalds
19001da177e4SLinus Torvaldsconfig PCI_DOMAINS
19011da177e4SLinus Torvalds	bool
19021da177e4SLinus Torvalds
19031da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
19041da177e4SLinus Torvalds
19051da177e4SLinus Torvalds#
19061da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
19071da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
19081da177e4SLinus Torvalds# users to choose the right thing ...
19091da177e4SLinus Torvalds#
19101da177e4SLinus Torvaldsconfig ISA
19111da177e4SLinus Torvalds	bool
19121da177e4SLinus Torvalds
19131da177e4SLinus Torvaldsconfig EISA
19141da177e4SLinus Torvalds	bool "EISA support"
19155e83d430SRalf Baechle	depends on HW_HAS_EISA
19161da177e4SLinus Torvalds	select ISA
1917aa414dffSRalf Baechle	select GENERIC_ISA_DMA
19181da177e4SLinus Torvalds	---help---
19191da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
19201da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
19211da177e4SLinus Torvalds
19221da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
19231da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
19241da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
19251da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
19261da177e4SLinus Torvalds
19271da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
19281da177e4SLinus Torvalds
19291da177e4SLinus Torvalds	  Otherwise, say N.
19301da177e4SLinus Torvalds
19311da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
19321da177e4SLinus Torvalds
19331da177e4SLinus Torvaldsconfig TC
19341da177e4SLinus Torvalds	bool "TURBOchannel support"
19351da177e4SLinus Torvalds	depends on MACH_DECSTATION
19361da177e4SLinus Torvalds	help
19371da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
19381da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
19391da177e4SLinus Torvalds	  is available at:
19401da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
19411da177e4SLinus Torvalds
19421da177e4SLinus Torvalds#config ACCESSBUS
19431da177e4SLinus Torvalds#	bool "Access.Bus support"
19441da177e4SLinus Torvalds#	depends on TC
19451da177e4SLinus Torvalds
19461da177e4SLinus Torvaldsconfig MMU
19471da177e4SLinus Torvalds	bool
19481da177e4SLinus Torvalds	default y
19491da177e4SLinus Torvalds
1950d865bea4SRalf Baechleconfig I8253
1951d865bea4SRalf Baechle	bool
1952d865bea4SRalf Baechle
1953de61b542SRalf Baechleconfig PCSPEAKER
1954e5c6c8e4SMichael Neuling	bool
1955e5c6c8e4SMichael Neuling
19561da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
19571da177e4SLinus Torvalds
19581da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
19591da177e4SLinus Torvalds
19601da177e4SLinus Torvaldsendmenu
19611da177e4SLinus Torvalds
19621da177e4SLinus Torvaldsmenu "Executable file formats"
19631da177e4SLinus Torvalds
19641da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
19651da177e4SLinus Torvalds
19661da177e4SLinus Torvaldsconfig TRAD_SIGNALS
19671da177e4SLinus Torvalds	bool
19681da177e4SLinus Torvalds
19691da177e4SLinus Torvaldsconfig BINFMT_IRIX
19701da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
19715e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
19721da177e4SLinus Torvalds
19731da177e4SLinus Torvaldsconfig MIPS32_COMPAT
19741da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1975875d43e7SRalf Baechle	depends on 64BIT
19761da177e4SLinus Torvalds	help
19771da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
19781da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
19791da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
19801da177e4SLinus Torvalds
19811da177e4SLinus Torvaldsconfig COMPAT
19821da177e4SLinus Torvalds	bool
19831da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19841da177e4SLinus Torvalds	default y
19851da177e4SLinus Torvalds
198605e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
198705e43966SAtsushi Nemoto	bool
198805e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
198905e43966SAtsushi Nemoto	default y
199005e43966SAtsushi Nemoto
19911da177e4SLinus Torvaldsconfig MIPS32_O32
19921da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
19931da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19941da177e4SLinus Torvalds	help
19951da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
19961da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
19971da177e4SLinus Torvalds	  existing binaries are in this format.
19981da177e4SLinus Torvalds
19991da177e4SLinus Torvalds	  If unsure, say Y.
20001da177e4SLinus Torvalds
20011da177e4SLinus Torvaldsconfig MIPS32_N32
20021da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
20031da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20041da177e4SLinus Torvalds	help
20051da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
20061da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
20071da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
20081da177e4SLinus Torvalds	  cases.
20091da177e4SLinus Torvalds
20101da177e4SLinus Torvalds	  If unsure, say N.
20111da177e4SLinus Torvalds
20121da177e4SLinus Torvaldsconfig BINFMT_ELF32
20131da177e4SLinus Torvalds	bool
20141da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
20151da177e4SLinus Torvalds
20162116245eSRalf Baechleendmenu
20171da177e4SLinus Torvalds
20182116245eSRalf Baechlemenu "Power management options"
2019952fa954SRodolfo Giometti
20202116245eSRalf Baechlesource "kernel/power/Kconfig"
2021952fa954SRodolfo Giometti
20221da177e4SLinus Torvaldsendmenu
20231da177e4SLinus Torvalds
2024d5950b43SSam Ravnborgsource "net/Kconfig"
2025d5950b43SSam Ravnborg
20261da177e4SLinus Torvaldssource "drivers/Kconfig"
20271da177e4SLinus Torvalds
20281da177e4SLinus Torvaldssource "fs/Kconfig"
20291da177e4SLinus Torvalds
203009cadedbSMathieu Desnoyerssource "kernel/Kconfig.instrumentation"
20315e83d430SRalf Baechle
20321da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
20331da177e4SLinus Torvalds
20341da177e4SLinus Torvaldssource "security/Kconfig"
20351da177e4SLinus Torvalds
20361da177e4SLinus Torvaldssource "crypto/Kconfig"
20371da177e4SLinus Torvalds
20381da177e4SLinus Torvaldssource "lib/Kconfig"
2039