xref: /linux/arch/mips/Kconfig (revision d865bea4dace1d42995a6cf552bc4863842623f4)
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"
2435189fadSRalf Baechle	select DMA_COHERENT
2535189fadSRalf Baechle	select HW_HAS_PCI
2635189fadSRalf Baechle	select IRQ_CPU
2735189fadSRalf Baechle	select IRQ_CPU_RM7K
2835189fadSRalf Baechle	select IRQ_CPU_RM9K
29663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
3035189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
3135189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3235189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
33cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3435189fadSRalf Baechle	help
3535189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
36be91589eSThomas Koeller	  Basler Vision Technologies AG.
3735189fadSRalf Baechle
3835189fadSRalf Baechleconfig BASLER_EXCITE_PROTOTYPE
3935189fadSRalf Baechle	bool "Support for pre-release units"
4035189fadSRalf Baechle	depends on BASLER_EXCITE
4135189fadSRalf Baechle	default n
4235189fadSRalf Baechle	help
4335189fadSRalf Baechle	  Pre-series (prototype) units are different from later ones in
4435189fadSRalf Baechle	  some ways. Select this option if you have one of these. Please
4535189fadSRalf Baechle	  note that a kernel built with this option selected will not be
4635189fadSRalf Baechle	  able to run on normal units.
4735189fadSRalf Baechle
481c0c13ebSAurelien Jarnoconfig BCM47XX
491c0c13ebSAurelien Jarno	bool "BCM47XX based boards"
501c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
511c0c13ebSAurelien Jarno	select HW_HAS_PCI
521c0c13ebSAurelien Jarno	select IRQ_CPU
531c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
541c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
551c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
561c0c13ebSAurelien Jarno	select SSB
571c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
581c0c13ebSAurelien Jarno	select GENERIC_GPIO
5925e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
6025e5fb97SAurelien Jarno	select CFE
611c0c13ebSAurelien Jarno	help
621c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
631c0c13ebSAurelien Jarno
641da177e4SLinus Torvaldsconfig MIPS_COBALT
653fa986faSMartin Michlmayr	bool "Cobalt Server"
661da177e4SLinus Torvalds	select DMA_NONCOHERENT
671da177e4SLinus Torvalds	select HW_HAS_PCI
68*d865bea4SRalf Baechle	select I8253
691da177e4SLinus Torvalds	select I8259
701da177e4SLinus Torvalds	select IRQ_CPU
71d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
72252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
737cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
740a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
75ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
76ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
775e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
789fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
791da177e4SLinus Torvalds
801da177e4SLinus Torvaldsconfig MACH_DECSTATION
813fa986faSMartin Michlmayr	bool "DECstations"
821da177e4SLinus Torvalds	select BOOT_ELF32
831da177e4SLinus Torvalds	select DMA_NONCOHERENT
84d388d685SMaciej W. Rozycki	select NO_IOPORT
851da177e4SLinus Torvalds	select IRQ_CPU
867cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
877cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
88ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
89ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
905e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
911723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
921723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
931723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
945e83d430SRalf Baechle	help
951da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
961da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
971da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
981da177e4SLinus Torvalds
991da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1001da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvalds		DECstation 5000/50
1031da177e4SLinus Torvalds		DECstation 5000/150
1041da177e4SLinus Torvalds		DECstation 5000/260
1051da177e4SLinus Torvalds		DECsystem 5900/260
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds	  otherwise choose R3000.
1081da177e4SLinus Torvalds
1095e83d430SRalf Baechleconfig MACH_JAZZ
1103fa986faSMartin Michlmayr	bool "Jazz family of machines"
1115e83d430SRalf Baechle	select ARC
1125e83d430SRalf Baechle	select ARC32
1135e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1145e83d430SRalf Baechle	select GENERIC_ISA_DMA
115ea202c63SThomas Bogendoerfer	select IRQ_CPU
116*d865bea4SRalf Baechle	select I8253
1175e83d430SRalf Baechle	select I8259
1185e83d430SRalf Baechle	select ISA
119de61b542SRalf Baechle	select PCSPEAKER
1207cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1215e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1225e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1231723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1249fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1251da177e4SLinus Torvalds	help
1265e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1275e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1285e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1295e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1305e83d430SRalf Baechle
1311f21d2bdSBrian Murphyconfig LASAT
1321f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
1331f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1341f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1351f21d2bdSBrian Murphy	select HW_HAS_PCI
1361f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1371f21d2bdSBrian Murphy	select MIPS_NILE4
1381f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1391f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1401f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1411f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1421f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1431f21d2bdSBrian Murphy	select GENERIC_HARDIRQS_NO__DO_IRQ
1441f21d2bdSBrian Murphy
145ade299d8SYoichi Yuasaconfig LEMOTE_FULONG
146ade299d8SYoichi Yuasa	bool "Lemote Fulong mini-PC"
147ade299d8SYoichi Yuasa	select ARCH_SPARSEMEM_ENABLE
148ade299d8SYoichi Yuasa	select SYS_HAS_CPU_LOONGSON2
149ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
150ade299d8SYoichi Yuasa	select BOOT_ELF32
151ade299d8SYoichi Yuasa	select BOARD_SCACHE
152ade299d8SYoichi Yuasa	select HAVE_STD_PC_SERIAL_PORT
153ade299d8SYoichi Yuasa	select HW_HAS_PCI
154ade299d8SYoichi Yuasa	select I8259
155ade299d8SYoichi Yuasa	select ISA
156ade299d8SYoichi Yuasa	select IRQ_CPU
157ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
158ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
159ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
160ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
161ade299d8SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
162ade299d8SYoichi Yuasa	select GENERIC_HARDIRQS_NO__DO_IRQ
16323dd6d35SRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
164ade299d8SYoichi Yuasa	select CPU_HAS_WB
165ade299d8SYoichi Yuasa	help
166ade299d8SYoichi Yuasa	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
167ade299d8SYoichi Yuasa	  an FPGA northbridge
168ade299d8SYoichi Yuasa
1691da177e4SLinus Torvaldsconfig MIPS_ATLAS
1703fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1711da177e4SLinus Torvalds	select BOOT_ELF32
1721da177e4SLinus Torvalds	select DMA_NONCOHERENT
17336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1745e83d430SRalf Baechle	select IRQ_CPU
1751da177e4SLinus Torvalds	select HW_HAS_PCI
1765e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1775e83d430SRalf Baechle	select MIPS_BONITO64
178252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1795e83d430SRalf Baechle	select MIPS_MSC
180f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1811da177e4SLinus Torvalds	select SWAP_IO_SPACE
1827cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1837cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1847cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1857cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1867cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
187ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
188ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1895e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1905e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
191f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
1929693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
193e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
1941da177e4SLinus Torvalds	help
195f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
1961da177e4SLinus Torvalds	  board.
1971da177e4SLinus Torvalds
1981da177e4SLinus Torvaldsconfig MIPS_MALTA
1993fa986faSMartin Michlmayr	bool "MIPS Malta board"
20061ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2011da177e4SLinus Torvalds	select BOOT_ELF32
2021da177e4SLinus Torvalds	select DMA_NONCOHERENT
2031da177e4SLinus Torvalds	select GENERIC_ISA_DMA
204aa414dffSRalf Baechle	select IRQ_CPU
2051da177e4SLinus Torvalds	select HW_HAS_PCI
206*d865bea4SRalf Baechle	select I8253
2071da177e4SLinus Torvalds	select I8259
2085e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2095e83d430SRalf Baechle	select MIPS_BONITO64
2109318c51aSChris Dearman	select MIPS_CPU_SCACHE
211252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2125e83d430SRalf Baechle	select MIPS_MSC
2131da177e4SLinus Torvalds	select SWAP_IO_SPACE
2147cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2157cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2167cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2177cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2187cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
21936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
220ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
221ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2225e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2235e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
224f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2259693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2261da177e4SLinus Torvalds	help
227f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2281da177e4SLinus Torvalds	  board.
2291da177e4SLinus Torvalds
2301da177e4SLinus Torvaldsconfig MIPS_SEAD
231d98cc84dSRalf Baechle	bool "MIPS SEAD board"
2321da177e4SLinus Torvalds	select IRQ_CPU
2331da177e4SLinus Torvalds	select DMA_NONCOHERENT
23436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2355e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2367cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2377cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2387cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
239ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2405e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2415e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2425e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2439693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
244f638d197SMaciej W. Rozycki	help
245f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
246f638d197SMaciej W. Rozycki	  board.
2471da177e4SLinus Torvalds
248c78cbf49SRalf Baechleconfig MIPS_SIM
2493fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
250c78cbf49SRalf Baechle	select DMA_NONCOHERENT
25136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
252c78cbf49SRalf Baechle	select IRQ_CPU
2539267a30dSMarc St-Jean	select BOOT_RAW
2547cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2557cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
25636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
257c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
258c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
259f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
260c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
261c78cbf49SRalf Baechle	help
262c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
263c78cbf49SRalf Baechle	  emulator.
264c78cbf49SRalf Baechle
265ade299d8SYoichi Yuasaconfig MARKEINS
266ade299d8SYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
267ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
268ade299d8SYoichi Yuasa	select HW_HAS_PCI
269ade299d8SYoichi Yuasa	select IRQ_CPU
270ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
271ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
272ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
273ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
274ade299d8SYoichi Yuasa	select SYS_HAS_CPU_R5000
275ade299d8SYoichi Yuasa	help
276ade299d8SYoichi Yuasa	  This enables support for the R5432-based NEC Mark-eins
277ade299d8SYoichi Yuasa	  boards with R5500 CPU.
278ade299d8SYoichi Yuasa
2795e83d430SRalf Baechleconfig MACH_VR41XX
28074142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
2817cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
2829fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
2835e83d430SRalf Baechle
284ade299d8SYoichi Yuasaconfig PNX8550_JBS
285ade299d8SYoichi Yuasa	bool "Philips PNX8550 based JBS board"
286ade299d8SYoichi Yuasa	select PNX8550
287ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
288ade299d8SYoichi Yuasa
289ade299d8SYoichi Yuasaconfig PNX8550_STB810
290ade299d8SYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
291ade299d8SYoichi Yuasa	select PNX8550
292ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
293ade299d8SYoichi Yuasa
2949267a30dSMarc St-Jeanconfig PMC_MSP
2959267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
2969267a30dSMarc St-Jean	depends on EXPERIMENTAL
2979267a30dSMarc St-Jean	select DMA_NONCOHERENT
2989267a30dSMarc St-Jean	select SWAP_IO_SPACE
2999267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3009267a30dSMarc St-Jean	select BOOT_RAW
3019267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3029267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3039267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3049267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3059267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
3069267a30dSMarc St-Jean	select IRQ_CPU
3079267a30dSMarc St-Jean	select SERIAL_8250
3089267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3099267a30dSMarc St-Jean	help
3109267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3119267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3129267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3139267a30dSMarc St-Jean	  a variety of MIPS cores.
3149267a30dSMarc St-Jean
3155e83d430SRalf Baechleconfig PMC_YOSEMITE
3163fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
3175e83d430SRalf Baechle	select DMA_COHERENT
3185e83d430SRalf Baechle	select HW_HAS_PCI
3195e83d430SRalf Baechle	select IRQ_CPU
3205e83d430SRalf Baechle	select IRQ_CPU_RM7K
3215e83d430SRalf Baechle	select IRQ_CPU_RM9K
3225e83d430SRalf Baechle	select SWAP_IO_SPACE
3237cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
32436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3255e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3265e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3275e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3285e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
329cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
330e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3315e83d430SRalf Baechle	help
3325e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3335e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3341da177e4SLinus Torvalds
33507119621SRalf Baechleconfig QEMU
3363fa986faSMartin Michlmayr	bool "Qemu"
33707119621SRalf Baechle	select DMA_COHERENT
33807119621SRalf Baechle	select GENERIC_ISA_DMA
33907119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
340*d865bea4SRalf Baechle	select I8253
34107119621SRalf Baechle	select I8259
3427bcf7717SRalf Baechle	select IRQ_CPU
34307119621SRalf Baechle	select ISA
344de61b542SRalf Baechle	select PCSPEAKER
34507119621SRalf Baechle	select SWAP_IO_SPACE
3467cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
34707119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
34807119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
349c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
350b1c6cd42SAtsushi Nemoto	select ARCH_SPARSEMEM_ENABLE
3519fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
35272ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
35372ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
35407119621SRalf Baechle	help
35507119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
35607119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
35707119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
35807119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
35907119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
36007119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
36107119621SRalf Baechle
3621da177e4SLinus Torvaldsconfig SGI_IP22
3633fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3641da177e4SLinus Torvalds	select ARC
3651da177e4SLinus Torvalds	select ARC32
3661da177e4SLinus Torvalds	select BOOT_ELF32
3671da177e4SLinus Torvalds	select DMA_NONCOHERENT
3685e83d430SRalf Baechle	select HW_HAS_EISA
369*d865bea4SRalf Baechle	select I8253
3701da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3711da177e4SLinus Torvalds	select IRQ_CPU
372aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
3731da177e4SLinus Torvalds	select SWAP_IO_SPACE
3747cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3757cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
37636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
377ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
378ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3795e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3801da177e4SLinus Torvalds	help
3811da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3821da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3831da177e4SLinus Torvalds	  that runs on these, say Y here.
3841da177e4SLinus Torvalds
3851da177e4SLinus Torvaldsconfig SGI_IP27
3863fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3871da177e4SLinus Torvalds	select ARC
3881da177e4SLinus Torvalds	select ARC64
3895e83d430SRalf Baechle	select BOOT_ELF64
3901da177e4SLinus Torvalds	select DMA_IP27
39136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3921da177e4SLinus Torvalds	select HW_HAS_PCI
393130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
3947cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
395ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3965e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
397cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
398d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
3991a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
400e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
4011da177e4SLinus Torvalds	help
4021da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4031da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4041da177e4SLinus Torvalds	  here.
4051da177e4SLinus Torvalds
4061da177e4SLinus Torvaldsconfig SGI_IP32
407cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4081da177e4SLinus Torvalds	select ARC
4091da177e4SLinus Torvalds	select ARC32
4101da177e4SLinus Torvalds	select BOOT_ELF32
4111da177e4SLinus Torvalds	select DMA_NONCOHERENT
4121da177e4SLinus Torvalds	select HW_HAS_PCI
4131da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4141da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4157cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4167cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4177cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
418dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
419ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4205e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4211da177e4SLinus Torvalds	help
4221da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4231da177e4SLinus Torvalds
424ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
425ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4265e83d430SRalf Baechle	depends on EXPERIMENTAL
4275e83d430SRalf Baechle	select BOOT_ELF32
4285e83d430SRalf Baechle	select DMA_COHERENT
4295e83d430SRalf Baechle	select SIBYTE_BCM1120
4305e83d430SRalf Baechle	select SWAP_IO_SPACE
4317cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4325e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4335e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4345e83d430SRalf Baechle
435ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
436ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4375e83d430SRalf Baechle	depends on EXPERIMENTAL
4385e83d430SRalf Baechle	select BOOT_ELF32
4395e83d430SRalf Baechle	select DMA_COHERENT
4405e83d430SRalf Baechle	select SIBYTE_BCM1120
4415e83d430SRalf Baechle	select SWAP_IO_SPACE
4427cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4435e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4445e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4455e83d430SRalf Baechle
4465e83d430SRalf Baechleconfig SIBYTE_CRHONE
4473fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4485e83d430SRalf Baechle	depends on EXPERIMENTAL
4495e83d430SRalf Baechle	select BOOT_ELF32
4505e83d430SRalf Baechle	select DMA_COHERENT
4515e83d430SRalf Baechle	select SIBYTE_BCM1125
4525e83d430SRalf Baechle	select SWAP_IO_SPACE
4537cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4545e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4555e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4565e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4575e83d430SRalf Baechle
458ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
459ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
460ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
461ade299d8SYoichi Yuasa	select BOOT_ELF32
462ade299d8SYoichi Yuasa	select DMA_COHERENT
463ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
464ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
465ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
466ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
467ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
468ade299d8SYoichi Yuasa
469ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
470ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
471ade299d8SYoichi Yuasa	select BOOT_ELF32
472ade299d8SYoichi Yuasa	select DMA_COHERENT
473ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
474ade299d8SYoichi Yuasa	select SIBYTE_SB1250
475ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
476ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
477ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
478ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
479ade299d8SYoichi Yuasa	select SYS_SUPPORTS_KGDB
480ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
481ade299d8SYoichi Yuasa
482ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
483ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
484ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
485ade299d8SYoichi Yuasa	select BOOT_ELF32
486ade299d8SYoichi Yuasa	select DMA_COHERENT
487ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
488ade299d8SYoichi Yuasa	select SIBYTE_SB1250
489ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
490ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
491ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
492ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
493ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
494ade299d8SYoichi Yuasa
495ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
496ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
497ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
498ade299d8SYoichi Yuasa	select BOOT_ELF32
499ade299d8SYoichi Yuasa	select DMA_COHERENT
500ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
501ade299d8SYoichi Yuasa	select SIBYTE_SB1250
502ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
503ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
504ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
505ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
506ade299d8SYoichi Yuasa
507ade299d8SYoichi Yuasaconfig SIBYTE_PTSWARM
508ade299d8SYoichi Yuasa	bool "Sibyte BCM91250PT-PTSWARM"
509ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
510ade299d8SYoichi Yuasa	select BOOT_ELF32
511ade299d8SYoichi Yuasa	select DMA_COHERENT
512ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
513ade299d8SYoichi Yuasa	select SIBYTE_SB1250
514ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
515ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
516ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
517ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
518ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
519ade299d8SYoichi Yuasa
520ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
521ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
522ade299d8SYoichi Yuasa	select BOOT_ELF32
523ade299d8SYoichi Yuasa	select DMA_COHERENT
524ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
525ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
526ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
527ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
528ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
529ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
530ade299d8SYoichi Yuasa
53114b36af4SThomas Bogendoerferconfig SNI_RM
53214b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5334a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5344a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
5355e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5365e83d430SRalf Baechle	select BOOT_ELF32
5375e83d430SRalf Baechle	select DMA_NONCOHERENT
5385e83d430SRalf Baechle	select GENERIC_ISA_DMA
5395e83d430SRalf Baechle	select HW_HAS_EISA
5405e83d430SRalf Baechle	select HW_HAS_PCI
541c066a32aSThomas Bogendoerfer	select IRQ_CPU
542*d865bea4SRalf Baechle	select I8253
5435e83d430SRalf Baechle	select I8259
5445e83d430SRalf Baechle	select ISA
545de61b542SRalf Baechle	select PCSPEAKER
5464a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5477cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5484a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
549c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5504a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
55136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
552ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5535e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5544a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5555e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5565e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5571da177e4SLinus Torvalds	help
55814b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
55914b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5605e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5615e83d430SRalf Baechle	  support this machine type.
5621da177e4SLinus Torvalds
5635e83d430SRalf Baechleconfig TOSHIBA_JMR3927
5643fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
5655e83d430SRalf Baechle	select DMA_NONCOHERENT
5665e83d430SRalf Baechle	select HW_HAS_PCI
5675e83d430SRalf Baechle	select MIPS_TX3927
568c87abd75SAtsushi Nemoto	select IRQ_TXX9
5695e83d430SRalf Baechle	select SWAP_IO_SPACE
5707cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
5715e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5726a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5735e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5742127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5755e83d430SRalf Baechle
5765e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
57708a91283SYoichi Yuasa	bool "Toshiba RBTX49[23]7 board"
5785e83d430SRalf Baechle	select DMA_NONCOHERENT
5795e83d430SRalf Baechle	select HAS_TXX9_SERIAL
5805e83d430SRalf Baechle	select HW_HAS_PCI
581c87abd75SAtsushi Nemoto	select IRQ_CPU
582c87abd75SAtsushi Nemoto	select IRQ_TXX9
583c87abd75SAtsushi Nemoto	select I8259 if TOSHIBA_FPCIB0
5845e83d430SRalf Baechle	select SWAP_IO_SPACE
5857cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
5865e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5875e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
5886a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5895e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
590cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
5919fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5925e83d430SRalf Baechle	help
5935e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
5945e83d430SRalf Baechle	  support this machine type
5951da177e4SLinus Torvalds
59623fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
5973fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
59823fbee9dSRalf Baechle	select DMA_NONCOHERENT
59923fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
60023fbee9dSRalf Baechle	select HW_HAS_PCI
601c87abd75SAtsushi Nemoto	select IRQ_CPU
602c87abd75SAtsushi Nemoto	select IRQ_TXX9
60323fbee9dSRalf Baechle	select SWAP_IO_SPACE
6047cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
60523fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
60623fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
60723fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
608cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6099fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6103896b054SAtsushi Nemoto	select GENERIC_GPIO
61123fbee9dSRalf Baechle	help
61223fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
61323fbee9dSRalf Baechle	  support this machine type
61423fbee9dSRalf Baechle
615ade299d8SYoichi Yuasaconfig WR_PPMC
616ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
617ade299d8SYoichi Yuasa	select IRQ_CPU
618ade299d8SYoichi Yuasa	select BOOT_ELF32
619ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
620ade299d8SYoichi Yuasa	select HW_HAS_PCI
621ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
622ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
623ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
624ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
625ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
626ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
627ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
628ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
629ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
630ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
631ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
632ade299d8SYoichi Yuasa	help
633ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
634ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
635ade299d8SYoichi Yuasa
6361da177e4SLinus Torvaldsendchoice
6371da177e4SLinus Torvalds
638c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6395e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6401f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6415e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
64229c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
64338b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6445e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
64523fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6465e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
64738b18f72SRalf Baechle
6485e83d430SRalf Baechleendmenu
6495e83d430SRalf Baechle
6501da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6511da177e4SLinus Torvalds	bool
6521da177e4SLinus Torvalds	default y
6531da177e4SLinus Torvalds
6541da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6551da177e4SLinus Torvalds	bool
6561da177e4SLinus Torvalds
657f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
658f0d1b0b3SDavid Howells	bool
659f0d1b0b3SDavid Howells	default n
660f0d1b0b3SDavid Howells
661f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
662f0d1b0b3SDavid Howells	bool
663f0d1b0b3SDavid Howells	default n
664f0d1b0b3SDavid Howells
6653c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6663c9ee7efSAkinobu Mita	bool
6673c9ee7efSAkinobu Mita	default y
6683c9ee7efSAkinobu Mita
6693c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6703c9ee7efSAkinobu Mita	bool
6713c9ee7efSAkinobu Mita	default y
6723c9ee7efSAkinobu Mita
6731da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
6741da177e4SLinus Torvalds	bool
6751da177e4SLinus Torvalds	default y
6761da177e4SLinus Torvalds
6777bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
6787bcf7717SRalf Baechle	bool
6797bcf7717SRalf Baechle	default y
6807bcf7717SRalf Baechle
6818db02010SRalf Baechleconfig GENERIC_TIME
6828db02010SRalf Baechle	bool
6838db02010SRalf Baechle	default y
6848db02010SRalf Baechle
685f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
686f5ff0a28SRalf Baechle	bool
687f5ff0a28SRalf Baechle	default y
688f5ff0a28SRalf Baechle
6891cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
6901cc89038SAtsushi Nemoto	bool
6911cc89038SAtsushi Nemoto	default y
6921cc89038SAtsushi Nemoto
693e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
694e77c232cSFranck Bui-Huu	bool
695e77c232cSFranck Bui-Huu	default n
696e77c232cSFranck Bui-Huu
6971da177e4SLinus Torvalds#
6981da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
6991da177e4SLinus Torvalds#
7001da177e4SLinus Torvaldsconfig ARC
7011da177e4SLinus Torvalds	bool
7021da177e4SLinus Torvalds
70361ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
70461ed242dSRalf Baechle	bool
70561ed242dSRalf Baechle
7069267a30dSMarc St-Jeanconfig BOOT_RAW
7079267a30dSMarc St-Jean	bool
7089267a30dSMarc St-Jean
709df78b5c8SAurelien Jarnoconfig CFE
710df78b5c8SAurelien Jarno	bool
711df78b5c8SAurelien Jarno
7121da177e4SLinus Torvaldsconfig DMA_COHERENT
7131da177e4SLinus Torvalds	bool
7141da177e4SLinus Torvalds
7151da177e4SLinus Torvaldsconfig DMA_IP27
7161da177e4SLinus Torvalds	bool
7171da177e4SLinus Torvalds
7184ce588cdSRalf Baechleconfig DMA_IP32
7194ce588cdSRalf Baechle	bool
7204ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7214ce588cdSRalf Baechle
7221da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7231da177e4SLinus Torvalds	bool
7244ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7254ce588cdSRalf Baechle
7264ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7274ce588cdSRalf Baechle	bool
7281da177e4SLinus Torvalds
7291da177e4SLinus Torvaldsconfig EARLY_PRINTK
73036a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
73136a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
73236a88530SRalf Baechle	default y
73336a88530SRalf Baechle	help
73436a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
73536a88530SRalf Baechle	  to print messages very early in the bootup process.
73636a88530SRalf Baechle
73736a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
738490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
739490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
740490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
74136a88530SRalf Baechle	  unless you want to debug such a crash.
74236a88530SRalf Baechle
74336a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7441da177e4SLinus Torvalds	bool
7451da177e4SLinus Torvalds
746dbb74540SRalf Baechleconfig HOTPLUG_CPU
747dbb74540SRalf Baechle	bool
748dbb74540SRalf Baechle	default n
749dbb74540SRalf Baechle
7501da177e4SLinus Torvaldsconfig I8259
7511da177e4SLinus Torvalds	bool
7521da177e4SLinus Torvalds
7531da177e4SLinus Torvaldsconfig MIPS_BONITO64
7541da177e4SLinus Torvalds	bool
7551da177e4SLinus Torvalds
7561da177e4SLinus Torvaldsconfig MIPS_MSC
7571da177e4SLinus Torvalds	bool
7581da177e4SLinus Torvalds
7591f21d2bdSBrian Murphyconfig MIPS_NILE4
7601f21d2bdSBrian Murphy	bool
7611f21d2bdSBrian Murphy
7621da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7631da177e4SLinus Torvalds	bool
7641da177e4SLinus Torvalds
765d388d685SMaciej W. Rozyckiconfig NO_IOPORT
766d388d685SMaciej W. Rozycki	def_bool n
767d388d685SMaciej W. Rozycki
7688313da30SRalf Baechleconfig GENERIC_ISA_DMA
7698313da30SRalf Baechle	bool
7708313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
7718313da30SRalf Baechle
772aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
773aa414dffSRalf Baechle	bool
7748313da30SRalf Baechle	select GENERIC_ISA_DMA
775aa414dffSRalf Baechle
77609663335SYoichi Yuasaconfig GENERIC_GPIO
77709663335SYoichi Yuasa	bool
77809663335SYoichi Yuasa
7795e83d430SRalf Baechle#
7803cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
7815e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
7825e83d430SRalf Baechle# choice statement should be more obvious to the user.
7835e83d430SRalf Baechle#
7845e83d430SRalf Baechlechoice
7855e83d430SRalf Baechle	prompt "Endianess selection"
7861da177e4SLinus Torvalds	help
7871da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
7885e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
7893cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
7905e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
7913dde6ad8SDavid Sterba	  one or the other endianness.
7925e83d430SRalf Baechle
7935e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
7945e83d430SRalf Baechle	bool "Big endian"
7955e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
7965e83d430SRalf Baechle
7975e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
7985e83d430SRalf Baechle	bool "Little endian"
7995e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8005e83d430SRalf Baechle	help
8015e83d430SRalf Baechle
8025e83d430SRalf Baechleendchoice
8035e83d430SRalf Baechle
8042116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8052116245eSRalf Baechle	bool
8062116245eSRalf Baechle
8075e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8085e83d430SRalf Baechle	bool
8095e83d430SRalf Baechle
8105e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8115e83d430SRalf Baechle	bool
8121da177e4SLinus Torvalds
8131da177e4SLinus Torvaldsconfig IRQ_CPU
8141da177e4SLinus Torvalds	bool
8151da177e4SLinus Torvalds
8161da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8171da177e4SLinus Torvalds	bool
8181da177e4SLinus Torvalds
8195e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8205e83d430SRalf Baechle	bool
8215e83d430SRalf Baechle
8229267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8239267a30dSMarc St-Jean	bool
8249267a30dSMarc St-Jean
8259267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
8269267a30dSMarc St-Jean	bool
8279267a30dSMarc St-Jean
8288420fd00SAtsushi Nemotoconfig IRQ_TXX9
8298420fd00SAtsushi Nemoto	bool
8308420fd00SAtsushi Nemoto
831d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
832d5ab1a69SYoichi Yuasa	bool
833d5ab1a69SYoichi Yuasa
8341da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8351da177e4SLinus Torvalds	bool
8361da177e4SLinus Torvalds
837252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8381da177e4SLinus Torvalds	bool
8391da177e4SLinus Torvalds
8409267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
8419267a30dSMarc St-Jean	bool
8429267a30dSMarc St-Jean
8431da177e4SLinus Torvaldsconfig MIPS_TX3927
8441da177e4SLinus Torvalds	bool
8451da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
8461da177e4SLinus Torvalds
847663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
848663c3d90Sthomas@koeller.dyndns.org	bool
849663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
850663c3d90Sthomas@koeller.dyndns.org
851bdf21b18SPete Popovconfig PNX8550
852bdf21b18SPete Popov	bool
853bdf21b18SPete Popov	select SOC_PNX8550
854bdf21b18SPete Popov
855bdf21b18SPete Popovconfig SOC_PNX8550
856bdf21b18SPete Popov	bool
857bdf21b18SPete Popov	select DMA_NONCOHERENT
858bdf21b18SPete Popov	select HW_HAS_PCI
859b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
86036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8617cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
862e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
863cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8644ead1681SFlorian Fainelli	select GENERIC_GPIO
865bdf21b18SPete Popov
8661da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8671da177e4SLinus Torvalds	bool
8681da177e4SLinus Torvalds
869355c471fSdmitry pervushinconfig EMMA2RH
870355c471fSdmitry pervushin	bool
871355c471fSdmitry pervushin	depends on MARKEINS
872355c471fSdmitry pervushin	default y
873355c471fSdmitry pervushin
874663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
875663c3d90Sthomas@koeller.dyndns.org	bool
876663c3d90Sthomas@koeller.dyndns.org
8775e83d430SRalf Baechleconfig ARC32
8785e83d430SRalf Baechle	bool
8795e83d430SRalf Baechle
8801da177e4SLinus Torvaldsconfig BOOT_ELF32
8811da177e4SLinus Torvalds	bool
8821da177e4SLinus Torvalds
8831da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
8841da177e4SLinus Torvalds	int
88506cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
88606cf5583SThomas Bogendoerfer	default "7" if SGI_IP27 || SNI_RM
8879267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
8881da177e4SLinus Torvalds	default "5"
8891da177e4SLinus Torvalds
8901da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
8911da177e4SLinus Torvalds	bool
8921da177e4SLinus Torvalds
8931da177e4SLinus Torvaldsconfig ARC_CONSOLE
8941da177e4SLinus Torvalds	bool "ARC console support"
89536a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
8961da177e4SLinus Torvalds
8971da177e4SLinus Torvaldsconfig ARC_MEMORY
8981da177e4SLinus Torvalds	bool
89914b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9001da177e4SLinus Torvalds	default y
9011da177e4SLinus Torvalds
9021da177e4SLinus Torvaldsconfig ARC_PROMLIB
9031da177e4SLinus Torvalds	bool
90414b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
9051da177e4SLinus Torvalds	default y
9061da177e4SLinus Torvalds
9071da177e4SLinus Torvaldsconfig ARC64
9081da177e4SLinus Torvalds	bool
9091da177e4SLinus Torvalds
9101da177e4SLinus Torvaldsconfig BOOT_ELF64
9111da177e4SLinus Torvalds	bool
9121da177e4SLinus Torvalds
9131da177e4SLinus Torvaldsmenu "CPU selection"
9141da177e4SLinus Torvalds
9157bcf7717SRalf Baechlesource "kernel/time/Kconfig"
9167bcf7717SRalf Baechle
9171da177e4SLinus Torvaldschoice
9181da177e4SLinus Torvalds	prompt "CPU type"
9191da177e4SLinus Torvalds	default CPU_R4X00
9201da177e4SLinus Torvalds
9212a21c730SFuxin Zhangconfig CPU_LOONGSON2
9222a21c730SFuxin Zhang	bool "Loongson 2"
9232a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
9242a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
9252a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
9262a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
9272a21c730SFuxin Zhang	help
9282a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
9292a21c730SFuxin Zhang	  with many extensions.
9302a21c730SFuxin Zhang
9316e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9326e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9337cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
934f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9356e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
936797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
937ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9386e760c8dSRalf Baechle	help
9395e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9401e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9411e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9421e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9431e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9441e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9451e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9461e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9471e5f1caaSRalf Baechle	  performance.
9481e5f1caaSRalf Baechle
9491e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9501e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9517cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
952f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9531e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
954797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
955ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9561e5f1caaSRalf Baechle	help
9575e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9586e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9596e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9606e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9616e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9621da177e4SLinus Torvalds
9636e760c8dSRalf Baechleconfig CPU_MIPS64_R1
9646e760c8dSRalf Baechle	bool "MIPS64 Release 1"
9657cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
966f7062ddbSRalf Baechle	select CPU_HAS_LLSC
967797798c1SRalf Baechle	select CPU_HAS_PREFETCH
968ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
969ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
970ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9716e760c8dSRalf Baechle	help
9726e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9736e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9746e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9756e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9766e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9771e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
9781e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
9791e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
9801e5f1caaSRalf Baechle	  performance.
9811e5f1caaSRalf Baechle
9821e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
9831e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
9847cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
985f7062ddbSRalf Baechle	select CPU_HAS_LLSC
986797798c1SRalf Baechle	select CPU_HAS_PREFETCH
9871e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
9881e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
989ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9901e5f1caaSRalf Baechle	help
9911e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9921e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9931e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9941e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9951e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9961da177e4SLinus Torvalds
9971da177e4SLinus Torvaldsconfig CPU_R3000
9981da177e4SLinus Torvalds	bool "R3000"
9997cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1000f7062ddbSRalf Baechle	select CPU_HAS_WB
1001ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1002797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10031da177e4SLinus Torvalds	help
10041da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
10051da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
10061da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
10071da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
10081da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
10091da177e4SLinus Torvalds	  try to recompile with R3000.
10101da177e4SLinus Torvalds
10111da177e4SLinus Torvaldsconfig CPU_TX39XX
10121da177e4SLinus Torvalds	bool "R39XX"
10137cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1014ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10151da177e4SLinus Torvalds
10161da177e4SLinus Torvaldsconfig CPU_VR41XX
10171da177e4SLinus Torvalds	bool "R41xx"
10187cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1019ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1020ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10211da177e4SLinus Torvalds	help
10225e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
10231da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
10241da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10251da177e4SLinus Torvalds	  processor or vice versa.
10261da177e4SLinus Torvalds
10271da177e4SLinus Torvaldsconfig CPU_R4300
10281da177e4SLinus Torvalds	bool "R4300"
10297cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1030f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1031ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1032ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10331da177e4SLinus Torvalds	help
10341da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10351da177e4SLinus Torvalds
10361da177e4SLinus Torvaldsconfig CPU_R4X00
10371da177e4SLinus Torvalds	bool "R4x00"
10387cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1039f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1040ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1041ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10421da177e4SLinus Torvalds	help
10431da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10441da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10451da177e4SLinus Torvalds
10461da177e4SLinus Torvaldsconfig CPU_TX49XX
10471da177e4SLinus Torvalds	bool "R49XX"
10487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1049f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1050de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1051ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1052ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10531da177e4SLinus Torvalds
10541da177e4SLinus Torvaldsconfig CPU_R5000
10551da177e4SLinus Torvalds	bool "R5000"
10567cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1057f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1058ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1059ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10601da177e4SLinus Torvalds	help
10611da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
10621da177e4SLinus Torvalds
10631da177e4SLinus Torvaldsconfig CPU_R5432
10641da177e4SLinus Torvalds	bool "R5432"
10657cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1066f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10675e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10685e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
10691da177e4SLinus Torvalds
10701da177e4SLinus Torvaldsconfig CPU_R6000
10711da177e4SLinus Torvalds	bool "R6000"
1072ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1073f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10747cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1075ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10761da177e4SLinus Torvalds	help
10771da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1078c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
10791da177e4SLinus Torvalds
10801da177e4SLinus Torvaldsconfig CPU_NEVADA
10811da177e4SLinus Torvalds	bool "RM52xx"
10827cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
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	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
10881da177e4SLinus Torvalds
10891da177e4SLinus Torvaldsconfig CPU_R8000
10901da177e4SLinus Torvalds	bool "R8000"
1091ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
10927cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1093f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10945e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1095ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10961da177e4SLinus Torvalds	help
10971da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
10981da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
10991da177e4SLinus Torvalds
11001da177e4SLinus Torvaldsconfig CPU_R10000
11011da177e4SLinus Torvalds	bool "R10000"
11027cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1103f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11045e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1105ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1106ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1107797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11081da177e4SLinus Torvalds	help
11091da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
11101da177e4SLinus Torvalds
11111da177e4SLinus Torvaldsconfig CPU_RM7000
11121da177e4SLinus Torvalds	bool "RM7000"
11137cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1114f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11155e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1116ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1117ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1118797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11191da177e4SLinus Torvalds
11201da177e4SLinus Torvaldsconfig CPU_RM9000
11211da177e4SLinus Torvalds	bool "RM9000"
11227cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1123f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11245e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1125ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1126ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1127797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11280004a9dfSRalf Baechle	select WEAK_ORDERING
11291da177e4SLinus Torvalds
11301da177e4SLinus Torvaldsconfig CPU_SB1
11311da177e4SLinus Torvalds	bool "SB1"
11327cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1133f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1134ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1135ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1136797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11370004a9dfSRalf Baechle	select WEAK_ORDERING
11381da177e4SLinus Torvalds
11391da177e4SLinus Torvaldsendchoice
11401da177e4SLinus Torvalds
11412a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
11422a21c730SFuxin Zhang	bool
11432a21c730SFuxin Zhang
11447cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11457cf8053bSRalf Baechle	bool
11467cf8053bSRalf Baechle
11477cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11487cf8053bSRalf Baechle	bool
11497cf8053bSRalf Baechle
11507cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11517cf8053bSRalf Baechle	bool
11527cf8053bSRalf Baechle
11537cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
11547cf8053bSRalf Baechle	bool
11557cf8053bSRalf Baechle
11567cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
11577cf8053bSRalf Baechle	bool
11587cf8053bSRalf Baechle
11597cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
11607cf8053bSRalf Baechle	bool
11617cf8053bSRalf Baechle
11627cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
11637cf8053bSRalf Baechle	bool
11647cf8053bSRalf Baechle
11657cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
11667cf8053bSRalf Baechle	bool
11677cf8053bSRalf Baechle
11687cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
11697cf8053bSRalf Baechle	bool
11707cf8053bSRalf Baechle
11717cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
11727cf8053bSRalf Baechle	bool
11737cf8053bSRalf Baechle
11747cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
11757cf8053bSRalf Baechle	bool
11767cf8053bSRalf Baechle
11777cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
11787cf8053bSRalf Baechle	bool
11797cf8053bSRalf Baechle
11807cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
11817cf8053bSRalf Baechle	bool
11827cf8053bSRalf Baechle
11837cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
11847cf8053bSRalf Baechle	bool
11857cf8053bSRalf Baechle
11867cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
11877cf8053bSRalf Baechle	bool
11887cf8053bSRalf Baechle
11897cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
11907cf8053bSRalf Baechle	bool
11917cf8053bSRalf Baechle
11927cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
11937cf8053bSRalf Baechle	bool
11947cf8053bSRalf Baechle
11957cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
11967cf8053bSRalf Baechle	bool
11977cf8053bSRalf Baechle
11987cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
11997cf8053bSRalf Baechle	bool
12007cf8053bSRalf Baechle
120117099b11SRalf Baechle#
120217099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
120317099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
120417099b11SRalf Baechle#
12050004a9dfSRalf Baechleconfig WEAK_ORDERING
12060004a9dfSRalf Baechle	bool
120717099b11SRalf Baechle
120817099b11SRalf Baechle#
120917099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
121017099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
121117099b11SRalf Baechle#
121217099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
121317099b11SRalf Baechle	bool
12145e83d430SRalf Baechleendmenu
12155e83d430SRalf Baechle
12165e83d430SRalf Baechle#
12175e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
12185e83d430SRalf Baechle#
12195e83d430SRalf Baechleconfig CPU_MIPS32
12205e83d430SRalf Baechle	bool
12215e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
12225e83d430SRalf Baechle
12235e83d430SRalf Baechleconfig CPU_MIPS64
12245e83d430SRalf Baechle	bool
12255e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
12265e83d430SRalf Baechle
12275e83d430SRalf Baechle#
1228c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
12295e83d430SRalf Baechle#
12305e83d430SRalf Baechleconfig CPU_MIPSR1
12315e83d430SRalf Baechle	bool
12325e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
12335e83d430SRalf Baechle
12345e83d430SRalf Baechleconfig CPU_MIPSR2
12355e83d430SRalf Baechle	bool
12365e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
12375e83d430SRalf Baechle
12385e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
12395e83d430SRalf Baechle	bool
12405e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12415e83d430SRalf Baechle	bool
12425e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12435e83d430SRalf Baechle	bool
12445e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12455e83d430SRalf Baechle	bool
12465e83d430SRalf Baechle
12475e83d430SRalf Baechlemenu "Kernel type"
12485e83d430SRalf Baechle
12495e83d430SRalf Baechlechoice
12505e83d430SRalf Baechle
12515e83d430SRalf Baechle	prompt "Kernel code model"
12525e83d430SRalf Baechle	help
12535e83d430SRalf Baechle	  You should only select this option if you have a workload that
12545e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
12555e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
12565e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
12575e83d430SRalf Baechle
12585e83d430SRalf Baechleconfig 32BIT
12595e83d430SRalf Baechle	bool "32-bit kernel"
12605e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
12615e83d430SRalf Baechle	select TRAD_SIGNALS
12625e83d430SRalf Baechle	help
12635e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
12645e83d430SRalf Baechleconfig 64BIT
12655e83d430SRalf Baechle	bool "64-bit kernel"
12665e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
12675e83d430SRalf Baechle	help
12685e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
12695e83d430SRalf Baechle
12705e83d430SRalf Baechleendchoice
12715e83d430SRalf Baechle
12721da177e4SLinus Torvaldschoice
12731da177e4SLinus Torvalds	prompt "Kernel page size"
12741da177e4SLinus Torvalds	default PAGE_SIZE_4KB
12751da177e4SLinus Torvalds
12761da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
12771da177e4SLinus Torvalds	bool "4kB"
12781da177e4SLinus Torvalds	help
12791da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
12801da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
12811da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
12821da177e4SLinus Torvalds	 recommended for low memory systems.
12831da177e4SLinus Torvalds
12841da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
12851da177e4SLinus Torvalds	bool "8kB"
12861da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
12871da177e4SLinus Torvalds	help
12881da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
12891da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
12901da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
12911da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
12921da177e4SLinus Torvalds	  compatibility of user applications.
12931da177e4SLinus Torvalds
12941da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
12951da177e4SLinus Torvalds	bool "16kB"
1296714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
12971da177e4SLinus Torvalds	help
12981da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
12991da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1300714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1301714bfad6SRalf Baechle	  Linux distribution to support this.
13021da177e4SLinus Torvalds
13031da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
13041da177e4SLinus Torvalds	bool "64kB"
13051da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
13061da177e4SLinus Torvalds	help
13071da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
13081da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
13091da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1310714bfad6SRalf Baechle	  writing this option is still high experimental.
13111da177e4SLinus Torvalds
13121da177e4SLinus Torvaldsendchoice
13131da177e4SLinus Torvalds
13141da177e4SLinus Torvaldsconfig BOARD_SCACHE
13151da177e4SLinus Torvalds	bool
13161da177e4SLinus Torvalds
13171da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
13181da177e4SLinus Torvalds	bool
13191da177e4SLinus Torvalds	select BOARD_SCACHE
13201da177e4SLinus Torvalds
13219318c51aSChris Dearman#
13229318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
13239318c51aSChris Dearman#
13249318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
13259318c51aSChris Dearman	bool
13269318c51aSChris Dearman	select BOARD_SCACHE
13279318c51aSChris Dearman
13281da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
13291da177e4SLinus Torvalds	bool
13301da177e4SLinus Torvalds	select BOARD_SCACHE
13311da177e4SLinus Torvalds
13321da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
13331da177e4SLinus Torvalds	bool
13341da177e4SLinus Torvalds	select BOARD_SCACHE
13351da177e4SLinus Torvalds
13361da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
13371da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
13381da177e4SLinus Torvalds	depends on CPU_SB1
13391da177e4SLinus Torvalds	help
13401da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13411da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13421da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13431da177e4SLinus Torvalds
13441da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1345c8094b53SRalf Baechle	bool
13461da177e4SLinus Torvalds
1347340ee4b9SRalf Baechlechoice
1348340ee4b9SRalf Baechle	prompt "MIPS MT options"
1349f41ae0b2SRalf Baechle
1350f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1351f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1352f41ae0b2SRalf Baechle	help
1353f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1354f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1355f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1356f41ae0b2SRalf Baechle	  option in this menu.
1357340ee4b9SRalf Baechle
135859d6ab86SRalf Baechleconfig MIPS_MT_SMP
135959d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
136059d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
136159d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1362d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
136359d6ab86SRalf Baechle	select CPU_MIPSR2_SRS
136459d6ab86SRalf Baechle	select MIPS_MT
1365f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
136659d6ab86SRalf Baechle	select SMP
136759d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
136859d6ab86SRalf Baechle	help
136959d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
137059d6ab86SRalf Baechle	  has been marketesed into SMVP.
137159d6ab86SRalf Baechle
137241c594abSRalf Baechleconfig MIPS_MT_SMTC
137341c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1374f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1375f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1376f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1377ea580401SRalf Baechle	select GENERIC_CLOCKEVENTS_BROADCAST
1378f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1379d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1380f7062ddbSRalf Baechle	select CPU_MIPSR2_SRS
1381f41ae0b2SRalf Baechle	select MIPS_MT
1382130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
138341c594abSRalf Baechle	select SMP
138473b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1385f41ae0b2SRalf Baechle	help
1386f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1387f41ae0b2SRalf Baechle	  marketesed into SMVP.
138841c594abSRalf Baechle
1389340ee4b9SRalf Baechleendchoice
1390340ee4b9SRalf Baechle
1391f41ae0b2SRalf Baechleconfig MIPS_MT
1392f41ae0b2SRalf Baechle	bool
1393f41ae0b2SRalf Baechle
1394f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1395f41ae0b2SRalf Baechle	bool
1396f41ae0b2SRalf Baechle
1397f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1398f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1399f088fc84SRalf Baechle	default y
140007cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
140107cc0c9eSRalf Baechle
140207cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
140307cc0c9eSRalf Baechle	bool "VPE loader support."
140407cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
140507cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
140607cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
140707cc0c9eSRalf Baechle	select CPU_MIPSR2_SRS
140807cc0c9eSRalf Baechle	select MIPS_MT
140907cc0c9eSRalf Baechle	help
141007cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
141107cc0c9eSRalf Baechle	  onto another VPE and running it.
1412f088fc84SRalf Baechle
1413ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1414ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1415619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1416ac8be955SRalf Baechle	default y
1417ac8be955SRalf Baechle	help
1418ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1419ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1420ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1421ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1422ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1423ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1424ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1425ac8be955SRalf Baechle	  heavy I/O interrupt load.
1426ac8be955SRalf Baechle
14270db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
14280db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
14290db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
14300db34215SKevin D. Kissell	default y
14310db34215SKevin D. Kissell	help
14320db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
14330db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
14340db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
14350db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
14360db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
14370db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
14380db34215SKevin D. Kissell	  what you are doing.
14390db34215SKevin D. Kissell
1440f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1441f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1442f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1443f571eff0SKevin D. Kissell	default n
1444f571eff0SKevin D. Kissell	help
1445f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1446f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1447f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
1448f571eff0SKevin D. Kissell	  platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1449f571eff0SKevin D. Kissell	  be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1450f571eff0SKevin D. Kissell	  interrupt dispatch, and should be used only if you know what
1451f571eff0SKevin D. Kissell	  you are doing.
1452f571eff0SKevin D. Kissell
1453e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1454e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1455e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1456e01402b1SRalf Baechle	default y
1457e01402b1SRalf Baechle	help
1458e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1459e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1460e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1461e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1462e01402b1SRalf Baechle
1463e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1464e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1465e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1466e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
14675e83d430SRalf Baechle	help
1468e01402b1SRalf Baechle
14692600990eSRalf Baechleconfig MIPS_APSP_KSPD
14702600990eSRalf Baechle	bool "Enable KSPD"
14712600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
14722600990eSRalf Baechle	default y
14732600990eSRalf Baechle	help
14742600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
14752600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
14762600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
14772600990eSRalf Baechle	  exiting.  You probably want to say yes here.
14782600990eSRalf Baechle
14791da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
14801da177e4SLinus Torvalds	bool
14811da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
14821da177e4SLinus Torvalds	default y
14831da177e4SLinus Torvalds
14841da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
14851da177e4SLinus Torvalds	bool
14861da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
14871da177e4SLinus Torvalds	default y
14881da177e4SLinus Torvalds
14891da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
14901da177e4SLinus Torvalds	bool
14911da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
14921da177e4SLinus Torvalds	default y
14931da177e4SLinus Torvalds
14941da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1495d806cb2bSRalf Baechle	bool
14961da177e4SLinus Torvalds
14971da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1498f7062ddbSRalf Baechle	bool
14991da177e4SLinus Torvalds
15009693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
15019693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
15029693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
15039693a853SFranck Bui-Huu	help
15049693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
15059693a853SFranck Bui-Huu	  increased security at both hardware and software level for
15069693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
15079693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
15089693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
15099693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
15109693a853SFranck Bui-Huu	  here.
15119693a853SFranck Bui-Huu
15121da177e4SLinus Torvaldsconfig CPU_HAS_WB
1513f7062ddbSRalf Baechle	bool
1514e01402b1SRalf Baechle
15152a21c730SFuxin Zhangconfig 64BIT_CONTEXT
15162a21c730SFuxin Zhang	bool "Save 64bit integer registers"
15172a21c730SFuxin Zhang	depends on 32BIT && CPU_LOONGSON2
15182a21c730SFuxin Zhang	help
15192a21c730SFuxin Zhang	  Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
15202a21c730SFuxin Zhang	  registers can still be accessed as 64bit, mainly for multimedia
15212a21c730SFuxin Zhang	  instructions. We must have all 64bit save/restored to make sure
15222a21c730SFuxin Zhang	  those instructions to get correct result.
15232a21c730SFuxin Zhang
1524f41ae0b2SRalf Baechle#
1525f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1526f41ae0b2SRalf Baechle#
1527e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1528f41ae0b2SRalf Baechle	bool
1529e01402b1SRalf Baechle
1530f41ae0b2SRalf Baechle#
1531f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1532f41ae0b2SRalf Baechle#
1533e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1534f41ae0b2SRalf Baechle	bool
1535e01402b1SRalf Baechle
1536f41ae0b2SRalf Baechle#
1537f41ae0b2SRalf Baechle# Shadow registers are an R2 feature
1538f41ae0b2SRalf Baechle#
1539e01402b1SRalf Baechleconfig CPU_MIPSR2_SRS
1540f41ae0b2SRalf Baechle	bool
1541e01402b1SRalf Baechle
15421da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
15431da177e4SLinus Torvalds	bool
15441da177e4SLinus Torvalds	depends on !CPU_R3000
15451da177e4SLinus Torvalds	default y
15461da177e4SLinus Torvalds
1547ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1548ea580401SRalf Baechle	bool
1549ea580401SRalf Baechle
15501da177e4SLinus Torvalds#
1551797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1552797798c1SRalf Baechle#
1553797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1554797798c1SRalf Baechle	bool
1555797798c1SRalf Baechle	default y
1556797798c1SRalf Baechle
1557797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1558797798c1SRalf Baechle	bool
1559797798c1SRalf Baechle	default y
1560797798c1SRalf Baechle
15610d7012a9SIngo Molnarconfig IRQ_PER_CPU
15620d7012a9SIngo Molnar	bool
15630d7012a9SIngo Molnar
1564797798c1SRalf Baechle#
15651da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
15661da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
15671da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
15681da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
15691da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
15701da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
15711da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
15721da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1573797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1574797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1575797798c1SRalf Baechle#   support.
15761da177e4SLinus Torvalds#
15771da177e4SLinus Torvaldsconfig HIGHMEM
15781da177e4SLinus Torvalds	bool "High Memory Support"
1579797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1580797798c1SRalf Baechle
1581797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1582797798c1SRalf Baechle	bool
1583797798c1SRalf Baechle
1584797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1585797798c1SRalf Baechle	bool
15861da177e4SLinus Torvalds
15879693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
15889693a853SFranck Bui-Huu	bool
15899693a853SFranck Bui-Huu
1590b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1591b4819b59SYoichi Yuasa	def_bool y
1592b4819b59SYoichi Yuasa	depends on !NUMA
1593b4819b59SYoichi Yuasa
1594d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1595d8cb4e11SRalf Baechle	bool
1596d8cb4e11SRalf Baechle	default y if SGI_IP27
1597d8cb4e11SRalf Baechle	help
15983dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1599d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1600d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1601d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1602d8cb4e11SRalf Baechle
1603b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1604b1c6cd42SAtsushi Nemoto	bool
16057de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
160631473747SAtsushi Nemoto
1607d8cb4e11SRalf Baechleconfig NUMA
1608d8cb4e11SRalf Baechle	bool "NUMA Support"
1609d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1610d8cb4e11SRalf Baechle	help
1611d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1612d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1613d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1614d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1615d8cb4e11SRalf Baechle	  disabled.
1616d8cb4e11SRalf Baechle
1617d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1618d8cb4e11SRalf Baechle	bool
1619d8cb4e11SRalf Baechle
1620c80d79d7SYasunori Gotoconfig NODES_SHIFT
1621c80d79d7SYasunori Goto	int
1622c80d79d7SYasunori Goto	default "6"
1623c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1624c80d79d7SYasunori Goto
1625b4819b59SYoichi Yuasasource "mm/Kconfig"
1626b4819b59SYoichi Yuasa
16271da177e4SLinus Torvaldsconfig SMP
16281da177e4SLinus Torvalds	bool "Multi-Processing support"
1629e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1630b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1631e73ea273SRalf Baechle	help
16321da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
16331da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
16341da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
16351da177e4SLinus Torvalds
16361da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
16371da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
16381da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
16391da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
16401da177e4SLinus Torvalds	  will run faster if you say N here.
16411da177e4SLinus Torvalds
16421da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
16431da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
16441da177e4SLinus Torvalds
16451da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
16461da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
16471da177e4SLinus Torvalds
16481da177e4SLinus Torvalds	  If you don't know what to do here, say N.
16491da177e4SLinus Torvalds
1650e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1651e73ea273SRalf Baechle	bool
1652e73ea273SRalf Baechle
165372ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
165472ede9b1SAtsushi Nemoto	bool
165572ede9b1SAtsushi Nemoto
1656130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1657130e2fb7SRalf Baechle	bool
1658130e2fb7SRalf Baechle
1659130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1660130e2fb7SRalf Baechle	bool
1661130e2fb7SRalf Baechle
1662130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1663130e2fb7SRalf Baechle	bool
1664130e2fb7SRalf Baechle
1665130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1666130e2fb7SRalf Baechle	bool
1667130e2fb7SRalf Baechle
1668130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1669130e2fb7SRalf Baechle	bool
1670130e2fb7SRalf Baechle
1671130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1672130e2fb7SRalf Baechle	bool
1673130e2fb7SRalf Baechle
16741da177e4SLinus Torvaldsconfig NR_CPUS
16751da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
167672ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
16771da177e4SLinus Torvalds	depends on SMP
167872ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1679130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1680130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1681130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1682130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1683130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1684130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
16851da177e4SLinus Torvalds	help
16861da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
16871da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
16881da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
168972ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
169072ede9b1SAtsushi Nemoto	  and 2 for all others.
16911da177e4SLinus Torvalds
16921da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
169372ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
169472ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
169572ede9b1SAtsushi Nemoto	  power of two.
16961da177e4SLinus Torvalds
16971723b4a3SAtsushi Nemoto#
16981723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
16991723b4a3SAtsushi Nemoto#
17001723b4a3SAtsushi Nemoto
17011723b4a3SAtsushi Nemotochoice
17021723b4a3SAtsushi Nemoto	prompt "Timer frequency"
17031723b4a3SAtsushi Nemoto	default HZ_250
17041723b4a3SAtsushi Nemoto	help
17051723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
17061723b4a3SAtsushi Nemoto
17071723b4a3SAtsushi Nemoto	config HZ_48
17081723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
17091723b4a3SAtsushi Nemoto
17101723b4a3SAtsushi Nemoto	config HZ_100
17111723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
17121723b4a3SAtsushi Nemoto
17131723b4a3SAtsushi Nemoto	config HZ_128
17141723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
17151723b4a3SAtsushi Nemoto
17161723b4a3SAtsushi Nemoto	config HZ_250
17171723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
17181723b4a3SAtsushi Nemoto
17191723b4a3SAtsushi Nemoto	config HZ_256
17201723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
17211723b4a3SAtsushi Nemoto
17221723b4a3SAtsushi Nemoto	config HZ_1000
17231723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
17241723b4a3SAtsushi Nemoto
17251723b4a3SAtsushi Nemoto	config HZ_1024
17261723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
17271723b4a3SAtsushi Nemoto
17281723b4a3SAtsushi Nemotoendchoice
17291723b4a3SAtsushi Nemoto
17301723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
17311723b4a3SAtsushi Nemoto	bool
17321723b4a3SAtsushi Nemoto
17331723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
17341723b4a3SAtsushi Nemoto	bool
17351723b4a3SAtsushi Nemoto
17361723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
17371723b4a3SAtsushi Nemoto	bool
17381723b4a3SAtsushi Nemoto
17391723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
17401723b4a3SAtsushi Nemoto	bool
17411723b4a3SAtsushi Nemoto
17421723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
17431723b4a3SAtsushi Nemoto	bool
17441723b4a3SAtsushi Nemoto
17451723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
17461723b4a3SAtsushi Nemoto	bool
17471723b4a3SAtsushi Nemoto
17481723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
17491723b4a3SAtsushi Nemoto	bool
17501723b4a3SAtsushi Nemoto
17511723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
17521723b4a3SAtsushi Nemoto	bool
17531723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
17541723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
17551723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
17561723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
17571723b4a3SAtsushi Nemoto
17581723b4a3SAtsushi Nemotoconfig HZ
17591723b4a3SAtsushi Nemoto	int
17601723b4a3SAtsushi Nemoto	default 48 if HZ_48
17611723b4a3SAtsushi Nemoto	default 100 if HZ_100
17621723b4a3SAtsushi Nemoto	default 128 if HZ_128
17631723b4a3SAtsushi Nemoto	default 250 if HZ_250
17641723b4a3SAtsushi Nemoto	default 256 if HZ_256
17651723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
17661723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
17671723b4a3SAtsushi Nemoto
1768e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
17691da177e4SLinus Torvalds
17701da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
17711da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1772875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
17731da177e4SLinus Torvalds	help
17741da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
17751da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
17761da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
17771da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
17781da177e4SLinus Torvalds	  recommended for normal users.
17791da177e4SLinus Torvalds
1780ea6e942bSAtsushi Nemotoconfig KEXEC
1781ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1782ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1783ea6e942bSAtsushi Nemoto	help
1784ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1785ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
17863dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1787ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1788ea6e942bSAtsushi Nemoto
1789ea6e942bSAtsushi Nemoto	  The name comes from the similiarity to the exec system call.
1790ea6e942bSAtsushi Nemoto
1791ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1792ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1793ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1794ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1795ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1796ea6e942bSAtsushi Nemoto
1797ea6e942bSAtsushi Nemotoconfig SECCOMP
1798ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1799293c5bd1SRalf Baechle	depends on PROC_FS
1800ea6e942bSAtsushi Nemoto	default y
1801ea6e942bSAtsushi Nemoto	help
1802ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1803ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1804ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1805ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1806ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1807ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1808ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1809ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1810ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1811ea6e942bSAtsushi Nemoto
1812ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1813ea6e942bSAtsushi Nemoto
18145e83d430SRalf Baechleendmenu
18155e83d430SRalf Baechle
18161da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
18171da177e4SLinus Torvalds	bool
18181da177e4SLinus Torvalds	default y
18191da177e4SLinus Torvalds
18201df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
18211df0f0ffSAtsushi Nemoto	bool
18221df0f0ffSAtsushi Nemoto	default y
18231df0f0ffSAtsushi Nemoto
18241df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
18251df0f0ffSAtsushi Nemoto	bool
18261df0f0ffSAtsushi Nemoto	default y
18271df0f0ffSAtsushi Nemoto
1828b6c3539bSRalf Baechlesource "init/Kconfig"
1829b6c3539bSRalf Baechle
18301da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
18311da177e4SLinus Torvalds
18325e83d430SRalf Baechleconfig HW_HAS_EISA
18335e83d430SRalf Baechle	bool
18341da177e4SLinus Torvaldsconfig HW_HAS_PCI
18351da177e4SLinus Torvalds	bool
18361da177e4SLinus Torvalds
18371da177e4SLinus Torvaldsconfig PCI
18381da177e4SLinus Torvalds	bool "Support for PCI controller"
18391da177e4SLinus Torvalds	depends on HW_HAS_PCI
1840abb4ae46SRalf Baechle	select PCI_DOMAINS
18411da177e4SLinus Torvalds	help
18421da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
18431da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
18441da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
18451da177e4SLinus Torvalds	  say Y, otherwise N.
18461da177e4SLinus Torvalds
18471da177e4SLinus Torvalds	  The PCI-HOWTO, available from
18481da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
18491da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
18501da177e4SLinus Torvalds	  doesn't.
18511da177e4SLinus Torvalds
18521da177e4SLinus Torvaldsconfig PCI_DOMAINS
18531da177e4SLinus Torvalds	bool
18541da177e4SLinus Torvalds
18551da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
18561da177e4SLinus Torvalds
18571da177e4SLinus Torvalds#
18581da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
18591da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
18601da177e4SLinus Torvalds# users to choose the right thing ...
18611da177e4SLinus Torvalds#
18621da177e4SLinus Torvaldsconfig ISA
18631da177e4SLinus Torvalds	bool
18641da177e4SLinus Torvalds
18651da177e4SLinus Torvaldsconfig EISA
18661da177e4SLinus Torvalds	bool "EISA support"
18675e83d430SRalf Baechle	depends on HW_HAS_EISA
18681da177e4SLinus Torvalds	select ISA
1869aa414dffSRalf Baechle	select GENERIC_ISA_DMA
18701da177e4SLinus Torvalds	---help---
18711da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
18721da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
18731da177e4SLinus Torvalds
18741da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
18751da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
18761da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
18771da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
18781da177e4SLinus Torvalds
18791da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
18801da177e4SLinus Torvalds
18811da177e4SLinus Torvalds	  Otherwise, say N.
18821da177e4SLinus Torvalds
18831da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
18841da177e4SLinus Torvalds
18851da177e4SLinus Torvaldsconfig TC
18861da177e4SLinus Torvalds	bool "TURBOchannel support"
18871da177e4SLinus Torvalds	depends on MACH_DECSTATION
18881da177e4SLinus Torvalds	help
18891da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
18901da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
18911da177e4SLinus Torvalds	  is available at:
18921da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
18931da177e4SLinus Torvalds
18941da177e4SLinus Torvalds#config ACCESSBUS
18951da177e4SLinus Torvalds#	bool "Access.Bus support"
18961da177e4SLinus Torvalds#	depends on TC
18971da177e4SLinus Torvalds
18981da177e4SLinus Torvaldsconfig MMU
18991da177e4SLinus Torvalds	bool
19001da177e4SLinus Torvalds	default y
19011da177e4SLinus Torvalds
1902*d865bea4SRalf Baechleconfig I8253
1903*d865bea4SRalf Baechle	bool
1904*d865bea4SRalf Baechle
1905de61b542SRalf Baechleconfig PCSPEAKER
1906e5c6c8e4SMichael Neuling	bool
1907e5c6c8e4SMichael Neuling
19081da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
19091da177e4SLinus Torvalds
19101da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
19111da177e4SLinus Torvalds
19121da177e4SLinus Torvaldsendmenu
19131da177e4SLinus Torvalds
19141da177e4SLinus Torvaldsmenu "Executable file formats"
19151da177e4SLinus Torvalds
19161da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
19171da177e4SLinus Torvalds
19181da177e4SLinus Torvaldsconfig TRAD_SIGNALS
19191da177e4SLinus Torvalds	bool
19201da177e4SLinus Torvalds
19211da177e4SLinus Torvaldsconfig BINFMT_IRIX
19221da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
19235e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
19241da177e4SLinus Torvalds
19251da177e4SLinus Torvaldsconfig MIPS32_COMPAT
19261da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1927875d43e7SRalf Baechle	depends on 64BIT
19281da177e4SLinus Torvalds	help
19291da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
19301da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
19311da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
19321da177e4SLinus Torvalds
19331da177e4SLinus Torvaldsconfig COMPAT
19341da177e4SLinus Torvalds	bool
19351da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19361da177e4SLinus Torvalds	default y
19371da177e4SLinus Torvalds
193805e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
193905e43966SAtsushi Nemoto	bool
194005e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
194105e43966SAtsushi Nemoto	default y
194205e43966SAtsushi Nemoto
19431da177e4SLinus Torvaldsconfig MIPS32_O32
19441da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
19451da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19461da177e4SLinus Torvalds	help
19471da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
19481da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
19491da177e4SLinus Torvalds	  existing binaries are in this format.
19501da177e4SLinus Torvalds
19511da177e4SLinus Torvalds	  If unsure, say Y.
19521da177e4SLinus Torvalds
19531da177e4SLinus Torvaldsconfig MIPS32_N32
19541da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
19551da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19561da177e4SLinus Torvalds	help
19571da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
19581da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
19591da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
19601da177e4SLinus Torvalds	  cases.
19611da177e4SLinus Torvalds
19621da177e4SLinus Torvalds	  If unsure, say N.
19631da177e4SLinus Torvalds
19641da177e4SLinus Torvaldsconfig BINFMT_ELF32
19651da177e4SLinus Torvalds	bool
19661da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
19671da177e4SLinus Torvalds
19682116245eSRalf Baechleendmenu
19691da177e4SLinus Torvalds
19702116245eSRalf Baechlemenu "Power management options"
1971952fa954SRodolfo Giometti
19722116245eSRalf Baechlesource "kernel/power/Kconfig"
1973952fa954SRodolfo Giometti
19741da177e4SLinus Torvaldsendmenu
19751da177e4SLinus Torvalds
1976d5950b43SSam Ravnborgsource "net/Kconfig"
1977d5950b43SSam Ravnborg
19781da177e4SLinus Torvaldssource "drivers/Kconfig"
19791da177e4SLinus Torvalds
19801da177e4SLinus Torvaldssource "fs/Kconfig"
19811da177e4SLinus Torvalds
19825e83d430SRalf Baechlesource "arch/mips/oprofile/Kconfig"
19835e83d430SRalf Baechle
19841da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
19851da177e4SLinus Torvalds
19861da177e4SLinus Torvaldssource "security/Kconfig"
19871da177e4SLinus Torvalds
19881da177e4SLinus Torvaldssource "crypto/Kconfig"
19891da177e4SLinus Torvalds
19901da177e4SLinus Torvaldssource "lib/Kconfig"
1991