xref: /linux/arch/mips/Kconfig (revision 68de4803726224a7cfe09c8052f0ce5e532c6847)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
41da177e4SLinus Torvalds	# Horrible source of confusion.  Die, die, die ...
51da177e4SLinus Torvalds	select EMBEDDED
690b02340SRalf Baechle	select RTC_LIB
71da177e4SLinus Torvalds
81da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
91da177e4SLinus Torvalds
101da177e4SLinus Torvaldsmenu "Machine selection"
111da177e4SLinus Torvalds
125ac6da66SChristoph Lameterconfig ZONE_DMA
135ac6da66SChristoph Lameter	bool
145ac6da66SChristoph Lameter
155e83d430SRalf Baechlechoice
165e83d430SRalf Baechle	prompt "System type"
175e83d430SRalf Baechle	default SGI_IP22
181da177e4SLinus Torvalds
19c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
20c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
211da177e4SLinus Torvalds
2235189fadSRalf Baechleconfig BASLER_EXCITE
23be91589eSThomas Koeller	bool "Basler eXcite smart camera"
2442f77542SRalf Baechle	select CEVT_R4K
25940f6b48SRalf Baechle	select CSRC_R4K
2635189fadSRalf Baechle	select DMA_COHERENT
2735189fadSRalf Baechle	select HW_HAS_PCI
2835189fadSRalf Baechle	select IRQ_CPU
2935189fadSRalf Baechle	select IRQ_CPU_RM7K
3035189fadSRalf Baechle	select IRQ_CPU_RM9K
31663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
3235189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
3335189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3435189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
35cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3635189fadSRalf Baechle	help
3735189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
38be91589eSThomas Koeller	  Basler Vision Technologies AG.
3935189fadSRalf Baechle
4035189fadSRalf Baechleconfig BASLER_EXCITE_PROTOTYPE
4135189fadSRalf Baechle	bool "Support for pre-release units"
4235189fadSRalf Baechle	depends on BASLER_EXCITE
4335189fadSRalf Baechle	default n
4435189fadSRalf Baechle	help
4535189fadSRalf Baechle	  Pre-series (prototype) units are different from later ones in
4635189fadSRalf Baechle	  some ways. Select this option if you have one of these. Please
4735189fadSRalf Baechle	  note that a kernel built with this option selected will not be
4835189fadSRalf Baechle	  able to run on normal units.
4935189fadSRalf Baechle
501c0c13ebSAurelien Jarnoconfig BCM47XX
511c0c13ebSAurelien Jarno	bool "BCM47XX based boards"
5242f77542SRalf Baechle	select CEVT_R4K
53940f6b48SRalf Baechle	select CSRC_R4K
541c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
551c0c13ebSAurelien Jarno	select HW_HAS_PCI
561c0c13ebSAurelien Jarno	select IRQ_CPU
571c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
581c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
591c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
601c0c13ebSAurelien Jarno	select SSB
611c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
621c0c13ebSAurelien Jarno	select GENERIC_GPIO
6325e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
6425e5fb97SAurelien Jarno	select CFE
651c0c13ebSAurelien Jarno	help
661c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
671c0c13ebSAurelien Jarno
681da177e4SLinus Torvaldsconfig MIPS_COBALT
693fa986faSMartin Michlmayr	bool "Cobalt Server"
7042f77542SRalf Baechle	select CEVT_R4K
71940f6b48SRalf Baechle	select CSRC_R4K
721097c6acSYoichi Yuasa	select CEVT_GT641XX
731da177e4SLinus Torvalds	select DMA_NONCOHERENT
741da177e4SLinus Torvalds	select HW_HAS_PCI
75d865bea4SRalf Baechle	select I8253
761da177e4SLinus Torvalds	select I8259
771da177e4SLinus Torvalds	select IRQ_CPU
78d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
79252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
807cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
810a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
82ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
83ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
845e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
859fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
861da177e4SLinus Torvalds
871da177e4SLinus Torvaldsconfig MACH_DECSTATION
883fa986faSMartin Michlmayr	bool "DECstations"
891da177e4SLinus Torvalds	select BOOT_ELF32
9042f77542SRalf Baechle	select CEVT_R4K
91940f6b48SRalf Baechle	select CSRC_R4K
921da177e4SLinus Torvalds	select DMA_NONCOHERENT
93d388d685SMaciej W. Rozycki	select NO_IOPORT
941da177e4SLinus Torvalds	select IRQ_CPU
957cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
967cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
97ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
98ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
995e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1001723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
1011723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
1021723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1035e83d430SRalf Baechle	help
1041da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1051da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1061da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1071da177e4SLinus Torvalds
1081da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1091da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvalds		DECstation 5000/50
1121da177e4SLinus Torvalds		DECstation 5000/150
1131da177e4SLinus Torvalds		DECstation 5000/260
1141da177e4SLinus Torvalds		DECsystem 5900/260
1151da177e4SLinus Torvalds
1161da177e4SLinus Torvalds	  otherwise choose R3000.
1171da177e4SLinus Torvalds
1185e83d430SRalf Baechleconfig MACH_JAZZ
1193fa986faSMartin Michlmayr	bool "Jazz family of machines"
1205e83d430SRalf Baechle	select ARC
1215e83d430SRalf Baechle	select ARC32
1225e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
12342f77542SRalf Baechle	select CEVT_R4K
124940f6b48SRalf Baechle	select CSRC_R4K
1255e83d430SRalf Baechle	select GENERIC_ISA_DMA
126ea202c63SThomas Bogendoerfer	select IRQ_CPU
127d865bea4SRalf Baechle	select I8253
1285e83d430SRalf Baechle	select I8259
1295e83d430SRalf Baechle	select ISA
130de61b542SRalf Baechle	select PCSPEAKER
1317cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1325e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1335e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1341723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1359fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1361da177e4SLinus Torvalds	help
1375e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1385e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1395e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1405e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1415e83d430SRalf Baechle
1421f21d2bdSBrian Murphyconfig LASAT
1431f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
14442f77542SRalf Baechle	select CEVT_R4K
145940f6b48SRalf Baechle	select CSRC_R4K
1461f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1471f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1481f21d2bdSBrian Murphy	select HW_HAS_PCI
149a5ccfe5cSRalf Baechle	select IRQ_CPU
1501f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1511f21d2bdSBrian Murphy	select MIPS_NILE4
1521f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1531f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1541f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1551f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1561f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1571f21d2bdSBrian Murphy	select GENERIC_HARDIRQS_NO__DO_IRQ
1581f21d2bdSBrian Murphy
159ade299d8SYoichi Yuasaconfig LEMOTE_FULONG
160ade299d8SYoichi Yuasa	bool "Lemote Fulong mini-PC"
161ade299d8SYoichi Yuasa	select ARCH_SPARSEMEM_ENABLE
16242f77542SRalf Baechle	select CEVT_R4K
163940f6b48SRalf Baechle	select CSRC_R4K
164ade299d8SYoichi Yuasa	select SYS_HAS_CPU_LOONGSON2
165ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
166ade299d8SYoichi Yuasa	select BOOT_ELF32
167ade299d8SYoichi Yuasa	select BOARD_SCACHE
168ade299d8SYoichi Yuasa	select HAVE_STD_PC_SERIAL_PORT
169ade299d8SYoichi Yuasa	select HW_HAS_PCI
170ade299d8SYoichi Yuasa	select I8259
171ade299d8SYoichi Yuasa	select ISA
172ade299d8SYoichi Yuasa	select IRQ_CPU
173ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
174ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
175ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
176ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
177ade299d8SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
178ade299d8SYoichi Yuasa	select GENERIC_HARDIRQS_NO__DO_IRQ
17923dd6d35SRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
180ade299d8SYoichi Yuasa	select CPU_HAS_WB
181ade299d8SYoichi Yuasa	help
182ade299d8SYoichi Yuasa	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
183ade299d8SYoichi Yuasa	  an FPGA northbridge
184ade299d8SYoichi Yuasa
1851da177e4SLinus Torvaldsconfig MIPS_ATLAS
1863fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1871da177e4SLinus Torvalds	select BOOT_ELF32
18842f77542SRalf Baechle	select CEVT_R4K
189940f6b48SRalf Baechle	select CSRC_R4K
1901da177e4SLinus Torvalds	select DMA_NONCOHERENT
19136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1925e83d430SRalf Baechle	select IRQ_CPU
1931da177e4SLinus Torvalds	select HW_HAS_PCI
1945e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1955e83d430SRalf Baechle	select MIPS_BONITO64
196252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1975e83d430SRalf Baechle	select MIPS_MSC
198f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1991da177e4SLinus Torvalds	select SWAP_IO_SPACE
2007cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2017cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2027cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2037cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2047cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
205ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
206ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2075e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2085e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
209f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
2109693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
211e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
2121da177e4SLinus Torvalds	help
213f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
2141da177e4SLinus Torvalds	  board.
2151da177e4SLinus Torvalds
2161da177e4SLinus Torvaldsconfig MIPS_MALTA
2173fa986faSMartin Michlmayr	bool "MIPS Malta board"
21861ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2191da177e4SLinus Torvalds	select BOOT_ELF32
22042f77542SRalf Baechle	select CEVT_R4K
221940f6b48SRalf Baechle	select CSRC_R4K
2221da177e4SLinus Torvalds	select DMA_NONCOHERENT
2231da177e4SLinus Torvalds	select GENERIC_ISA_DMA
224aa414dffSRalf Baechle	select IRQ_CPU
2251da177e4SLinus Torvalds	select HW_HAS_PCI
226d865bea4SRalf Baechle	select I8253
2271da177e4SLinus Torvalds	select I8259
2285e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2295e83d430SRalf Baechle	select MIPS_BONITO64
2309318c51aSChris Dearman	select MIPS_CPU_SCACHE
231252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2325e83d430SRalf Baechle	select MIPS_MSC
2331da177e4SLinus Torvalds	select SWAP_IO_SPACE
2347cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2357cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2367cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2377cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2387cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
23936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
240ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
241ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2425e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2435e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
244f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2459693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2461da177e4SLinus Torvalds	help
247f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2481da177e4SLinus Torvalds	  board.
2491da177e4SLinus Torvalds
2501da177e4SLinus Torvaldsconfig MIPS_SEAD
251d98cc84dSRalf Baechle	bool "MIPS SEAD board"
25242f77542SRalf Baechle	select CEVT_R4K
253940f6b48SRalf Baechle	select CSRC_R4K
2541da177e4SLinus Torvalds	select IRQ_CPU
2551da177e4SLinus Torvalds	select DMA_NONCOHERENT
25636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2575e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2587cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2597cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2607cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
261ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2625e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2635e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2645e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2659693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
266f638d197SMaciej W. Rozycki	help
267f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
268f638d197SMaciej W. Rozycki	  board.
2691da177e4SLinus Torvalds
270c78cbf49SRalf Baechleconfig MIPS_SIM
2713fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
27242f77542SRalf Baechle	select CEVT_R4K
273940f6b48SRalf Baechle	select CSRC_R4K
274c78cbf49SRalf Baechle	select DMA_NONCOHERENT
27536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
276c78cbf49SRalf Baechle	select IRQ_CPU
2779267a30dSMarc St-Jean	select BOOT_RAW
2787cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2797cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
28036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
281c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
282c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
283f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
284c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
285c78cbf49SRalf Baechle	help
286c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
287c78cbf49SRalf Baechle	  emulator.
288c78cbf49SRalf Baechle
289ade299d8SYoichi Yuasaconfig MARKEINS
290ade299d8SYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
29142f77542SRalf Baechle	select CEVT_R4K
292940f6b48SRalf Baechle	select CSRC_R4K
293ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
294ade299d8SYoichi Yuasa	select HW_HAS_PCI
295ade299d8SYoichi Yuasa	select IRQ_CPU
296ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
297ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
298ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
299ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
300ade299d8SYoichi Yuasa	select SYS_HAS_CPU_R5000
301ade299d8SYoichi Yuasa	help
302ade299d8SYoichi Yuasa	  This enables support for the R5432-based NEC Mark-eins
303ade299d8SYoichi Yuasa	  boards with R5500 CPU.
304ade299d8SYoichi Yuasa
3055e83d430SRalf Baechleconfig MACH_VR41XX
30674142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
30742f77542SRalf Baechle	select CEVT_R4K
308940f6b48SRalf Baechle	select CSRC_R4K
3097cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
3109fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
3115e83d430SRalf Baechle
312ade299d8SYoichi Yuasaconfig PNX8550_JBS
313ade299d8SYoichi Yuasa	bool "Philips PNX8550 based JBS board"
314ade299d8SYoichi Yuasa	select PNX8550
315ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
316ade299d8SYoichi Yuasa
317ade299d8SYoichi Yuasaconfig PNX8550_STB810
318ade299d8SYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
319ade299d8SYoichi Yuasa	select PNX8550
320ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
321ade299d8SYoichi Yuasa
3229267a30dSMarc St-Jeanconfig PMC_MSP
3239267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3249267a30dSMarc St-Jean	depends on EXPERIMENTAL
3259267a30dSMarc St-Jean	select DMA_NONCOHERENT
3269267a30dSMarc St-Jean	select SWAP_IO_SPACE
3279267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3289267a30dSMarc St-Jean	select BOOT_RAW
3299267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3309267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3319267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3329267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3339267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
3349267a30dSMarc St-Jean	select IRQ_CPU
3359267a30dSMarc St-Jean	select SERIAL_8250
3369267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3379267a30dSMarc St-Jean	help
3389267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3399267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3409267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3419267a30dSMarc St-Jean	  a variety of MIPS cores.
3429267a30dSMarc St-Jean
3435e83d430SRalf Baechleconfig PMC_YOSEMITE
3443fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
34542f77542SRalf Baechle	select CEVT_R4K
346940f6b48SRalf Baechle	select CSRC_R4K
3475e83d430SRalf Baechle	select DMA_COHERENT
3485e83d430SRalf Baechle	select HW_HAS_PCI
3495e83d430SRalf Baechle	select IRQ_CPU
3505e83d430SRalf Baechle	select IRQ_CPU_RM7K
3515e83d430SRalf Baechle	select IRQ_CPU_RM9K
3525e83d430SRalf Baechle	select SWAP_IO_SPACE
3537cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
35436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3555e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3565e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3575e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3585e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
359cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
360e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3615e83d430SRalf Baechle	help
3625e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3635e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3641da177e4SLinus Torvalds
36507119621SRalf Baechleconfig QEMU
3663fa986faSMartin Michlmayr	bool "Qemu"
36742f77542SRalf Baechle	select CEVT_R4K
368940f6b48SRalf Baechle	select CSRC_R4K
36907119621SRalf Baechle	select DMA_COHERENT
37007119621SRalf Baechle	select GENERIC_ISA_DMA
37107119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
372d865bea4SRalf Baechle	select I8253
37307119621SRalf Baechle	select I8259
3747bcf7717SRalf Baechle	select IRQ_CPU
37507119621SRalf Baechle	select ISA
376de61b542SRalf Baechle	select PCSPEAKER
37707119621SRalf Baechle	select SWAP_IO_SPACE
3787cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
379a57c2289SRalf Baechle	select SYS_HAS_EARLY_PRINTK
38007119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
38107119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
382c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
3839fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
38472ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
38572ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
38607119621SRalf Baechle	help
38707119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
38807119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
38907119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
39007119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
39107119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
39207119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
39307119621SRalf Baechle
3941da177e4SLinus Torvaldsconfig SGI_IP22
3953fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3961da177e4SLinus Torvalds	select ARC
3971da177e4SLinus Torvalds	select ARC32
3981da177e4SLinus Torvalds	select BOOT_ELF32
39942f77542SRalf Baechle	select CEVT_R4K
400940f6b48SRalf Baechle	select CSRC_R4K
4011da177e4SLinus Torvalds	select DMA_NONCOHERENT
4025e83d430SRalf Baechle	select HW_HAS_EISA
403d865bea4SRalf Baechle	select I8253
404*68de4803SThomas Bogendoerfer	select I8259
4051da177e4SLinus Torvalds	select IP22_CPU_SCACHE
4061da177e4SLinus Torvalds	select IRQ_CPU
407aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
4081da177e4SLinus Torvalds	select SWAP_IO_SPACE
4097cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
4107cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
41136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
412ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
413ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4145e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4151da177e4SLinus Torvalds	help
4161da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4171da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4181da177e4SLinus Torvalds	  that runs on these, say Y here.
4191da177e4SLinus Torvalds
4201da177e4SLinus Torvaldsconfig SGI_IP27
4213fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4221da177e4SLinus Torvalds	select ARC
4231da177e4SLinus Torvalds	select ARC64
4245e83d430SRalf Baechle	select BOOT_ELF64
4251da177e4SLinus Torvalds	select DMA_IP27
42636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4271da177e4SLinus Torvalds	select HW_HAS_PCI
428130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4297cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
430ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4315e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
432cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
433d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4341a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
435e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
4361da177e4SLinus Torvalds	help
4371da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4381da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4391da177e4SLinus Torvalds	  here.
4401da177e4SLinus Torvalds
4411da177e4SLinus Torvaldsconfig SGI_IP32
442cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4431da177e4SLinus Torvalds	select ARC
4441da177e4SLinus Torvalds	select ARC32
4451da177e4SLinus Torvalds	select BOOT_ELF32
44642f77542SRalf Baechle	select CEVT_R4K
447940f6b48SRalf Baechle	select CSRC_R4K
4481da177e4SLinus Torvalds	select DMA_NONCOHERENT
4491da177e4SLinus Torvalds	select HW_HAS_PCI
450dd67b155SRalf Baechle	select IRQ_CPU
4511da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4521da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4537cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4547cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4557cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
456dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
457ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4585e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4591da177e4SLinus Torvalds	help
4601da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4611da177e4SLinus Torvalds
462ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
463ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4645e83d430SRalf Baechle	depends on EXPERIMENTAL
4655e83d430SRalf Baechle	select BOOT_ELF32
4665e83d430SRalf Baechle	select DMA_COHERENT
4675e83d430SRalf Baechle	select SIBYTE_BCM1120
4685e83d430SRalf Baechle	select SWAP_IO_SPACE
4697cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4705e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4715e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4725e83d430SRalf Baechle
473ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
474ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4755e83d430SRalf Baechle	depends on EXPERIMENTAL
4765e83d430SRalf Baechle	select BOOT_ELF32
4775e83d430SRalf Baechle	select DMA_COHERENT
4785e83d430SRalf Baechle	select SIBYTE_BCM1120
4795e83d430SRalf Baechle	select SWAP_IO_SPACE
4807cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4815e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4825e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4835e83d430SRalf Baechle
4845e83d430SRalf Baechleconfig SIBYTE_CRHONE
4853fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4865e83d430SRalf Baechle	depends on EXPERIMENTAL
4875e83d430SRalf Baechle	select BOOT_ELF32
4885e83d430SRalf Baechle	select DMA_COHERENT
4895e83d430SRalf Baechle	select SIBYTE_BCM1125
4905e83d430SRalf Baechle	select SWAP_IO_SPACE
4917cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4925e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4935e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4945e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4955e83d430SRalf Baechle
496ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
497ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
498ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
499ade299d8SYoichi Yuasa	select BOOT_ELF32
500ade299d8SYoichi Yuasa	select DMA_COHERENT
501ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
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_SWARM
508ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
509ade299d8SYoichi Yuasa	select BOOT_ELF32
510ade299d8SYoichi Yuasa	select DMA_COHERENT
511ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
512ade299d8SYoichi Yuasa	select SIBYTE_SB1250
513ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
514ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
515ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
516ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
517ade299d8SYoichi Yuasa	select SYS_SUPPORTS_KGDB
518ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
519cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
520ade299d8SYoichi Yuasa
521ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
522ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
523ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
524ade299d8SYoichi Yuasa	select BOOT_ELF32
525ade299d8SYoichi Yuasa	select DMA_COHERENT
526ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
527ade299d8SYoichi Yuasa	select SIBYTE_SB1250
528ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
529ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
530ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
531ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
532ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
533ade299d8SYoichi Yuasa
534ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
535ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
536ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
537ade299d8SYoichi Yuasa	select BOOT_ELF32
538ade299d8SYoichi Yuasa	select DMA_COHERENT
539ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
540ade299d8SYoichi Yuasa	select SIBYTE_SB1250
541ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
542ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
543ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
544ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
545ade299d8SYoichi Yuasa
546ade299d8SYoichi Yuasaconfig SIBYTE_PTSWARM
547ade299d8SYoichi Yuasa	bool "Sibyte BCM91250PT-PTSWARM"
548ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
549ade299d8SYoichi Yuasa	select BOOT_ELF32
550ade299d8SYoichi Yuasa	select DMA_COHERENT
551ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
552ade299d8SYoichi Yuasa	select SIBYTE_SB1250
553ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
554ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
555ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
556ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
557ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
558ade299d8SYoichi Yuasa
559ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
560ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
561ade299d8SYoichi Yuasa	select BOOT_ELF32
562ade299d8SYoichi Yuasa	select DMA_COHERENT
563ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
564ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
565ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
566ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
567ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
568651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
569ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
570cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
571ade299d8SYoichi Yuasa
57214b36af4SThomas Bogendoerferconfig SNI_RM
57314b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5744a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5754a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
5765e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5775e83d430SRalf Baechle	select BOOT_ELF32
57842f77542SRalf Baechle	select CEVT_R4K
579940f6b48SRalf Baechle	select CSRC_R4K
5805e83d430SRalf Baechle	select DMA_NONCOHERENT
5815e83d430SRalf Baechle	select GENERIC_ISA_DMA
5825e83d430SRalf Baechle	select HW_HAS_EISA
5835e83d430SRalf Baechle	select HW_HAS_PCI
584c066a32aSThomas Bogendoerfer	select IRQ_CPU
585d865bea4SRalf Baechle	select I8253
5865e83d430SRalf Baechle	select I8259
5875e83d430SRalf Baechle	select ISA
588de61b542SRalf Baechle	select PCSPEAKER
5894a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5907cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5914a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
592c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5934a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
59436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
595ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5965e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5974a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5985e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5995e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6001da177e4SLinus Torvalds	help
60114b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
60214b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
6035e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
6045e83d430SRalf Baechle	  support this machine type.
6051da177e4SLinus Torvalds
6065e83d430SRalf Baechleconfig TOSHIBA_JMR3927
6073fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
608229f773eSAtsushi Nemoto	select CEVT_TXX9
6095e83d430SRalf Baechle	select DMA_NONCOHERENT
6105e83d430SRalf Baechle	select HW_HAS_PCI
6115e83d430SRalf Baechle	select MIPS_TX3927
612c87abd75SAtsushi Nemoto	select IRQ_TXX9
6135e83d430SRalf Baechle	select SWAP_IO_SPACE
6147cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
6155e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6166a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6175e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6182127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6195e83d430SRalf Baechle
6205e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
62108a91283SYoichi Yuasa	bool "Toshiba RBTX49[23]7 board"
62242f77542SRalf Baechle	select CEVT_R4K
623940f6b48SRalf Baechle	select CSRC_R4K
624229f773eSAtsushi Nemoto	select CEVT_TXX9
6255e83d430SRalf Baechle	select DMA_NONCOHERENT
6265e83d430SRalf Baechle	select HAS_TXX9_SERIAL
6275e83d430SRalf Baechle	select HW_HAS_PCI
628c87abd75SAtsushi Nemoto	select IRQ_CPU
629c87abd75SAtsushi Nemoto	select IRQ_TXX9
630c87abd75SAtsushi Nemoto	select I8259 if TOSHIBA_FPCIB0
6315e83d430SRalf Baechle	select SWAP_IO_SPACE
6327cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
6335e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6345e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
6356a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6365e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
637cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6389fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6395e83d430SRalf Baechle	help
6405e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
6415e83d430SRalf Baechle	  support this machine type
6421da177e4SLinus Torvalds
64323fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
6443fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
64542f77542SRalf Baechle	select CEVT_R4K
646940f6b48SRalf Baechle	select CSRC_R4K
647229f773eSAtsushi Nemoto	select CEVT_TXX9
64823fbee9dSRalf Baechle	select DMA_NONCOHERENT
64923fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
65023fbee9dSRalf Baechle	select HW_HAS_PCI
651c87abd75SAtsushi Nemoto	select IRQ_CPU
652c87abd75SAtsushi Nemoto	select IRQ_TXX9
65323fbee9dSRalf Baechle	select SWAP_IO_SPACE
6547cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
65523fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
65623fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
65723fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
658cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6599fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6603896b054SAtsushi Nemoto	select GENERIC_GPIO
66123fbee9dSRalf Baechle	help
66223fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
66323fbee9dSRalf Baechle	  support this machine type
66423fbee9dSRalf Baechle
665ade299d8SYoichi Yuasaconfig WR_PPMC
666ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
66742f77542SRalf Baechle	select CEVT_R4K
668940f6b48SRalf Baechle	select CSRC_R4K
669ade299d8SYoichi Yuasa	select IRQ_CPU
670ade299d8SYoichi Yuasa	select BOOT_ELF32
671ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
672ade299d8SYoichi Yuasa	select HW_HAS_PCI
673ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
674ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
675ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
676ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
677ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
678ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
679ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
680ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
681ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
682ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
683ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
684ade299d8SYoichi Yuasa	help
685ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
686ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
687ade299d8SYoichi Yuasa
6881da177e4SLinus Torvaldsendchoice
6891da177e4SLinus Torvalds
690c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6915e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6921f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6935e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
69429c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
69538b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6965e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
69723fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6985e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
69938b18f72SRalf Baechle
7005e83d430SRalf Baechleendmenu
7015e83d430SRalf Baechle
7021da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
7031da177e4SLinus Torvalds	bool
7041da177e4SLinus Torvalds	default y
7051da177e4SLinus Torvalds
7061da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
7071da177e4SLinus Torvalds	bool
7081da177e4SLinus Torvalds
709f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
710f0d1b0b3SDavid Howells	bool
711f0d1b0b3SDavid Howells	default n
712f0d1b0b3SDavid Howells
713f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
714f0d1b0b3SDavid Howells	bool
715f0d1b0b3SDavid Howells	default n
716f0d1b0b3SDavid Howells
7173c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7183c9ee7efSAkinobu Mita	bool
7193c9ee7efSAkinobu Mita	default y
7203c9ee7efSAkinobu Mita
7213c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7223c9ee7efSAkinobu Mita	bool
7233c9ee7efSAkinobu Mita	default y
7243c9ee7efSAkinobu Mita
7251da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7261da177e4SLinus Torvalds	bool
7271da177e4SLinus Torvalds	default y
7281da177e4SLinus Torvalds
7297bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7307bcf7717SRalf Baechle	bool
7317bcf7717SRalf Baechle	default y
7327bcf7717SRalf Baechle
7338db02010SRalf Baechleconfig GENERIC_TIME
7348db02010SRalf Baechle	bool
7358db02010SRalf Baechle	default y
7368db02010SRalf Baechle
737f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
738f5ff0a28SRalf Baechle	bool
739f5ff0a28SRalf Baechle	default y
740f5ff0a28SRalf Baechle
7411cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
7421cc89038SAtsushi Nemoto	bool
7431cc89038SAtsushi Nemoto	default y
7441cc89038SAtsushi Nemoto
745e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
746e77c232cSFranck Bui-Huu	bool
747e77c232cSFranck Bui-Huu	default n
748e77c232cSFranck Bui-Huu
7491da177e4SLinus Torvalds#
7501da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7511da177e4SLinus Torvalds#
7521da177e4SLinus Torvaldsconfig ARC
7531da177e4SLinus Torvalds	bool
7541da177e4SLinus Torvalds
75561ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
75661ed242dSRalf Baechle	bool
75761ed242dSRalf Baechle
7589267a30dSMarc St-Jeanconfig BOOT_RAW
7599267a30dSMarc St-Jean	bool
7609267a30dSMarc St-Jean
761217dd11eSRalf Baechleconfig CEVT_BCM1480
762217dd11eSRalf Baechle	bool
763217dd11eSRalf Baechle
7641097c6acSYoichi Yuasaconfig CEVT_GT641XX
7651097c6acSYoichi Yuasa	bool
7661097c6acSYoichi Yuasa
76742f77542SRalf Baechleconfig CEVT_R4K
76842f77542SRalf Baechle	bool
76942f77542SRalf Baechle
770217dd11eSRalf Baechleconfig CEVT_SB1250
771217dd11eSRalf Baechle	bool
772217dd11eSRalf Baechle
773229f773eSAtsushi Nemotoconfig CEVT_TXX9
774229f773eSAtsushi Nemoto	bool
775229f773eSAtsushi Nemoto
776217dd11eSRalf Baechleconfig CSRC_BCM1480
777217dd11eSRalf Baechle	bool
778217dd11eSRalf Baechle
779940f6b48SRalf Baechleconfig CSRC_R4K
780940f6b48SRalf Baechle	bool
781940f6b48SRalf Baechle
782217dd11eSRalf Baechleconfig CSRC_SB1250
783217dd11eSRalf Baechle	bool
784217dd11eSRalf Baechle
785df78b5c8SAurelien Jarnoconfig CFE
786df78b5c8SAurelien Jarno	bool
787df78b5c8SAurelien Jarno
7881da177e4SLinus Torvaldsconfig DMA_COHERENT
7891da177e4SLinus Torvalds	bool
7901da177e4SLinus Torvalds
7911da177e4SLinus Torvaldsconfig DMA_IP27
7921da177e4SLinus Torvalds	bool
7931da177e4SLinus Torvalds
7944ce588cdSRalf Baechleconfig DMA_IP32
7954ce588cdSRalf Baechle	bool
7964ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7974ce588cdSRalf Baechle
7981da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7991da177e4SLinus Torvalds	bool
8004ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
8014ce588cdSRalf Baechle
8024ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
8034ce588cdSRalf Baechle	bool
8041da177e4SLinus Torvalds
8051da177e4SLinus Torvaldsconfig EARLY_PRINTK
80636a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
80736a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
80836a88530SRalf Baechle	default y
80936a88530SRalf Baechle	help
81036a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
81136a88530SRalf Baechle	  to print messages very early in the bootup process.
81236a88530SRalf Baechle
81336a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
814490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
815490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
816490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
81736a88530SRalf Baechle	  unless you want to debug such a crash.
81836a88530SRalf Baechle
81936a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
8201da177e4SLinus Torvalds	bool
8211da177e4SLinus Torvalds
822dbb74540SRalf Baechleconfig HOTPLUG_CPU
823dbb74540SRalf Baechle	bool
824dbb74540SRalf Baechle	default n
825dbb74540SRalf Baechle
8261da177e4SLinus Torvaldsconfig I8259
8271da177e4SLinus Torvalds	bool
8281da177e4SLinus Torvalds
8291da177e4SLinus Torvaldsconfig MIPS_BONITO64
8301da177e4SLinus Torvalds	bool
8311da177e4SLinus Torvalds
8321da177e4SLinus Torvaldsconfig MIPS_MSC
8331da177e4SLinus Torvalds	bool
8341da177e4SLinus Torvalds
8351f21d2bdSBrian Murphyconfig MIPS_NILE4
8361f21d2bdSBrian Murphy	bool
8371f21d2bdSBrian Murphy
8381da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8391da177e4SLinus Torvalds	bool
8401da177e4SLinus Torvalds
841d388d685SMaciej W. Rozyckiconfig NO_IOPORT
842d388d685SMaciej W. Rozycki	def_bool n
843d388d685SMaciej W. Rozycki
8448313da30SRalf Baechleconfig GENERIC_ISA_DMA
8458313da30SRalf Baechle	bool
8468313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
8478313da30SRalf Baechle
848aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
849aa414dffSRalf Baechle	bool
8508313da30SRalf Baechle	select GENERIC_ISA_DMA
851aa414dffSRalf Baechle
85209663335SYoichi Yuasaconfig GENERIC_GPIO
85309663335SYoichi Yuasa	bool
85409663335SYoichi Yuasa
8555e83d430SRalf Baechle#
8563cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
8575e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
8585e83d430SRalf Baechle# choice statement should be more obvious to the user.
8595e83d430SRalf Baechle#
8605e83d430SRalf Baechlechoice
8615e83d430SRalf Baechle	prompt "Endianess selection"
8621da177e4SLinus Torvalds	help
8631da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
8645e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
8653cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
8665e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
8673dde6ad8SDavid Sterba	  one or the other endianness.
8685e83d430SRalf Baechle
8695e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
8705e83d430SRalf Baechle	bool "Big endian"
8715e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
8725e83d430SRalf Baechle
8735e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8745e83d430SRalf Baechle	bool "Little endian"
8755e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8765e83d430SRalf Baechle	help
8775e83d430SRalf Baechle
8785e83d430SRalf Baechleendchoice
8795e83d430SRalf Baechle
8802116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8812116245eSRalf Baechle	bool
8822116245eSRalf Baechle
8835e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8845e83d430SRalf Baechle	bool
8855e83d430SRalf Baechle
8865e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8875e83d430SRalf Baechle	bool
8881da177e4SLinus Torvalds
8891da177e4SLinus Torvaldsconfig IRQ_CPU
8901da177e4SLinus Torvalds	bool
8911da177e4SLinus Torvalds
8921da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8931da177e4SLinus Torvalds	bool
8941da177e4SLinus Torvalds
8955e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8965e83d430SRalf Baechle	bool
8975e83d430SRalf Baechle
8989267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8999267a30dSMarc St-Jean	bool
9009267a30dSMarc St-Jean
9019267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
9029267a30dSMarc St-Jean	bool
9039267a30dSMarc St-Jean
9048420fd00SAtsushi Nemotoconfig IRQ_TXX9
9058420fd00SAtsushi Nemoto	bool
9068420fd00SAtsushi Nemoto
907d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
908d5ab1a69SYoichi Yuasa	bool
909d5ab1a69SYoichi Yuasa
9101da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
9111da177e4SLinus Torvalds	bool
9121da177e4SLinus Torvalds
913252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
9141da177e4SLinus Torvalds	bool
9151da177e4SLinus Torvalds
9169267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
9179267a30dSMarc St-Jean	bool
9189267a30dSMarc St-Jean
9191da177e4SLinus Torvaldsconfig MIPS_TX3927
9201da177e4SLinus Torvalds	bool
9211da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
9221da177e4SLinus Torvalds
923663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
924663c3d90Sthomas@koeller.dyndns.org	bool
925663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
926663c3d90Sthomas@koeller.dyndns.org
927bdf21b18SPete Popovconfig PNX8550
928bdf21b18SPete Popov	bool
929bdf21b18SPete Popov	select SOC_PNX8550
930bdf21b18SPete Popov
931bdf21b18SPete Popovconfig SOC_PNX8550
932bdf21b18SPete Popov	bool
933bdf21b18SPete Popov	select DMA_NONCOHERENT
934bdf21b18SPete Popov	select HW_HAS_PCI
935b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
93636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
9377cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
938e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
939cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
9404ead1681SFlorian Fainelli	select GENERIC_GPIO
941bdf21b18SPete Popov
9421da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
9431da177e4SLinus Torvalds	bool
9441da177e4SLinus Torvalds
945355c471fSdmitry pervushinconfig EMMA2RH
946355c471fSdmitry pervushin	bool
947355c471fSdmitry pervushin	depends on MARKEINS
948355c471fSdmitry pervushin	default y
949355c471fSdmitry pervushin
950663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
951663c3d90Sthomas@koeller.dyndns.org	bool
952663c3d90Sthomas@koeller.dyndns.org
9535e83d430SRalf Baechleconfig ARC32
9545e83d430SRalf Baechle	bool
9555e83d430SRalf Baechle
9561da177e4SLinus Torvaldsconfig BOOT_ELF32
9571da177e4SLinus Torvalds	bool
9581da177e4SLinus Torvalds
9591da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
9601da177e4SLinus Torvalds	int
96106cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
96206cf5583SThomas Bogendoerfer	default "7" if SGI_IP27 || SNI_RM
9639267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
9641da177e4SLinus Torvalds	default "5"
9651da177e4SLinus Torvalds
9661da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
9671da177e4SLinus Torvalds	bool
9681da177e4SLinus Torvalds
9691da177e4SLinus Torvaldsconfig ARC_CONSOLE
9701da177e4SLinus Torvalds	bool "ARC console support"
97136a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
9721da177e4SLinus Torvalds
9731da177e4SLinus Torvaldsconfig ARC_MEMORY
9741da177e4SLinus Torvalds	bool
97514b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9761da177e4SLinus Torvalds	default y
9771da177e4SLinus Torvalds
9781da177e4SLinus Torvaldsconfig ARC_PROMLIB
9791da177e4SLinus Torvalds	bool
98014b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
9811da177e4SLinus Torvalds	default y
9821da177e4SLinus Torvalds
9831da177e4SLinus Torvaldsconfig ARC64
9841da177e4SLinus Torvalds	bool
9851da177e4SLinus Torvalds
9861da177e4SLinus Torvaldsconfig BOOT_ELF64
9871da177e4SLinus Torvalds	bool
9881da177e4SLinus Torvalds
9891da177e4SLinus Torvaldsmenu "CPU selection"
9901da177e4SLinus Torvalds
9917bcf7717SRalf Baechlesource "kernel/time/Kconfig"
9927bcf7717SRalf Baechle
9931da177e4SLinus Torvaldschoice
9941da177e4SLinus Torvalds	prompt "CPU type"
9951da177e4SLinus Torvalds	default CPU_R4X00
9961da177e4SLinus Torvalds
9972a21c730SFuxin Zhangconfig CPU_LOONGSON2
9982a21c730SFuxin Zhang	bool "Loongson 2"
9992a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
10002a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
10012a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
10022a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
10032a21c730SFuxin Zhang	help
10042a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
10052a21c730SFuxin Zhang	  with many extensions.
10062a21c730SFuxin Zhang
10076e760c8dSRalf Baechleconfig CPU_MIPS32_R1
10086e760c8dSRalf Baechle	bool "MIPS32 Release 1"
10097cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
1010f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10116e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1012797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1013ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10146e760c8dSRalf Baechle	help
10155e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10161e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10171e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10181e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10191e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10201e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
10211e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
10221e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
10231e5f1caaSRalf Baechle	  performance.
10241e5f1caaSRalf Baechle
10251e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
10261e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
10277cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
1028f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10291e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1030797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1031ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10321e5f1caaSRalf Baechle	help
10335e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10346e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10356e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10366e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10376e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10381da177e4SLinus Torvalds
10396e760c8dSRalf Baechleconfig CPU_MIPS64_R1
10406e760c8dSRalf Baechle	bool "MIPS64 Release 1"
10417cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1042f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1043797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1044ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1045ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1046ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10476e760c8dSRalf Baechle	help
10486e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10496e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10506e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10516e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10526e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10531e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
10541e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
10551e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
10561e5f1caaSRalf Baechle	  performance.
10571e5f1caaSRalf Baechle
10581e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
10591e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
10607cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1061f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1062797798c1SRalf Baechle	select CPU_HAS_PREFETCH
10631e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10641e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1065ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10661e5f1caaSRalf Baechle	help
10671e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10681e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10691e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10701e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10711e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10721da177e4SLinus Torvalds
10731da177e4SLinus Torvaldsconfig CPU_R3000
10741da177e4SLinus Torvalds	bool "R3000"
10757cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1076f7062ddbSRalf Baechle	select CPU_HAS_WB
1077ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1078797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10791da177e4SLinus Torvalds	help
10801da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
10811da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
10821da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
10831da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
10841da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
10851da177e4SLinus Torvalds	  try to recompile with R3000.
10861da177e4SLinus Torvalds
10871da177e4SLinus Torvaldsconfig CPU_TX39XX
10881da177e4SLinus Torvalds	bool "R39XX"
10897cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1090ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10911da177e4SLinus Torvalds
10921da177e4SLinus Torvaldsconfig CPU_VR41XX
10931da177e4SLinus Torvalds	bool "R41xx"
10947cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1095ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1096ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10971da177e4SLinus Torvalds	help
10985e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
10991da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
11001da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
11011da177e4SLinus Torvalds	  processor or vice versa.
11021da177e4SLinus Torvalds
11031da177e4SLinus Torvaldsconfig CPU_R4300
11041da177e4SLinus Torvalds	bool "R4300"
11057cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1106f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1107ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1108ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11091da177e4SLinus Torvalds	help
11101da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
11111da177e4SLinus Torvalds
11121da177e4SLinus Torvaldsconfig CPU_R4X00
11131da177e4SLinus Torvalds	bool "R4x00"
11147cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1115f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1116ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1117ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11181da177e4SLinus Torvalds	help
11191da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
11201da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
11211da177e4SLinus Torvalds
11221da177e4SLinus Torvaldsconfig CPU_TX49XX
11231da177e4SLinus Torvalds	bool "R49XX"
11247cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1125f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1126de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1127ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1128ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11291da177e4SLinus Torvalds
11301da177e4SLinus Torvaldsconfig CPU_R5000
11311da177e4SLinus Torvalds	bool "R5000"
11327cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1133f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1134ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1135ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11361da177e4SLinus Torvalds	help
11371da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
11381da177e4SLinus Torvalds
11391da177e4SLinus Torvaldsconfig CPU_R5432
11401da177e4SLinus Torvalds	bool "R5432"
11417cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1142f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11435e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11445e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
11451da177e4SLinus Torvalds
11461da177e4SLinus Torvaldsconfig CPU_R6000
11471da177e4SLinus Torvalds	bool "R6000"
1148ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1149f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11507cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1151ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11521da177e4SLinus Torvalds	help
11531da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1154c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
11551da177e4SLinus Torvalds
11561da177e4SLinus Torvaldsconfig CPU_NEVADA
11571da177e4SLinus Torvalds	bool "RM52xx"
11587cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1159f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1160ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1161ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11621da177e4SLinus Torvalds	help
11631da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
11641da177e4SLinus Torvalds
11651da177e4SLinus Torvaldsconfig CPU_R8000
11661da177e4SLinus Torvalds	bool "R8000"
1167ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
11687cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1169f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11705e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1171ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11721da177e4SLinus Torvalds	help
11731da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
11741da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
11751da177e4SLinus Torvalds
11761da177e4SLinus Torvaldsconfig CPU_R10000
11771da177e4SLinus Torvalds	bool "R10000"
11787cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1179f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11805e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1181ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1182ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1183797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11841da177e4SLinus Torvalds	help
11851da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
11861da177e4SLinus Torvalds
11871da177e4SLinus Torvaldsconfig CPU_RM7000
11881da177e4SLinus Torvalds	bool "RM7000"
11897cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1190f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11915e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1192ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1193ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1194797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11951da177e4SLinus Torvalds
11961da177e4SLinus Torvaldsconfig CPU_RM9000
11971da177e4SLinus Torvalds	bool "RM9000"
11987cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1199f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12005e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1201ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1202ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1203797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12040004a9dfSRalf Baechle	select WEAK_ORDERING
12051da177e4SLinus Torvalds
12061da177e4SLinus Torvaldsconfig CPU_SB1
12071da177e4SLinus Torvalds	bool "SB1"
12087cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1209f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1210ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1211ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1212797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12130004a9dfSRalf Baechle	select WEAK_ORDERING
12141da177e4SLinus Torvalds
12151da177e4SLinus Torvaldsendchoice
12161da177e4SLinus Torvalds
12172a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
12182a21c730SFuxin Zhang	bool
12192a21c730SFuxin Zhang
12207cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
12217cf8053bSRalf Baechle	bool
12227cf8053bSRalf Baechle
12237cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
12247cf8053bSRalf Baechle	bool
12257cf8053bSRalf Baechle
12267cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
12277cf8053bSRalf Baechle	bool
12287cf8053bSRalf Baechle
12297cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
12307cf8053bSRalf Baechle	bool
12317cf8053bSRalf Baechle
12327cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
12337cf8053bSRalf Baechle	bool
12347cf8053bSRalf Baechle
12357cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
12367cf8053bSRalf Baechle	bool
12377cf8053bSRalf Baechle
12387cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
12397cf8053bSRalf Baechle	bool
12407cf8053bSRalf Baechle
12417cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
12427cf8053bSRalf Baechle	bool
12437cf8053bSRalf Baechle
12447cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
12457cf8053bSRalf Baechle	bool
12467cf8053bSRalf Baechle
12477cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
12487cf8053bSRalf Baechle	bool
12497cf8053bSRalf Baechle
12507cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
12517cf8053bSRalf Baechle	bool
12527cf8053bSRalf Baechle
12537cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
12547cf8053bSRalf Baechle	bool
12557cf8053bSRalf Baechle
12567cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
12577cf8053bSRalf Baechle	bool
12587cf8053bSRalf Baechle
12597cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
12607cf8053bSRalf Baechle	bool
12617cf8053bSRalf Baechle
12627cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
12637cf8053bSRalf Baechle	bool
12647cf8053bSRalf Baechle
12657cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
12667cf8053bSRalf Baechle	bool
12677cf8053bSRalf Baechle
12687cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
12697cf8053bSRalf Baechle	bool
12707cf8053bSRalf Baechle
12717cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
12727cf8053bSRalf Baechle	bool
12737cf8053bSRalf Baechle
12747cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
12757cf8053bSRalf Baechle	bool
12767cf8053bSRalf Baechle
127717099b11SRalf Baechle#
127817099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
127917099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
128017099b11SRalf Baechle#
12810004a9dfSRalf Baechleconfig WEAK_ORDERING
12820004a9dfSRalf Baechle	bool
128317099b11SRalf Baechle
128417099b11SRalf Baechle#
128517099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
128617099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
128717099b11SRalf Baechle#
128817099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
128917099b11SRalf Baechle	bool
12905e83d430SRalf Baechleendmenu
12915e83d430SRalf Baechle
12925e83d430SRalf Baechle#
12935e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
12945e83d430SRalf Baechle#
12955e83d430SRalf Baechleconfig CPU_MIPS32
12965e83d430SRalf Baechle	bool
12975e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
12985e83d430SRalf Baechle
12995e83d430SRalf Baechleconfig CPU_MIPS64
13005e83d430SRalf Baechle	bool
13015e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
13025e83d430SRalf Baechle
13035e83d430SRalf Baechle#
1304c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
13055e83d430SRalf Baechle#
13065e83d430SRalf Baechleconfig CPU_MIPSR1
13075e83d430SRalf Baechle	bool
13085e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
13095e83d430SRalf Baechle
13105e83d430SRalf Baechleconfig CPU_MIPSR2
13115e83d430SRalf Baechle	bool
13125e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
13135e83d430SRalf Baechle
13145e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
13155e83d430SRalf Baechle	bool
13165e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
13175e83d430SRalf Baechle	bool
13185e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
13195e83d430SRalf Baechle	bool
13205e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
13215e83d430SRalf Baechle	bool
13225e83d430SRalf Baechle
13235e83d430SRalf Baechlemenu "Kernel type"
13245e83d430SRalf Baechle
13255e83d430SRalf Baechlechoice
13265e83d430SRalf Baechle
13275e83d430SRalf Baechle	prompt "Kernel code model"
13285e83d430SRalf Baechle	help
13295e83d430SRalf Baechle	  You should only select this option if you have a workload that
13305e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
13315e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
13325e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
13335e83d430SRalf Baechle
13345e83d430SRalf Baechleconfig 32BIT
13355e83d430SRalf Baechle	bool "32-bit kernel"
13365e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
13375e83d430SRalf Baechle	select TRAD_SIGNALS
13385e83d430SRalf Baechle	help
13395e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
13405e83d430SRalf Baechleconfig 64BIT
13415e83d430SRalf Baechle	bool "64-bit kernel"
13425e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
13435e83d430SRalf Baechle	help
13445e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
13455e83d430SRalf Baechle
13465e83d430SRalf Baechleendchoice
13475e83d430SRalf Baechle
13481da177e4SLinus Torvaldschoice
13491da177e4SLinus Torvalds	prompt "Kernel page size"
13501da177e4SLinus Torvalds	default PAGE_SIZE_4KB
13511da177e4SLinus Torvalds
13521da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
13531da177e4SLinus Torvalds	bool "4kB"
13541da177e4SLinus Torvalds	help
13551da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
13561da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
13571da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
13581da177e4SLinus Torvalds	 recommended for low memory systems.
13591da177e4SLinus Torvalds
13601da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
13611da177e4SLinus Torvalds	bool "8kB"
13621da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
13631da177e4SLinus Torvalds	help
13641da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
13651da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
13661da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
13671da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
13681da177e4SLinus Torvalds	  compatibility of user applications.
13691da177e4SLinus Torvalds
13701da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
13711da177e4SLinus Torvalds	bool "16kB"
1372714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
13731da177e4SLinus Torvalds	help
13741da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
13751da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1376714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1377714bfad6SRalf Baechle	  Linux distribution to support this.
13781da177e4SLinus Torvalds
13791da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
13801da177e4SLinus Torvalds	bool "64kB"
13811da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
13821da177e4SLinus Torvalds	help
13831da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
13841da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
13851da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1386714bfad6SRalf Baechle	  writing this option is still high experimental.
13871da177e4SLinus Torvalds
13881da177e4SLinus Torvaldsendchoice
13891da177e4SLinus Torvalds
13901da177e4SLinus Torvaldsconfig BOARD_SCACHE
13911da177e4SLinus Torvalds	bool
13921da177e4SLinus Torvalds
13931da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
13941da177e4SLinus Torvalds	bool
13951da177e4SLinus Torvalds	select BOARD_SCACHE
13961da177e4SLinus Torvalds
13979318c51aSChris Dearman#
13989318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
13999318c51aSChris Dearman#
14009318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
14019318c51aSChris Dearman	bool
14029318c51aSChris Dearman	select BOARD_SCACHE
14039318c51aSChris Dearman
14041da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
14051da177e4SLinus Torvalds	bool
14061da177e4SLinus Torvalds	select BOARD_SCACHE
14071da177e4SLinus Torvalds
14081da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
14091da177e4SLinus Torvalds	bool
14101da177e4SLinus Torvalds	select BOARD_SCACHE
14111da177e4SLinus Torvalds
14121da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
14131da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
14141da177e4SLinus Torvalds	depends on CPU_SB1
14151da177e4SLinus Torvalds	help
14161da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
14171da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
14181da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
14191da177e4SLinus Torvalds
14201da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1421c8094b53SRalf Baechle	bool
14221da177e4SLinus Torvalds
1423340ee4b9SRalf Baechlechoice
1424340ee4b9SRalf Baechle	prompt "MIPS MT options"
1425f41ae0b2SRalf Baechle
1426f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1427f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1428f41ae0b2SRalf Baechle	help
1429f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1430f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1431f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1432f41ae0b2SRalf Baechle	  option in this menu.
1433340ee4b9SRalf Baechle
143459d6ab86SRalf Baechleconfig MIPS_MT_SMP
143559d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
143659d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
143759d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1438d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
143959d6ab86SRalf Baechle	select MIPS_MT
1440f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
144159d6ab86SRalf Baechle	select SMP
144259d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
144359d6ab86SRalf Baechle	help
144459d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
144559d6ab86SRalf Baechle	  has been marketesed into SMVP.
144659d6ab86SRalf Baechle
144741c594abSRalf Baechleconfig MIPS_MT_SMTC
144841c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1449f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1450f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1451f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1452ea580401SRalf Baechle	select GENERIC_CLOCKEVENTS_BROADCAST
1453f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1454d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1455f41ae0b2SRalf Baechle	select MIPS_MT
1456130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
145741c594abSRalf Baechle	select SMP
145873b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1459f41ae0b2SRalf Baechle	help
1460f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1461f41ae0b2SRalf Baechle	  marketesed into SMVP.
146241c594abSRalf Baechle
1463340ee4b9SRalf Baechleendchoice
1464340ee4b9SRalf Baechle
1465f41ae0b2SRalf Baechleconfig MIPS_MT
1466f41ae0b2SRalf Baechle	bool
1467f41ae0b2SRalf Baechle
1468f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1469f41ae0b2SRalf Baechle	bool
1470f41ae0b2SRalf Baechle
1471f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1472f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1473f088fc84SRalf Baechle	default y
147407cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
147507cc0c9eSRalf Baechle
147607cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
147707cc0c9eSRalf Baechle	bool "VPE loader support."
147807cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
147907cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
148007cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
148107cc0c9eSRalf Baechle	select MIPS_MT
148207cc0c9eSRalf Baechle	help
148307cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
148407cc0c9eSRalf Baechle	  onto another VPE and running it.
1485f088fc84SRalf Baechle
1486ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1487ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1488619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1489ac8be955SRalf Baechle	default y
1490ac8be955SRalf Baechle	help
1491ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1492ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1493ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1494ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1495ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1496ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1497ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1498ac8be955SRalf Baechle	  heavy I/O interrupt load.
1499ac8be955SRalf Baechle
15000db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
15010db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
15020db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
15030db34215SKevin D. Kissell	default y
15040db34215SKevin D. Kissell	help
15050db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
15060db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
15070db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
15080db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
15090db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
15100db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
15110db34215SKevin D. Kissell	  what you are doing.
15120db34215SKevin D. Kissell
1513f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1514f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1515f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1516f571eff0SKevin D. Kissell	default n
1517f571eff0SKevin D. Kissell	help
1518f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1519f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1520f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
1521f571eff0SKevin D. Kissell	  platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1522f571eff0SKevin D. Kissell	  be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1523f571eff0SKevin D. Kissell	  interrupt dispatch, and should be used only if you know what
1524f571eff0SKevin D. Kissell	  you are doing.
1525f571eff0SKevin D. Kissell
1526e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1527e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1528e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1529e01402b1SRalf Baechle	default y
1530e01402b1SRalf Baechle	help
1531e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1532e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1533e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1534e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1535e01402b1SRalf Baechle
1536e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1537e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1538e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1539e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
15405e83d430SRalf Baechle	help
1541e01402b1SRalf Baechle
15422600990eSRalf Baechleconfig MIPS_APSP_KSPD
15432600990eSRalf Baechle	bool "Enable KSPD"
15442600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
15452600990eSRalf Baechle	default y
15462600990eSRalf Baechle	help
15472600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
15482600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
15492600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
15502600990eSRalf Baechle	  exiting.  You probably want to say yes here.
15512600990eSRalf Baechle
15521da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
15531da177e4SLinus Torvalds	bool
15541da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
15551da177e4SLinus Torvalds	default y
15561da177e4SLinus Torvalds
15571da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
15581da177e4SLinus Torvalds	bool
15591da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
15601da177e4SLinus Torvalds	default y
15611da177e4SLinus Torvalds
15621da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
15631da177e4SLinus Torvalds	bool
15641da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
15651da177e4SLinus Torvalds	default y
15661da177e4SLinus Torvalds
15671da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1568d806cb2bSRalf Baechle	bool
15691da177e4SLinus Torvalds
15701da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1571f7062ddbSRalf Baechle	bool
15721da177e4SLinus Torvalds
15739693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
15749693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
15759693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
15769693a853SFranck Bui-Huu	help
15779693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
15789693a853SFranck Bui-Huu	  increased security at both hardware and software level for
15799693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
15809693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
15819693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
15829693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
15839693a853SFranck Bui-Huu	  here.
15849693a853SFranck Bui-Huu
15851da177e4SLinus Torvaldsconfig CPU_HAS_WB
1586f7062ddbSRalf Baechle	bool
1587e01402b1SRalf Baechle
15882a21c730SFuxin Zhangconfig 64BIT_CONTEXT
15892a21c730SFuxin Zhang	bool "Save 64bit integer registers"
15902a21c730SFuxin Zhang	depends on 32BIT && CPU_LOONGSON2
15912a21c730SFuxin Zhang	help
15922a21c730SFuxin Zhang	  Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
15932a21c730SFuxin Zhang	  registers can still be accessed as 64bit, mainly for multimedia
15942a21c730SFuxin Zhang	  instructions. We must have all 64bit save/restored to make sure
15952a21c730SFuxin Zhang	  those instructions to get correct result.
15962a21c730SFuxin Zhang
1597f41ae0b2SRalf Baechle#
1598f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1599f41ae0b2SRalf Baechle#
1600e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1601f41ae0b2SRalf Baechle	bool
1602e01402b1SRalf Baechle
1603f41ae0b2SRalf Baechle#
1604f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1605f41ae0b2SRalf Baechle#
1606e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1607f41ae0b2SRalf Baechle	bool
1608e01402b1SRalf Baechle
16091da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
16101da177e4SLinus Torvalds	bool
16111da177e4SLinus Torvalds	depends on !CPU_R3000
16121da177e4SLinus Torvalds	default y
16131da177e4SLinus Torvalds
1614ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1615ea580401SRalf Baechle	bool
1616ea580401SRalf Baechle
16171da177e4SLinus Torvalds#
1618797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1619797798c1SRalf Baechle#
1620797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1621797798c1SRalf Baechle	bool
1622797798c1SRalf Baechle	default y
1623797798c1SRalf Baechle
1624797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1625797798c1SRalf Baechle	bool
1626797798c1SRalf Baechle	default y
1627797798c1SRalf Baechle
16280d7012a9SIngo Molnarconfig IRQ_PER_CPU
16290d7012a9SIngo Molnar	bool
16300d7012a9SIngo Molnar
1631797798c1SRalf Baechle#
16321da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
16331da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
16341da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
16351da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
16361da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
16371da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
16381da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
16391da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1640797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1641797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1642797798c1SRalf Baechle#   support.
16431da177e4SLinus Torvalds#
16441da177e4SLinus Torvaldsconfig HIGHMEM
16451da177e4SLinus Torvalds	bool "High Memory Support"
1646797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1647797798c1SRalf Baechle
1648797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1649797798c1SRalf Baechle	bool
1650797798c1SRalf Baechle
1651797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1652797798c1SRalf Baechle	bool
16531da177e4SLinus Torvalds
16549693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
16559693a853SFranck Bui-Huu	bool
16569693a853SFranck Bui-Huu
1657b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1658b4819b59SYoichi Yuasa	def_bool y
1659b4819b59SYoichi Yuasa	depends on !NUMA
1660b4819b59SYoichi Yuasa
1661d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1662d8cb4e11SRalf Baechle	bool
1663d8cb4e11SRalf Baechle	default y if SGI_IP27
1664d8cb4e11SRalf Baechle	help
16653dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1666d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1667d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1668d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1669d8cb4e11SRalf Baechle
1670cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1671cce335aeSRalf Baechle	def_bool y
1672cce335aeSRalf Baechle
1673b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1674b1c6cd42SAtsushi Nemoto	bool
16757de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
167631473747SAtsushi Nemoto
1677d8cb4e11SRalf Baechleconfig NUMA
1678d8cb4e11SRalf Baechle	bool "NUMA Support"
1679d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1680d8cb4e11SRalf Baechle	help
1681d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1682d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1683d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1684d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1685d8cb4e11SRalf Baechle	  disabled.
1686d8cb4e11SRalf Baechle
1687d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1688d8cb4e11SRalf Baechle	bool
1689d8cb4e11SRalf Baechle
1690c80d79d7SYasunori Gotoconfig NODES_SHIFT
1691c80d79d7SYasunori Goto	int
1692c80d79d7SYasunori Goto	default "6"
1693c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1694c80d79d7SYasunori Goto
1695b4819b59SYoichi Yuasasource "mm/Kconfig"
1696b4819b59SYoichi Yuasa
16971da177e4SLinus Torvaldsconfig SMP
16981da177e4SLinus Torvalds	bool "Multi-Processing support"
1699e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1700b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1701e73ea273SRalf Baechle	help
17021da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
17031da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
17041da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
17051da177e4SLinus Torvalds
17061da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
17071da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
17081da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
17091da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
17101da177e4SLinus Torvalds	  will run faster if you say N here.
17111da177e4SLinus Torvalds
17121da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
17131da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
17141da177e4SLinus Torvalds
17151da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
17161da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
17171da177e4SLinus Torvalds
17181da177e4SLinus Torvalds	  If you don't know what to do here, say N.
17191da177e4SLinus Torvalds
1720e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1721e73ea273SRalf Baechle	bool
1722e73ea273SRalf Baechle
172372ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
172472ede9b1SAtsushi Nemoto	bool
172572ede9b1SAtsushi Nemoto
1726130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1727130e2fb7SRalf Baechle	bool
1728130e2fb7SRalf Baechle
1729130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1730130e2fb7SRalf Baechle	bool
1731130e2fb7SRalf Baechle
1732130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1733130e2fb7SRalf Baechle	bool
1734130e2fb7SRalf Baechle
1735130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1736130e2fb7SRalf Baechle	bool
1737130e2fb7SRalf Baechle
1738130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1739130e2fb7SRalf Baechle	bool
1740130e2fb7SRalf Baechle
1741130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1742130e2fb7SRalf Baechle	bool
1743130e2fb7SRalf Baechle
17441da177e4SLinus Torvaldsconfig NR_CPUS
17451da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
174672ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
17471da177e4SLinus Torvalds	depends on SMP
174872ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1749130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1750130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1751130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1752130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1753130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1754130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
17551da177e4SLinus Torvalds	help
17561da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
17571da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
17581da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
175972ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
176072ede9b1SAtsushi Nemoto	  and 2 for all others.
17611da177e4SLinus Torvalds
17621da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
176372ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
176472ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
176572ede9b1SAtsushi Nemoto	  power of two.
17661da177e4SLinus Torvalds
17671723b4a3SAtsushi Nemoto#
17681723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
17691723b4a3SAtsushi Nemoto#
17701723b4a3SAtsushi Nemoto
17711723b4a3SAtsushi Nemotochoice
17721723b4a3SAtsushi Nemoto	prompt "Timer frequency"
17731723b4a3SAtsushi Nemoto	default HZ_250
17741723b4a3SAtsushi Nemoto	help
17751723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
17761723b4a3SAtsushi Nemoto
17771723b4a3SAtsushi Nemoto	config HZ_48
17781723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
17791723b4a3SAtsushi Nemoto
17801723b4a3SAtsushi Nemoto	config HZ_100
17811723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
17821723b4a3SAtsushi Nemoto
17831723b4a3SAtsushi Nemoto	config HZ_128
17841723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
17851723b4a3SAtsushi Nemoto
17861723b4a3SAtsushi Nemoto	config HZ_250
17871723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
17881723b4a3SAtsushi Nemoto
17891723b4a3SAtsushi Nemoto	config HZ_256
17901723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
17911723b4a3SAtsushi Nemoto
17921723b4a3SAtsushi Nemoto	config HZ_1000
17931723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
17941723b4a3SAtsushi Nemoto
17951723b4a3SAtsushi Nemoto	config HZ_1024
17961723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
17971723b4a3SAtsushi Nemoto
17981723b4a3SAtsushi Nemotoendchoice
17991723b4a3SAtsushi Nemoto
18001723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
18011723b4a3SAtsushi Nemoto	bool
18021723b4a3SAtsushi Nemoto
18031723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
18041723b4a3SAtsushi Nemoto	bool
18051723b4a3SAtsushi Nemoto
18061723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
18071723b4a3SAtsushi Nemoto	bool
18081723b4a3SAtsushi Nemoto
18091723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
18101723b4a3SAtsushi Nemoto	bool
18111723b4a3SAtsushi Nemoto
18121723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
18131723b4a3SAtsushi Nemoto	bool
18141723b4a3SAtsushi Nemoto
18151723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
18161723b4a3SAtsushi Nemoto	bool
18171723b4a3SAtsushi Nemoto
18181723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
18191723b4a3SAtsushi Nemoto	bool
18201723b4a3SAtsushi Nemoto
18211723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
18221723b4a3SAtsushi Nemoto	bool
18231723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
18241723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
18251723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
18261723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
18271723b4a3SAtsushi Nemoto
18281723b4a3SAtsushi Nemotoconfig HZ
18291723b4a3SAtsushi Nemoto	int
18301723b4a3SAtsushi Nemoto	default 48 if HZ_48
18311723b4a3SAtsushi Nemoto	default 100 if HZ_100
18321723b4a3SAtsushi Nemoto	default 128 if HZ_128
18331723b4a3SAtsushi Nemoto	default 250 if HZ_250
18341723b4a3SAtsushi Nemoto	default 256 if HZ_256
18351723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
18361723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
18371723b4a3SAtsushi Nemoto
1838e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
18391da177e4SLinus Torvalds
18401da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
18411da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1842875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
18431da177e4SLinus Torvalds	help
18441da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
18451da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
18461da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
18471da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
18481da177e4SLinus Torvalds	  recommended for normal users.
18491da177e4SLinus Torvalds
1850ea6e942bSAtsushi Nemotoconfig KEXEC
1851ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1852ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1853ea6e942bSAtsushi Nemoto	help
1854ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1855ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
18563dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1857ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1858ea6e942bSAtsushi Nemoto
185901dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
1860ea6e942bSAtsushi Nemoto
1861ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1862ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1863ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1864ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1865ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1866ea6e942bSAtsushi Nemoto
1867ea6e942bSAtsushi Nemotoconfig SECCOMP
1868ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1869293c5bd1SRalf Baechle	depends on PROC_FS
1870ea6e942bSAtsushi Nemoto	default y
1871ea6e942bSAtsushi Nemoto	help
1872ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1873ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1874ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1875ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1876ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1877ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1878ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1879ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1880ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1881ea6e942bSAtsushi Nemoto
1882ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1883ea6e942bSAtsushi Nemoto
18845e83d430SRalf Baechleendmenu
18855e83d430SRalf Baechle
18861da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
18871da177e4SLinus Torvalds	bool
18881da177e4SLinus Torvalds	default y
18891da177e4SLinus Torvalds
18901df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
18911df0f0ffSAtsushi Nemoto	bool
18921df0f0ffSAtsushi Nemoto	default y
18931df0f0ffSAtsushi Nemoto
18941df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
18951df0f0ffSAtsushi Nemoto	bool
18961df0f0ffSAtsushi Nemoto	default y
18971df0f0ffSAtsushi Nemoto
1898b6c3539bSRalf Baechlesource "init/Kconfig"
1899b6c3539bSRalf Baechle
19001da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
19011da177e4SLinus Torvalds
19025e83d430SRalf Baechleconfig HW_HAS_EISA
19035e83d430SRalf Baechle	bool
19041da177e4SLinus Torvaldsconfig HW_HAS_PCI
19051da177e4SLinus Torvalds	bool
19061da177e4SLinus Torvalds
19071da177e4SLinus Torvaldsconfig PCI
19081da177e4SLinus Torvalds	bool "Support for PCI controller"
19091da177e4SLinus Torvalds	depends on HW_HAS_PCI
1910abb4ae46SRalf Baechle	select PCI_DOMAINS
19111da177e4SLinus Torvalds	help
19121da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
19131da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
19141da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
19151da177e4SLinus Torvalds	  say Y, otherwise N.
19161da177e4SLinus Torvalds
19171da177e4SLinus Torvalds	  The PCI-HOWTO, available from
19181da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
19191da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
19201da177e4SLinus Torvalds	  doesn't.
19211da177e4SLinus Torvalds
19221da177e4SLinus Torvaldsconfig PCI_DOMAINS
19231da177e4SLinus Torvalds	bool
19241da177e4SLinus Torvalds
19251da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
19261da177e4SLinus Torvalds
19271da177e4SLinus Torvalds#
19281da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
19291da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
19301da177e4SLinus Torvalds# users to choose the right thing ...
19311da177e4SLinus Torvalds#
19321da177e4SLinus Torvaldsconfig ISA
19331da177e4SLinus Torvalds	bool
19341da177e4SLinus Torvalds
19351da177e4SLinus Torvaldsconfig EISA
19361da177e4SLinus Torvalds	bool "EISA support"
19375e83d430SRalf Baechle	depends on HW_HAS_EISA
19381da177e4SLinus Torvalds	select ISA
1939aa414dffSRalf Baechle	select GENERIC_ISA_DMA
19401da177e4SLinus Torvalds	---help---
19411da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
19421da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
19431da177e4SLinus Torvalds
19441da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
19451da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
19461da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
19471da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
19481da177e4SLinus Torvalds
19491da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
19501da177e4SLinus Torvalds
19511da177e4SLinus Torvalds	  Otherwise, say N.
19521da177e4SLinus Torvalds
19531da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
19541da177e4SLinus Torvalds
19551da177e4SLinus Torvaldsconfig TC
19561da177e4SLinus Torvalds	bool "TURBOchannel support"
19571da177e4SLinus Torvalds	depends on MACH_DECSTATION
19581da177e4SLinus Torvalds	help
19591da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
19601da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
19611da177e4SLinus Torvalds	  is available at:
19621da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
19631da177e4SLinus Torvalds
19641da177e4SLinus Torvalds#config ACCESSBUS
19651da177e4SLinus Torvalds#	bool "Access.Bus support"
19661da177e4SLinus Torvalds#	depends on TC
19671da177e4SLinus Torvalds
19681da177e4SLinus Torvaldsconfig MMU
19691da177e4SLinus Torvalds	bool
19701da177e4SLinus Torvalds	default y
19711da177e4SLinus Torvalds
1972d865bea4SRalf Baechleconfig I8253
1973d865bea4SRalf Baechle	bool
1974d865bea4SRalf Baechle
1975de61b542SRalf Baechleconfig PCSPEAKER
1976e5c6c8e4SMichael Neuling	bool
1977e5c6c8e4SMichael Neuling
1978cce335aeSRalf Baechleconfig ZONE_DMA32
1979cce335aeSRalf Baechle	bool
1980cce335aeSRalf Baechle
19811da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
19821da177e4SLinus Torvalds
19831da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
19841da177e4SLinus Torvalds
19851da177e4SLinus Torvaldsendmenu
19861da177e4SLinus Torvalds
19871da177e4SLinus Torvaldsmenu "Executable file formats"
19881da177e4SLinus Torvalds
19891da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
19901da177e4SLinus Torvalds
19911da177e4SLinus Torvaldsconfig TRAD_SIGNALS
19921da177e4SLinus Torvalds	bool
19931da177e4SLinus Torvalds
19941da177e4SLinus Torvaldsconfig BINFMT_IRIX
19951da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
19965e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
19971da177e4SLinus Torvalds
19981da177e4SLinus Torvaldsconfig MIPS32_COMPAT
19991da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2000875d43e7SRalf Baechle	depends on 64BIT
20011da177e4SLinus Torvalds	help
20021da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
20031da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
20041da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
20051da177e4SLinus Torvalds
20061da177e4SLinus Torvaldsconfig COMPAT
20071da177e4SLinus Torvalds	bool
20081da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20091da177e4SLinus Torvalds	default y
20101da177e4SLinus Torvalds
201105e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
201205e43966SAtsushi Nemoto	bool
201305e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
201405e43966SAtsushi Nemoto	default y
201505e43966SAtsushi Nemoto
20161da177e4SLinus Torvaldsconfig MIPS32_O32
20171da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
20181da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20191da177e4SLinus Torvalds	help
20201da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
20211da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
20221da177e4SLinus Torvalds	  existing binaries are in this format.
20231da177e4SLinus Torvalds
20241da177e4SLinus Torvalds	  If unsure, say Y.
20251da177e4SLinus Torvalds
20261da177e4SLinus Torvaldsconfig MIPS32_N32
20271da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
20281da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20291da177e4SLinus Torvalds	help
20301da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
20311da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
20321da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
20331da177e4SLinus Torvalds	  cases.
20341da177e4SLinus Torvalds
20351da177e4SLinus Torvalds	  If unsure, say N.
20361da177e4SLinus Torvalds
20371da177e4SLinus Torvaldsconfig BINFMT_ELF32
20381da177e4SLinus Torvalds	bool
20391da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
20401da177e4SLinus Torvalds
20412116245eSRalf Baechleendmenu
20421da177e4SLinus Torvalds
20432116245eSRalf Baechlemenu "Power management options"
2044952fa954SRodolfo Giometti
20452116245eSRalf Baechlesource "kernel/power/Kconfig"
2046952fa954SRodolfo Giometti
20471da177e4SLinus Torvaldsendmenu
20481da177e4SLinus Torvalds
2049d5950b43SSam Ravnborgsource "net/Kconfig"
2050d5950b43SSam Ravnborg
20511da177e4SLinus Torvaldssource "drivers/Kconfig"
20521da177e4SLinus Torvalds
20531da177e4SLinus Torvaldssource "fs/Kconfig"
20541da177e4SLinus Torvalds
205509cadedbSMathieu Desnoyerssource "kernel/Kconfig.instrumentation"
20565e83d430SRalf Baechle
20571da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
20581da177e4SLinus Torvalds
20591da177e4SLinus Torvaldssource "security/Kconfig"
20601da177e4SLinus Torvalds
20611da177e4SLinus Torvaldssource "crypto/Kconfig"
20621da177e4SLinus Torvalds
20631da177e4SLinus Torvaldssource "lib/Kconfig"
2064