xref: /linux/arch/mips/Kconfig (revision 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9)
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
691da177e4SLinus Torvalds	select DMA_NONCOHERENT
701da177e4SLinus Torvalds	select HW_HAS_PCI
71d865bea4SRalf Baechle	select I8253
721da177e4SLinus Torvalds	select I8259
731da177e4SLinus Torvalds	select IRQ_CPU
74d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
75252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
767cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
770a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
78ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
79ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
805e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
819fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
821da177e4SLinus Torvalds
831da177e4SLinus Torvaldsconfig MACH_DECSTATION
843fa986faSMartin Michlmayr	bool "DECstations"
851da177e4SLinus Torvalds	select BOOT_ELF32
8642f77542SRalf Baechle	select CEVT_R4K
871da177e4SLinus Torvalds	select DMA_NONCOHERENT
88d388d685SMaciej W. Rozycki	select NO_IOPORT
891da177e4SLinus Torvalds	select IRQ_CPU
907cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
917cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
92ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
93ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
945e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
951723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
961723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
971723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
985e83d430SRalf Baechle	help
991da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1001da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1011da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1021da177e4SLinus Torvalds
1031da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1041da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvalds		DECstation 5000/50
1071da177e4SLinus Torvalds		DECstation 5000/150
1081da177e4SLinus Torvalds		DECstation 5000/260
1091da177e4SLinus Torvalds		DECsystem 5900/260
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvalds	  otherwise choose R3000.
1121da177e4SLinus Torvalds
1135e83d430SRalf Baechleconfig MACH_JAZZ
1143fa986faSMartin Michlmayr	bool "Jazz family of machines"
1155e83d430SRalf Baechle	select ARC
1165e83d430SRalf Baechle	select ARC32
1175e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
11842f77542SRalf Baechle	select CEVT_R4K
1195e83d430SRalf Baechle	select GENERIC_ISA_DMA
120ea202c63SThomas Bogendoerfer	select IRQ_CPU
121d865bea4SRalf Baechle	select I8253
1225e83d430SRalf Baechle	select I8259
1235e83d430SRalf Baechle	select ISA
124de61b542SRalf Baechle	select PCSPEAKER
1257cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1265e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1275e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1281723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1299fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1301da177e4SLinus Torvalds	help
1315e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1325e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1335e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1345e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1355e83d430SRalf Baechle
1361f21d2bdSBrian Murphyconfig LASAT
1371f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
13842f77542SRalf Baechle	select CEVT_R4K
1391f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1401f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1411f21d2bdSBrian Murphy	select HW_HAS_PCI
142a5ccfe5cSRalf Baechle	select IRQ_CPU
1431f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1441f21d2bdSBrian Murphy	select MIPS_NILE4
1451f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1461f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1471f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1481f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1491f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1501f21d2bdSBrian Murphy	select GENERIC_HARDIRQS_NO__DO_IRQ
1511f21d2bdSBrian Murphy
152ade299d8SYoichi Yuasaconfig LEMOTE_FULONG
153ade299d8SYoichi Yuasa	bool "Lemote Fulong mini-PC"
154ade299d8SYoichi Yuasa	select ARCH_SPARSEMEM_ENABLE
15542f77542SRalf Baechle	select CEVT_R4K
156ade299d8SYoichi Yuasa	select SYS_HAS_CPU_LOONGSON2
157ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
158ade299d8SYoichi Yuasa	select BOOT_ELF32
159ade299d8SYoichi Yuasa	select BOARD_SCACHE
160ade299d8SYoichi Yuasa	select HAVE_STD_PC_SERIAL_PORT
161ade299d8SYoichi Yuasa	select HW_HAS_PCI
162ade299d8SYoichi Yuasa	select I8259
163ade299d8SYoichi Yuasa	select ISA
164ade299d8SYoichi Yuasa	select IRQ_CPU
165ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
166ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
167ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
168ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
169ade299d8SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
170ade299d8SYoichi Yuasa	select GENERIC_HARDIRQS_NO__DO_IRQ
17123dd6d35SRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
172ade299d8SYoichi Yuasa	select CPU_HAS_WB
173ade299d8SYoichi Yuasa	help
174ade299d8SYoichi Yuasa	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
175ade299d8SYoichi Yuasa	  an FPGA northbridge
176ade299d8SYoichi Yuasa
1771da177e4SLinus Torvaldsconfig MIPS_ATLAS
1783fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1791da177e4SLinus Torvalds	select BOOT_ELF32
18042f77542SRalf Baechle	select CEVT_R4K
1811da177e4SLinus Torvalds	select DMA_NONCOHERENT
18236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1835e83d430SRalf Baechle	select IRQ_CPU
1841da177e4SLinus Torvalds	select HW_HAS_PCI
1855e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1865e83d430SRalf Baechle	select MIPS_BONITO64
187252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1885e83d430SRalf Baechle	select MIPS_MSC
189f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1901da177e4SLinus Torvalds	select SWAP_IO_SPACE
1917cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1927cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1937cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1947cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1957cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
196ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
197ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1985e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1995e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
200f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
2019693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
202e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
2031da177e4SLinus Torvalds	help
204f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
2051da177e4SLinus Torvalds	  board.
2061da177e4SLinus Torvalds
2071da177e4SLinus Torvaldsconfig MIPS_MALTA
2083fa986faSMartin Michlmayr	bool "MIPS Malta board"
20961ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2101da177e4SLinus Torvalds	select BOOT_ELF32
21142f77542SRalf Baechle	select CEVT_R4K
2121da177e4SLinus Torvalds	select DMA_NONCOHERENT
2131da177e4SLinus Torvalds	select GENERIC_ISA_DMA
214aa414dffSRalf Baechle	select IRQ_CPU
2151da177e4SLinus Torvalds	select HW_HAS_PCI
216d865bea4SRalf Baechle	select I8253
2171da177e4SLinus Torvalds	select I8259
2185e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2195e83d430SRalf Baechle	select MIPS_BONITO64
2209318c51aSChris Dearman	select MIPS_CPU_SCACHE
221252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2225e83d430SRalf Baechle	select MIPS_MSC
2231da177e4SLinus Torvalds	select SWAP_IO_SPACE
2247cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2257cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2267cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2277cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2287cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
22936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
230ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
231ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2325e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2335e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
234f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2359693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2361da177e4SLinus Torvalds	help
237f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2381da177e4SLinus Torvalds	  board.
2391da177e4SLinus Torvalds
2401da177e4SLinus Torvaldsconfig MIPS_SEAD
241d98cc84dSRalf Baechle	bool "MIPS SEAD board"
24242f77542SRalf Baechle	select CEVT_R4K
2431da177e4SLinus Torvalds	select IRQ_CPU
2441da177e4SLinus Torvalds	select DMA_NONCOHERENT
24536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2465e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2477cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2487cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2497cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
250ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2515e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2525e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2535e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2549693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
255f638d197SMaciej W. Rozycki	help
256f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
257f638d197SMaciej W. Rozycki	  board.
2581da177e4SLinus Torvalds
259c78cbf49SRalf Baechleconfig MIPS_SIM
2603fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
26142f77542SRalf Baechle	select CEVT_R4K
262c78cbf49SRalf Baechle	select DMA_NONCOHERENT
26336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
264c78cbf49SRalf Baechle	select IRQ_CPU
2659267a30dSMarc St-Jean	select BOOT_RAW
2667cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2677cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
26836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
269c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
270c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
271f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
272c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
273c78cbf49SRalf Baechle	help
274c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
275c78cbf49SRalf Baechle	  emulator.
276c78cbf49SRalf Baechle
277ade299d8SYoichi Yuasaconfig MARKEINS
278ade299d8SYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
27942f77542SRalf Baechle	select CEVT_R4K
280ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
281ade299d8SYoichi Yuasa	select HW_HAS_PCI
282ade299d8SYoichi Yuasa	select IRQ_CPU
283ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
284ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
285ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
286ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
287ade299d8SYoichi Yuasa	select SYS_HAS_CPU_R5000
288ade299d8SYoichi Yuasa	help
289ade299d8SYoichi Yuasa	  This enables support for the R5432-based NEC Mark-eins
290ade299d8SYoichi Yuasa	  boards with R5500 CPU.
291ade299d8SYoichi Yuasa
2925e83d430SRalf Baechleconfig MACH_VR41XX
29374142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
29442f77542SRalf Baechle	select CEVT_R4K
2957cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
2969fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
2975e83d430SRalf Baechle
298ade299d8SYoichi Yuasaconfig PNX8550_JBS
299ade299d8SYoichi Yuasa	bool "Philips PNX8550 based JBS board"
300ade299d8SYoichi Yuasa	select PNX8550
301ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
302ade299d8SYoichi Yuasa
303ade299d8SYoichi Yuasaconfig PNX8550_STB810
304ade299d8SYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
305ade299d8SYoichi Yuasa	select PNX8550
306ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
307ade299d8SYoichi Yuasa
3089267a30dSMarc St-Jeanconfig PMC_MSP
3099267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3109267a30dSMarc St-Jean	depends on EXPERIMENTAL
3119267a30dSMarc St-Jean	select DMA_NONCOHERENT
3129267a30dSMarc St-Jean	select SWAP_IO_SPACE
3139267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3149267a30dSMarc St-Jean	select BOOT_RAW
3159267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3169267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3179267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3189267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3199267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
3209267a30dSMarc St-Jean	select IRQ_CPU
3219267a30dSMarc St-Jean	select SERIAL_8250
3229267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3239267a30dSMarc St-Jean	help
3249267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3259267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3269267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3279267a30dSMarc St-Jean	  a variety of MIPS cores.
3289267a30dSMarc St-Jean
3295e83d430SRalf Baechleconfig PMC_YOSEMITE
3303fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
33142f77542SRalf Baechle	select CEVT_R4K
3325e83d430SRalf Baechle	select DMA_COHERENT
3335e83d430SRalf Baechle	select HW_HAS_PCI
3345e83d430SRalf Baechle	select IRQ_CPU
3355e83d430SRalf Baechle	select IRQ_CPU_RM7K
3365e83d430SRalf Baechle	select IRQ_CPU_RM9K
3375e83d430SRalf Baechle	select SWAP_IO_SPACE
3387cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
33936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3405e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3415e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3425e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3435e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
344cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
345e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3465e83d430SRalf Baechle	help
3475e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3485e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3491da177e4SLinus Torvalds
35007119621SRalf Baechleconfig QEMU
3513fa986faSMartin Michlmayr	bool "Qemu"
35242f77542SRalf Baechle	select CEVT_R4K
35307119621SRalf Baechle	select DMA_COHERENT
35407119621SRalf Baechle	select GENERIC_ISA_DMA
35507119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
356d865bea4SRalf Baechle	select I8253
35707119621SRalf Baechle	select I8259
3587bcf7717SRalf Baechle	select IRQ_CPU
35907119621SRalf Baechle	select ISA
360de61b542SRalf Baechle	select PCSPEAKER
36107119621SRalf Baechle	select SWAP_IO_SPACE
3627cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
36307119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
36407119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
365c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
366b1c6cd42SAtsushi Nemoto	select ARCH_SPARSEMEM_ENABLE
3679fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
36872ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
36972ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
37007119621SRalf Baechle	help
37107119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
37207119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
37307119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
37407119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
37507119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
37607119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
37707119621SRalf Baechle
3781da177e4SLinus Torvaldsconfig SGI_IP22
3793fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3801da177e4SLinus Torvalds	select ARC
3811da177e4SLinus Torvalds	select ARC32
3821da177e4SLinus Torvalds	select BOOT_ELF32
38342f77542SRalf Baechle	select CEVT_R4K
3841da177e4SLinus Torvalds	select DMA_NONCOHERENT
3855e83d430SRalf Baechle	select HW_HAS_EISA
386d865bea4SRalf Baechle	select I8253
3871da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3881da177e4SLinus Torvalds	select IRQ_CPU
389aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
3901da177e4SLinus Torvalds	select SWAP_IO_SPACE
3917cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3927cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
39336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
394ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
395ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3965e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3971da177e4SLinus Torvalds	help
3981da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3991da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4001da177e4SLinus Torvalds	  that runs on these, say Y here.
4011da177e4SLinus Torvalds
4021da177e4SLinus Torvaldsconfig SGI_IP27
4033fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4041da177e4SLinus Torvalds	select ARC
4051da177e4SLinus Torvalds	select ARC64
4065e83d430SRalf Baechle	select BOOT_ELF64
4071da177e4SLinus Torvalds	select DMA_IP27
40836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4091da177e4SLinus Torvalds	select HW_HAS_PCI
410130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4117cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
412ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4135e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
414cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
415d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4161a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
417e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
4181da177e4SLinus Torvalds	help
4191da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4201da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4211da177e4SLinus Torvalds	  here.
4221da177e4SLinus Torvalds
4231da177e4SLinus Torvaldsconfig SGI_IP32
424cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4251da177e4SLinus Torvalds	select ARC
4261da177e4SLinus Torvalds	select ARC32
4271da177e4SLinus Torvalds	select BOOT_ELF32
42842f77542SRalf Baechle	select CEVT_R4K
4291da177e4SLinus Torvalds	select DMA_NONCOHERENT
4301da177e4SLinus Torvalds	select HW_HAS_PCI
431dd67b155SRalf Baechle	select IRQ_CPU
4321da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4331da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4347cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4357cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4367cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
437dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
438ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4395e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4401da177e4SLinus Torvalds	help
4411da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4421da177e4SLinus Torvalds
443ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
444ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4455e83d430SRalf Baechle	depends on EXPERIMENTAL
4465e83d430SRalf Baechle	select BOOT_ELF32
4475e83d430SRalf Baechle	select DMA_COHERENT
4485e83d430SRalf Baechle	select SIBYTE_BCM1120
4495e83d430SRalf Baechle	select SWAP_IO_SPACE
4507cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4515e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4525e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4535e83d430SRalf Baechle
454ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
455ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4565e83d430SRalf Baechle	depends on EXPERIMENTAL
4575e83d430SRalf Baechle	select BOOT_ELF32
4585e83d430SRalf Baechle	select DMA_COHERENT
4595e83d430SRalf Baechle	select SIBYTE_BCM1120
4605e83d430SRalf Baechle	select SWAP_IO_SPACE
4617cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4625e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4635e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4645e83d430SRalf Baechle
4655e83d430SRalf Baechleconfig SIBYTE_CRHONE
4663fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4675e83d430SRalf Baechle	depends on EXPERIMENTAL
4685e83d430SRalf Baechle	select BOOT_ELF32
4695e83d430SRalf Baechle	select DMA_COHERENT
4705e83d430SRalf Baechle	select SIBYTE_BCM1125
4715e83d430SRalf Baechle	select SWAP_IO_SPACE
4727cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4735e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4745e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4755e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4765e83d430SRalf Baechle
477ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
478ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
479ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
480ade299d8SYoichi Yuasa	select BOOT_ELF32
481ade299d8SYoichi Yuasa	select DMA_COHERENT
482ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
483ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
484ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
485ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
486ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
487ade299d8SYoichi Yuasa
488ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
489ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
490ade299d8SYoichi Yuasa	select BOOT_ELF32
491ade299d8SYoichi Yuasa	select DMA_COHERENT
492ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
493ade299d8SYoichi Yuasa	select SIBYTE_SB1250
494ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
495ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
496ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
497ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
498ade299d8SYoichi Yuasa	select SYS_SUPPORTS_KGDB
499ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
500ade299d8SYoichi Yuasa
501ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
502ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
503ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
504ade299d8SYoichi Yuasa	select BOOT_ELF32
505ade299d8SYoichi Yuasa	select DMA_COHERENT
506ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
507ade299d8SYoichi Yuasa	select SIBYTE_SB1250
508ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
509ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
510ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
511ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
512ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
513ade299d8SYoichi Yuasa
514ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
515ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
516ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
517ade299d8SYoichi Yuasa	select BOOT_ELF32
518ade299d8SYoichi Yuasa	select DMA_COHERENT
519ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
520ade299d8SYoichi Yuasa	select SIBYTE_SB1250
521ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
522ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
523ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
524ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
525ade299d8SYoichi Yuasa
526ade299d8SYoichi Yuasaconfig SIBYTE_PTSWARM
527ade299d8SYoichi Yuasa	bool "Sibyte BCM91250PT-PTSWARM"
528ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
529ade299d8SYoichi Yuasa	select BOOT_ELF32
530ade299d8SYoichi Yuasa	select DMA_COHERENT
531ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
532ade299d8SYoichi Yuasa	select SIBYTE_SB1250
533ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
534ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
535ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
536ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
537ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
538ade299d8SYoichi Yuasa
539ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
540ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
541ade299d8SYoichi Yuasa	select BOOT_ELF32
542ade299d8SYoichi Yuasa	select DMA_COHERENT
543ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
544ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
545ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
546ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
547ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
548ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
549ade299d8SYoichi Yuasa
55014b36af4SThomas Bogendoerferconfig SNI_RM
55114b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5524a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5534a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
5545e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5555e83d430SRalf Baechle	select BOOT_ELF32
55642f77542SRalf Baechle	select CEVT_R4K
5575e83d430SRalf Baechle	select DMA_NONCOHERENT
5585e83d430SRalf Baechle	select GENERIC_ISA_DMA
5595e83d430SRalf Baechle	select HW_HAS_EISA
5605e83d430SRalf Baechle	select HW_HAS_PCI
561c066a32aSThomas Bogendoerfer	select IRQ_CPU
562d865bea4SRalf Baechle	select I8253
5635e83d430SRalf Baechle	select I8259
5645e83d430SRalf Baechle	select ISA
565de61b542SRalf Baechle	select PCSPEAKER
5664a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5677cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5684a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
569c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5704a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
57136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
572ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5735e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5744a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5755e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5765e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5771da177e4SLinus Torvalds	help
57814b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
57914b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5805e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5815e83d430SRalf Baechle	  support this machine type.
5821da177e4SLinus Torvalds
5835e83d430SRalf Baechleconfig TOSHIBA_JMR3927
5843fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
5855e83d430SRalf Baechle	select DMA_NONCOHERENT
5865e83d430SRalf Baechle	select HW_HAS_PCI
5875e83d430SRalf Baechle	select MIPS_TX3927
588c87abd75SAtsushi Nemoto	select IRQ_TXX9
5895e83d430SRalf Baechle	select SWAP_IO_SPACE
5907cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
5915e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5926a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5935e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5942127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5955e83d430SRalf Baechle
5965e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
59708a91283SYoichi Yuasa	bool "Toshiba RBTX49[23]7 board"
59842f77542SRalf Baechle	select CEVT_R4K
5995e83d430SRalf Baechle	select DMA_NONCOHERENT
6005e83d430SRalf Baechle	select HAS_TXX9_SERIAL
6015e83d430SRalf Baechle	select HW_HAS_PCI
602c87abd75SAtsushi Nemoto	select IRQ_CPU
603c87abd75SAtsushi Nemoto	select IRQ_TXX9
604c87abd75SAtsushi Nemoto	select I8259 if TOSHIBA_FPCIB0
6055e83d430SRalf Baechle	select SWAP_IO_SPACE
6067cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
6075e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6085e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
6096a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6105e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
611cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6129fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6135e83d430SRalf Baechle	help
6145e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
6155e83d430SRalf Baechle	  support this machine type
6161da177e4SLinus Torvalds
61723fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
6183fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
61942f77542SRalf Baechle	select CEVT_R4K
62023fbee9dSRalf Baechle	select DMA_NONCOHERENT
62123fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
62223fbee9dSRalf Baechle	select HW_HAS_PCI
623c87abd75SAtsushi Nemoto	select IRQ_CPU
624c87abd75SAtsushi Nemoto	select IRQ_TXX9
62523fbee9dSRalf Baechle	select SWAP_IO_SPACE
6267cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
62723fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
62823fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
62923fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
630cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6319fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6323896b054SAtsushi Nemoto	select GENERIC_GPIO
63323fbee9dSRalf Baechle	help
63423fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
63523fbee9dSRalf Baechle	  support this machine type
63623fbee9dSRalf Baechle
637ade299d8SYoichi Yuasaconfig WR_PPMC
638ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
63942f77542SRalf Baechle	select CEVT_R4K
640ade299d8SYoichi Yuasa	select IRQ_CPU
641ade299d8SYoichi Yuasa	select BOOT_ELF32
642ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
643ade299d8SYoichi Yuasa	select HW_HAS_PCI
644ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
645ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
646ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
647ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
648ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
649ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
650ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
651ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
652ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
653ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
654ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
655ade299d8SYoichi Yuasa	help
656ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
657ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
658ade299d8SYoichi Yuasa
6591da177e4SLinus Torvaldsendchoice
6601da177e4SLinus Torvalds
661c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6625e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6631f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6645e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
66529c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
66638b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6675e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
66823fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6695e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
67038b18f72SRalf Baechle
6715e83d430SRalf Baechleendmenu
6725e83d430SRalf Baechle
6731da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6741da177e4SLinus Torvalds	bool
6751da177e4SLinus Torvalds	default y
6761da177e4SLinus Torvalds
6771da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6781da177e4SLinus Torvalds	bool
6791da177e4SLinus Torvalds
680f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
681f0d1b0b3SDavid Howells	bool
682f0d1b0b3SDavid Howells	default n
683f0d1b0b3SDavid Howells
684f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
685f0d1b0b3SDavid Howells	bool
686f0d1b0b3SDavid Howells	default n
687f0d1b0b3SDavid Howells
6883c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6893c9ee7efSAkinobu Mita	bool
6903c9ee7efSAkinobu Mita	default y
6913c9ee7efSAkinobu Mita
6923c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6933c9ee7efSAkinobu Mita	bool
6943c9ee7efSAkinobu Mita	default y
6953c9ee7efSAkinobu Mita
6961da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
6971da177e4SLinus Torvalds	bool
6981da177e4SLinus Torvalds	default y
6991da177e4SLinus Torvalds
7007bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7017bcf7717SRalf Baechle	bool
7027bcf7717SRalf Baechle	default y
7037bcf7717SRalf Baechle
7048db02010SRalf Baechleconfig GENERIC_TIME
7058db02010SRalf Baechle	bool
7068db02010SRalf Baechle	default y
7078db02010SRalf Baechle
708f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
709f5ff0a28SRalf Baechle	bool
710f5ff0a28SRalf Baechle	default y
711f5ff0a28SRalf Baechle
7121cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
7131cc89038SAtsushi Nemoto	bool
7141cc89038SAtsushi Nemoto	default y
7151cc89038SAtsushi Nemoto
716e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
717e77c232cSFranck Bui-Huu	bool
718e77c232cSFranck Bui-Huu	default n
719e77c232cSFranck Bui-Huu
7201da177e4SLinus Torvalds#
7211da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7221da177e4SLinus Torvalds#
7231da177e4SLinus Torvaldsconfig ARC
7241da177e4SLinus Torvalds	bool
7251da177e4SLinus Torvalds
72661ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
72761ed242dSRalf Baechle	bool
72861ed242dSRalf Baechle
7299267a30dSMarc St-Jeanconfig BOOT_RAW
7309267a30dSMarc St-Jean	bool
7319267a30dSMarc St-Jean
73242f77542SRalf Baechleconfig CEVT_R4K
73342f77542SRalf Baechle	bool
73442f77542SRalf Baechle
735df78b5c8SAurelien Jarnoconfig CFE
736df78b5c8SAurelien Jarno	bool
737df78b5c8SAurelien Jarno
7381da177e4SLinus Torvaldsconfig DMA_COHERENT
7391da177e4SLinus Torvalds	bool
7401da177e4SLinus Torvalds
7411da177e4SLinus Torvaldsconfig DMA_IP27
7421da177e4SLinus Torvalds	bool
7431da177e4SLinus Torvalds
7444ce588cdSRalf Baechleconfig DMA_IP32
7454ce588cdSRalf Baechle	bool
7464ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7474ce588cdSRalf Baechle
7481da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7491da177e4SLinus Torvalds	bool
7504ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7514ce588cdSRalf Baechle
7524ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7534ce588cdSRalf Baechle	bool
7541da177e4SLinus Torvalds
7551da177e4SLinus Torvaldsconfig EARLY_PRINTK
75636a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
75736a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
75836a88530SRalf Baechle	default y
75936a88530SRalf Baechle	help
76036a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
76136a88530SRalf Baechle	  to print messages very early in the bootup process.
76236a88530SRalf Baechle
76336a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
764490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
765490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
766490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
76736a88530SRalf Baechle	  unless you want to debug such a crash.
76836a88530SRalf Baechle
76936a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7701da177e4SLinus Torvalds	bool
7711da177e4SLinus Torvalds
772dbb74540SRalf Baechleconfig HOTPLUG_CPU
773dbb74540SRalf Baechle	bool
774dbb74540SRalf Baechle	default n
775dbb74540SRalf Baechle
7761da177e4SLinus Torvaldsconfig I8259
7771da177e4SLinus Torvalds	bool
7781da177e4SLinus Torvalds
7791da177e4SLinus Torvaldsconfig MIPS_BONITO64
7801da177e4SLinus Torvalds	bool
7811da177e4SLinus Torvalds
7821da177e4SLinus Torvaldsconfig MIPS_MSC
7831da177e4SLinus Torvalds	bool
7841da177e4SLinus Torvalds
7851f21d2bdSBrian Murphyconfig MIPS_NILE4
7861f21d2bdSBrian Murphy	bool
7871f21d2bdSBrian Murphy
7881da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7891da177e4SLinus Torvalds	bool
7901da177e4SLinus Torvalds
791d388d685SMaciej W. Rozyckiconfig NO_IOPORT
792d388d685SMaciej W. Rozycki	def_bool n
793d388d685SMaciej W. Rozycki
7948313da30SRalf Baechleconfig GENERIC_ISA_DMA
7958313da30SRalf Baechle	bool
7968313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
7978313da30SRalf Baechle
798aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
799aa414dffSRalf Baechle	bool
8008313da30SRalf Baechle	select GENERIC_ISA_DMA
801aa414dffSRalf Baechle
80209663335SYoichi Yuasaconfig GENERIC_GPIO
80309663335SYoichi Yuasa	bool
80409663335SYoichi Yuasa
8055e83d430SRalf Baechle#
8063cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
8075e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
8085e83d430SRalf Baechle# choice statement should be more obvious to the user.
8095e83d430SRalf Baechle#
8105e83d430SRalf Baechlechoice
8115e83d430SRalf Baechle	prompt "Endianess selection"
8121da177e4SLinus Torvalds	help
8131da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
8145e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
8153cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
8165e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
8173dde6ad8SDavid Sterba	  one or the other endianness.
8185e83d430SRalf Baechle
8195e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
8205e83d430SRalf Baechle	bool "Big endian"
8215e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
8225e83d430SRalf Baechle
8235e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8245e83d430SRalf Baechle	bool "Little endian"
8255e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8265e83d430SRalf Baechle	help
8275e83d430SRalf Baechle
8285e83d430SRalf Baechleendchoice
8295e83d430SRalf Baechle
8302116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8312116245eSRalf Baechle	bool
8322116245eSRalf Baechle
8335e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8345e83d430SRalf Baechle	bool
8355e83d430SRalf Baechle
8365e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8375e83d430SRalf Baechle	bool
8381da177e4SLinus Torvalds
8391da177e4SLinus Torvaldsconfig IRQ_CPU
8401da177e4SLinus Torvalds	bool
8411da177e4SLinus Torvalds
8421da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8431da177e4SLinus Torvalds	bool
8441da177e4SLinus Torvalds
8455e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8465e83d430SRalf Baechle	bool
8475e83d430SRalf Baechle
8489267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8499267a30dSMarc St-Jean	bool
8509267a30dSMarc St-Jean
8519267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
8529267a30dSMarc St-Jean	bool
8539267a30dSMarc St-Jean
8548420fd00SAtsushi Nemotoconfig IRQ_TXX9
8558420fd00SAtsushi Nemoto	bool
8568420fd00SAtsushi Nemoto
857d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
858d5ab1a69SYoichi Yuasa	bool
859d5ab1a69SYoichi Yuasa
8601da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8611da177e4SLinus Torvalds	bool
8621da177e4SLinus Torvalds
863252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8641da177e4SLinus Torvalds	bool
8651da177e4SLinus Torvalds
8669267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
8679267a30dSMarc St-Jean	bool
8689267a30dSMarc St-Jean
8691da177e4SLinus Torvaldsconfig MIPS_TX3927
8701da177e4SLinus Torvalds	bool
8711da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
8721da177e4SLinus Torvalds
873663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
874663c3d90Sthomas@koeller.dyndns.org	bool
875663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
876663c3d90Sthomas@koeller.dyndns.org
877bdf21b18SPete Popovconfig PNX8550
878bdf21b18SPete Popov	bool
879bdf21b18SPete Popov	select SOC_PNX8550
880bdf21b18SPete Popov
881bdf21b18SPete Popovconfig SOC_PNX8550
882bdf21b18SPete Popov	bool
883bdf21b18SPete Popov	select DMA_NONCOHERENT
884bdf21b18SPete Popov	select HW_HAS_PCI
885b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
88636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8877cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
888e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
889cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8904ead1681SFlorian Fainelli	select GENERIC_GPIO
891bdf21b18SPete Popov
8921da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8931da177e4SLinus Torvalds	bool
8941da177e4SLinus Torvalds
895355c471fSdmitry pervushinconfig EMMA2RH
896355c471fSdmitry pervushin	bool
897355c471fSdmitry pervushin	depends on MARKEINS
898355c471fSdmitry pervushin	default y
899355c471fSdmitry pervushin
900663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
901663c3d90Sthomas@koeller.dyndns.org	bool
902663c3d90Sthomas@koeller.dyndns.org
9035e83d430SRalf Baechleconfig ARC32
9045e83d430SRalf Baechle	bool
9055e83d430SRalf Baechle
9061da177e4SLinus Torvaldsconfig BOOT_ELF32
9071da177e4SLinus Torvalds	bool
9081da177e4SLinus Torvalds
9091da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
9101da177e4SLinus Torvalds	int
91106cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
91206cf5583SThomas Bogendoerfer	default "7" if SGI_IP27 || SNI_RM
9139267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
9141da177e4SLinus Torvalds	default "5"
9151da177e4SLinus Torvalds
9161da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
9171da177e4SLinus Torvalds	bool
9181da177e4SLinus Torvalds
9191da177e4SLinus Torvaldsconfig ARC_CONSOLE
9201da177e4SLinus Torvalds	bool "ARC console support"
92136a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
9221da177e4SLinus Torvalds
9231da177e4SLinus Torvaldsconfig ARC_MEMORY
9241da177e4SLinus Torvalds	bool
92514b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9261da177e4SLinus Torvalds	default y
9271da177e4SLinus Torvalds
9281da177e4SLinus Torvaldsconfig ARC_PROMLIB
9291da177e4SLinus Torvalds	bool
93014b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
9311da177e4SLinus Torvalds	default y
9321da177e4SLinus Torvalds
9331da177e4SLinus Torvaldsconfig ARC64
9341da177e4SLinus Torvalds	bool
9351da177e4SLinus Torvalds
9361da177e4SLinus Torvaldsconfig BOOT_ELF64
9371da177e4SLinus Torvalds	bool
9381da177e4SLinus Torvalds
9391da177e4SLinus Torvaldsmenu "CPU selection"
9401da177e4SLinus Torvalds
9417bcf7717SRalf Baechlesource "kernel/time/Kconfig"
9427bcf7717SRalf Baechle
9431da177e4SLinus Torvaldschoice
9441da177e4SLinus Torvalds	prompt "CPU type"
9451da177e4SLinus Torvalds	default CPU_R4X00
9461da177e4SLinus Torvalds
9472a21c730SFuxin Zhangconfig CPU_LOONGSON2
9482a21c730SFuxin Zhang	bool "Loongson 2"
9492a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
9502a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
9512a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
9522a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
9532a21c730SFuxin Zhang	help
9542a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
9552a21c730SFuxin Zhang	  with many extensions.
9562a21c730SFuxin Zhang
9576e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9586e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9597cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
960f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9616e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
962797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
963ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9646e760c8dSRalf Baechle	help
9655e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9661e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9671e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9681e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9691e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9701e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9711e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9721e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9731e5f1caaSRalf Baechle	  performance.
9741e5f1caaSRalf Baechle
9751e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9761e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9777cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
978f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9791e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
980797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
981ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9821e5f1caaSRalf Baechle	help
9835e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9846e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9856e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9866e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9876e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9881da177e4SLinus Torvalds
9896e760c8dSRalf Baechleconfig CPU_MIPS64_R1
9906e760c8dSRalf Baechle	bool "MIPS64 Release 1"
9917cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
992f7062ddbSRalf Baechle	select CPU_HAS_LLSC
993797798c1SRalf Baechle	select CPU_HAS_PREFETCH
994ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
995ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
996ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9976e760c8dSRalf Baechle	help
9986e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9996e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10006e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10016e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10026e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10031e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
10041e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
10051e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
10061e5f1caaSRalf Baechle	  performance.
10071e5f1caaSRalf Baechle
10081e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
10091e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
10107cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1011f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1012797798c1SRalf Baechle	select CPU_HAS_PREFETCH
10131e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10141e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1015ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10161e5f1caaSRalf Baechle	help
10171e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10181e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10191e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10201e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10211e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10221da177e4SLinus Torvalds
10231da177e4SLinus Torvaldsconfig CPU_R3000
10241da177e4SLinus Torvalds	bool "R3000"
10257cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1026f7062ddbSRalf Baechle	select CPU_HAS_WB
1027ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1028797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10291da177e4SLinus Torvalds	help
10301da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
10311da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
10321da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
10331da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
10341da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
10351da177e4SLinus Torvalds	  try to recompile with R3000.
10361da177e4SLinus Torvalds
10371da177e4SLinus Torvaldsconfig CPU_TX39XX
10381da177e4SLinus Torvalds	bool "R39XX"
10397cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1040ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10411da177e4SLinus Torvalds
10421da177e4SLinus Torvaldsconfig CPU_VR41XX
10431da177e4SLinus Torvalds	bool "R41xx"
10447cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1045ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1046ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10471da177e4SLinus Torvalds	help
10485e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
10491da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
10501da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10511da177e4SLinus Torvalds	  processor or vice versa.
10521da177e4SLinus Torvalds
10531da177e4SLinus Torvaldsconfig CPU_R4300
10541da177e4SLinus Torvalds	bool "R4300"
10557cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1056f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1057ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1058ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10591da177e4SLinus Torvalds	help
10601da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10611da177e4SLinus Torvalds
10621da177e4SLinus Torvaldsconfig CPU_R4X00
10631da177e4SLinus Torvalds	bool "R4x00"
10647cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1065f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1066ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1067ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10681da177e4SLinus Torvalds	help
10691da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10701da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10711da177e4SLinus Torvalds
10721da177e4SLinus Torvaldsconfig CPU_TX49XX
10731da177e4SLinus Torvalds	bool "R49XX"
10747cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1075f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1076de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1077ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1078ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10791da177e4SLinus Torvalds
10801da177e4SLinus Torvaldsconfig CPU_R5000
10811da177e4SLinus Torvalds	bool "R5000"
10827cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1083f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1084ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1085ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10861da177e4SLinus Torvalds	help
10871da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
10881da177e4SLinus Torvalds
10891da177e4SLinus Torvaldsconfig CPU_R5432
10901da177e4SLinus Torvalds	bool "R5432"
10917cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1092f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10935e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10945e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
10951da177e4SLinus Torvalds
10961da177e4SLinus Torvaldsconfig CPU_R6000
10971da177e4SLinus Torvalds	bool "R6000"
1098ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1099f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11007cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1101ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11021da177e4SLinus Torvalds	help
11031da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1104c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
11051da177e4SLinus Torvalds
11061da177e4SLinus Torvaldsconfig CPU_NEVADA
11071da177e4SLinus Torvalds	bool "RM52xx"
11087cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1109f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1110ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1111ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11121da177e4SLinus Torvalds	help
11131da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
11141da177e4SLinus Torvalds
11151da177e4SLinus Torvaldsconfig CPU_R8000
11161da177e4SLinus Torvalds	bool "R8000"
1117ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
11187cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1119f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11205e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1121ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11221da177e4SLinus Torvalds	help
11231da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
11241da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
11251da177e4SLinus Torvalds
11261da177e4SLinus Torvaldsconfig CPU_R10000
11271da177e4SLinus Torvalds	bool "R10000"
11287cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1129f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11305e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1131ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1132ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1133797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11341da177e4SLinus Torvalds	help
11351da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
11361da177e4SLinus Torvalds
11371da177e4SLinus Torvaldsconfig CPU_RM7000
11381da177e4SLinus Torvalds	bool "RM7000"
11397cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1140f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11415e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1142ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1143ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1144797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11451da177e4SLinus Torvalds
11461da177e4SLinus Torvaldsconfig CPU_RM9000
11471da177e4SLinus Torvalds	bool "RM9000"
11487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1149f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11505e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1151ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1152ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1153797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11540004a9dfSRalf Baechle	select WEAK_ORDERING
11551da177e4SLinus Torvalds
11561da177e4SLinus Torvaldsconfig CPU_SB1
11571da177e4SLinus Torvalds	bool "SB1"
11587cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1159f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1160ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1161ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1162797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11630004a9dfSRalf Baechle	select WEAK_ORDERING
11641da177e4SLinus Torvalds
11651da177e4SLinus Torvaldsendchoice
11661da177e4SLinus Torvalds
11672a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
11682a21c730SFuxin Zhang	bool
11692a21c730SFuxin Zhang
11707cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11717cf8053bSRalf Baechle	bool
11727cf8053bSRalf Baechle
11737cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11747cf8053bSRalf Baechle	bool
11757cf8053bSRalf Baechle
11767cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11777cf8053bSRalf Baechle	bool
11787cf8053bSRalf Baechle
11797cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
11807cf8053bSRalf Baechle	bool
11817cf8053bSRalf Baechle
11827cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
11837cf8053bSRalf Baechle	bool
11847cf8053bSRalf Baechle
11857cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
11867cf8053bSRalf Baechle	bool
11877cf8053bSRalf Baechle
11887cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
11897cf8053bSRalf Baechle	bool
11907cf8053bSRalf Baechle
11917cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
11927cf8053bSRalf Baechle	bool
11937cf8053bSRalf Baechle
11947cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
11957cf8053bSRalf Baechle	bool
11967cf8053bSRalf Baechle
11977cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
11987cf8053bSRalf Baechle	bool
11997cf8053bSRalf Baechle
12007cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
12017cf8053bSRalf Baechle	bool
12027cf8053bSRalf Baechle
12037cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
12047cf8053bSRalf Baechle	bool
12057cf8053bSRalf Baechle
12067cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
12077cf8053bSRalf Baechle	bool
12087cf8053bSRalf Baechle
12097cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
12107cf8053bSRalf Baechle	bool
12117cf8053bSRalf Baechle
12127cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
12137cf8053bSRalf Baechle	bool
12147cf8053bSRalf Baechle
12157cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
12167cf8053bSRalf Baechle	bool
12177cf8053bSRalf Baechle
12187cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
12197cf8053bSRalf Baechle	bool
12207cf8053bSRalf Baechle
12217cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
12227cf8053bSRalf Baechle	bool
12237cf8053bSRalf Baechle
12247cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
12257cf8053bSRalf Baechle	bool
12267cf8053bSRalf Baechle
122717099b11SRalf Baechle#
122817099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
122917099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
123017099b11SRalf Baechle#
12310004a9dfSRalf Baechleconfig WEAK_ORDERING
12320004a9dfSRalf Baechle	bool
123317099b11SRalf Baechle
123417099b11SRalf Baechle#
123517099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
123617099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
123717099b11SRalf Baechle#
123817099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
123917099b11SRalf Baechle	bool
12405e83d430SRalf Baechleendmenu
12415e83d430SRalf Baechle
12425e83d430SRalf Baechle#
12435e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
12445e83d430SRalf Baechle#
12455e83d430SRalf Baechleconfig CPU_MIPS32
12465e83d430SRalf Baechle	bool
12475e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
12485e83d430SRalf Baechle
12495e83d430SRalf Baechleconfig CPU_MIPS64
12505e83d430SRalf Baechle	bool
12515e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
12525e83d430SRalf Baechle
12535e83d430SRalf Baechle#
1254c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
12555e83d430SRalf Baechle#
12565e83d430SRalf Baechleconfig CPU_MIPSR1
12575e83d430SRalf Baechle	bool
12585e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
12595e83d430SRalf Baechle
12605e83d430SRalf Baechleconfig CPU_MIPSR2
12615e83d430SRalf Baechle	bool
12625e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
12635e83d430SRalf Baechle
12645e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
12655e83d430SRalf Baechle	bool
12665e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12675e83d430SRalf Baechle	bool
12685e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12695e83d430SRalf Baechle	bool
12705e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12715e83d430SRalf Baechle	bool
12725e83d430SRalf Baechle
12735e83d430SRalf Baechlemenu "Kernel type"
12745e83d430SRalf Baechle
12755e83d430SRalf Baechlechoice
12765e83d430SRalf Baechle
12775e83d430SRalf Baechle	prompt "Kernel code model"
12785e83d430SRalf Baechle	help
12795e83d430SRalf Baechle	  You should only select this option if you have a workload that
12805e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
12815e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
12825e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
12835e83d430SRalf Baechle
12845e83d430SRalf Baechleconfig 32BIT
12855e83d430SRalf Baechle	bool "32-bit kernel"
12865e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
12875e83d430SRalf Baechle	select TRAD_SIGNALS
12885e83d430SRalf Baechle	help
12895e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
12905e83d430SRalf Baechleconfig 64BIT
12915e83d430SRalf Baechle	bool "64-bit kernel"
12925e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
12935e83d430SRalf Baechle	help
12945e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
12955e83d430SRalf Baechle
12965e83d430SRalf Baechleendchoice
12975e83d430SRalf Baechle
12981da177e4SLinus Torvaldschoice
12991da177e4SLinus Torvalds	prompt "Kernel page size"
13001da177e4SLinus Torvalds	default PAGE_SIZE_4KB
13011da177e4SLinus Torvalds
13021da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
13031da177e4SLinus Torvalds	bool "4kB"
13041da177e4SLinus Torvalds	help
13051da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
13061da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
13071da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
13081da177e4SLinus Torvalds	 recommended for low memory systems.
13091da177e4SLinus Torvalds
13101da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
13111da177e4SLinus Torvalds	bool "8kB"
13121da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
13131da177e4SLinus Torvalds	help
13141da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
13151da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
13161da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
13171da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
13181da177e4SLinus Torvalds	  compatibility of user applications.
13191da177e4SLinus Torvalds
13201da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
13211da177e4SLinus Torvalds	bool "16kB"
1322714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
13231da177e4SLinus Torvalds	help
13241da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
13251da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1326714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1327714bfad6SRalf Baechle	  Linux distribution to support this.
13281da177e4SLinus Torvalds
13291da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
13301da177e4SLinus Torvalds	bool "64kB"
13311da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
13321da177e4SLinus Torvalds	help
13331da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
13341da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
13351da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1336714bfad6SRalf Baechle	  writing this option is still high experimental.
13371da177e4SLinus Torvalds
13381da177e4SLinus Torvaldsendchoice
13391da177e4SLinus Torvalds
13401da177e4SLinus Torvaldsconfig BOARD_SCACHE
13411da177e4SLinus Torvalds	bool
13421da177e4SLinus Torvalds
13431da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
13441da177e4SLinus Torvalds	bool
13451da177e4SLinus Torvalds	select BOARD_SCACHE
13461da177e4SLinus Torvalds
13479318c51aSChris Dearman#
13489318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
13499318c51aSChris Dearman#
13509318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
13519318c51aSChris Dearman	bool
13529318c51aSChris Dearman	select BOARD_SCACHE
13539318c51aSChris Dearman
13541da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
13551da177e4SLinus Torvalds	bool
13561da177e4SLinus Torvalds	select BOARD_SCACHE
13571da177e4SLinus Torvalds
13581da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
13591da177e4SLinus Torvalds	bool
13601da177e4SLinus Torvalds	select BOARD_SCACHE
13611da177e4SLinus Torvalds
13621da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
13631da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
13641da177e4SLinus Torvalds	depends on CPU_SB1
13651da177e4SLinus Torvalds	help
13661da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13671da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13681da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13691da177e4SLinus Torvalds
13701da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1371c8094b53SRalf Baechle	bool
13721da177e4SLinus Torvalds
1373340ee4b9SRalf Baechlechoice
1374340ee4b9SRalf Baechle	prompt "MIPS MT options"
1375f41ae0b2SRalf Baechle
1376f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1377f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1378f41ae0b2SRalf Baechle	help
1379f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1380f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1381f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1382f41ae0b2SRalf Baechle	  option in this menu.
1383340ee4b9SRalf Baechle
138459d6ab86SRalf Baechleconfig MIPS_MT_SMP
138559d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
138659d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
138759d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1388d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
138959d6ab86SRalf Baechle	select CPU_MIPSR2_SRS
139059d6ab86SRalf Baechle	select MIPS_MT
1391f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
139259d6ab86SRalf Baechle	select SMP
139359d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
139459d6ab86SRalf Baechle	help
139559d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
139659d6ab86SRalf Baechle	  has been marketesed into SMVP.
139759d6ab86SRalf Baechle
139841c594abSRalf Baechleconfig MIPS_MT_SMTC
139941c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1400f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1401f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1402f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1403ea580401SRalf Baechle	select GENERIC_CLOCKEVENTS_BROADCAST
1404f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1405d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1406f7062ddbSRalf Baechle	select CPU_MIPSR2_SRS
1407f41ae0b2SRalf Baechle	select MIPS_MT
1408130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
140941c594abSRalf Baechle	select SMP
141073b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1411f41ae0b2SRalf Baechle	help
1412f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1413f41ae0b2SRalf Baechle	  marketesed into SMVP.
141441c594abSRalf Baechle
1415340ee4b9SRalf Baechleendchoice
1416340ee4b9SRalf Baechle
1417f41ae0b2SRalf Baechleconfig MIPS_MT
1418f41ae0b2SRalf Baechle	bool
1419f41ae0b2SRalf Baechle
1420f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1421f41ae0b2SRalf Baechle	bool
1422f41ae0b2SRalf Baechle
1423f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1424f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1425f088fc84SRalf Baechle	default y
142607cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
142707cc0c9eSRalf Baechle
142807cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
142907cc0c9eSRalf Baechle	bool "VPE loader support."
143007cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
143107cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
143207cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
143307cc0c9eSRalf Baechle	select CPU_MIPSR2_SRS
143407cc0c9eSRalf Baechle	select MIPS_MT
143507cc0c9eSRalf Baechle	help
143607cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
143707cc0c9eSRalf Baechle	  onto another VPE and running it.
1438f088fc84SRalf Baechle
1439ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1440ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1441619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1442ac8be955SRalf Baechle	default y
1443ac8be955SRalf Baechle	help
1444ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1445ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1446ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1447ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1448ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1449ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1450ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1451ac8be955SRalf Baechle	  heavy I/O interrupt load.
1452ac8be955SRalf Baechle
14530db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
14540db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
14550db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
14560db34215SKevin D. Kissell	default y
14570db34215SKevin D. Kissell	help
14580db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
14590db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
14600db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
14610db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
14620db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
14630db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
14640db34215SKevin D. Kissell	  what you are doing.
14650db34215SKevin D. Kissell
1466f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1467f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1468f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1469f571eff0SKevin D. Kissell	default n
1470f571eff0SKevin D. Kissell	help
1471f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1472f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1473f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
1474f571eff0SKevin D. Kissell	  platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1475f571eff0SKevin D. Kissell	  be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1476f571eff0SKevin D. Kissell	  interrupt dispatch, and should be used only if you know what
1477f571eff0SKevin D. Kissell	  you are doing.
1478f571eff0SKevin D. Kissell
1479e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1480e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1481e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1482e01402b1SRalf Baechle	default y
1483e01402b1SRalf Baechle	help
1484e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1485e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1486e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1487e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1488e01402b1SRalf Baechle
1489e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1490e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1491e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1492e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
14935e83d430SRalf Baechle	help
1494e01402b1SRalf Baechle
14952600990eSRalf Baechleconfig MIPS_APSP_KSPD
14962600990eSRalf Baechle	bool "Enable KSPD"
14972600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
14982600990eSRalf Baechle	default y
14992600990eSRalf Baechle	help
15002600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
15012600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
15022600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
15032600990eSRalf Baechle	  exiting.  You probably want to say yes here.
15042600990eSRalf Baechle
15051da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
15061da177e4SLinus Torvalds	bool
15071da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
15081da177e4SLinus Torvalds	default y
15091da177e4SLinus Torvalds
15101da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
15111da177e4SLinus Torvalds	bool
15121da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
15131da177e4SLinus Torvalds	default y
15141da177e4SLinus Torvalds
15151da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
15161da177e4SLinus Torvalds	bool
15171da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
15181da177e4SLinus Torvalds	default y
15191da177e4SLinus Torvalds
15201da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1521d806cb2bSRalf Baechle	bool
15221da177e4SLinus Torvalds
15231da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1524f7062ddbSRalf Baechle	bool
15251da177e4SLinus Torvalds
15269693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
15279693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
15289693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
15299693a853SFranck Bui-Huu	help
15309693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
15319693a853SFranck Bui-Huu	  increased security at both hardware and software level for
15329693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
15339693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
15349693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
15359693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
15369693a853SFranck Bui-Huu	  here.
15379693a853SFranck Bui-Huu
15381da177e4SLinus Torvaldsconfig CPU_HAS_WB
1539f7062ddbSRalf Baechle	bool
1540e01402b1SRalf Baechle
15412a21c730SFuxin Zhangconfig 64BIT_CONTEXT
15422a21c730SFuxin Zhang	bool "Save 64bit integer registers"
15432a21c730SFuxin Zhang	depends on 32BIT && CPU_LOONGSON2
15442a21c730SFuxin Zhang	help
15452a21c730SFuxin Zhang	  Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
15462a21c730SFuxin Zhang	  registers can still be accessed as 64bit, mainly for multimedia
15472a21c730SFuxin Zhang	  instructions. We must have all 64bit save/restored to make sure
15482a21c730SFuxin Zhang	  those instructions to get correct result.
15492a21c730SFuxin Zhang
1550f41ae0b2SRalf Baechle#
1551f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1552f41ae0b2SRalf Baechle#
1553e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1554f41ae0b2SRalf Baechle	bool
1555e01402b1SRalf Baechle
1556f41ae0b2SRalf Baechle#
1557f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1558f41ae0b2SRalf Baechle#
1559e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1560f41ae0b2SRalf Baechle	bool
1561e01402b1SRalf Baechle
1562f41ae0b2SRalf Baechle#
1563f41ae0b2SRalf Baechle# Shadow registers are an R2 feature
1564f41ae0b2SRalf Baechle#
1565e01402b1SRalf Baechleconfig CPU_MIPSR2_SRS
1566f41ae0b2SRalf Baechle	bool
1567e01402b1SRalf Baechle
15681da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
15691da177e4SLinus Torvalds	bool
15701da177e4SLinus Torvalds	depends on !CPU_R3000
15711da177e4SLinus Torvalds	default y
15721da177e4SLinus Torvalds
1573ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1574ea580401SRalf Baechle	bool
1575ea580401SRalf Baechle
15761da177e4SLinus Torvalds#
1577797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1578797798c1SRalf Baechle#
1579797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1580797798c1SRalf Baechle	bool
1581797798c1SRalf Baechle	default y
1582797798c1SRalf Baechle
1583797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1584797798c1SRalf Baechle	bool
1585797798c1SRalf Baechle	default y
1586797798c1SRalf Baechle
15870d7012a9SIngo Molnarconfig IRQ_PER_CPU
15880d7012a9SIngo Molnar	bool
15890d7012a9SIngo Molnar
1590797798c1SRalf Baechle#
15911da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
15921da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
15931da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
15941da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
15951da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
15961da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
15971da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
15981da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1599797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1600797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1601797798c1SRalf Baechle#   support.
16021da177e4SLinus Torvalds#
16031da177e4SLinus Torvaldsconfig HIGHMEM
16041da177e4SLinus Torvalds	bool "High Memory Support"
1605797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1606797798c1SRalf Baechle
1607797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1608797798c1SRalf Baechle	bool
1609797798c1SRalf Baechle
1610797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1611797798c1SRalf Baechle	bool
16121da177e4SLinus Torvalds
16139693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
16149693a853SFranck Bui-Huu	bool
16159693a853SFranck Bui-Huu
1616b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1617b4819b59SYoichi Yuasa	def_bool y
1618b4819b59SYoichi Yuasa	depends on !NUMA
1619b4819b59SYoichi Yuasa
1620d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1621d8cb4e11SRalf Baechle	bool
1622d8cb4e11SRalf Baechle	default y if SGI_IP27
1623d8cb4e11SRalf Baechle	help
16243dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1625d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1626d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1627d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1628d8cb4e11SRalf Baechle
1629b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1630b1c6cd42SAtsushi Nemoto	bool
16317de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
163231473747SAtsushi Nemoto
1633d8cb4e11SRalf Baechleconfig NUMA
1634d8cb4e11SRalf Baechle	bool "NUMA Support"
1635d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1636d8cb4e11SRalf Baechle	help
1637d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1638d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1639d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1640d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1641d8cb4e11SRalf Baechle	  disabled.
1642d8cb4e11SRalf Baechle
1643d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1644d8cb4e11SRalf Baechle	bool
1645d8cb4e11SRalf Baechle
1646c80d79d7SYasunori Gotoconfig NODES_SHIFT
1647c80d79d7SYasunori Goto	int
1648c80d79d7SYasunori Goto	default "6"
1649c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1650c80d79d7SYasunori Goto
1651b4819b59SYoichi Yuasasource "mm/Kconfig"
1652b4819b59SYoichi Yuasa
16531da177e4SLinus Torvaldsconfig SMP
16541da177e4SLinus Torvalds	bool "Multi-Processing support"
1655e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1656b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1657e73ea273SRalf Baechle	help
16581da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
16591da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
16601da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
16611da177e4SLinus Torvalds
16621da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
16631da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
16641da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
16651da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
16661da177e4SLinus Torvalds	  will run faster if you say N here.
16671da177e4SLinus Torvalds
16681da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
16691da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
16701da177e4SLinus Torvalds
16711da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
16721da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
16731da177e4SLinus Torvalds
16741da177e4SLinus Torvalds	  If you don't know what to do here, say N.
16751da177e4SLinus Torvalds
1676e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1677e73ea273SRalf Baechle	bool
1678e73ea273SRalf Baechle
167972ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
168072ede9b1SAtsushi Nemoto	bool
168172ede9b1SAtsushi Nemoto
1682130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1683130e2fb7SRalf Baechle	bool
1684130e2fb7SRalf Baechle
1685130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1686130e2fb7SRalf Baechle	bool
1687130e2fb7SRalf Baechle
1688130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1689130e2fb7SRalf Baechle	bool
1690130e2fb7SRalf Baechle
1691130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1692130e2fb7SRalf Baechle	bool
1693130e2fb7SRalf Baechle
1694130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1695130e2fb7SRalf Baechle	bool
1696130e2fb7SRalf Baechle
1697130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1698130e2fb7SRalf Baechle	bool
1699130e2fb7SRalf Baechle
17001da177e4SLinus Torvaldsconfig NR_CPUS
17011da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
170272ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
17031da177e4SLinus Torvalds	depends on SMP
170472ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1705130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1706130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1707130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1708130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1709130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1710130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
17111da177e4SLinus Torvalds	help
17121da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
17131da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
17141da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
171572ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
171672ede9b1SAtsushi Nemoto	  and 2 for all others.
17171da177e4SLinus Torvalds
17181da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
171972ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
172072ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
172172ede9b1SAtsushi Nemoto	  power of two.
17221da177e4SLinus Torvalds
17231723b4a3SAtsushi Nemoto#
17241723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
17251723b4a3SAtsushi Nemoto#
17261723b4a3SAtsushi Nemoto
17271723b4a3SAtsushi Nemotochoice
17281723b4a3SAtsushi Nemoto	prompt "Timer frequency"
17291723b4a3SAtsushi Nemoto	default HZ_250
17301723b4a3SAtsushi Nemoto	help
17311723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
17321723b4a3SAtsushi Nemoto
17331723b4a3SAtsushi Nemoto	config HZ_48
17341723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
17351723b4a3SAtsushi Nemoto
17361723b4a3SAtsushi Nemoto	config HZ_100
17371723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
17381723b4a3SAtsushi Nemoto
17391723b4a3SAtsushi Nemoto	config HZ_128
17401723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
17411723b4a3SAtsushi Nemoto
17421723b4a3SAtsushi Nemoto	config HZ_250
17431723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
17441723b4a3SAtsushi Nemoto
17451723b4a3SAtsushi Nemoto	config HZ_256
17461723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
17471723b4a3SAtsushi Nemoto
17481723b4a3SAtsushi Nemoto	config HZ_1000
17491723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
17501723b4a3SAtsushi Nemoto
17511723b4a3SAtsushi Nemoto	config HZ_1024
17521723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
17531723b4a3SAtsushi Nemoto
17541723b4a3SAtsushi Nemotoendchoice
17551723b4a3SAtsushi Nemoto
17561723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
17571723b4a3SAtsushi Nemoto	bool
17581723b4a3SAtsushi Nemoto
17591723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
17601723b4a3SAtsushi Nemoto	bool
17611723b4a3SAtsushi Nemoto
17621723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
17631723b4a3SAtsushi Nemoto	bool
17641723b4a3SAtsushi Nemoto
17651723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
17661723b4a3SAtsushi Nemoto	bool
17671723b4a3SAtsushi Nemoto
17681723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
17691723b4a3SAtsushi Nemoto	bool
17701723b4a3SAtsushi Nemoto
17711723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
17721723b4a3SAtsushi Nemoto	bool
17731723b4a3SAtsushi Nemoto
17741723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
17751723b4a3SAtsushi Nemoto	bool
17761723b4a3SAtsushi Nemoto
17771723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
17781723b4a3SAtsushi Nemoto	bool
17791723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
17801723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
17811723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
17821723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
17831723b4a3SAtsushi Nemoto
17841723b4a3SAtsushi Nemotoconfig HZ
17851723b4a3SAtsushi Nemoto	int
17861723b4a3SAtsushi Nemoto	default 48 if HZ_48
17871723b4a3SAtsushi Nemoto	default 100 if HZ_100
17881723b4a3SAtsushi Nemoto	default 128 if HZ_128
17891723b4a3SAtsushi Nemoto	default 250 if HZ_250
17901723b4a3SAtsushi Nemoto	default 256 if HZ_256
17911723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
17921723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
17931723b4a3SAtsushi Nemoto
1794e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
17951da177e4SLinus Torvalds
17961da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
17971da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1798875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
17991da177e4SLinus Torvalds	help
18001da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
18011da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
18021da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
18031da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
18041da177e4SLinus Torvalds	  recommended for normal users.
18051da177e4SLinus Torvalds
1806ea6e942bSAtsushi Nemotoconfig KEXEC
1807ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1808ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1809ea6e942bSAtsushi Nemoto	help
1810ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1811ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
18123dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1813ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1814ea6e942bSAtsushi Nemoto
1815ea6e942bSAtsushi Nemoto	  The name comes from the similiarity to the exec system call.
1816ea6e942bSAtsushi Nemoto
1817ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1818ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1819ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1820ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1821ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1822ea6e942bSAtsushi Nemoto
1823ea6e942bSAtsushi Nemotoconfig SECCOMP
1824ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1825293c5bd1SRalf Baechle	depends on PROC_FS
1826ea6e942bSAtsushi Nemoto	default y
1827ea6e942bSAtsushi Nemoto	help
1828ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1829ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1830ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1831ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1832ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1833ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1834ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1835ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1836ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1837ea6e942bSAtsushi Nemoto
1838ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1839ea6e942bSAtsushi Nemoto
18405e83d430SRalf Baechleendmenu
18415e83d430SRalf Baechle
18421da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
18431da177e4SLinus Torvalds	bool
18441da177e4SLinus Torvalds	default y
18451da177e4SLinus Torvalds
18461df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
18471df0f0ffSAtsushi Nemoto	bool
18481df0f0ffSAtsushi Nemoto	default y
18491df0f0ffSAtsushi Nemoto
18501df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
18511df0f0ffSAtsushi Nemoto	bool
18521df0f0ffSAtsushi Nemoto	default y
18531df0f0ffSAtsushi Nemoto
1854b6c3539bSRalf Baechlesource "init/Kconfig"
1855b6c3539bSRalf Baechle
18561da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
18571da177e4SLinus Torvalds
18585e83d430SRalf Baechleconfig HW_HAS_EISA
18595e83d430SRalf Baechle	bool
18601da177e4SLinus Torvaldsconfig HW_HAS_PCI
18611da177e4SLinus Torvalds	bool
18621da177e4SLinus Torvalds
18631da177e4SLinus Torvaldsconfig PCI
18641da177e4SLinus Torvalds	bool "Support for PCI controller"
18651da177e4SLinus Torvalds	depends on HW_HAS_PCI
1866abb4ae46SRalf Baechle	select PCI_DOMAINS
18671da177e4SLinus Torvalds	help
18681da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
18691da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
18701da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
18711da177e4SLinus Torvalds	  say Y, otherwise N.
18721da177e4SLinus Torvalds
18731da177e4SLinus Torvalds	  The PCI-HOWTO, available from
18741da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
18751da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
18761da177e4SLinus Torvalds	  doesn't.
18771da177e4SLinus Torvalds
18781da177e4SLinus Torvaldsconfig PCI_DOMAINS
18791da177e4SLinus Torvalds	bool
18801da177e4SLinus Torvalds
18811da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
18821da177e4SLinus Torvalds
18831da177e4SLinus Torvalds#
18841da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
18851da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
18861da177e4SLinus Torvalds# users to choose the right thing ...
18871da177e4SLinus Torvalds#
18881da177e4SLinus Torvaldsconfig ISA
18891da177e4SLinus Torvalds	bool
18901da177e4SLinus Torvalds
18911da177e4SLinus Torvaldsconfig EISA
18921da177e4SLinus Torvalds	bool "EISA support"
18935e83d430SRalf Baechle	depends on HW_HAS_EISA
18941da177e4SLinus Torvalds	select ISA
1895aa414dffSRalf Baechle	select GENERIC_ISA_DMA
18961da177e4SLinus Torvalds	---help---
18971da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
18981da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
18991da177e4SLinus Torvalds
19001da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
19011da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
19021da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
19031da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
19041da177e4SLinus Torvalds
19051da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
19061da177e4SLinus Torvalds
19071da177e4SLinus Torvalds	  Otherwise, say N.
19081da177e4SLinus Torvalds
19091da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
19101da177e4SLinus Torvalds
19111da177e4SLinus Torvaldsconfig TC
19121da177e4SLinus Torvalds	bool "TURBOchannel support"
19131da177e4SLinus Torvalds	depends on MACH_DECSTATION
19141da177e4SLinus Torvalds	help
19151da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
19161da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
19171da177e4SLinus Torvalds	  is available at:
19181da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
19191da177e4SLinus Torvalds
19201da177e4SLinus Torvalds#config ACCESSBUS
19211da177e4SLinus Torvalds#	bool "Access.Bus support"
19221da177e4SLinus Torvalds#	depends on TC
19231da177e4SLinus Torvalds
19241da177e4SLinus Torvaldsconfig MMU
19251da177e4SLinus Torvalds	bool
19261da177e4SLinus Torvalds	default y
19271da177e4SLinus Torvalds
1928d865bea4SRalf Baechleconfig I8253
1929d865bea4SRalf Baechle	bool
1930d865bea4SRalf Baechle
1931de61b542SRalf Baechleconfig PCSPEAKER
1932e5c6c8e4SMichael Neuling	bool
1933e5c6c8e4SMichael Neuling
19341da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
19351da177e4SLinus Torvalds
19361da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
19371da177e4SLinus Torvalds
19381da177e4SLinus Torvaldsendmenu
19391da177e4SLinus Torvalds
19401da177e4SLinus Torvaldsmenu "Executable file formats"
19411da177e4SLinus Torvalds
19421da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
19431da177e4SLinus Torvalds
19441da177e4SLinus Torvaldsconfig TRAD_SIGNALS
19451da177e4SLinus Torvalds	bool
19461da177e4SLinus Torvalds
19471da177e4SLinus Torvaldsconfig BINFMT_IRIX
19481da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
19495e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
19501da177e4SLinus Torvalds
19511da177e4SLinus Torvaldsconfig MIPS32_COMPAT
19521da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1953875d43e7SRalf Baechle	depends on 64BIT
19541da177e4SLinus Torvalds	help
19551da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
19561da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
19571da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
19581da177e4SLinus Torvalds
19591da177e4SLinus Torvaldsconfig COMPAT
19601da177e4SLinus Torvalds	bool
19611da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19621da177e4SLinus Torvalds	default y
19631da177e4SLinus Torvalds
196405e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
196505e43966SAtsushi Nemoto	bool
196605e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
196705e43966SAtsushi Nemoto	default y
196805e43966SAtsushi Nemoto
19691da177e4SLinus Torvaldsconfig MIPS32_O32
19701da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
19711da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19721da177e4SLinus Torvalds	help
19731da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
19741da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
19751da177e4SLinus Torvalds	  existing binaries are in this format.
19761da177e4SLinus Torvalds
19771da177e4SLinus Torvalds	  If unsure, say Y.
19781da177e4SLinus Torvalds
19791da177e4SLinus Torvaldsconfig MIPS32_N32
19801da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
19811da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19821da177e4SLinus Torvalds	help
19831da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
19841da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
19851da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
19861da177e4SLinus Torvalds	  cases.
19871da177e4SLinus Torvalds
19881da177e4SLinus Torvalds	  If unsure, say N.
19891da177e4SLinus Torvalds
19901da177e4SLinus Torvaldsconfig BINFMT_ELF32
19911da177e4SLinus Torvalds	bool
19921da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
19931da177e4SLinus Torvalds
19942116245eSRalf Baechleendmenu
19951da177e4SLinus Torvalds
19962116245eSRalf Baechlemenu "Power management options"
1997952fa954SRodolfo Giometti
19982116245eSRalf Baechlesource "kernel/power/Kconfig"
1999952fa954SRodolfo Giometti
20001da177e4SLinus Torvaldsendmenu
20011da177e4SLinus Torvalds
2002d5950b43SSam Ravnborgsource "net/Kconfig"
2003d5950b43SSam Ravnborg
20041da177e4SLinus Torvaldssource "drivers/Kconfig"
20051da177e4SLinus Torvalds
20061da177e4SLinus Torvaldssource "fs/Kconfig"
20071da177e4SLinus Torvalds
2008*09cadedbSMathieu Desnoyerssource "kernel/Kconfig.instrumentation"
20095e83d430SRalf Baechle
20101da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
20111da177e4SLinus Torvalds
20121da177e4SLinus Torvaldssource "security/Kconfig"
20131da177e4SLinus Torvalds
20141da177e4SLinus Torvaldssource "crypto/Kconfig"
20151da177e4SLinus Torvalds
20161da177e4SLinus Torvaldssource "lib/Kconfig"
2017