xref: /linux/arch/mips/Kconfig (revision 0e8774b621513e3cc07fa5a7b05adc295c95eeee)
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
401c0c13ebSAurelien Jarnoconfig BCM47XX
411c0c13ebSAurelien Jarno	bool "BCM47XX based boards"
4242f77542SRalf Baechle	select CEVT_R4K
43940f6b48SRalf Baechle	select CSRC_R4K
441c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
451c0c13ebSAurelien Jarno	select HW_HAS_PCI
461c0c13ebSAurelien Jarno	select IRQ_CPU
471c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
481c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
491c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
501c0c13ebSAurelien Jarno	select SSB
511c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
522f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
532f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
541c0c13ebSAurelien Jarno	select GENERIC_GPIO
5525e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
5625e5fb97SAurelien Jarno	select CFE
571c0c13ebSAurelien Jarno	help
581c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
591c0c13ebSAurelien Jarno
601da177e4SLinus Torvaldsconfig MIPS_COBALT
613fa986faSMartin Michlmayr	bool "Cobalt Server"
6242f77542SRalf Baechle	select CEVT_R4K
63940f6b48SRalf Baechle	select CSRC_R4K
641097c6acSYoichi Yuasa	select CEVT_GT641XX
651da177e4SLinus Torvalds	select DMA_NONCOHERENT
661da177e4SLinus Torvalds	select HW_HAS_PCI
67d865bea4SRalf Baechle	select I8253
681da177e4SLinus Torvalds	select I8259
691da177e4SLinus Torvalds	select IRQ_CPU
70d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
71252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
727cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
730a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
74ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
75*0e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
765e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
779fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
781da177e4SLinus Torvalds
791da177e4SLinus Torvaldsconfig MACH_DECSTATION
803fa986faSMartin Michlmayr	bool "DECstations"
811da177e4SLinus Torvalds	select BOOT_ELF32
8242f77542SRalf Baechle	select CEVT_R4K
83940f6b48SRalf Baechle	select CSRC_R4K
8420d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
8520d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
8620d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
871da177e4SLinus Torvalds	select DMA_NONCOHERENT
88d388d685SMaciej W. Rozycki	select NO_IOPORT
891da177e4SLinus Torvalds	select IRQ_CPU
907cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
917cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
92ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
93ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
945e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
951723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
961723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
971723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
985e83d430SRalf Baechle	help
991da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1001da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1011da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1021da177e4SLinus Torvalds
1031da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1041da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvalds		DECstation 5000/50
1071da177e4SLinus Torvalds		DECstation 5000/150
1081da177e4SLinus Torvalds		DECstation 5000/260
1091da177e4SLinus Torvalds		DECsystem 5900/260
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvalds	  otherwise choose R3000.
1121da177e4SLinus Torvalds
1135e83d430SRalf Baechleconfig MACH_JAZZ
1143fa986faSMartin Michlmayr	bool "Jazz family of machines"
1155e83d430SRalf Baechle	select ARC
1165e83d430SRalf Baechle	select ARC32
1175e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
11842f77542SRalf Baechle	select CEVT_R4K
119940f6b48SRalf Baechle	select CSRC_R4K
120e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1215e83d430SRalf Baechle	select GENERIC_ISA_DMA
122ea202c63SThomas Bogendoerfer	select IRQ_CPU
123d865bea4SRalf Baechle	select I8253
1245e83d430SRalf Baechle	select I8259
1255e83d430SRalf Baechle	select ISA
1267cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1275e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1285e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1291723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1309fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1311da177e4SLinus Torvalds	help
1325e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1335e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1345e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1355e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1365e83d430SRalf Baechle
1371f21d2bdSBrian Murphyconfig LASAT
1381f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
13942f77542SRalf Baechle	select CEVT_R4K
140940f6b48SRalf Baechle	select CSRC_R4K
1411f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1421f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1431f21d2bdSBrian Murphy	select HW_HAS_PCI
144a5ccfe5cSRalf Baechle	select IRQ_CPU
1451f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1461f21d2bdSBrian Murphy	select MIPS_NILE4
1471f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1481f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1491f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1501f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1511f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1521f21d2bdSBrian Murphy	select GENERIC_HARDIRQS_NO__DO_IRQ
1531f21d2bdSBrian Murphy
154ade299d8SYoichi Yuasaconfig LEMOTE_FULONG
155ade299d8SYoichi Yuasa	bool "Lemote Fulong mini-PC"
156ade299d8SYoichi Yuasa	select ARCH_SPARSEMEM_ENABLE
15742f77542SRalf Baechle	select CEVT_R4K
158940f6b48SRalf Baechle	select CSRC_R4K
159ade299d8SYoichi Yuasa	select SYS_HAS_CPU_LOONGSON2
160ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
161ade299d8SYoichi Yuasa	select BOOT_ELF32
162ade299d8SYoichi Yuasa	select BOARD_SCACHE
163ade299d8SYoichi Yuasa	select HAVE_STD_PC_SERIAL_PORT
164ade299d8SYoichi Yuasa	select HW_HAS_PCI
165ade299d8SYoichi Yuasa	select I8259
166ade299d8SYoichi Yuasa	select ISA
167ade299d8SYoichi Yuasa	select IRQ_CPU
168ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
169ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
170ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
171ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
172ade299d8SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
173ade299d8SYoichi Yuasa	select GENERIC_HARDIRQS_NO__DO_IRQ
17423dd6d35SRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
175ade299d8SYoichi Yuasa	select CPU_HAS_WB
176ade299d8SYoichi Yuasa	help
177ade299d8SYoichi Yuasa	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
178ade299d8SYoichi Yuasa	  an FPGA northbridge
179ade299d8SYoichi Yuasa
1801da177e4SLinus Torvaldsconfig MIPS_ATLAS
1813fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1821da177e4SLinus Torvalds	select BOOT_ELF32
183fa71c960SRalf Baechle	select BOOT_RAW
18442f77542SRalf Baechle	select CEVT_R4K
185940f6b48SRalf Baechle	select CSRC_R4K
1861da177e4SLinus Torvalds	select DMA_NONCOHERENT
18736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1885e83d430SRalf Baechle	select IRQ_CPU
1891da177e4SLinus Torvalds	select HW_HAS_PCI
1905e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1915e83d430SRalf Baechle	select MIPS_BONITO64
192252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1935e83d430SRalf Baechle	select MIPS_MSC
194f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1951da177e4SLinus Torvalds	select SWAP_IO_SPACE
1967cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1977cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1987cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1997cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2007cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
201ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
202ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2035e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2045e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
205f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
2069693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
207e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
2081da177e4SLinus Torvalds	help
209f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
2101da177e4SLinus Torvalds	  board.
2111da177e4SLinus Torvalds
2121da177e4SLinus Torvaldsconfig MIPS_MALTA
2133fa986faSMartin Michlmayr	bool "MIPS Malta board"
21461ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2151da177e4SLinus Torvalds	select BOOT_ELF32
216fa71c960SRalf Baechle	select BOOT_RAW
21742f77542SRalf Baechle	select CEVT_R4K
218940f6b48SRalf Baechle	select CSRC_R4K
2191da177e4SLinus Torvalds	select DMA_NONCOHERENT
2201da177e4SLinus Torvalds	select GENERIC_ISA_DMA
221aa414dffSRalf Baechle	select IRQ_CPU
2221da177e4SLinus Torvalds	select HW_HAS_PCI
223d865bea4SRalf Baechle	select I8253
2241da177e4SLinus Torvalds	select I8259
2255e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2265e83d430SRalf Baechle	select MIPS_BONITO64
2279318c51aSChris Dearman	select MIPS_CPU_SCACHE
228252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2295e83d430SRalf Baechle	select MIPS_MSC
2301da177e4SLinus Torvalds	select SWAP_IO_SPACE
2317cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2327cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2337cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2347cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2357cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
23636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
237ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
238ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2395e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2405e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
241f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2429693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2431da177e4SLinus Torvalds	help
244f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2451da177e4SLinus Torvalds	  board.
2461da177e4SLinus Torvalds
2471da177e4SLinus Torvaldsconfig MIPS_SEAD
248d98cc84dSRalf Baechle	bool "MIPS SEAD board"
24942f77542SRalf Baechle	select CEVT_R4K
250940f6b48SRalf Baechle	select CSRC_R4K
2511da177e4SLinus Torvalds	select IRQ_CPU
2521da177e4SLinus Torvalds	select DMA_NONCOHERENT
25336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2545e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2557cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2567cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2577cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
258ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2595e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2605e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2615e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2629693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
263f638d197SMaciej W. Rozycki	help
264f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
265f638d197SMaciej W. Rozycki	  board.
2661da177e4SLinus Torvalds
267c78cbf49SRalf Baechleconfig MIPS_SIM
2683fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
26942f77542SRalf Baechle	select CEVT_R4K
270940f6b48SRalf Baechle	select CSRC_R4K
271c78cbf49SRalf Baechle	select DMA_NONCOHERENT
27236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
273c78cbf49SRalf Baechle	select IRQ_CPU
2749267a30dSMarc St-Jean	select BOOT_RAW
2757cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2767cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
27736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
278c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
279c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
280f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
281c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
282c78cbf49SRalf Baechle	help
283c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
284c78cbf49SRalf Baechle	  emulator.
285c78cbf49SRalf Baechle
286ade299d8SYoichi Yuasaconfig MARKEINS
287ade299d8SYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
28842f77542SRalf Baechle	select CEVT_R4K
289940f6b48SRalf Baechle	select CSRC_R4K
290ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
291ade299d8SYoichi Yuasa	select HW_HAS_PCI
292ade299d8SYoichi Yuasa	select IRQ_CPU
293ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
294ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
295ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
296ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
297ade299d8SYoichi Yuasa	select SYS_HAS_CPU_R5000
298ade299d8SYoichi Yuasa	help
299ade299d8SYoichi Yuasa	  This enables support for the R5432-based NEC Mark-eins
300ade299d8SYoichi Yuasa	  boards with R5500 CPU.
301ade299d8SYoichi Yuasa
3025e83d430SRalf Baechleconfig MACH_VR41XX
30374142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
30442f77542SRalf Baechle	select CEVT_R4K
305940f6b48SRalf Baechle	select CSRC_R4K
3067cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
3079fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
3085e83d430SRalf Baechle
309ade299d8SYoichi Yuasaconfig PNX8550_JBS
310ade299d8SYoichi Yuasa	bool "Philips PNX8550 based JBS board"
311ade299d8SYoichi Yuasa	select PNX8550
312ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
313ade299d8SYoichi Yuasa
314ade299d8SYoichi Yuasaconfig PNX8550_STB810
315ade299d8SYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
316ade299d8SYoichi Yuasa	select PNX8550
317ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
318ade299d8SYoichi Yuasa
3199267a30dSMarc St-Jeanconfig PMC_MSP
3209267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3219267a30dSMarc St-Jean	depends on EXPERIMENTAL
3229267a30dSMarc St-Jean	select DMA_NONCOHERENT
3239267a30dSMarc St-Jean	select SWAP_IO_SPACE
3249267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3259267a30dSMarc St-Jean	select BOOT_RAW
3269267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3279267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3289267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3299267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3309267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
3319267a30dSMarc St-Jean	select IRQ_CPU
3329267a30dSMarc St-Jean	select SERIAL_8250
3339267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3349267a30dSMarc St-Jean	help
3359267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3369267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3379267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3389267a30dSMarc St-Jean	  a variety of MIPS cores.
3399267a30dSMarc St-Jean
3405e83d430SRalf Baechleconfig PMC_YOSEMITE
3413fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
34242f77542SRalf Baechle	select CEVT_R4K
343940f6b48SRalf Baechle	select CSRC_R4K
3445e83d430SRalf Baechle	select DMA_COHERENT
3455e83d430SRalf Baechle	select HW_HAS_PCI
3465e83d430SRalf Baechle	select IRQ_CPU
3475e83d430SRalf Baechle	select IRQ_CPU_RM7K
3485e83d430SRalf Baechle	select IRQ_CPU_RM9K
3495e83d430SRalf Baechle	select SWAP_IO_SPACE
3507cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
35136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3525e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3535e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3545e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3555e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
356cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
357e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3585e83d430SRalf Baechle	help
3595e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3605e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3611da177e4SLinus Torvalds
3621da177e4SLinus Torvaldsconfig SGI_IP22
3633fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3641da177e4SLinus Torvalds	select ARC
3651da177e4SLinus Torvalds	select ARC32
3661da177e4SLinus Torvalds	select BOOT_ELF32
36742f77542SRalf Baechle	select CEVT_R4K
368940f6b48SRalf Baechle	select CSRC_R4K
369e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3701da177e4SLinus Torvalds	select DMA_NONCOHERENT
3715e83d430SRalf Baechle	select HW_HAS_EISA
372d865bea4SRalf Baechle	select I8253
37368de4803SThomas Bogendoerfer	select I8259
3741da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3751da177e4SLinus Torvalds	select IRQ_CPU
376aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
377e2defae5SThomas Bogendoerfer	select SGI_HAS_DS1286
378e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
379e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
380e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
381e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
382e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3831da177e4SLinus Torvalds	select SWAP_IO_SPACE
3847cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3857cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
38636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
387ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
388ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3895e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3901da177e4SLinus Torvalds	help
3911da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3921da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3931da177e4SLinus Torvalds	  that runs on these, say Y here.
3941da177e4SLinus Torvalds
3951da177e4SLinus Torvaldsconfig SGI_IP27
3963fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3971da177e4SLinus Torvalds	select ARC
3981da177e4SLinus Torvalds	select ARC64
3995e83d430SRalf Baechle	select BOOT_ELF64
400e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
4011da177e4SLinus Torvalds	select DMA_IP27
40236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4031da177e4SLinus Torvalds	select HW_HAS_PCI
404130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4057cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
406ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4075e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
408cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
409d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4101a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
411e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
4121da177e4SLinus Torvalds	help
4131da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4141da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4151da177e4SLinus Torvalds	  here.
4161da177e4SLinus Torvalds
417e2defae5SThomas Bogendoerferconfig SGI_IP28
418e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
419e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
420e2defae5SThomas Bogendoerfer	select ARC
421e2defae5SThomas Bogendoerfer	select ARC64
422e2defae5SThomas Bogendoerfer	select BOOT_ELF64
423e2defae5SThomas Bogendoerfer	select CEVT_R4K
424e2defae5SThomas Bogendoerfer	select CSRC_R4K
425e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
426e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
427e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
428e2defae5SThomas Bogendoerfer	select IRQ_CPU
429e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
430e2defae5SThomas Bogendoerfer	select I8253
431e2defae5SThomas Bogendoerfer	select I8259
432e2defae5SThomas Bogendoerfer	select SGI_HAS_DS1286
433e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
434e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
435e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
436e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
437e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
438e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
439e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
440e2defae5SThomas Bogendoerfer	select SYS_HAS_EARLY_PRINTK
441e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
442e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
443e2defae5SThomas Bogendoerfer      help
444e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
445e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
446e2defae5SThomas Bogendoerfer
4471da177e4SLinus Torvaldsconfig SGI_IP32
448cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4491da177e4SLinus Torvalds	select ARC
4501da177e4SLinus Torvalds	select ARC32
4511da177e4SLinus Torvalds	select BOOT_ELF32
45242f77542SRalf Baechle	select CEVT_R4K
453940f6b48SRalf Baechle	select CSRC_R4K
4541da177e4SLinus Torvalds	select DMA_NONCOHERENT
4551da177e4SLinus Torvalds	select HW_HAS_PCI
456dd67b155SRalf Baechle	select IRQ_CPU
4571da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4581da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4597cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4607cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4617cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
462dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
463ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4645e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4651da177e4SLinus Torvalds	help
4661da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4671da177e4SLinus Torvalds
468ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
469ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4705e83d430SRalf Baechle	depends on EXPERIMENTAL
4715e83d430SRalf Baechle	select BOOT_ELF32
4725e83d430SRalf Baechle	select DMA_COHERENT
4735e83d430SRalf Baechle	select SIBYTE_BCM1120
4745e83d430SRalf Baechle	select SWAP_IO_SPACE
4757cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4765e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4775e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4785e83d430SRalf Baechle
479ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
480ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4815e83d430SRalf Baechle	depends on EXPERIMENTAL
4825e83d430SRalf Baechle	select BOOT_ELF32
4835e83d430SRalf Baechle	select DMA_COHERENT
4845e83d430SRalf Baechle	select SIBYTE_BCM1120
4855e83d430SRalf Baechle	select SWAP_IO_SPACE
4867cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4875e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4885e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4895e83d430SRalf Baechle
4905e83d430SRalf Baechleconfig SIBYTE_CRHONE
4913fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4925e83d430SRalf Baechle	depends on EXPERIMENTAL
4935e83d430SRalf Baechle	select BOOT_ELF32
4945e83d430SRalf Baechle	select DMA_COHERENT
4955e83d430SRalf Baechle	select SIBYTE_BCM1125
4965e83d430SRalf Baechle	select SWAP_IO_SPACE
4977cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4985e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4995e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5005e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5015e83d430SRalf Baechle
502ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
503ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
504ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
505ade299d8SYoichi Yuasa	select BOOT_ELF32
506ade299d8SYoichi Yuasa	select DMA_COHERENT
507ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
508ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
509ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
510ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
511ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
512ade299d8SYoichi Yuasa
513ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
514ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
515ade299d8SYoichi Yuasa	select BOOT_ELF32
516ade299d8SYoichi Yuasa	select DMA_COHERENT
517ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
518ade299d8SYoichi Yuasa	select SIBYTE_SB1250
519ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
520ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
521ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
522ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
523ade299d8SYoichi Yuasa	select SYS_SUPPORTS_KGDB
524ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
525cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
526ade299d8SYoichi Yuasa
527ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
528ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
529ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
530ade299d8SYoichi Yuasa	select BOOT_ELF32
531ade299d8SYoichi Yuasa	select DMA_COHERENT
532ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
533ade299d8SYoichi Yuasa	select SIBYTE_SB1250
534ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
535ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
536ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
537ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
538ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
539ade299d8SYoichi Yuasa
540ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
541ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
542ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
543ade299d8SYoichi Yuasa	select BOOT_ELF32
544ade299d8SYoichi Yuasa	select DMA_COHERENT
545ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
546ade299d8SYoichi Yuasa	select SIBYTE_SB1250
547ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
548ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
549ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
550ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
551ade299d8SYoichi Yuasa
552ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
553ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
554ade299d8SYoichi Yuasa	select BOOT_ELF32
555ade299d8SYoichi Yuasa	select DMA_COHERENT
556ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
557ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
558ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
559ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
560ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
561651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
562ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
563cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
564ade299d8SYoichi Yuasa
56514b36af4SThomas Bogendoerferconfig SNI_RM
56614b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5674a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5684a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
569231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5705e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5715e83d430SRalf Baechle	select BOOT_ELF32
57242f77542SRalf Baechle	select CEVT_R4K
573940f6b48SRalf Baechle	select CSRC_R4K
574e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5755e83d430SRalf Baechle	select DMA_NONCOHERENT
5765e83d430SRalf Baechle	select GENERIC_ISA_DMA
5775e83d430SRalf Baechle	select HW_HAS_EISA
5785e83d430SRalf Baechle	select HW_HAS_PCI
579c066a32aSThomas Bogendoerfer	select IRQ_CPU
580d865bea4SRalf Baechle	select I8253
5815e83d430SRalf Baechle	select I8259
5825e83d430SRalf Baechle	select ISA
5834a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5847cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5854a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
586c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5874a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
58836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
589ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5905e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5914a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5925e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5935e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5941da177e4SLinus Torvalds	help
59514b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
59614b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5975e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5985e83d430SRalf Baechle	  support this machine type.
5991da177e4SLinus Torvalds
6005e83d430SRalf Baechleconfig TOSHIBA_JMR3927
6013fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
602229f773eSAtsushi Nemoto	select CEVT_TXX9
6035e83d430SRalf Baechle	select DMA_NONCOHERENT
6045e83d430SRalf Baechle	select HW_HAS_PCI
6055e83d430SRalf Baechle	select MIPS_TX3927
606c87abd75SAtsushi Nemoto	select IRQ_TXX9
6075e83d430SRalf Baechle	select SWAP_IO_SPACE
6087cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
6095e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6106a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6115e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6122127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6135e83d430SRalf Baechle
6145e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
61508a91283SYoichi Yuasa	bool "Toshiba RBTX49[23]7 board"
61642f77542SRalf Baechle	select CEVT_R4K
617940f6b48SRalf Baechle	select CSRC_R4K
618229f773eSAtsushi Nemoto	select CEVT_TXX9
6195e83d430SRalf Baechle	select DMA_NONCOHERENT
6205e83d430SRalf Baechle	select HAS_TXX9_SERIAL
6215e83d430SRalf Baechle	select HW_HAS_PCI
622c87abd75SAtsushi Nemoto	select IRQ_CPU
623c87abd75SAtsushi Nemoto	select IRQ_TXX9
624c87abd75SAtsushi Nemoto	select I8259 if TOSHIBA_FPCIB0
6255e83d430SRalf Baechle	select SWAP_IO_SPACE
6267cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
6275e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6285e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
6296a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6305e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
631cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6329fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6335e83d430SRalf Baechle	help
6345e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
6355e83d430SRalf Baechle	  support this machine type
6361da177e4SLinus Torvalds
63723fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
6383fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
63942f77542SRalf Baechle	select CEVT_R4K
640940f6b48SRalf Baechle	select CSRC_R4K
641229f773eSAtsushi Nemoto	select CEVT_TXX9
64223fbee9dSRalf Baechle	select DMA_NONCOHERENT
64323fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
64423fbee9dSRalf Baechle	select HW_HAS_PCI
645c87abd75SAtsushi Nemoto	select IRQ_CPU
646c87abd75SAtsushi Nemoto	select IRQ_TXX9
64723fbee9dSRalf Baechle	select SWAP_IO_SPACE
6487cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
64923fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
65023fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
65123fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
652cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6539fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6543896b054SAtsushi Nemoto	select GENERIC_GPIO
65523fbee9dSRalf Baechle	help
65623fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
65723fbee9dSRalf Baechle	  support this machine type
65823fbee9dSRalf Baechle
659ade299d8SYoichi Yuasaconfig WR_PPMC
660ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
66142f77542SRalf Baechle	select CEVT_R4K
662940f6b48SRalf Baechle	select CSRC_R4K
663ade299d8SYoichi Yuasa	select IRQ_CPU
664ade299d8SYoichi Yuasa	select BOOT_ELF32
665ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
666ade299d8SYoichi Yuasa	select HW_HAS_PCI
667ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
668ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
669ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
670ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
671ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
672ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
673ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
674ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
675ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
676ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
677ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
678ade299d8SYoichi Yuasa	help
679ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
680ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
681ade299d8SYoichi Yuasa
6821da177e4SLinus Torvaldsendchoice
6831da177e4SLinus Torvalds
684c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6859c746edbSYoichi Yuasasource "arch/mips/basler/excite/Kconfig"
6865e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6871f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6885e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
68929c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
69038b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6915e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
69223fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6935e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
69438b18f72SRalf Baechle
6955e83d430SRalf Baechleendmenu
6965e83d430SRalf Baechle
6971da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6981da177e4SLinus Torvalds	bool
6991da177e4SLinus Torvalds	default y
7001da177e4SLinus Torvalds
7011da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
7021da177e4SLinus Torvalds	bool
7031da177e4SLinus Torvalds
704f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
705f0d1b0b3SDavid Howells	bool
706f0d1b0b3SDavid Howells	default n
707f0d1b0b3SDavid Howells
708f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
709f0d1b0b3SDavid Howells	bool
710f0d1b0b3SDavid Howells	default n
711f0d1b0b3SDavid Howells
71200a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
71300a58253SRalf Baechle	bool
71400a58253SRalf Baechle	default y if !MIPS_MT_SMTC
71500a58253SRalf Baechle
7163c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7173c9ee7efSAkinobu Mita	bool
7183c9ee7efSAkinobu Mita	default y
7193c9ee7efSAkinobu Mita
7203c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7213c9ee7efSAkinobu Mita	bool
7223c9ee7efSAkinobu Mita	default y
7233c9ee7efSAkinobu Mita
7241da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7251da177e4SLinus Torvalds	bool
7261da177e4SLinus Torvalds	default y
7271da177e4SLinus Torvalds
7287bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7297bcf7717SRalf Baechle	bool
7307bcf7717SRalf Baechle	default y
7317bcf7717SRalf Baechle
7328db02010SRalf Baechleconfig GENERIC_TIME
7338db02010SRalf Baechle	bool
7348db02010SRalf Baechle	default y
7358db02010SRalf Baechle
736f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
737f5ff0a28SRalf Baechle	bool
738f5ff0a28SRalf Baechle	default y
739f5ff0a28SRalf Baechle
7401cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
7411cc89038SAtsushi Nemoto	bool
7421cc89038SAtsushi Nemoto	default y
7431cc89038SAtsushi Nemoto
744e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
745e77c232cSFranck Bui-Huu	bool
746e77c232cSFranck Bui-Huu	default n
747e77c232cSFranck Bui-Huu
7481da177e4SLinus Torvalds#
7491da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7501da177e4SLinus Torvalds#
7511da177e4SLinus Torvaldsconfig ARC
7521da177e4SLinus Torvalds	bool
7531da177e4SLinus Torvalds
75461ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
75561ed242dSRalf Baechle	bool
75661ed242dSRalf Baechle
7579267a30dSMarc St-Jeanconfig BOOT_RAW
7589267a30dSMarc St-Jean	bool
7599267a30dSMarc St-Jean
760217dd11eSRalf Baechleconfig CEVT_BCM1480
761217dd11eSRalf Baechle	bool
762217dd11eSRalf Baechle
7631097c6acSYoichi Yuasaconfig CEVT_GT641XX
7641097c6acSYoichi Yuasa	bool
7651097c6acSYoichi Yuasa
76642f77542SRalf Baechleconfig CEVT_R4K
76742f77542SRalf Baechle	bool
76842f77542SRalf Baechle
769217dd11eSRalf Baechleconfig CEVT_SB1250
770217dd11eSRalf Baechle	bool
771217dd11eSRalf Baechle
772229f773eSAtsushi Nemotoconfig CEVT_TXX9
773229f773eSAtsushi Nemoto	bool
774229f773eSAtsushi Nemoto
775217dd11eSRalf Baechleconfig CSRC_BCM1480
776217dd11eSRalf Baechle	bool
777217dd11eSRalf Baechle
778940f6b48SRalf Baechleconfig CSRC_R4K
779940f6b48SRalf Baechle	bool
780940f6b48SRalf Baechle
781217dd11eSRalf Baechleconfig CSRC_SB1250
782217dd11eSRalf Baechle	bool
783217dd11eSRalf Baechle
784df78b5c8SAurelien Jarnoconfig CFE
785df78b5c8SAurelien Jarno	bool
786df78b5c8SAurelien Jarno
7871da177e4SLinus Torvaldsconfig DMA_COHERENT
7881da177e4SLinus Torvalds	bool
7891da177e4SLinus Torvalds
7901da177e4SLinus Torvaldsconfig DMA_IP27
7911da177e4SLinus Torvalds	bool
7921da177e4SLinus Torvalds
7931da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7941da177e4SLinus Torvalds	bool
7954ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7964ce588cdSRalf Baechle
7974ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7984ce588cdSRalf Baechle	bool
7991da177e4SLinus Torvalds
8001da177e4SLinus Torvaldsconfig EARLY_PRINTK
80136a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
80236a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
80336a88530SRalf Baechle	default y
80436a88530SRalf Baechle	help
80536a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
80636a88530SRalf Baechle	  to print messages very early in the bootup process.
80736a88530SRalf Baechle
80836a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
809490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
810490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
811490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
81236a88530SRalf Baechle	  unless you want to debug such a crash.
81336a88530SRalf Baechle
81436a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
8151da177e4SLinus Torvalds	bool
8161da177e4SLinus Torvalds
817dbb74540SRalf Baechleconfig HOTPLUG_CPU
818dbb74540SRalf Baechle	bool
819dbb74540SRalf Baechle	default n
820dbb74540SRalf Baechle
8211da177e4SLinus Torvaldsconfig I8259
8221da177e4SLinus Torvalds	bool
8231da177e4SLinus Torvalds
8241da177e4SLinus Torvaldsconfig MIPS_BONITO64
8251da177e4SLinus Torvalds	bool
8261da177e4SLinus Torvalds
8271da177e4SLinus Torvaldsconfig MIPS_MSC
8281da177e4SLinus Torvalds	bool
8291da177e4SLinus Torvalds
8301f21d2bdSBrian Murphyconfig MIPS_NILE4
8311f21d2bdSBrian Murphy	bool
8321f21d2bdSBrian Murphy
8331da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8341da177e4SLinus Torvalds	bool
8351da177e4SLinus Torvalds
836d388d685SMaciej W. Rozyckiconfig NO_IOPORT
837d388d685SMaciej W. Rozycki	def_bool n
838d388d685SMaciej W. Rozycki
8398313da30SRalf Baechleconfig GENERIC_ISA_DMA
8408313da30SRalf Baechle	bool
8418313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
8428313da30SRalf Baechle
843aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
844aa414dffSRalf Baechle	bool
8458313da30SRalf Baechle	select GENERIC_ISA_DMA
846aa414dffSRalf Baechle
84709663335SYoichi Yuasaconfig GENERIC_GPIO
84809663335SYoichi Yuasa	bool
84909663335SYoichi Yuasa
8505e83d430SRalf Baechle#
8513cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
8525e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
8535e83d430SRalf Baechle# choice statement should be more obvious to the user.
8545e83d430SRalf Baechle#
8555e83d430SRalf Baechlechoice
8565e83d430SRalf Baechle	prompt "Endianess selection"
8571da177e4SLinus Torvalds	help
8581da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
8595e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
8603cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
8615e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
8623dde6ad8SDavid Sterba	  one or the other endianness.
8635e83d430SRalf Baechle
8645e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
8655e83d430SRalf Baechle	bool "Big endian"
8665e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
8675e83d430SRalf Baechle
8685e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8695e83d430SRalf Baechle	bool "Little endian"
8705e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8715e83d430SRalf Baechle	help
8725e83d430SRalf Baechle
8735e83d430SRalf Baechleendchoice
8745e83d430SRalf Baechle
8752116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8762116245eSRalf Baechle	bool
8772116245eSRalf Baechle
8785e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8795e83d430SRalf Baechle	bool
8805e83d430SRalf Baechle
8815e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8825e83d430SRalf Baechle	bool
8831da177e4SLinus Torvalds
8841da177e4SLinus Torvaldsconfig IRQ_CPU
8851da177e4SLinus Torvalds	bool
8861da177e4SLinus Torvalds
8871da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8881da177e4SLinus Torvalds	bool
8891da177e4SLinus Torvalds
8905e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8915e83d430SRalf Baechle	bool
8925e83d430SRalf Baechle
8939267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8949267a30dSMarc St-Jean	bool
8959267a30dSMarc St-Jean
8969267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
8979267a30dSMarc St-Jean	bool
8989267a30dSMarc St-Jean
8998420fd00SAtsushi Nemotoconfig IRQ_TXX9
9008420fd00SAtsushi Nemoto	bool
9018420fd00SAtsushi Nemoto
902d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
903d5ab1a69SYoichi Yuasa	bool
904d5ab1a69SYoichi Yuasa
9051da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
9061da177e4SLinus Torvalds	bool
9071da177e4SLinus Torvalds
908252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
9091da177e4SLinus Torvalds	bool
9101da177e4SLinus Torvalds
9119267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
9129267a30dSMarc St-Jean	bool
9139267a30dSMarc St-Jean
9141da177e4SLinus Torvaldsconfig MIPS_TX3927
9151da177e4SLinus Torvalds	bool
9161da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
9171da177e4SLinus Torvalds
918663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
919663c3d90Sthomas@koeller.dyndns.org	bool
920663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
921663c3d90Sthomas@koeller.dyndns.org
922bdf21b18SPete Popovconfig PNX8550
923bdf21b18SPete Popov	bool
924bdf21b18SPete Popov	select SOC_PNX8550
925bdf21b18SPete Popov
926bdf21b18SPete Popovconfig SOC_PNX8550
927bdf21b18SPete Popov	bool
928bdf21b18SPete Popov	select DMA_NONCOHERENT
929bdf21b18SPete Popov	select HW_HAS_PCI
930b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
93136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
9327cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
933e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
934cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
9354ead1681SFlorian Fainelli	select GENERIC_GPIO
936bdf21b18SPete Popov
9371da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
9381da177e4SLinus Torvalds	bool
9391da177e4SLinus Torvalds
940355c471fSdmitry pervushinconfig EMMA2RH
941355c471fSdmitry pervushin	bool
942355c471fSdmitry pervushin	depends on MARKEINS
943355c471fSdmitry pervushin	default y
944355c471fSdmitry pervushin
945663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
946663c3d90Sthomas@koeller.dyndns.org	bool
947663c3d90Sthomas@koeller.dyndns.org
948e2defae5SThomas Bogendoerferconfig SGI_HAS_DS1286
949e2defae5SThomas Bogendoerfer	bool
950e2defae5SThomas Bogendoerfer
951e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
952e2defae5SThomas Bogendoerfer	bool
953e2defae5SThomas Bogendoerfer
954e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
955e2defae5SThomas Bogendoerfer	bool
956e2defae5SThomas Bogendoerfer
957e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
958e2defae5SThomas Bogendoerfer	bool
959e2defae5SThomas Bogendoerfer
960e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
961e2defae5SThomas Bogendoerfer	bool
962e2defae5SThomas Bogendoerfer
963e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
964e2defae5SThomas Bogendoerfer	bool
965e2defae5SThomas Bogendoerfer
966e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
967e2defae5SThomas Bogendoerfer	bool
968e2defae5SThomas Bogendoerfer
9695e83d430SRalf Baechleconfig ARC32
9705e83d430SRalf Baechle	bool
9715e83d430SRalf Baechle
972231a35d3SThomas Bogendoerferconfig SNIPROM
973231a35d3SThomas Bogendoerfer	bool
974231a35d3SThomas Bogendoerfer
9751da177e4SLinus Torvaldsconfig BOOT_ELF32
9761da177e4SLinus Torvalds	bool
9771da177e4SLinus Torvalds
9781da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
9791da177e4SLinus Torvalds	int
98006cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
981e2defae5SThomas Bogendoerfer	default "7" if SGI_IP27 || SGI_IP28 || SNI_RM
9829267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
9831da177e4SLinus Torvalds	default "5"
9841da177e4SLinus Torvalds
9851da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
9861da177e4SLinus Torvalds	bool
9871da177e4SLinus Torvalds
9881da177e4SLinus Torvaldsconfig ARC_CONSOLE
9891da177e4SLinus Torvalds	bool "ARC console support"
990e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
9911da177e4SLinus Torvalds
9921da177e4SLinus Torvaldsconfig ARC_MEMORY
9931da177e4SLinus Torvalds	bool
99414b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9951da177e4SLinus Torvalds	default y
9961da177e4SLinus Torvalds
9971da177e4SLinus Torvaldsconfig ARC_PROMLIB
9981da177e4SLinus Torvalds	bool
999e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
10001da177e4SLinus Torvalds	default y
10011da177e4SLinus Torvalds
10021da177e4SLinus Torvaldsconfig ARC64
10031da177e4SLinus Torvalds	bool
10041da177e4SLinus Torvalds
10051da177e4SLinus Torvaldsconfig BOOT_ELF64
10061da177e4SLinus Torvalds	bool
10071da177e4SLinus Torvalds
10081da177e4SLinus Torvaldsmenu "CPU selection"
10091da177e4SLinus Torvalds
10101da177e4SLinus Torvaldschoice
10111da177e4SLinus Torvalds	prompt "CPU type"
10121da177e4SLinus Torvalds	default CPU_R4X00
10131da177e4SLinus Torvalds
10142a21c730SFuxin Zhangconfig CPU_LOONGSON2
10152a21c730SFuxin Zhang	bool "Loongson 2"
10162a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
10172a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
10182a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
10192a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
10202a21c730SFuxin Zhang	help
10212a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
10222a21c730SFuxin Zhang	  with many extensions.
10232a21c730SFuxin Zhang
10246e760c8dSRalf Baechleconfig CPU_MIPS32_R1
10256e760c8dSRalf Baechle	bool "MIPS32 Release 1"
10267cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
1027f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10286e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1029797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1030ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10316e760c8dSRalf Baechle	help
10325e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10331e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10341e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10351e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10361e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10371e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
10381e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
10391e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
10401e5f1caaSRalf Baechle	  performance.
10411e5f1caaSRalf Baechle
10421e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
10431e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
10447cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
1045f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10461e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1047797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1048ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10491e5f1caaSRalf Baechle	help
10505e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10516e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10526e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10536e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10546e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10551da177e4SLinus Torvalds
10566e760c8dSRalf Baechleconfig CPU_MIPS64_R1
10576e760c8dSRalf Baechle	bool "MIPS64 Release 1"
10587cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1059f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1060797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1061ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1062ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1063ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10646e760c8dSRalf Baechle	help
10656e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10666e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10676e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10686e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10696e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10701e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
10711e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
10721e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
10731e5f1caaSRalf Baechle	  performance.
10741e5f1caaSRalf Baechle
10751e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
10761e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
10777cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1078f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1079797798c1SRalf Baechle	select CPU_HAS_PREFETCH
10801e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10811e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1082ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10831e5f1caaSRalf Baechle	help
10841e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10851e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10861e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10871e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10881e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10891da177e4SLinus Torvalds
10901da177e4SLinus Torvaldsconfig CPU_R3000
10911da177e4SLinus Torvalds	bool "R3000"
10927cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1093f7062ddbSRalf Baechle	select CPU_HAS_WB
1094ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1095797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10961da177e4SLinus Torvalds	help
10971da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
10981da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
10991da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
11001da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
11011da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
11021da177e4SLinus Torvalds	  try to recompile with R3000.
11031da177e4SLinus Torvalds
11041da177e4SLinus Torvaldsconfig CPU_TX39XX
11051da177e4SLinus Torvalds	bool "R39XX"
11067cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1107ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11081da177e4SLinus Torvalds
11091da177e4SLinus Torvaldsconfig CPU_VR41XX
11101da177e4SLinus Torvalds	bool "R41xx"
11117cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1112ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1113ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11141da177e4SLinus Torvalds	help
11155e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
11161da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
11171da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
11181da177e4SLinus Torvalds	  processor or vice versa.
11191da177e4SLinus Torvalds
11201da177e4SLinus Torvaldsconfig CPU_R4300
11211da177e4SLinus Torvalds	bool "R4300"
11227cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1123f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1124ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1125ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11261da177e4SLinus Torvalds	help
11271da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
11281da177e4SLinus Torvalds
11291da177e4SLinus Torvaldsconfig CPU_R4X00
11301da177e4SLinus Torvalds	bool "R4x00"
11317cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1132f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1133ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1134ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11351da177e4SLinus Torvalds	help
11361da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
11371da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
11381da177e4SLinus Torvalds
11391da177e4SLinus Torvaldsconfig CPU_TX49XX
11401da177e4SLinus Torvalds	bool "R49XX"
11417cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1142f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1143de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1144ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1145ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11461da177e4SLinus Torvalds
11471da177e4SLinus Torvaldsconfig CPU_R5000
11481da177e4SLinus Torvalds	bool "R5000"
11497cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1150f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1151ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1152ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11531da177e4SLinus Torvalds	help
11541da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
11551da177e4SLinus Torvalds
11561da177e4SLinus Torvaldsconfig CPU_R5432
11571da177e4SLinus Torvalds	bool "R5432"
11587cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1159f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11605e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11615e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
11621da177e4SLinus Torvalds
11631da177e4SLinus Torvaldsconfig CPU_R6000
11641da177e4SLinus Torvalds	bool "R6000"
1165ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1166f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11677cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1168ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11691da177e4SLinus Torvalds	help
11701da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1171c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
11721da177e4SLinus Torvalds
11731da177e4SLinus Torvaldsconfig CPU_NEVADA
11741da177e4SLinus Torvalds	bool "RM52xx"
11757cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1176f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1177ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1178ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11791da177e4SLinus Torvalds	help
11801da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
11811da177e4SLinus Torvalds
11821da177e4SLinus Torvaldsconfig CPU_R8000
11831da177e4SLinus Torvalds	bool "R8000"
1184ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
11857cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1186f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11875e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1188ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11891da177e4SLinus Torvalds	help
11901da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
11911da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
11921da177e4SLinus Torvalds
11931da177e4SLinus Torvaldsconfig CPU_R10000
11941da177e4SLinus Torvalds	bool "R10000"
11957cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1196f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11975e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1198ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1199ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1200797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12011da177e4SLinus Torvalds	help
12021da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
12031da177e4SLinus Torvalds
12041da177e4SLinus Torvaldsconfig CPU_RM7000
12051da177e4SLinus Torvalds	bool "RM7000"
12067cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1207f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12085e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1209ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1210ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1211797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12121da177e4SLinus Torvalds
12131da177e4SLinus Torvaldsconfig CPU_RM9000
12141da177e4SLinus Torvalds	bool "RM9000"
12157cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1216f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12175e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1218ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1219ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1220797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12210004a9dfSRalf Baechle	select WEAK_ORDERING
12221da177e4SLinus Torvalds
12231da177e4SLinus Torvaldsconfig CPU_SB1
12241da177e4SLinus Torvalds	bool "SB1"
12257cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1226f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1227ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1228ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1229797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12300004a9dfSRalf Baechle	select WEAK_ORDERING
12311da177e4SLinus Torvalds
12321da177e4SLinus Torvaldsendchoice
12331da177e4SLinus Torvalds
12342a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
12352a21c730SFuxin Zhang	bool
12362a21c730SFuxin Zhang
12377cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
12387cf8053bSRalf Baechle	bool
12397cf8053bSRalf Baechle
12407cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
12417cf8053bSRalf Baechle	bool
12427cf8053bSRalf Baechle
12437cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
12447cf8053bSRalf Baechle	bool
12457cf8053bSRalf Baechle
12467cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
12477cf8053bSRalf Baechle	bool
12487cf8053bSRalf Baechle
12497cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
12507cf8053bSRalf Baechle	bool
12517cf8053bSRalf Baechle
12527cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
12537cf8053bSRalf Baechle	bool
12547cf8053bSRalf Baechle
12557cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
12567cf8053bSRalf Baechle	bool
12577cf8053bSRalf Baechle
12587cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
12597cf8053bSRalf Baechle	bool
12607cf8053bSRalf Baechle
12617cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
12627cf8053bSRalf Baechle	bool
12637cf8053bSRalf Baechle
12647cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
12657cf8053bSRalf Baechle	bool
12667cf8053bSRalf Baechle
12677cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
12687cf8053bSRalf Baechle	bool
12697cf8053bSRalf Baechle
12707cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
12717cf8053bSRalf Baechle	bool
12727cf8053bSRalf Baechle
12737cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
12747cf8053bSRalf Baechle	bool
12757cf8053bSRalf Baechle
12767cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
12777cf8053bSRalf Baechle	bool
12787cf8053bSRalf Baechle
12797cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
12807cf8053bSRalf Baechle	bool
12817cf8053bSRalf Baechle
12827cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
12837cf8053bSRalf Baechle	bool
12847cf8053bSRalf Baechle
12857cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
12867cf8053bSRalf Baechle	bool
12877cf8053bSRalf Baechle
12887cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
12897cf8053bSRalf Baechle	bool
12907cf8053bSRalf Baechle
12917cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
12927cf8053bSRalf Baechle	bool
12937cf8053bSRalf Baechle
129417099b11SRalf Baechle#
129517099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
129617099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
129717099b11SRalf Baechle#
12980004a9dfSRalf Baechleconfig WEAK_ORDERING
12990004a9dfSRalf Baechle	bool
130017099b11SRalf Baechle
130117099b11SRalf Baechle#
130217099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
130317099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
130417099b11SRalf Baechle#
130517099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
130617099b11SRalf Baechle	bool
13075e83d430SRalf Baechleendmenu
13085e83d430SRalf Baechle
13095e83d430SRalf Baechle#
13105e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
13115e83d430SRalf Baechle#
13125e83d430SRalf Baechleconfig CPU_MIPS32
13135e83d430SRalf Baechle	bool
13145e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
13155e83d430SRalf Baechle
13165e83d430SRalf Baechleconfig CPU_MIPS64
13175e83d430SRalf Baechle	bool
13185e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
13195e83d430SRalf Baechle
13205e83d430SRalf Baechle#
1321c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
13225e83d430SRalf Baechle#
13235e83d430SRalf Baechleconfig CPU_MIPSR1
13245e83d430SRalf Baechle	bool
13255e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
13265e83d430SRalf Baechle
13275e83d430SRalf Baechleconfig CPU_MIPSR2
13285e83d430SRalf Baechle	bool
13295e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
13305e83d430SRalf Baechle
13315e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
13325e83d430SRalf Baechle	bool
13335e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
13345e83d430SRalf Baechle	bool
13355e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
13365e83d430SRalf Baechle	bool
13375e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
13385e83d430SRalf Baechle	bool
13395e83d430SRalf Baechle
13405e83d430SRalf Baechlemenu "Kernel type"
13415e83d430SRalf Baechle
13425e83d430SRalf Baechlechoice
13435e83d430SRalf Baechle
13445e83d430SRalf Baechle	prompt "Kernel code model"
13455e83d430SRalf Baechle	help
13465e83d430SRalf Baechle	  You should only select this option if you have a workload that
13475e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
13485e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
13495e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
13505e83d430SRalf Baechle
13515e83d430SRalf Baechleconfig 32BIT
13525e83d430SRalf Baechle	bool "32-bit kernel"
13535e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
13545e83d430SRalf Baechle	select TRAD_SIGNALS
13555e83d430SRalf Baechle	help
13565e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
13575e83d430SRalf Baechleconfig 64BIT
13585e83d430SRalf Baechle	bool "64-bit kernel"
13595e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
13605e83d430SRalf Baechle	help
13615e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
13625e83d430SRalf Baechle
13635e83d430SRalf Baechleendchoice
13645e83d430SRalf Baechle
13651da177e4SLinus Torvaldschoice
13661da177e4SLinus Torvalds	prompt "Kernel page size"
13671da177e4SLinus Torvalds	default PAGE_SIZE_4KB
13681da177e4SLinus Torvalds
13691da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
13701da177e4SLinus Torvalds	bool "4kB"
13711da177e4SLinus Torvalds	help
13721da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
13731da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
13741da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
13751da177e4SLinus Torvalds	 recommended for low memory systems.
13761da177e4SLinus Torvalds
13771da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
13781da177e4SLinus Torvalds	bool "8kB"
13791da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
13801da177e4SLinus Torvalds	help
13811da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
13821da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
13831da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
13841da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
13851da177e4SLinus Torvalds	  compatibility of user applications.
13861da177e4SLinus Torvalds
13871da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
13881da177e4SLinus Torvalds	bool "16kB"
1389714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
13901da177e4SLinus Torvalds	help
13911da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
13921da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1393714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1394714bfad6SRalf Baechle	  Linux distribution to support this.
13951da177e4SLinus Torvalds
13961da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
13971da177e4SLinus Torvalds	bool "64kB"
13981da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
13991da177e4SLinus Torvalds	help
14001da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
14011da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
14021da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1403714bfad6SRalf Baechle	  writing this option is still high experimental.
14041da177e4SLinus Torvalds
14051da177e4SLinus Torvaldsendchoice
14061da177e4SLinus Torvalds
14071da177e4SLinus Torvaldsconfig BOARD_SCACHE
14081da177e4SLinus Torvalds	bool
14091da177e4SLinus Torvalds
14101da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
14111da177e4SLinus Torvalds	bool
14121da177e4SLinus Torvalds	select BOARD_SCACHE
14131da177e4SLinus Torvalds
14149318c51aSChris Dearman#
14159318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
14169318c51aSChris Dearman#
14179318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
14189318c51aSChris Dearman	bool
14199318c51aSChris Dearman	select BOARD_SCACHE
14209318c51aSChris Dearman
14211da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
14221da177e4SLinus Torvalds	bool
14231da177e4SLinus Torvalds	select BOARD_SCACHE
14241da177e4SLinus Torvalds
14251da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
14261da177e4SLinus Torvalds	bool
14271da177e4SLinus Torvalds	select BOARD_SCACHE
14281da177e4SLinus Torvalds
14291da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
14301da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
14311da177e4SLinus Torvalds	depends on CPU_SB1
14321da177e4SLinus Torvalds	help
14331da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
14341da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
14351da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
14361da177e4SLinus Torvalds
14371da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1438c8094b53SRalf Baechle	bool
14391da177e4SLinus Torvalds
1440340ee4b9SRalf Baechlechoice
1441340ee4b9SRalf Baechle	prompt "MIPS MT options"
1442f41ae0b2SRalf Baechle
1443f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1444f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1445f41ae0b2SRalf Baechle	help
1446f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1447f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1448f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1449f41ae0b2SRalf Baechle	  option in this menu.
1450340ee4b9SRalf Baechle
145159d6ab86SRalf Baechleconfig MIPS_MT_SMP
145259d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
145359d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
145459d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1455d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
145659d6ab86SRalf Baechle	select MIPS_MT
1457f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
145859d6ab86SRalf Baechle	select SMP
14590ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
146059d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
146187353d8aSRalf Baechle	select SMP_UP
146259d6ab86SRalf Baechle	help
146359d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
146459d6ab86SRalf Baechle	  has been marketesed into SMVP.
146559d6ab86SRalf Baechle
146641c594abSRalf Baechleconfig MIPS_MT_SMTC
146741c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1468f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1469f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1470f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1471ea580401SRalf Baechle	select GENERIC_CLOCKEVENTS_BROADCAST
1472f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1473d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1474f41ae0b2SRalf Baechle	select MIPS_MT
1475130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
147641c594abSRalf Baechle	select SMP
147773b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
147887353d8aSRalf Baechle	select SMP_UP
1479f41ae0b2SRalf Baechle	help
1480f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1481f41ae0b2SRalf Baechle	  marketesed into SMVP.
148241c594abSRalf Baechle
1483340ee4b9SRalf Baechleendchoice
1484340ee4b9SRalf Baechle
1485f41ae0b2SRalf Baechleconfig MIPS_MT
1486f41ae0b2SRalf Baechle	bool
1487f41ae0b2SRalf Baechle
14880ab7aefcSRalf Baechleconfig SCHED_SMT
14890ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
14900ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
14910ab7aefcSRalf Baechle	default n
14920ab7aefcSRalf Baechle	help
14930ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
14940ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
14950ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
14960ab7aefcSRalf Baechle
14970ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
14980ab7aefcSRalf Baechle	bool
14990ab7aefcSRalf Baechle
15000ab7aefcSRalf Baechle
1501f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1502f41ae0b2SRalf Baechle	bool
1503f41ae0b2SRalf Baechle
1504f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1505f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1506f088fc84SRalf Baechle	default y
150707cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
150807cc0c9eSRalf Baechle
150907cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
151007cc0c9eSRalf Baechle	bool "VPE loader support."
151107cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
151207cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
151307cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
151407cc0c9eSRalf Baechle	select MIPS_MT
151507cc0c9eSRalf Baechle	help
151607cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
151707cc0c9eSRalf Baechle	  onto another VPE and running it.
1518f088fc84SRalf Baechle
1519ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1520ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1521619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1522ac8be955SRalf Baechle	default y
1523ac8be955SRalf Baechle	help
1524ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1525ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1526ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1527ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1528ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1529ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1530ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1531ac8be955SRalf Baechle	  heavy I/O interrupt load.
1532ac8be955SRalf Baechle
15330db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
15340db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
15350db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
15360db34215SKevin D. Kissell	default y
15370db34215SKevin D. Kissell	help
15380db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
15390db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
15400db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
15410db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
15420db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
15430db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
15440db34215SKevin D. Kissell	  what you are doing.
15450db34215SKevin D. Kissell
1546f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1547f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1548f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1549f571eff0SKevin D. Kissell	default n
1550f571eff0SKevin D. Kissell	help
1551f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1552f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1553f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
1554f571eff0SKevin D. Kissell	  platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1555f571eff0SKevin D. Kissell	  be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1556f571eff0SKevin D. Kissell	  interrupt dispatch, and should be used only if you know what
1557f571eff0SKevin D. Kissell	  you are doing.
1558f571eff0SKevin D. Kissell
1559e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1560e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1561e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1562e01402b1SRalf Baechle	default y
1563e01402b1SRalf Baechle	help
1564e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1565e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1566e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1567e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1568e01402b1SRalf Baechle
1569e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1570e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1571e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1572e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
15735e83d430SRalf Baechle	help
1574e01402b1SRalf Baechle
15752600990eSRalf Baechleconfig MIPS_APSP_KSPD
15762600990eSRalf Baechle	bool "Enable KSPD"
15772600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
15782600990eSRalf Baechle	default y
15792600990eSRalf Baechle	help
15802600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
15812600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
15822600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
15832600990eSRalf Baechle	  exiting.  You probably want to say yes here.
15842600990eSRalf Baechle
15851da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
15861da177e4SLinus Torvalds	bool
15871da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
15881da177e4SLinus Torvalds	default y
15891da177e4SLinus Torvalds
15901da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
15911da177e4SLinus Torvalds	bool
15921da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
15931da177e4SLinus Torvalds	default y
15941da177e4SLinus Torvalds
15951da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
15961da177e4SLinus Torvalds	bool
15971da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
15981da177e4SLinus Torvalds	default y
15991da177e4SLinus Torvalds
16001da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1601d806cb2bSRalf Baechle	bool
16021da177e4SLinus Torvalds
16031da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1604f7062ddbSRalf Baechle	bool
16051da177e4SLinus Torvalds
16069693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
16079693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
16089693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
16099693a853SFranck Bui-Huu	help
16109693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
16119693a853SFranck Bui-Huu	  increased security at both hardware and software level for
16129693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
16139693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
16149693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
16159693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
16169693a853SFranck Bui-Huu	  here.
16179693a853SFranck Bui-Huu
16181da177e4SLinus Torvaldsconfig CPU_HAS_WB
1619f7062ddbSRalf Baechle	bool
1620e01402b1SRalf Baechle
1621f41ae0b2SRalf Baechle#
1622f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1623f41ae0b2SRalf Baechle#
1624e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1625f41ae0b2SRalf Baechle	bool
1626e01402b1SRalf Baechle
1627f41ae0b2SRalf Baechle#
1628f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1629f41ae0b2SRalf Baechle#
1630e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1631f41ae0b2SRalf Baechle	bool
1632e01402b1SRalf Baechle
16331da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
16341da177e4SLinus Torvalds	bool
16351da177e4SLinus Torvalds	depends on !CPU_R3000
16361da177e4SLinus Torvalds	default y
16371da177e4SLinus Torvalds
1638ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1639ea580401SRalf Baechle	bool
1640ea580401SRalf Baechle
16411da177e4SLinus Torvalds#
164220d60d99SMaciej W. Rozycki# CPU non-features
164320d60d99SMaciej W. Rozycki#
164420d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
164520d60d99SMaciej W. Rozycki	bool
164620d60d99SMaciej W. Rozycki
164720d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
164820d60d99SMaciej W. Rozycki	bool
164920d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
165020d60d99SMaciej W. Rozycki
165120d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
165220d60d99SMaciej W. Rozycki	bool
165320d60d99SMaciej W. Rozycki
165420d60d99SMaciej W. Rozycki#
1655797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1656797798c1SRalf Baechle#
1657797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1658797798c1SRalf Baechle	bool
1659797798c1SRalf Baechle	default y
1660797798c1SRalf Baechle
1661797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1662797798c1SRalf Baechle	bool
1663797798c1SRalf Baechle	default y
1664797798c1SRalf Baechle
16650d7012a9SIngo Molnarconfig IRQ_PER_CPU
16660d7012a9SIngo Molnar	bool
16670d7012a9SIngo Molnar
1668797798c1SRalf Baechle#
16691da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
16701da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
16711da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
16721da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
16731da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
16741da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
16751da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
16761da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1677797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1678797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1679797798c1SRalf Baechle#   support.
16801da177e4SLinus Torvalds#
16811da177e4SLinus Torvaldsconfig HIGHMEM
16821da177e4SLinus Torvalds	bool "High Memory Support"
1683797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1684797798c1SRalf Baechle
1685797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1686797798c1SRalf Baechle	bool
1687797798c1SRalf Baechle
1688797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1689797798c1SRalf Baechle	bool
16901da177e4SLinus Torvalds
16919693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
16929693a853SFranck Bui-Huu	bool
16939693a853SFranck Bui-Huu
1694b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1695b4819b59SYoichi Yuasa	def_bool y
1696b4819b59SYoichi Yuasa	depends on !NUMA
1697b4819b59SYoichi Yuasa
1698d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1699d8cb4e11SRalf Baechle	bool
1700d8cb4e11SRalf Baechle	default y if SGI_IP27
1701d8cb4e11SRalf Baechle	help
17023dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1703d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1704d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1705d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1706d8cb4e11SRalf Baechle
1707cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1708cce335aeSRalf Baechle	def_bool y
1709cce335aeSRalf Baechle
1710b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1711b1c6cd42SAtsushi Nemoto	bool
17127de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
171331473747SAtsushi Nemoto
1714d8cb4e11SRalf Baechleconfig NUMA
1715d8cb4e11SRalf Baechle	bool "NUMA Support"
1716d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1717d8cb4e11SRalf Baechle	help
1718d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1719d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1720d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1721d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1722d8cb4e11SRalf Baechle	  disabled.
1723d8cb4e11SRalf Baechle
1724d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1725d8cb4e11SRalf Baechle	bool
1726d8cb4e11SRalf Baechle
1727c80d79d7SYasunori Gotoconfig NODES_SHIFT
1728c80d79d7SYasunori Goto	int
1729c80d79d7SYasunori Goto	default "6"
1730c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1731c80d79d7SYasunori Goto
1732b4819b59SYoichi Yuasasource "mm/Kconfig"
1733b4819b59SYoichi Yuasa
17341da177e4SLinus Torvaldsconfig SMP
17351da177e4SLinus Torvalds	bool "Multi-Processing support"
1736e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1737b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1738e73ea273SRalf Baechle	help
17391da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
17401da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
17411da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
17421da177e4SLinus Torvalds
17431da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
17441da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
17451da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
17461da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
17471da177e4SLinus Torvalds	  will run faster if you say N here.
17481da177e4SLinus Torvalds
17491da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
17501da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
17511da177e4SLinus Torvalds
17521da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
17531da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
17541da177e4SLinus Torvalds
17551da177e4SLinus Torvalds	  If you don't know what to do here, say N.
17561da177e4SLinus Torvalds
175787353d8aSRalf Baechleconfig SMP_UP
175887353d8aSRalf Baechle	bool
175987353d8aSRalf Baechle
1760e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1761e73ea273SRalf Baechle	bool
1762e73ea273SRalf Baechle
176372ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
176472ede9b1SAtsushi Nemoto	bool
176572ede9b1SAtsushi Nemoto
1766130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1767130e2fb7SRalf Baechle	bool
1768130e2fb7SRalf Baechle
1769130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1770130e2fb7SRalf Baechle	bool
1771130e2fb7SRalf Baechle
1772130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1773130e2fb7SRalf Baechle	bool
1774130e2fb7SRalf Baechle
1775130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1776130e2fb7SRalf Baechle	bool
1777130e2fb7SRalf Baechle
1778130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1779130e2fb7SRalf Baechle	bool
1780130e2fb7SRalf Baechle
1781130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1782130e2fb7SRalf Baechle	bool
1783130e2fb7SRalf Baechle
17841da177e4SLinus Torvaldsconfig NR_CPUS
17851da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
178672ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
17871da177e4SLinus Torvalds	depends on SMP
178872ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1789130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1790130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1791130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1792130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1793130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1794130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
17951da177e4SLinus Torvalds	help
17961da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
17971da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
17981da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
179972ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
180072ede9b1SAtsushi Nemoto	  and 2 for all others.
18011da177e4SLinus Torvalds
18021da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
180372ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
180472ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
180572ede9b1SAtsushi Nemoto	  power of two.
18061da177e4SLinus Torvalds
1807c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
1808c4eee283SAtsushi Nemoto
18091723b4a3SAtsushi Nemoto#
18101723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
18111723b4a3SAtsushi Nemoto#
18121723b4a3SAtsushi Nemoto
18131723b4a3SAtsushi Nemotochoice
18141723b4a3SAtsushi Nemoto	prompt "Timer frequency"
18151723b4a3SAtsushi Nemoto	default HZ_250
18161723b4a3SAtsushi Nemoto	help
18171723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
18181723b4a3SAtsushi Nemoto
18191723b4a3SAtsushi Nemoto	config HZ_48
18201723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
18211723b4a3SAtsushi Nemoto
18221723b4a3SAtsushi Nemoto	config HZ_100
18231723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
18241723b4a3SAtsushi Nemoto
18251723b4a3SAtsushi Nemoto	config HZ_128
18261723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
18271723b4a3SAtsushi Nemoto
18281723b4a3SAtsushi Nemoto	config HZ_250
18291723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
18301723b4a3SAtsushi Nemoto
18311723b4a3SAtsushi Nemoto	config HZ_256
18321723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
18331723b4a3SAtsushi Nemoto
18341723b4a3SAtsushi Nemoto	config HZ_1000
18351723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
18361723b4a3SAtsushi Nemoto
18371723b4a3SAtsushi Nemoto	config HZ_1024
18381723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
18391723b4a3SAtsushi Nemoto
18401723b4a3SAtsushi Nemotoendchoice
18411723b4a3SAtsushi Nemoto
18421723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
18431723b4a3SAtsushi Nemoto	bool
18441723b4a3SAtsushi Nemoto
18451723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
18461723b4a3SAtsushi Nemoto	bool
18471723b4a3SAtsushi Nemoto
18481723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
18491723b4a3SAtsushi Nemoto	bool
18501723b4a3SAtsushi Nemoto
18511723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
18521723b4a3SAtsushi Nemoto	bool
18531723b4a3SAtsushi Nemoto
18541723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
18551723b4a3SAtsushi Nemoto	bool
18561723b4a3SAtsushi Nemoto
18571723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
18581723b4a3SAtsushi Nemoto	bool
18591723b4a3SAtsushi Nemoto
18601723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
18611723b4a3SAtsushi Nemoto	bool
18621723b4a3SAtsushi Nemoto
18631723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
18641723b4a3SAtsushi Nemoto	bool
18651723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
18661723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
18671723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
18681723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
18691723b4a3SAtsushi Nemoto
18701723b4a3SAtsushi Nemotoconfig HZ
18711723b4a3SAtsushi Nemoto	int
18721723b4a3SAtsushi Nemoto	default 48 if HZ_48
18731723b4a3SAtsushi Nemoto	default 100 if HZ_100
18741723b4a3SAtsushi Nemoto	default 128 if HZ_128
18751723b4a3SAtsushi Nemoto	default 250 if HZ_250
18761723b4a3SAtsushi Nemoto	default 256 if HZ_256
18771723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
18781723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
18791723b4a3SAtsushi Nemoto
1880e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
18811da177e4SLinus Torvalds
18821da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
18831da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1884875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
18851da177e4SLinus Torvalds	help
18861da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
18871da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
18881da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
18891da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
18901da177e4SLinus Torvalds	  recommended for normal users.
18911da177e4SLinus Torvalds
1892ea6e942bSAtsushi Nemotoconfig KEXEC
1893ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1894ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1895ea6e942bSAtsushi Nemoto	help
1896ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1897ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
18983dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1899ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1900ea6e942bSAtsushi Nemoto
190101dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
1902ea6e942bSAtsushi Nemoto
1903ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1904ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1905ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1906ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1907ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1908ea6e942bSAtsushi Nemoto
1909ea6e942bSAtsushi Nemotoconfig SECCOMP
1910ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1911293c5bd1SRalf Baechle	depends on PROC_FS
1912ea6e942bSAtsushi Nemoto	default y
1913ea6e942bSAtsushi Nemoto	help
1914ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1915ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1916ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1917ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1918ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1919ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1920ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1921ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1922ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1923ea6e942bSAtsushi Nemoto
1924ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1925ea6e942bSAtsushi Nemoto
19265e83d430SRalf Baechleendmenu
19275e83d430SRalf Baechle
19281da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
19291da177e4SLinus Torvalds	bool
19301da177e4SLinus Torvalds	default y
19311da177e4SLinus Torvalds
19321df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
19331df0f0ffSAtsushi Nemoto	bool
19341df0f0ffSAtsushi Nemoto	default y
19351df0f0ffSAtsushi Nemoto
19361df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
19371df0f0ffSAtsushi Nemoto	bool
19381df0f0ffSAtsushi Nemoto	default y
19391df0f0ffSAtsushi Nemoto
1940b6c3539bSRalf Baechlesource "init/Kconfig"
1941b6c3539bSRalf Baechle
19421da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
19431da177e4SLinus Torvalds
19445e83d430SRalf Baechleconfig HW_HAS_EISA
19455e83d430SRalf Baechle	bool
19461da177e4SLinus Torvaldsconfig HW_HAS_PCI
19471da177e4SLinus Torvalds	bool
19481da177e4SLinus Torvalds
19491da177e4SLinus Torvaldsconfig PCI
19501da177e4SLinus Torvalds	bool "Support for PCI controller"
19511da177e4SLinus Torvalds	depends on HW_HAS_PCI
1952abb4ae46SRalf Baechle	select PCI_DOMAINS
19531da177e4SLinus Torvalds	help
19541da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
19551da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
19561da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
19571da177e4SLinus Torvalds	  say Y, otherwise N.
19581da177e4SLinus Torvalds
19591da177e4SLinus Torvalds	  The PCI-HOWTO, available from
19601da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
19611da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
19621da177e4SLinus Torvalds	  doesn't.
19631da177e4SLinus Torvalds
19641da177e4SLinus Torvaldsconfig PCI_DOMAINS
19651da177e4SLinus Torvalds	bool
19661da177e4SLinus Torvalds
19671da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
19681da177e4SLinus Torvalds
19691da177e4SLinus Torvalds#
19701da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
19711da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
19721da177e4SLinus Torvalds# users to choose the right thing ...
19731da177e4SLinus Torvalds#
19741da177e4SLinus Torvaldsconfig ISA
19751da177e4SLinus Torvalds	bool
19761da177e4SLinus Torvalds
19771da177e4SLinus Torvaldsconfig EISA
19781da177e4SLinus Torvalds	bool "EISA support"
19795e83d430SRalf Baechle	depends on HW_HAS_EISA
19801da177e4SLinus Torvalds	select ISA
1981aa414dffSRalf Baechle	select GENERIC_ISA_DMA
19821da177e4SLinus Torvalds	---help---
19831da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
19841da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
19851da177e4SLinus Torvalds
19861da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
19871da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
19881da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
19891da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
19901da177e4SLinus Torvalds
19911da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
19921da177e4SLinus Torvalds
19931da177e4SLinus Torvalds	  Otherwise, say N.
19941da177e4SLinus Torvalds
19951da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
19961da177e4SLinus Torvalds
19971da177e4SLinus Torvaldsconfig TC
19981da177e4SLinus Torvalds	bool "TURBOchannel support"
19991da177e4SLinus Torvalds	depends on MACH_DECSTATION
20001da177e4SLinus Torvalds	help
20011da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
20021da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
20031da177e4SLinus Torvalds	  is available at:
20041da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
20051da177e4SLinus Torvalds
20061da177e4SLinus Torvalds#config ACCESSBUS
20071da177e4SLinus Torvalds#	bool "Access.Bus support"
20081da177e4SLinus Torvalds#	depends on TC
20091da177e4SLinus Torvalds
20101da177e4SLinus Torvaldsconfig MMU
20111da177e4SLinus Torvalds	bool
20121da177e4SLinus Torvalds	default y
20131da177e4SLinus Torvalds
2014d865bea4SRalf Baechleconfig I8253
2015d865bea4SRalf Baechle	bool
2016d865bea4SRalf Baechle
2017cce335aeSRalf Baechleconfig ZONE_DMA32
2018cce335aeSRalf Baechle	bool
2019cce335aeSRalf Baechle
20201da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
20211da177e4SLinus Torvalds
20221da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
20231da177e4SLinus Torvalds
20241da177e4SLinus Torvaldsendmenu
20251da177e4SLinus Torvalds
20261da177e4SLinus Torvaldsmenu "Executable file formats"
20271da177e4SLinus Torvalds
20281da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
20291da177e4SLinus Torvalds
20301da177e4SLinus Torvaldsconfig TRAD_SIGNALS
20311da177e4SLinus Torvalds	bool
20321da177e4SLinus Torvalds
20331da177e4SLinus Torvaldsconfig BINFMT_IRIX
20341da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
20355e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
20361da177e4SLinus Torvalds
20371da177e4SLinus Torvaldsconfig MIPS32_COMPAT
20381da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2039875d43e7SRalf Baechle	depends on 64BIT
20401da177e4SLinus Torvalds	help
20411da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
20421da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
20431da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
20441da177e4SLinus Torvalds
20451da177e4SLinus Torvaldsconfig COMPAT
20461da177e4SLinus Torvalds	bool
20471da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20481da177e4SLinus Torvalds	default y
20491da177e4SLinus Torvalds
205005e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
205105e43966SAtsushi Nemoto	bool
205205e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
205305e43966SAtsushi Nemoto	default y
205405e43966SAtsushi Nemoto
20551da177e4SLinus Torvaldsconfig MIPS32_O32
20561da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
20571da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20581da177e4SLinus Torvalds	help
20591da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
20601da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
20611da177e4SLinus Torvalds	  existing binaries are in this format.
20621da177e4SLinus Torvalds
20631da177e4SLinus Torvalds	  If unsure, say Y.
20641da177e4SLinus Torvalds
20651da177e4SLinus Torvaldsconfig MIPS32_N32
20661da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
20671da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20681da177e4SLinus Torvalds	help
20691da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
20701da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
20711da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
20721da177e4SLinus Torvalds	  cases.
20731da177e4SLinus Torvalds
20741da177e4SLinus Torvalds	  If unsure, say N.
20751da177e4SLinus Torvalds
20761da177e4SLinus Torvaldsconfig BINFMT_ELF32
20771da177e4SLinus Torvalds	bool
20781da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
20791da177e4SLinus Torvalds
20802116245eSRalf Baechleendmenu
20811da177e4SLinus Torvalds
20822116245eSRalf Baechlemenu "Power management options"
2083952fa954SRodolfo Giometti
20842116245eSRalf Baechlesource "kernel/power/Kconfig"
2085952fa954SRodolfo Giometti
20861da177e4SLinus Torvaldsendmenu
20871da177e4SLinus Torvalds
2088d5950b43SSam Ravnborgsource "net/Kconfig"
2089d5950b43SSam Ravnborg
20901da177e4SLinus Torvaldssource "drivers/Kconfig"
20911da177e4SLinus Torvalds
20921da177e4SLinus Torvaldssource "fs/Kconfig"
20931da177e4SLinus Torvalds
209409cadedbSMathieu Desnoyerssource "kernel/Kconfig.instrumentation"
20955e83d430SRalf Baechle
20961da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
20971da177e4SLinus Torvalds
20981da177e4SLinus Torvaldssource "security/Kconfig"
20991da177e4SLinus Torvalds
21001da177e4SLinus Torvaldssource "crypto/Kconfig"
21011da177e4SLinus Torvalds
21021da177e4SLinus Torvaldssource "lib/Kconfig"
2103