xref: /linux/arch/mips/Kconfig (revision 542c1020ac1cbc2f50934086ad893384a2cbd233)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
4ec7748b5SSam Ravnborg	select HAVE_IDE
542d4b839SMathieu Desnoyers	select HAVE_OPROFILE
688547001SJason Wessel	select HAVE_ARCH_KGDB
71da177e4SLinus Torvalds	# Horrible source of confusion.  Die, die, die ...
81da177e4SLinus Torvalds	select EMBEDDED
990b02340SRalf Baechle	select RTC_LIB
101da177e4SLinus Torvalds
111da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
121da177e4SLinus Torvalds
131da177e4SLinus Torvaldsmenu "Machine selection"
141da177e4SLinus Torvalds
155ac6da66SChristoph Lameterconfig ZONE_DMA
165ac6da66SChristoph Lameter	bool
175ac6da66SChristoph Lameter
185e83d430SRalf Baechlechoice
195e83d430SRalf Baechle	prompt "System type"
205e83d430SRalf Baechle	default SGI_IP22
211da177e4SLinus Torvalds
22c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
23c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
241da177e4SLinus Torvalds
2535189fadSRalf Baechleconfig BASLER_EXCITE
26be91589eSThomas Koeller	bool "Basler eXcite smart camera"
2742f77542SRalf Baechle	select CEVT_R4K
28940f6b48SRalf Baechle	select CSRC_R4K
2935189fadSRalf Baechle	select DMA_COHERENT
3035189fadSRalf Baechle	select HW_HAS_PCI
3135189fadSRalf Baechle	select IRQ_CPU
3235189fadSRalf Baechle	select IRQ_CPU_RM7K
3335189fadSRalf Baechle	select IRQ_CPU_RM9K
34663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
3535189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
3635189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3735189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3835189fadSRalf Baechle	help
3935189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
40be91589eSThomas Koeller	  Basler Vision Technologies AG.
4135189fadSRalf Baechle
421c0c13ebSAurelien Jarnoconfig BCM47XX
431c0c13ebSAurelien Jarno	bool "BCM47XX based boards"
4442f77542SRalf Baechle	select CEVT_R4K
45940f6b48SRalf Baechle	select CSRC_R4K
461c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
471c0c13ebSAurelien Jarno	select HW_HAS_PCI
481c0c13ebSAurelien Jarno	select IRQ_CPU
491c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
501c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
511c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
521c0c13ebSAurelien Jarno	select SSB
531c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
542f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
55b06f3e19SAurelien Jarno	select SSB_EMBEDDED
562f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
571c0c13ebSAurelien Jarno	select GENERIC_GPIO
5825e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
5925e5fb97SAurelien Jarno	select CFE
601c0c13ebSAurelien Jarno	help
611c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
621c0c13ebSAurelien Jarno
631da177e4SLinus Torvaldsconfig MIPS_COBALT
643fa986faSMartin Michlmayr	bool "Cobalt Server"
6542f77542SRalf Baechle	select CEVT_R4K
66940f6b48SRalf Baechle	select CSRC_R4K
671097c6acSYoichi Yuasa	select CEVT_GT641XX
681da177e4SLinus Torvalds	select DMA_NONCOHERENT
691da177e4SLinus Torvalds	select HW_HAS_PCI
70d865bea4SRalf Baechle	select I8253
711da177e4SLinus Torvalds	select I8259
721da177e4SLinus Torvalds	select IRQ_CPU
73d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
74252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
757cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
760a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
77ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
780e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
795e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
809fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
811da177e4SLinus Torvalds
821da177e4SLinus Torvaldsconfig MACH_DECSTATION
833fa986faSMartin Michlmayr	bool "DECstations"
841da177e4SLinus Torvalds	select BOOT_ELF32
856457d9fcSYoichi Yuasa	select CEVT_DS1287
8642f77542SRalf Baechle	select CEVT_R4K
874247417dSYoichi Yuasa	select CSRC_IOASIC
88940f6b48SRalf Baechle	select CSRC_R4K
8920d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
9020d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
9120d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
921da177e4SLinus Torvalds	select DMA_NONCOHERENT
93d388d685SMaciej W. Rozycki	select NO_IOPORT
941da177e4SLinus Torvalds	select IRQ_CPU
957cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
967cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
97ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
98ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
995e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1001723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
1011723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
1021723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1035e83d430SRalf Baechle	help
1041da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1051da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1061da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1071da177e4SLinus Torvalds
1081da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1091da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvalds		DECstation 5000/50
1121da177e4SLinus Torvalds		DECstation 5000/150
1131da177e4SLinus Torvalds		DECstation 5000/260
1141da177e4SLinus Torvalds		DECsystem 5900/260
1151da177e4SLinus Torvalds
1161da177e4SLinus Torvalds	  otherwise choose R3000.
1171da177e4SLinus Torvalds
1185e83d430SRalf Baechleconfig MACH_JAZZ
1193fa986faSMartin Michlmayr	bool "Jazz family of machines"
1205e83d430SRalf Baechle	select ARC
1215e83d430SRalf Baechle	select ARC32
1225e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
12342f77542SRalf Baechle	select CEVT_R4K
124940f6b48SRalf Baechle	select CSRC_R4K
125e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1265e83d430SRalf Baechle	select GENERIC_ISA_DMA
127ea202c63SThomas Bogendoerfer	select IRQ_CPU
128d865bea4SRalf Baechle	select I8253
1295e83d430SRalf Baechle	select I8259
1305e83d430SRalf Baechle	select ISA
1317cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1325e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1335e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1341723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1359fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1361da177e4SLinus Torvalds	help
1375e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1385e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1395e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1405e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1415e83d430SRalf Baechle
1421f21d2bdSBrian Murphyconfig LASAT
1431f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
14442f77542SRalf Baechle	select CEVT_R4K
145940f6b48SRalf Baechle	select CSRC_R4K
1461f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1471f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1481f21d2bdSBrian Murphy	select HW_HAS_PCI
149a5ccfe5cSRalf Baechle	select IRQ_CPU
1501f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1511f21d2bdSBrian Murphy	select MIPS_NILE4
1521f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1531f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1541f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1551f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1561f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1571f21d2bdSBrian Murphy	select GENERIC_HARDIRQS_NO__DO_IRQ
1581f21d2bdSBrian Murphy
159ade299d8SYoichi Yuasaconfig LEMOTE_FULONG
160ade299d8SYoichi Yuasa	bool "Lemote Fulong mini-PC"
161ade299d8SYoichi Yuasa	select ARCH_SPARSEMEM_ENABLE
16242f77542SRalf Baechle	select CEVT_R4K
163940f6b48SRalf Baechle	select CSRC_R4K
164ade299d8SYoichi Yuasa	select SYS_HAS_CPU_LOONGSON2
165ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
166ade299d8SYoichi Yuasa	select BOOT_ELF32
167ade299d8SYoichi Yuasa	select BOARD_SCACHE
168ade299d8SYoichi Yuasa	select HAVE_STD_PC_SERIAL_PORT
169ade299d8SYoichi Yuasa	select HW_HAS_PCI
170ade299d8SYoichi Yuasa	select I8259
171ade299d8SYoichi Yuasa	select ISA
172ade299d8SYoichi Yuasa	select IRQ_CPU
173ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
174ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
175ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
176ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
177ade299d8SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
178ade299d8SYoichi Yuasa	select GENERIC_HARDIRQS_NO__DO_IRQ
17923dd6d35SRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
180ade299d8SYoichi Yuasa	select CPU_HAS_WB
181ade299d8SYoichi Yuasa	help
182ade299d8SYoichi Yuasa	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
183ade299d8SYoichi Yuasa	  an FPGA northbridge
184ade299d8SYoichi Yuasa
1851da177e4SLinus Torvaldsconfig MIPS_MALTA
1863fa986faSMartin Michlmayr	bool "MIPS Malta board"
18761ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1881da177e4SLinus Torvalds	select BOOT_ELF32
189fa71c960SRalf Baechle	select BOOT_RAW
19042f77542SRalf Baechle	select CEVT_R4K
191940f6b48SRalf Baechle	select CSRC_R4K
1921da177e4SLinus Torvalds	select DMA_NONCOHERENT
1931da177e4SLinus Torvalds	select GENERIC_ISA_DMA
194aa414dffSRalf Baechle	select IRQ_CPU
19539b8d525SRalf Baechle	select IRQ_GIC
1961da177e4SLinus Torvalds	select HW_HAS_PCI
197d865bea4SRalf Baechle	select I8253
1981da177e4SLinus Torvalds	select I8259
1995e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2005e83d430SRalf Baechle	select MIPS_BONITO64
2019318c51aSChris Dearman	select MIPS_CPU_SCACHE
202252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2035e83d430SRalf Baechle	select MIPS_MSC
2041da177e4SLinus Torvalds	select SWAP_IO_SPACE
2057cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2067cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2077cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2087cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2097cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
21036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
211ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
212ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2135e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2145e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2154a16ff4cSRalf Baechle	select SYS_SUPPORTS_MIPS_CMP if BROKEN	# because SYNC_R4K is broken
216f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2179693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2181da177e4SLinus Torvalds	help
219f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2201da177e4SLinus Torvalds	  board.
2211da177e4SLinus Torvalds
222c78cbf49SRalf Baechleconfig MIPS_SIM
2233fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
22442f77542SRalf Baechle	select CEVT_R4K
225940f6b48SRalf Baechle	select CSRC_R4K
226c78cbf49SRalf Baechle	select DMA_NONCOHERENT
22736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
228c78cbf49SRalf Baechle	select IRQ_CPU
2299267a30dSMarc St-Jean	select BOOT_RAW
2307cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2317cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
23236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
233c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
234c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
235f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
236c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
237c78cbf49SRalf Baechle	help
238c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
239c78cbf49SRalf Baechle	  emulator.
240c78cbf49SRalf Baechle
241ade299d8SYoichi Yuasaconfig MARKEINS
242ade299d8SYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
24342f77542SRalf Baechle	select CEVT_R4K
244940f6b48SRalf Baechle	select CSRC_R4K
245ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
246ade299d8SYoichi Yuasa	select HW_HAS_PCI
247ade299d8SYoichi Yuasa	select IRQ_CPU
248ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
249ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
250ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
251ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
252*542c1020SShinya Kuribayashi	select SYS_HAS_CPU_R5500
253ade299d8SYoichi Yuasa	help
254*542c1020SShinya Kuribayashi	  This enables support for the NEC Mark-eins board with VR5500 CPU.
255ade299d8SYoichi Yuasa
2565e83d430SRalf Baechleconfig MACH_VR41XX
25774142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
25842f77542SRalf Baechle	select CEVT_R4K
259940f6b48SRalf Baechle	select CSRC_R4K
2607cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
2619fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
2625e83d430SRalf Baechle
263edb6310aSDaniel Lairdconfig NXP_STB220
264edb6310aSDaniel Laird	bool "NXP STB220 board"
265edb6310aSDaniel Laird	select SOC_PNX833X
266edb6310aSDaniel Laird	help
267edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
268edb6310aSDaniel Laird
269edb6310aSDaniel Lairdconfig NXP_STB225
270edb6310aSDaniel Laird	bool "NXP 225 board"
271edb6310aSDaniel Laird	select SOC_PNX833X
272edb6310aSDaniel Laird	select SOC_PNX8335
273edb6310aSDaniel Laird	help
274edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
275edb6310aSDaniel Laird
276ade299d8SYoichi Yuasaconfig PNX8550_JBS
277a92b0588SDaniel Laird	bool "NXP PNX8550 based JBS board"
278ade299d8SYoichi Yuasa	select PNX8550
279ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
280ade299d8SYoichi Yuasa
281ade299d8SYoichi Yuasaconfig PNX8550_STB810
282a92b0588SDaniel Laird	bool "NXP PNX8550 based STB810 board"
283ade299d8SYoichi Yuasa	select PNX8550
284ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
285ade299d8SYoichi Yuasa
2869267a30dSMarc St-Jeanconfig PMC_MSP
2879267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
2889267a30dSMarc St-Jean	depends on EXPERIMENTAL
2899267a30dSMarc St-Jean	select DMA_NONCOHERENT
2909267a30dSMarc St-Jean	select SWAP_IO_SPACE
2919267a30dSMarc St-Jean	select NO_EXCEPT_FILL
2929267a30dSMarc St-Jean	select BOOT_RAW
2939267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
2949267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
2959267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
2969267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
2979267a30dSMarc St-Jean	select IRQ_CPU
2989267a30dSMarc St-Jean	select SERIAL_8250
2999267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3009267a30dSMarc St-Jean	help
3019267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3029267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3039267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3049267a30dSMarc St-Jean	  a variety of MIPS cores.
3059267a30dSMarc St-Jean
3065e83d430SRalf Baechleconfig PMC_YOSEMITE
3073fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
30842f77542SRalf Baechle	select CEVT_R4K
309940f6b48SRalf Baechle	select CSRC_R4K
3105e83d430SRalf Baechle	select DMA_COHERENT
3115e83d430SRalf Baechle	select HW_HAS_PCI
3125e83d430SRalf Baechle	select IRQ_CPU
3135e83d430SRalf Baechle	select IRQ_CPU_RM7K
3145e83d430SRalf Baechle	select IRQ_CPU_RM9K
3155e83d430SRalf Baechle	select SWAP_IO_SPACE
3167cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
31736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3185e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3195e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3205e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3215e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
322e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3235e83d430SRalf Baechle	help
3245e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3255e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3261da177e4SLinus Torvalds
3271da177e4SLinus Torvaldsconfig SGI_IP22
3283fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3291da177e4SLinus Torvalds	select ARC
3301da177e4SLinus Torvalds	select ARC32
3311da177e4SLinus Torvalds	select BOOT_ELF32
33242f77542SRalf Baechle	select CEVT_R4K
333940f6b48SRalf Baechle	select CSRC_R4K
334e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3351da177e4SLinus Torvalds	select DMA_NONCOHERENT
3365e83d430SRalf Baechle	select HW_HAS_EISA
337d865bea4SRalf Baechle	select I8253
33868de4803SThomas Bogendoerfer	select I8259
3391da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3401da177e4SLinus Torvalds	select IRQ_CPU
341aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
342e2defae5SThomas Bogendoerfer	select SGI_HAS_DS1286
343e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
344e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
34536e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
346e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
347e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
348e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3491da177e4SLinus Torvalds	select SWAP_IO_SPACE
3507cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3517cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
35236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
353ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
354ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3555e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3561da177e4SLinus Torvalds	help
3571da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3581da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3591da177e4SLinus Torvalds	  that runs on these, say Y here.
3601da177e4SLinus Torvalds
3611da177e4SLinus Torvaldsconfig SGI_IP27
3623fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3631da177e4SLinus Torvalds	select ARC
3641da177e4SLinus Torvalds	select ARC64
3655e83d430SRalf Baechle	select BOOT_ELF64
366e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3671da177e4SLinus Torvalds	select DMA_IP27
36836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3691da177e4SLinus Torvalds	select HW_HAS_PCI
370130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
3717cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
372ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3735e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
374d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
3751a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
376e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
3771da177e4SLinus Torvalds	help
3781da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
3791da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
3801da177e4SLinus Torvalds	  here.
3811da177e4SLinus Torvalds
382e2defae5SThomas Bogendoerferconfig SGI_IP28
383e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
384e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
385e2defae5SThomas Bogendoerfer	select ARC
386e2defae5SThomas Bogendoerfer	select ARC64
387e2defae5SThomas Bogendoerfer	select BOOT_ELF64
388e2defae5SThomas Bogendoerfer	select CEVT_R4K
389e2defae5SThomas Bogendoerfer	select CSRC_R4K
390e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
391e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
392e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
393e2defae5SThomas Bogendoerfer	select IRQ_CPU
394e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
395e2defae5SThomas Bogendoerfer	select I8253
396e2defae5SThomas Bogendoerfer	select I8259
397e2defae5SThomas Bogendoerfer	select SGI_HAS_DS1286
398e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
399e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
4005b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
401e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
402e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
403e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
404e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
405e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
406e2defae5SThomas Bogendoerfer	select SYS_HAS_EARLY_PRINTK
407e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
408e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
409e2defae5SThomas Bogendoerfer      help
410e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
411e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
412e2defae5SThomas Bogendoerfer
4131da177e4SLinus Torvaldsconfig SGI_IP32
414cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4151da177e4SLinus Torvalds	select ARC
4161da177e4SLinus Torvalds	select ARC32
4171da177e4SLinus Torvalds	select BOOT_ELF32
41842f77542SRalf Baechle	select CEVT_R4K
419940f6b48SRalf Baechle	select CSRC_R4K
4201da177e4SLinus Torvalds	select DMA_NONCOHERENT
4211da177e4SLinus Torvalds	select HW_HAS_PCI
422dd67b155SRalf Baechle	select IRQ_CPU
4231da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4241da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4257cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4267cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4277cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
428dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
429ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4305e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4311da177e4SLinus Torvalds	help
4321da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4331da177e4SLinus Torvalds
434ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
435ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4365e83d430SRalf Baechle	depends on EXPERIMENTAL
4375e83d430SRalf Baechle	select BOOT_ELF32
4385e83d430SRalf Baechle	select DMA_COHERENT
4395e83d430SRalf Baechle	select SIBYTE_BCM1120
4405e83d430SRalf Baechle	select SWAP_IO_SPACE
4417cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4425e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4435e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4445e83d430SRalf Baechle
445ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
446ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4475e83d430SRalf Baechle	depends on EXPERIMENTAL
4485e83d430SRalf Baechle	select BOOT_ELF32
4495e83d430SRalf Baechle	select DMA_COHERENT
4505e83d430SRalf Baechle	select SIBYTE_BCM1120
4515e83d430SRalf Baechle	select SWAP_IO_SPACE
4527cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4535e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4545e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4555e83d430SRalf Baechle
4565e83d430SRalf Baechleconfig SIBYTE_CRHONE
4573fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4585e83d430SRalf Baechle	depends on EXPERIMENTAL
4595e83d430SRalf Baechle	select BOOT_ELF32
4605e83d430SRalf Baechle	select DMA_COHERENT
4615e83d430SRalf Baechle	select SIBYTE_BCM1125
4625e83d430SRalf Baechle	select SWAP_IO_SPACE
4637cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4645e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4655e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4665e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4675e83d430SRalf Baechle
468ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
469ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
470ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
471ade299d8SYoichi Yuasa	select BOOT_ELF32
472ade299d8SYoichi Yuasa	select DMA_COHERENT
473ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
474ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
475ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
476ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
477ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
478ade299d8SYoichi Yuasa
479ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
480ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
481ade299d8SYoichi Yuasa	select BOOT_ELF32
482ade299d8SYoichi Yuasa	select DMA_COHERENT
483ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
484ade299d8SYoichi Yuasa	select SIBYTE_SB1250
485ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
486ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
487ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
488ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
489ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
490cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
491ade299d8SYoichi Yuasa
492ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
493ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
494ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
495ade299d8SYoichi Yuasa	select BOOT_ELF32
496ade299d8SYoichi Yuasa	select DMA_COHERENT
497ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
498ade299d8SYoichi Yuasa	select SIBYTE_SB1250
499ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
500ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
501ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
502ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
503ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
504ade299d8SYoichi Yuasa
505ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
506ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
507ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
508ade299d8SYoichi Yuasa	select BOOT_ELF32
509ade299d8SYoichi Yuasa	select DMA_COHERENT
510ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
511ade299d8SYoichi Yuasa	select SIBYTE_SB1250
512ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
513ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
514ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
515ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
516ade299d8SYoichi Yuasa
517ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
518ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
519ade299d8SYoichi Yuasa	select BOOT_ELF32
520ade299d8SYoichi Yuasa	select DMA_COHERENT
521ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
522ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
523ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
524ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
525ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
526651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
527ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
528cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
529ade299d8SYoichi Yuasa
53014b36af4SThomas Bogendoerferconfig SNI_RM
53114b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5324a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5334a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
534231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5355e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5365e83d430SRalf Baechle	select BOOT_ELF32
53742f77542SRalf Baechle	select CEVT_R4K
538940f6b48SRalf Baechle	select CSRC_R4K
539e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5405e83d430SRalf Baechle	select DMA_NONCOHERENT
5415e83d430SRalf Baechle	select GENERIC_ISA_DMA
5425e83d430SRalf Baechle	select HW_HAS_EISA
5435e83d430SRalf Baechle	select HW_HAS_PCI
544c066a32aSThomas Bogendoerfer	select IRQ_CPU
545d865bea4SRalf Baechle	select I8253
5465e83d430SRalf Baechle	select I8259
5475e83d430SRalf Baechle	select ISA
5484a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5497cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5504a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
551c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5524a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
55336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
554ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5555e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5564a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5575e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5585e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5591da177e4SLinus Torvalds	help
56014b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
56114b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5625e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5635e83d430SRalf Baechle	  support this machine type.
5641da177e4SLinus Torvalds
565edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
566edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
5675e83d430SRalf Baechle
568edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
569edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
57023fbee9dSRalf Baechle
57173b4390fSRalf Baechleconfig MIKROTIK_RB532
57273b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
57373b4390fSRalf Baechle	select CEVT_R4K
57473b4390fSRalf Baechle	select CSRC_R4K
57573b4390fSRalf Baechle	select DMA_NONCOHERENT
57673b4390fSRalf Baechle	select GENERIC_HARDIRQS_NO__DO_IRQ
57773b4390fSRalf Baechle	select HW_HAS_PCI
57873b4390fSRalf Baechle	select IRQ_CPU
57973b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
58073b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
58173b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
58273b4390fSRalf Baechle	select SWAP_IO_SPACE
58373b4390fSRalf Baechle	select BOOT_RAW
584d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
58573b4390fSRalf Baechle	help
58673b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
58773b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
58873b4390fSRalf Baechle
589ade299d8SYoichi Yuasaconfig WR_PPMC
590ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
59142f77542SRalf Baechle	select CEVT_R4K
592940f6b48SRalf Baechle	select CSRC_R4K
593ade299d8SYoichi Yuasa	select IRQ_CPU
594ade299d8SYoichi Yuasa	select BOOT_ELF32
595ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
596ade299d8SYoichi Yuasa	select HW_HAS_PCI
597ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
598ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
599ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
600ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
601ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
602ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
603ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
604ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
605ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
606ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
607ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
608ade299d8SYoichi Yuasa	help
609ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
610ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
611ade299d8SYoichi Yuasa
6121da177e4SLinus Torvaldsendchoice
6131da177e4SLinus Torvalds
614e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
6159c746edbSYoichi Yuasasource "arch/mips/basler/excite/Kconfig"
6165e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6171f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6185e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
61929c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
62038b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
62122b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
6225e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
62338b18f72SRalf Baechle
6245e83d430SRalf Baechleendmenu
6255e83d430SRalf Baechle
6261da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6271da177e4SLinus Torvalds	bool
6281da177e4SLinus Torvalds	default y
6291da177e4SLinus Torvalds
6301da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6311da177e4SLinus Torvalds	bool
6321da177e4SLinus Torvalds
633f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
634f0d1b0b3SDavid Howells	bool
635f0d1b0b3SDavid Howells	default n
636f0d1b0b3SDavid Howells
637f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
638f0d1b0b3SDavid Howells	bool
639f0d1b0b3SDavid Howells	default n
640f0d1b0b3SDavid Howells
64100a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
64200a58253SRalf Baechle	bool
64300a58253SRalf Baechle	default y if !MIPS_MT_SMTC
64400a58253SRalf Baechle
6453c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6463c9ee7efSAkinobu Mita	bool
6473c9ee7efSAkinobu Mita	default y
6483c9ee7efSAkinobu Mita
6493c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6503c9ee7efSAkinobu Mita	bool
6513c9ee7efSAkinobu Mita	default y
6523c9ee7efSAkinobu Mita
6531da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
6541da177e4SLinus Torvalds	bool
6551da177e4SLinus Torvalds	default y
6561da177e4SLinus Torvalds
6577bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
6587bcf7717SRalf Baechle	bool
6597bcf7717SRalf Baechle	default y
6607bcf7717SRalf Baechle
6618db02010SRalf Baechleconfig GENERIC_TIME
6628db02010SRalf Baechle	bool
6638db02010SRalf Baechle	default y
6648db02010SRalf Baechle
665f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
666f5ff0a28SRalf Baechle	bool
667f5ff0a28SRalf Baechle	default y
668f5ff0a28SRalf Baechle
6691cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
6701cc89038SAtsushi Nemoto	bool
6711cc89038SAtsushi Nemoto	default y
6721cc89038SAtsushi Nemoto
673e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
674e77c232cSFranck Bui-Huu	bool
675e77c232cSFranck Bui-Huu	default n
676e77c232cSFranck Bui-Huu
6771da177e4SLinus Torvalds#
6781da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
6791da177e4SLinus Torvalds#
6801da177e4SLinus Torvaldsconfig ARC
6811da177e4SLinus Torvalds	bool
6821da177e4SLinus Torvalds
68361ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
68461ed242dSRalf Baechle	bool
68561ed242dSRalf Baechle
6869267a30dSMarc St-Jeanconfig BOOT_RAW
6879267a30dSMarc St-Jean	bool
6889267a30dSMarc St-Jean
689217dd11eSRalf Baechleconfig CEVT_BCM1480
690217dd11eSRalf Baechle	bool
691217dd11eSRalf Baechle
6926457d9fcSYoichi Yuasaconfig CEVT_DS1287
6936457d9fcSYoichi Yuasa	bool
6946457d9fcSYoichi Yuasa
6951097c6acSYoichi Yuasaconfig CEVT_GT641XX
6961097c6acSYoichi Yuasa	bool
6971097c6acSYoichi Yuasa
69842f77542SRalf Baechleconfig CEVT_R4K
69942f77542SRalf Baechle	bool
70042f77542SRalf Baechle
701217dd11eSRalf Baechleconfig CEVT_SB1250
702217dd11eSRalf Baechle	bool
703217dd11eSRalf Baechle
704229f773eSAtsushi Nemotoconfig CEVT_TXX9
705229f773eSAtsushi Nemoto	bool
706229f773eSAtsushi Nemoto
707217dd11eSRalf Baechleconfig CSRC_BCM1480
708217dd11eSRalf Baechle	bool
709217dd11eSRalf Baechle
7104247417dSYoichi Yuasaconfig CSRC_IOASIC
7114247417dSYoichi Yuasa	bool
7124247417dSYoichi Yuasa
713940f6b48SRalf Baechleconfig CSRC_R4K
714940f6b48SRalf Baechle	bool
715940f6b48SRalf Baechle
716217dd11eSRalf Baechleconfig CSRC_SB1250
717217dd11eSRalf Baechle	bool
718217dd11eSRalf Baechle
719a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
720a9aec7feSAtsushi Nemoto	select GENERIC_GPIO
7217444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
722a9aec7feSAtsushi Nemoto	bool
723a9aec7feSAtsushi Nemoto
724df78b5c8SAurelien Jarnoconfig CFE
725df78b5c8SAurelien Jarno	bool
726df78b5c8SAurelien Jarno
7271da177e4SLinus Torvaldsconfig DMA_COHERENT
7281da177e4SLinus Torvalds	bool
7291da177e4SLinus Torvalds
7301da177e4SLinus Torvaldsconfig DMA_IP27
7311da177e4SLinus Torvalds	bool
7321da177e4SLinus Torvalds
7331da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7341da177e4SLinus Torvalds	bool
7354ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7364ce588cdSRalf Baechle
7374ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7384ce588cdSRalf Baechle	bool
7391da177e4SLinus Torvalds
7401da177e4SLinus Torvaldsconfig EARLY_PRINTK
74136a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
74236a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
74336a88530SRalf Baechle	default y
74436a88530SRalf Baechle	help
74536a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
74636a88530SRalf Baechle	  to print messages very early in the bootup process.
74736a88530SRalf Baechle
74836a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
749490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
750490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
751490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
75236a88530SRalf Baechle	  unless you want to debug such a crash.
75336a88530SRalf Baechle
75436a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7551da177e4SLinus Torvalds	bool
7561da177e4SLinus Torvalds
757dbb74540SRalf Baechleconfig HOTPLUG_CPU
758dbb74540SRalf Baechle	bool
759dbb74540SRalf Baechle	default n
760dbb74540SRalf Baechle
7611da177e4SLinus Torvaldsconfig I8259
7621da177e4SLinus Torvalds	bool
7631da177e4SLinus Torvalds
7641da177e4SLinus Torvaldsconfig MIPS_BONITO64
7651da177e4SLinus Torvalds	bool
7661da177e4SLinus Torvalds
7671da177e4SLinus Torvaldsconfig MIPS_MSC
7681da177e4SLinus Torvalds	bool
7691da177e4SLinus Torvalds
7701f21d2bdSBrian Murphyconfig MIPS_NILE4
7711f21d2bdSBrian Murphy	bool
7721f21d2bdSBrian Murphy
7731da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7741da177e4SLinus Torvalds	bool
7751da177e4SLinus Torvalds
77639b8d525SRalf Baechleconfig SYNC_R4K
77739b8d525SRalf Baechle	bool
77839b8d525SRalf Baechle
779d388d685SMaciej W. Rozyckiconfig NO_IOPORT
780d388d685SMaciej W. Rozycki	def_bool n
781d388d685SMaciej W. Rozycki
7828313da30SRalf Baechleconfig GENERIC_ISA_DMA
7838313da30SRalf Baechle	bool
7848313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
7858313da30SRalf Baechle
786aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
787aa414dffSRalf Baechle	bool
7888313da30SRalf Baechle	select GENERIC_ISA_DMA
789aa414dffSRalf Baechle
79009663335SYoichi Yuasaconfig GENERIC_GPIO
79109663335SYoichi Yuasa	bool
79209663335SYoichi Yuasa
7935e83d430SRalf Baechle#
7943cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
7955e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
7965e83d430SRalf Baechle# choice statement should be more obvious to the user.
7975e83d430SRalf Baechle#
7985e83d430SRalf Baechlechoice
7995e83d430SRalf Baechle	prompt "Endianess selection"
8001da177e4SLinus Torvalds	help
8011da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
8025e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
8033cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
8045e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
8053dde6ad8SDavid Sterba	  one or the other endianness.
8065e83d430SRalf Baechle
8075e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
8085e83d430SRalf Baechle	bool "Big endian"
8095e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
8105e83d430SRalf Baechle
8115e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8125e83d430SRalf Baechle	bool "Little endian"
8135e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8145e83d430SRalf Baechle	help
8155e83d430SRalf Baechle
8165e83d430SRalf Baechleendchoice
8175e83d430SRalf Baechle
8182116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8192116245eSRalf Baechle	bool
8202116245eSRalf Baechle
8215e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8225e83d430SRalf Baechle	bool
8235e83d430SRalf Baechle
8245e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8255e83d430SRalf Baechle	bool
8261da177e4SLinus Torvalds
8271da177e4SLinus Torvaldsconfig IRQ_CPU
8281da177e4SLinus Torvalds	bool
8291da177e4SLinus Torvalds
8301da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8311da177e4SLinus Torvalds	bool
8321da177e4SLinus Torvalds
8335e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8345e83d430SRalf Baechle	bool
8355e83d430SRalf Baechle
8369267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8379267a30dSMarc St-Jean	bool
8389267a30dSMarc St-Jean
8399267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
8409267a30dSMarc St-Jean	bool
8419267a30dSMarc St-Jean
8428420fd00SAtsushi Nemotoconfig IRQ_TXX9
8438420fd00SAtsushi Nemoto	bool
8448420fd00SAtsushi Nemoto
845d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
846d5ab1a69SYoichi Yuasa	bool
847d5ab1a69SYoichi Yuasa
84839b8d525SRalf Baechleconfig IRQ_GIC
84939b8d525SRalf Baechle	bool
85039b8d525SRalf Baechle
8511da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8521da177e4SLinus Torvalds	bool
8531da177e4SLinus Torvalds
854252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8551da177e4SLinus Torvalds	bool
8561da177e4SLinus Torvalds
8579267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
8589267a30dSMarc St-Jean	bool
8599267a30dSMarc St-Jean
860663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
861663c3d90Sthomas@koeller.dyndns.org	bool
862663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
863663c3d90Sthomas@koeller.dyndns.org
864edb6310aSDaniel Lairdconfig SOC_PNX833X
865edb6310aSDaniel Laird	bool
866edb6310aSDaniel Laird	select CEVT_R4K
867edb6310aSDaniel Laird	select CSRC_R4K
868edb6310aSDaniel Laird	select IRQ_CPU
869edb6310aSDaniel Laird	select DMA_NONCOHERENT
870edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
871edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
872edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
873edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
874edb6310aSDaniel Laird	select GENERIC_HARDIRQS_NO__DO_IRQ
875edb6310aSDaniel Laird	select GENERIC_GPIO
876edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
877edb6310aSDaniel Laird
878edb6310aSDaniel Lairdconfig SOC_PNX8335
879edb6310aSDaniel Laird	bool
880edb6310aSDaniel Laird	select SOC_PNX833X
881edb6310aSDaniel Laird
882bdf21b18SPete Popovconfig PNX8550
883bdf21b18SPete Popov	bool
884bdf21b18SPete Popov	select SOC_PNX8550
885bdf21b18SPete Popov
886bdf21b18SPete Popovconfig SOC_PNX8550
887bdf21b18SPete Popov	bool
888bdf21b18SPete Popov	select DMA_NONCOHERENT
889bdf21b18SPete Popov	select HW_HAS_PCI
890b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
89136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8927cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
893e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
8944ead1681SFlorian Fainelli	select GENERIC_GPIO
895bdf21b18SPete Popov
8961da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8971da177e4SLinus Torvalds	bool
8981da177e4SLinus Torvalds
899355c471fSdmitry pervushinconfig EMMA2RH
900355c471fSdmitry pervushin	bool
901355c471fSdmitry pervushin	depends on MARKEINS
902355c471fSdmitry pervushin	default y
903355c471fSdmitry pervushin
904663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
905663c3d90Sthomas@koeller.dyndns.org	bool
906663c3d90Sthomas@koeller.dyndns.org
907e2defae5SThomas Bogendoerferconfig SGI_HAS_DS1286
908e2defae5SThomas Bogendoerfer	bool
909e2defae5SThomas Bogendoerfer
910e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
911e2defae5SThomas Bogendoerfer	bool
912e2defae5SThomas Bogendoerfer
9135b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
9145b438c44SThomas Bogendoerfer	bool
9155b438c44SThomas Bogendoerfer
916e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
917e2defae5SThomas Bogendoerfer	bool
918e2defae5SThomas Bogendoerfer
919e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
920e2defae5SThomas Bogendoerfer	bool
921e2defae5SThomas Bogendoerfer
922e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
923e2defae5SThomas Bogendoerfer	bool
924e2defae5SThomas Bogendoerfer
925e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
926e2defae5SThomas Bogendoerfer	bool
927e2defae5SThomas Bogendoerfer
928e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
929e2defae5SThomas Bogendoerfer	bool
930e2defae5SThomas Bogendoerfer
9315e83d430SRalf Baechleconfig ARC32
9325e83d430SRalf Baechle	bool
9335e83d430SRalf Baechle
934231a35d3SThomas Bogendoerferconfig SNIPROM
935231a35d3SThomas Bogendoerfer	bool
936231a35d3SThomas Bogendoerfer
9371da177e4SLinus Torvaldsconfig BOOT_ELF32
9381da177e4SLinus Torvalds	bool
9391da177e4SLinus Torvalds
9401da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
9411da177e4SLinus Torvalds	int
94273b4390fSRalf Baechle	default "4" if MACH_DECSTATION || MIKROTIK_RB532
9437e3297dcSThomas Bogendoerfer	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM
9449267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
9451da177e4SLinus Torvalds	default "5"
9461da177e4SLinus Torvalds
9471da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
9481da177e4SLinus Torvalds	bool
9491da177e4SLinus Torvalds
9501da177e4SLinus Torvaldsconfig ARC_CONSOLE
9511da177e4SLinus Torvalds	bool "ARC console support"
952e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
9531da177e4SLinus Torvalds
9541da177e4SLinus Torvaldsconfig ARC_MEMORY
9551da177e4SLinus Torvalds	bool
95614b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9571da177e4SLinus Torvalds	default y
9581da177e4SLinus Torvalds
9591da177e4SLinus Torvaldsconfig ARC_PROMLIB
9601da177e4SLinus Torvalds	bool
961e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
9621da177e4SLinus Torvalds	default y
9631da177e4SLinus Torvalds
9641da177e4SLinus Torvaldsconfig ARC64
9651da177e4SLinus Torvalds	bool
9661da177e4SLinus Torvalds
9671da177e4SLinus Torvaldsconfig BOOT_ELF64
9681da177e4SLinus Torvalds	bool
9691da177e4SLinus Torvalds
9701da177e4SLinus Torvaldsmenu "CPU selection"
9711da177e4SLinus Torvalds
9721da177e4SLinus Torvaldschoice
9731da177e4SLinus Torvalds	prompt "CPU type"
9741da177e4SLinus Torvalds	default CPU_R4X00
9751da177e4SLinus Torvalds
9762a21c730SFuxin Zhangconfig CPU_LOONGSON2
9772a21c730SFuxin Zhang	bool "Loongson 2"
9782a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
9792a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
9802a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
9812a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
9822a21c730SFuxin Zhang	help
9832a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
9842a21c730SFuxin Zhang	  with many extensions.
9852a21c730SFuxin Zhang
9866e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9876e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9887cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
989f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9906e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
991797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
992ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9936e760c8dSRalf Baechle	help
9945e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9951e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9961e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9971e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9981e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9991e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
10001e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
10011e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
10021e5f1caaSRalf Baechle	  performance.
10031e5f1caaSRalf Baechle
10041e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
10051e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
10067cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
1007f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10081e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1009797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1010ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10111e5f1caaSRalf Baechle	help
10125e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10136e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10146e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10156e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10166e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10171da177e4SLinus Torvalds
10186e760c8dSRalf Baechleconfig CPU_MIPS64_R1
10196e760c8dSRalf Baechle	bool "MIPS64 Release 1"
10207cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1021f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1022797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1023ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1024ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1025ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10266e760c8dSRalf Baechle	help
10276e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10286e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10296e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10306e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10316e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10321e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
10331e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
10341e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
10351e5f1caaSRalf Baechle	  performance.
10361e5f1caaSRalf Baechle
10371e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
10381e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
10397cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1040f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1041797798c1SRalf Baechle	select CPU_HAS_PREFETCH
10421e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10431e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1044ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10451e5f1caaSRalf Baechle	help
10461e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10471e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10481e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10491e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10501e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10511da177e4SLinus Torvalds
10521da177e4SLinus Torvaldsconfig CPU_R3000
10531da177e4SLinus Torvalds	bool "R3000"
10547cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1055f7062ddbSRalf Baechle	select CPU_HAS_WB
1056ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1057797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10581da177e4SLinus Torvalds	help
10591da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
10601da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
10611da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
10621da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
10631da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
10641da177e4SLinus Torvalds	  try to recompile with R3000.
10651da177e4SLinus Torvalds
10661da177e4SLinus Torvaldsconfig CPU_TX39XX
10671da177e4SLinus Torvalds	bool "R39XX"
10687cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1069ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10701da177e4SLinus Torvalds
10711da177e4SLinus Torvaldsconfig CPU_VR41XX
10721da177e4SLinus Torvalds	bool "R41xx"
10737cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1074ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1075ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10761da177e4SLinus Torvalds	help
10775e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
10781da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
10791da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10801da177e4SLinus Torvalds	  processor or vice versa.
10811da177e4SLinus Torvalds
10821da177e4SLinus Torvaldsconfig CPU_R4300
10831da177e4SLinus Torvalds	bool "R4300"
10847cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1085f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1086ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1087ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10881da177e4SLinus Torvalds	help
10891da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10901da177e4SLinus Torvalds
10911da177e4SLinus Torvaldsconfig CPU_R4X00
10921da177e4SLinus Torvalds	bool "R4x00"
10937cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1094f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1095ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1096ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10971da177e4SLinus Torvalds	help
10981da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10991da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
11001da177e4SLinus Torvalds
11011da177e4SLinus Torvaldsconfig CPU_TX49XX
11021da177e4SLinus Torvalds	bool "R49XX"
11037cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1104f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1105de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1106ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1107ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11081da177e4SLinus Torvalds
11091da177e4SLinus Torvaldsconfig CPU_R5000
11101da177e4SLinus Torvalds	bool "R5000"
11117cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1112f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1113ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1114ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11151da177e4SLinus Torvalds	help
11161da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
11171da177e4SLinus Torvalds
11181da177e4SLinus Torvaldsconfig CPU_R5432
11191da177e4SLinus Torvalds	bool "R5432"
11207cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1121f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11225e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11235e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
11241da177e4SLinus Torvalds
1125*542c1020SShinya Kuribayashiconfig CPU_R5500
1126*542c1020SShinya Kuribayashi	bool "R5500"
1127*542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1128*542c1020SShinya Kuribayashi	select CPU_HAS_LLSC
1129*542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1130*542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
1131*542c1020SShinya Kuribayashi	help
1132*542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1133*542c1020SShinya Kuribayashi	  instruction set.
1134*542c1020SShinya Kuribayashi
11351da177e4SLinus Torvaldsconfig CPU_R6000
11361da177e4SLinus Torvalds	bool "R6000"
1137ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1138f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11397cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1140ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11411da177e4SLinus Torvalds	help
11421da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1143c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
11441da177e4SLinus Torvalds
11451da177e4SLinus Torvaldsconfig CPU_NEVADA
11461da177e4SLinus Torvalds	bool "RM52xx"
11477cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1148f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1149ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1150ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11511da177e4SLinus Torvalds	help
11521da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
11531da177e4SLinus Torvalds
11541da177e4SLinus Torvaldsconfig CPU_R8000
11551da177e4SLinus Torvalds	bool "R8000"
1156ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
11577cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1158f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11595e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1160ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11611da177e4SLinus Torvalds	help
11621da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
11631da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
11641da177e4SLinus Torvalds
11651da177e4SLinus Torvaldsconfig CPU_R10000
11661da177e4SLinus Torvalds	bool "R10000"
11677cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1168f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11695e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1170ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1171ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1172797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11731da177e4SLinus Torvalds	help
11741da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
11751da177e4SLinus Torvalds
11761da177e4SLinus Torvaldsconfig CPU_RM7000
11771da177e4SLinus Torvalds	bool "RM7000"
11787cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1179f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11805e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1181ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1182ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1183797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11841da177e4SLinus Torvalds
11851da177e4SLinus Torvaldsconfig CPU_RM9000
11861da177e4SLinus Torvalds	bool "RM9000"
11877cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1188f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11895e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1190ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1191ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1192797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11930004a9dfSRalf Baechle	select WEAK_ORDERING
11941da177e4SLinus Torvalds
11951da177e4SLinus Torvaldsconfig CPU_SB1
11961da177e4SLinus Torvalds	bool "SB1"
11977cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1198f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1199ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1200ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1201797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12020004a9dfSRalf Baechle	select WEAK_ORDERING
12031da177e4SLinus Torvalds
12041da177e4SLinus Torvaldsendchoice
12051da177e4SLinus Torvalds
12062a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
12072a21c730SFuxin Zhang	bool
12082a21c730SFuxin Zhang
12097cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
12107cf8053bSRalf Baechle	bool
12117cf8053bSRalf Baechle
12127cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
12137cf8053bSRalf Baechle	bool
12147cf8053bSRalf Baechle
12157cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
12167cf8053bSRalf Baechle	bool
12177cf8053bSRalf Baechle
12187cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
12197cf8053bSRalf Baechle	bool
12207cf8053bSRalf Baechle
12217cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
12227cf8053bSRalf Baechle	bool
12237cf8053bSRalf Baechle
12247cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
12257cf8053bSRalf Baechle	bool
12267cf8053bSRalf Baechle
12277cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
12287cf8053bSRalf Baechle	bool
12297cf8053bSRalf Baechle
12307cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
12317cf8053bSRalf Baechle	bool
12327cf8053bSRalf Baechle
12337cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
12347cf8053bSRalf Baechle	bool
12357cf8053bSRalf Baechle
12367cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
12377cf8053bSRalf Baechle	bool
12387cf8053bSRalf Baechle
12397cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
12407cf8053bSRalf Baechle	bool
12417cf8053bSRalf Baechle
12427cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
12437cf8053bSRalf Baechle	bool
12447cf8053bSRalf Baechle
1245*542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1246*542c1020SShinya Kuribayashi	bool
1247*542c1020SShinya Kuribayashi
12487cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
12497cf8053bSRalf Baechle	bool
12507cf8053bSRalf Baechle
12517cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
12527cf8053bSRalf Baechle	bool
12537cf8053bSRalf Baechle
12547cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
12557cf8053bSRalf Baechle	bool
12567cf8053bSRalf Baechle
12577cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
12587cf8053bSRalf Baechle	bool
12597cf8053bSRalf Baechle
12607cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
12617cf8053bSRalf Baechle	bool
12627cf8053bSRalf Baechle
12637cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
12647cf8053bSRalf Baechle	bool
12657cf8053bSRalf Baechle
12667cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
12677cf8053bSRalf Baechle	bool
12687cf8053bSRalf Baechle
126917099b11SRalf Baechle#
127017099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
127117099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
127217099b11SRalf Baechle#
12730004a9dfSRalf Baechleconfig WEAK_ORDERING
12740004a9dfSRalf Baechle	bool
127517099b11SRalf Baechle
127617099b11SRalf Baechle#
127717099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
127817099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
127917099b11SRalf Baechle#
128017099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
128117099b11SRalf Baechle	bool
12825e83d430SRalf Baechleendmenu
12835e83d430SRalf Baechle
12845e83d430SRalf Baechle#
12855e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
12865e83d430SRalf Baechle#
12875e83d430SRalf Baechleconfig CPU_MIPS32
12885e83d430SRalf Baechle	bool
12895e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
12905e83d430SRalf Baechle
12915e83d430SRalf Baechleconfig CPU_MIPS64
12925e83d430SRalf Baechle	bool
12935e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
12945e83d430SRalf Baechle
12955e83d430SRalf Baechle#
1296c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
12975e83d430SRalf Baechle#
12985e83d430SRalf Baechleconfig CPU_MIPSR1
12995e83d430SRalf Baechle	bool
13005e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
13015e83d430SRalf Baechle
13025e83d430SRalf Baechleconfig CPU_MIPSR2
13035e83d430SRalf Baechle	bool
13045e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
13055e83d430SRalf Baechle
13065e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
13075e83d430SRalf Baechle	bool
13085e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
13095e83d430SRalf Baechle	bool
13105e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
13115e83d430SRalf Baechle	bool
13125e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
13135e83d430SRalf Baechle	bool
13145e83d430SRalf Baechle
13158192c9eaSDavid Daney#
13168192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
13178192c9eaSDavid Daney#
13188192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
13198192c9eaSDavid Daney       bool
13208192c9eaSDavid Daney       default y if CPU_MIPS32 || CPU_MIPS64
13218192c9eaSDavid Daney
13225e83d430SRalf Baechlemenu "Kernel type"
13235e83d430SRalf Baechle
13245e83d430SRalf Baechlechoice
13255e83d430SRalf Baechle
13265e83d430SRalf Baechle	prompt "Kernel code model"
13275e83d430SRalf Baechle	help
13285e83d430SRalf Baechle	  You should only select this option if you have a workload that
13295e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
13305e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
13315e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
13325e83d430SRalf Baechle
13335e83d430SRalf Baechleconfig 32BIT
13345e83d430SRalf Baechle	bool "32-bit kernel"
13355e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
13365e83d430SRalf Baechle	select TRAD_SIGNALS
13375e83d430SRalf Baechle	help
13385e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
13395e83d430SRalf Baechleconfig 64BIT
13405e83d430SRalf Baechle	bool "64-bit kernel"
13415e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
13425e83d430SRalf Baechle	help
13435e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
13445e83d430SRalf Baechle
13455e83d430SRalf Baechleendchoice
13465e83d430SRalf Baechle
13471da177e4SLinus Torvaldschoice
13481da177e4SLinus Torvalds	prompt "Kernel page size"
13491da177e4SLinus Torvalds	default PAGE_SIZE_4KB
13501da177e4SLinus Torvalds
13511da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
13521da177e4SLinus Torvalds	bool "4kB"
13531da177e4SLinus Torvalds	help
13541da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
13551da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
13561da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
13571da177e4SLinus Torvalds	 recommended for low memory systems.
13581da177e4SLinus Torvalds
13591da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
13601da177e4SLinus Torvalds	bool "8kB"
13611da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
13621da177e4SLinus Torvalds	help
13631da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
13641da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
13651da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
13661da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
13671da177e4SLinus Torvalds	  compatibility of user applications.
13681da177e4SLinus Torvalds
13691da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
13701da177e4SLinus Torvalds	bool "16kB"
1371714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
13721da177e4SLinus Torvalds	help
13731da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
13741da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1375714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1376714bfad6SRalf Baechle	  Linux distribution to support this.
13771da177e4SLinus Torvalds
13781da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
13791da177e4SLinus Torvalds	bool "64kB"
13801da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
13811da177e4SLinus Torvalds	help
13821da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
13831da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
13841da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1385714bfad6SRalf Baechle	  writing this option is still high experimental.
13861da177e4SLinus Torvalds
13871da177e4SLinus Torvaldsendchoice
13881da177e4SLinus Torvalds
13891da177e4SLinus Torvaldsconfig BOARD_SCACHE
13901da177e4SLinus Torvalds	bool
13911da177e4SLinus Torvalds
13921da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
13931da177e4SLinus Torvalds	bool
13941da177e4SLinus Torvalds	select BOARD_SCACHE
13951da177e4SLinus Torvalds
13969318c51aSChris Dearman#
13979318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
13989318c51aSChris Dearman#
13999318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
14009318c51aSChris Dearman	bool
14019318c51aSChris Dearman	select BOARD_SCACHE
14029318c51aSChris Dearman
14031da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
14041da177e4SLinus Torvalds	bool
14051da177e4SLinus Torvalds	select BOARD_SCACHE
14061da177e4SLinus Torvalds
14071da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
14081da177e4SLinus Torvalds	bool
14091da177e4SLinus Torvalds	select BOARD_SCACHE
14101da177e4SLinus Torvalds
14111da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
14121da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
14131da177e4SLinus Torvalds	depends on CPU_SB1
14141da177e4SLinus Torvalds	help
14151da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
14161da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
14171da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
14181da177e4SLinus Torvalds
14191da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1420c8094b53SRalf Baechle	bool
14211da177e4SLinus Torvalds
1422340ee4b9SRalf Baechlechoice
1423340ee4b9SRalf Baechle	prompt "MIPS MT options"
1424f41ae0b2SRalf Baechle
1425f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1426f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1427f41ae0b2SRalf Baechle	help
1428f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1429f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1430f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1431f41ae0b2SRalf Baechle	  option in this menu.
1432340ee4b9SRalf Baechle
143359d6ab86SRalf Baechleconfig MIPS_MT_SMP
143459d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
143559d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
143659d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1437d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
143859d6ab86SRalf Baechle	select MIPS_MT
1439f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
144059d6ab86SRalf Baechle	select SMP
14410ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
144259d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
144387353d8aSRalf Baechle	select SMP_UP
144459d6ab86SRalf Baechle	help
144559d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
144659d6ab86SRalf Baechle	  has been marketesed into SMVP.
144759d6ab86SRalf Baechle
144841c594abSRalf Baechleconfig MIPS_MT_SMTC
144941c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1450f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1451f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1452f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1453f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1454d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1455f41ae0b2SRalf Baechle	select MIPS_MT
1456130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
145741c594abSRalf Baechle	select SMP
145873b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
145987353d8aSRalf Baechle	select SMP_UP
1460f41ae0b2SRalf Baechle	help
1461f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1462f41ae0b2SRalf Baechle	  marketesed into SMVP.
146341c594abSRalf Baechle
1464340ee4b9SRalf Baechleendchoice
1465340ee4b9SRalf Baechle
1466f41ae0b2SRalf Baechleconfig MIPS_MT
1467f41ae0b2SRalf Baechle	bool
1468f41ae0b2SRalf Baechle
14690ab7aefcSRalf Baechleconfig SCHED_SMT
14700ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
14710ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
14720ab7aefcSRalf Baechle	default n
14730ab7aefcSRalf Baechle	help
14740ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
14750ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
14760ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
14770ab7aefcSRalf Baechle
14780ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
14790ab7aefcSRalf Baechle	bool
14800ab7aefcSRalf Baechle
14810ab7aefcSRalf Baechle
1482f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1483f41ae0b2SRalf Baechle	bool
1484f41ae0b2SRalf Baechle
1485f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1486f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1487f088fc84SRalf Baechle	default y
148807cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
148907cc0c9eSRalf Baechle
149007cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
149107cc0c9eSRalf Baechle	bool "VPE loader support."
149207cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
149307cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
149407cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
149507cc0c9eSRalf Baechle	select MIPS_MT
149607cc0c9eSRalf Baechle	help
149707cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
149807cc0c9eSRalf Baechle	  onto another VPE and running it.
1499f088fc84SRalf Baechle
15000db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
15010db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
15020db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
15038531a35eSKevin D. Kissell	default n
15040db34215SKevin D. Kissell	help
15050db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
15060db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
15070db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
15080db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
15090db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
15108531a35eSKevin D. Kissell	  impact on interrupt service overhead.
15110db34215SKevin D. Kissell
1512f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1513f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1514f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1515f571eff0SKevin D. Kissell	default n
1516f571eff0SKevin D. Kissell	help
1517f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1518f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1519f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
15208531a35eSKevin D. Kissell	  platform code.  Adds some overhead to interrupt dispatch, and
15218531a35eSKevin D. Kissell	  should be used only if you know what you are doing.
1522f571eff0SKevin D. Kissell
1523e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1524e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1525e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1526e01402b1SRalf Baechle	default y
1527e01402b1SRalf Baechle	help
1528e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1529e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1530e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1531e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1532e01402b1SRalf Baechle
1533e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1534e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1535e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1536e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
15375e83d430SRalf Baechle	help
1538e01402b1SRalf Baechle
15392600990eSRalf Baechleconfig MIPS_APSP_KSPD
15402600990eSRalf Baechle	bool "Enable KSPD"
15412600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
15422600990eSRalf Baechle	default y
15432600990eSRalf Baechle	help
15442600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
15452600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
15462600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
15472600990eSRalf Baechle	  exiting.  You probably want to say yes here.
15482600990eSRalf Baechle
15494a16ff4cSRalf Baechleconfig MIPS_CMP
15504a16ff4cSRalf Baechle	bool "MIPS CMP framework support"
15514a16ff4cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
15524a16ff4cSRalf Baechle	select SYNC_R4K if BROKEN
15534a16ff4cSRalf Baechle	select SYS_SUPPORTS_SMP
15544a16ff4cSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
15554a16ff4cSRalf Baechle	select WEAK_ORDERING
15564a16ff4cSRalf Baechle	default n
15574a16ff4cSRalf Baechle	help
15584a16ff4cSRalf Baechle	  This is a placeholder option for the GCMP work. It will need to
15594a16ff4cSRalf Baechle	  be handled differently...
15604a16ff4cSRalf Baechle
15611da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
15621da177e4SLinus Torvalds	bool
15631da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
15641da177e4SLinus Torvalds	default y
15651da177e4SLinus Torvalds
15661da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
15671da177e4SLinus Torvalds	bool
15681da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
15691da177e4SLinus Torvalds	default y
15701da177e4SLinus Torvalds
15711da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
15721da177e4SLinus Torvalds	bool
15731da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
15741da177e4SLinus Torvalds	default y
15751da177e4SLinus Torvalds
15761da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1577d806cb2bSRalf Baechle	bool
15781da177e4SLinus Torvalds
15791da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1580f7062ddbSRalf Baechle	bool
15811da177e4SLinus Torvalds
15829693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
15839693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
15849693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
15859693a853SFranck Bui-Huu	help
15869693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
15879693a853SFranck Bui-Huu	  increased security at both hardware and software level for
15889693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
15899693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
15909693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
15919693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
15929693a853SFranck Bui-Huu	  here.
15939693a853SFranck Bui-Huu
15941da177e4SLinus Torvaldsconfig CPU_HAS_WB
1595f7062ddbSRalf Baechle	bool
1596e01402b1SRalf Baechle
1597f41ae0b2SRalf Baechle#
1598f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1599f41ae0b2SRalf Baechle#
1600e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1601f41ae0b2SRalf Baechle	bool
1602e01402b1SRalf Baechle
1603f41ae0b2SRalf Baechle#
1604f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1605f41ae0b2SRalf Baechle#
1606e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1607f41ae0b2SRalf Baechle	bool
1608e01402b1SRalf Baechle
16091da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
16101da177e4SLinus Torvalds	bool
16111da177e4SLinus Torvalds	depends on !CPU_R3000
16121da177e4SLinus Torvalds	default y
16131da177e4SLinus Torvalds
1614ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1615ea580401SRalf Baechle	bool
1616ea580401SRalf Baechle
16171da177e4SLinus Torvalds#
161820d60d99SMaciej W. Rozycki# CPU non-features
161920d60d99SMaciej W. Rozycki#
162020d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
162120d60d99SMaciej W. Rozycki	bool
162220d60d99SMaciej W. Rozycki
162320d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
162420d60d99SMaciej W. Rozycki	bool
162520d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
162620d60d99SMaciej W. Rozycki
162720d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
162820d60d99SMaciej W. Rozycki	bool
162920d60d99SMaciej W. Rozycki
163020d60d99SMaciej W. Rozycki#
1631797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1632797798c1SRalf Baechle#
1633797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1634797798c1SRalf Baechle	bool
1635797798c1SRalf Baechle	default y
1636797798c1SRalf Baechle
1637797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1638797798c1SRalf Baechle	bool
1639797798c1SRalf Baechle	default y
1640797798c1SRalf Baechle
16410d7012a9SIngo Molnarconfig IRQ_PER_CPU
16420d7012a9SIngo Molnar	bool
16430d7012a9SIngo Molnar
1644797798c1SRalf Baechle#
16451da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
16461da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
16471da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
16481da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
16491da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
16501da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
16511da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
16521da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1653797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1654797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1655797798c1SRalf Baechle#   support.
16561da177e4SLinus Torvalds#
16571da177e4SLinus Torvaldsconfig HIGHMEM
16581da177e4SLinus Torvalds	bool "High Memory Support"
1659797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1660797798c1SRalf Baechle
1661797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1662797798c1SRalf Baechle	bool
1663797798c1SRalf Baechle
1664797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1665797798c1SRalf Baechle	bool
16661da177e4SLinus Torvalds
16679693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
16689693a853SFranck Bui-Huu	bool
16699693a853SFranck Bui-Huu
1670b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1671b4819b59SYoichi Yuasa	def_bool y
1672b4819b59SYoichi Yuasa	depends on !NUMA
1673b4819b59SYoichi Yuasa
1674d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1675d8cb4e11SRalf Baechle	bool
1676d8cb4e11SRalf Baechle	default y if SGI_IP27
1677d8cb4e11SRalf Baechle	help
16783dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1679d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1680d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1681d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1682d8cb4e11SRalf Baechle
1683cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1684cce335aeSRalf Baechle	def_bool y
1685cce335aeSRalf Baechle
1686b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1687b1c6cd42SAtsushi Nemoto	bool
16887de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
168931473747SAtsushi Nemoto
1690d8cb4e11SRalf Baechleconfig NUMA
1691d8cb4e11SRalf Baechle	bool "NUMA Support"
1692d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1693d8cb4e11SRalf Baechle	help
1694d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1695d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1696d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1697d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1698d8cb4e11SRalf Baechle	  disabled.
1699d8cb4e11SRalf Baechle
1700d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1701d8cb4e11SRalf Baechle	bool
1702d8cb4e11SRalf Baechle
1703c80d79d7SYasunori Gotoconfig NODES_SHIFT
1704c80d79d7SYasunori Goto	int
1705c80d79d7SYasunori Goto	default "6"
1706c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1707c80d79d7SYasunori Goto
1708b4819b59SYoichi Yuasasource "mm/Kconfig"
1709b4819b59SYoichi Yuasa
17101da177e4SLinus Torvaldsconfig SMP
17111da177e4SLinus Torvalds	bool "Multi-Processing support"
1712e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1713b4b30a5aSRalf Baechle	select IRQ_PER_CPU
17142f304c0aSJens Axboe	select USE_GENERIC_SMP_HELPERS
1715e73ea273SRalf Baechle	help
17161da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
17171da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
17181da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
17191da177e4SLinus Torvalds
17201da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
17211da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
17221da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
17231da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
17241da177e4SLinus Torvalds	  will run faster if you say N here.
17251da177e4SLinus Torvalds
17261da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
17271da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
17281da177e4SLinus Torvalds
172903502faaSAdrian Bunk	  See also the SMP-HOWTO available at
173003502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
17311da177e4SLinus Torvalds
17321da177e4SLinus Torvalds	  If you don't know what to do here, say N.
17331da177e4SLinus Torvalds
173487353d8aSRalf Baechleconfig SMP_UP
173587353d8aSRalf Baechle	bool
173687353d8aSRalf Baechle
17374a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
17384a16ff4cSRalf Baechle	bool
17394a16ff4cSRalf Baechle
1740e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1741e73ea273SRalf Baechle	bool
1742e73ea273SRalf Baechle
174372ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
174472ede9b1SAtsushi Nemoto	bool
174572ede9b1SAtsushi Nemoto
1746130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1747130e2fb7SRalf Baechle	bool
1748130e2fb7SRalf Baechle
1749130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1750130e2fb7SRalf Baechle	bool
1751130e2fb7SRalf Baechle
1752130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1753130e2fb7SRalf Baechle	bool
1754130e2fb7SRalf Baechle
1755130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1756130e2fb7SRalf Baechle	bool
1757130e2fb7SRalf Baechle
1758130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1759130e2fb7SRalf Baechle	bool
1760130e2fb7SRalf Baechle
1761130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1762130e2fb7SRalf Baechle	bool
1763130e2fb7SRalf Baechle
17641da177e4SLinus Torvaldsconfig NR_CPUS
17651da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
176672ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
17671da177e4SLinus Torvalds	depends on SMP
176872ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1769130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1770130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1771130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1772130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1773130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1774130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
17751da177e4SLinus Torvalds	help
17761da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
17771da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
17781da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
177972ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
178072ede9b1SAtsushi Nemoto	  and 2 for all others.
17811da177e4SLinus Torvalds
17821da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
178372ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
178472ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
178572ede9b1SAtsushi Nemoto	  power of two.
17861da177e4SLinus Torvalds
1787c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
1788c4eee283SAtsushi Nemoto
17891723b4a3SAtsushi Nemoto#
17901723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
17911723b4a3SAtsushi Nemoto#
17921723b4a3SAtsushi Nemoto
17931723b4a3SAtsushi Nemotochoice
17941723b4a3SAtsushi Nemoto	prompt "Timer frequency"
17951723b4a3SAtsushi Nemoto	default HZ_250
17961723b4a3SAtsushi Nemoto	help
17971723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
17981723b4a3SAtsushi Nemoto
17991723b4a3SAtsushi Nemoto	config HZ_48
18000f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
18011723b4a3SAtsushi Nemoto
18021723b4a3SAtsushi Nemoto	config HZ_100
18031723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
18041723b4a3SAtsushi Nemoto
18051723b4a3SAtsushi Nemoto	config HZ_128
18061723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
18071723b4a3SAtsushi Nemoto
18081723b4a3SAtsushi Nemoto	config HZ_250
18091723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
18101723b4a3SAtsushi Nemoto
18111723b4a3SAtsushi Nemoto	config HZ_256
18121723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
18131723b4a3SAtsushi Nemoto
18141723b4a3SAtsushi Nemoto	config HZ_1000
18151723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
18161723b4a3SAtsushi Nemoto
18171723b4a3SAtsushi Nemoto	config HZ_1024
18181723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
18191723b4a3SAtsushi Nemoto
18201723b4a3SAtsushi Nemotoendchoice
18211723b4a3SAtsushi Nemoto
18221723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
18231723b4a3SAtsushi Nemoto	bool
18241723b4a3SAtsushi Nemoto
18251723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
18261723b4a3SAtsushi Nemoto	bool
18271723b4a3SAtsushi Nemoto
18281723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
18291723b4a3SAtsushi Nemoto	bool
18301723b4a3SAtsushi Nemoto
18311723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
18321723b4a3SAtsushi Nemoto	bool
18331723b4a3SAtsushi Nemoto
18341723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
18351723b4a3SAtsushi Nemoto	bool
18361723b4a3SAtsushi Nemoto
18371723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
18381723b4a3SAtsushi Nemoto	bool
18391723b4a3SAtsushi Nemoto
18401723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
18411723b4a3SAtsushi Nemoto	bool
18421723b4a3SAtsushi Nemoto
18431723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
18441723b4a3SAtsushi Nemoto	bool
18451723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
18461723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
18471723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
18481723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
18491723b4a3SAtsushi Nemoto
18501723b4a3SAtsushi Nemotoconfig HZ
18511723b4a3SAtsushi Nemoto	int
18521723b4a3SAtsushi Nemoto	default 48 if HZ_48
18531723b4a3SAtsushi Nemoto	default 100 if HZ_100
18541723b4a3SAtsushi Nemoto	default 128 if HZ_128
18551723b4a3SAtsushi Nemoto	default 250 if HZ_250
18561723b4a3SAtsushi Nemoto	default 256 if HZ_256
18571723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
18581723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
18591723b4a3SAtsushi Nemoto
1860e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
18611da177e4SLinus Torvalds
18621da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
18631da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1864875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
18651da177e4SLinus Torvalds	help
18661da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
18671da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
18681da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
18691da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
18701da177e4SLinus Torvalds	  recommended for normal users.
18711da177e4SLinus Torvalds
1872ea6e942bSAtsushi Nemotoconfig KEXEC
1873ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1874ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1875ea6e942bSAtsushi Nemoto	help
1876ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1877ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
18783dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1879ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1880ea6e942bSAtsushi Nemoto
188101dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
1882ea6e942bSAtsushi Nemoto
1883ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1884ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1885ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1886ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1887ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1888ea6e942bSAtsushi Nemoto
1889ea6e942bSAtsushi Nemotoconfig SECCOMP
1890ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1891293c5bd1SRalf Baechle	depends on PROC_FS
1892ea6e942bSAtsushi Nemoto	default y
1893ea6e942bSAtsushi Nemoto	help
1894ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1895ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1896ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1897ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1898ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1899ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1900ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1901ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1902ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1903ea6e942bSAtsushi Nemoto
1904ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1905ea6e942bSAtsushi Nemoto
19065e83d430SRalf Baechleendmenu
19075e83d430SRalf Baechle
19081da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
19091da177e4SLinus Torvalds	bool
19101da177e4SLinus Torvalds	default y
19111da177e4SLinus Torvalds
19121df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
19131df0f0ffSAtsushi Nemoto	bool
19141df0f0ffSAtsushi Nemoto	default y
19151df0f0ffSAtsushi Nemoto
19161df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
19171df0f0ffSAtsushi Nemoto	bool
19181df0f0ffSAtsushi Nemoto	default y
19191df0f0ffSAtsushi Nemoto
1920b6c3539bSRalf Baechlesource "init/Kconfig"
1921b6c3539bSRalf Baechle
19220011036bSAtsushi Nemotoconfig PROBE_INITRD_HEADER
19230011036bSAtsushi Nemoto	bool "Probe initrd header created by addinitrd"
19240011036bSAtsushi Nemoto	depends on BLK_DEV_INITRD
19250011036bSAtsushi Nemoto	help
19260011036bSAtsushi Nemoto	  Probe initrd header at the last page of kernel image.
19270011036bSAtsushi Nemoto	  Say Y here if you are using arch/mips/boot/addinitrd.c to
19280011036bSAtsushi Nemoto	  add initrd or initramfs image to the kernel image.
19290011036bSAtsushi Nemoto	  Otherwise, say N.
19300011036bSAtsushi Nemoto
1931dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
1932dc52ddc0SMatt Helsley
19331da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
19341da177e4SLinus Torvalds
19355e83d430SRalf Baechleconfig HW_HAS_EISA
19365e83d430SRalf Baechle	bool
19371da177e4SLinus Torvaldsconfig HW_HAS_PCI
19381da177e4SLinus Torvalds	bool
19391da177e4SLinus Torvalds
19401da177e4SLinus Torvaldsconfig PCI
19411da177e4SLinus Torvalds	bool "Support for PCI controller"
19421da177e4SLinus Torvalds	depends on HW_HAS_PCI
1943abb4ae46SRalf Baechle	select PCI_DOMAINS
19441da177e4SLinus Torvalds	help
19451da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
19461da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
19471da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
19481da177e4SLinus Torvalds	  say Y, otherwise N.
19491da177e4SLinus Torvalds
19501da177e4SLinus Torvaldsconfig PCI_DOMAINS
19511da177e4SLinus Torvalds	bool
19521da177e4SLinus Torvalds
19531da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
19541da177e4SLinus Torvalds
19551da177e4SLinus Torvalds#
19561da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
19571da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
19581da177e4SLinus Torvalds# users to choose the right thing ...
19591da177e4SLinus Torvalds#
19601da177e4SLinus Torvaldsconfig ISA
19611da177e4SLinus Torvalds	bool
19621da177e4SLinus Torvalds
19631da177e4SLinus Torvaldsconfig EISA
19641da177e4SLinus Torvalds	bool "EISA support"
19655e83d430SRalf Baechle	depends on HW_HAS_EISA
19661da177e4SLinus Torvalds	select ISA
1967aa414dffSRalf Baechle	select GENERIC_ISA_DMA
19681da177e4SLinus Torvalds	---help---
19691da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
19701da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
19711da177e4SLinus Torvalds
19721da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
19731da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
19741da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
19751da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
19761da177e4SLinus Torvalds
19771da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
19781da177e4SLinus Torvalds
19791da177e4SLinus Torvalds	  Otherwise, say N.
19801da177e4SLinus Torvalds
19811da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
19821da177e4SLinus Torvalds
19831da177e4SLinus Torvaldsconfig TC
19841da177e4SLinus Torvalds	bool "TURBOchannel support"
19851da177e4SLinus Torvalds	depends on MACH_DECSTATION
19861da177e4SLinus Torvalds	help
19871da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
19881da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
19891da177e4SLinus Torvalds	  is available at:
19901da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
19911da177e4SLinus Torvalds
19921da177e4SLinus Torvalds#config ACCESSBUS
19931da177e4SLinus Torvalds#	bool "Access.Bus support"
19941da177e4SLinus Torvalds#	depends on TC
19951da177e4SLinus Torvalds
19961da177e4SLinus Torvaldsconfig MMU
19971da177e4SLinus Torvalds	bool
19981da177e4SLinus Torvalds	default y
19991da177e4SLinus Torvalds
2000d865bea4SRalf Baechleconfig I8253
2001d865bea4SRalf Baechle	bool
2002d865bea4SRalf Baechle
2003cce335aeSRalf Baechleconfig ZONE_DMA32
2004cce335aeSRalf Baechle	bool
2005cce335aeSRalf Baechle
20061da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
20071da177e4SLinus Torvalds
20081da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
20091da177e4SLinus Torvalds
20101da177e4SLinus Torvaldsendmenu
20111da177e4SLinus Torvalds
20121da177e4SLinus Torvaldsmenu "Executable file formats"
20131da177e4SLinus Torvalds
20141da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
20151da177e4SLinus Torvalds
20161da177e4SLinus Torvaldsconfig TRAD_SIGNALS
20171da177e4SLinus Torvalds	bool
20181da177e4SLinus Torvalds
20191da177e4SLinus Torvaldsconfig MIPS32_COMPAT
20201da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2021875d43e7SRalf Baechle	depends on 64BIT
20221da177e4SLinus Torvalds	help
20231da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
20241da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
20251da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
20261da177e4SLinus Torvalds
20271da177e4SLinus Torvaldsconfig COMPAT
20281da177e4SLinus Torvalds	bool
20291da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20301da177e4SLinus Torvalds	default y
20311da177e4SLinus Torvalds
203205e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
203305e43966SAtsushi Nemoto	bool
203405e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
203505e43966SAtsushi Nemoto	default y
203605e43966SAtsushi Nemoto
20371da177e4SLinus Torvaldsconfig MIPS32_O32
20381da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
20391da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20401da177e4SLinus Torvalds	help
20411da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
20421da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
20431da177e4SLinus Torvalds	  existing binaries are in this format.
20441da177e4SLinus Torvalds
20451da177e4SLinus Torvalds	  If unsure, say Y.
20461da177e4SLinus Torvalds
20471da177e4SLinus Torvaldsconfig MIPS32_N32
20481da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
20491da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20501da177e4SLinus Torvalds	help
20511da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
20521da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
20531da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
20541da177e4SLinus Torvalds	  cases.
20551da177e4SLinus Torvalds
20561da177e4SLinus Torvalds	  If unsure, say N.
20571da177e4SLinus Torvalds
20581da177e4SLinus Torvaldsconfig BINFMT_ELF32
20591da177e4SLinus Torvalds	bool
20601da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
20611da177e4SLinus Torvalds
20622116245eSRalf Baechleendmenu
20631da177e4SLinus Torvalds
20642116245eSRalf Baechlemenu "Power management options"
2065952fa954SRodolfo Giometti
2066f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2067f4cb5700SJohannes Berg	def_bool y
2068f4cb5700SJohannes Berg	depends on !SMP
2069f4cb5700SJohannes Berg
20702116245eSRalf Baechlesource "kernel/power/Kconfig"
2071952fa954SRodolfo Giometti
20721da177e4SLinus Torvaldsendmenu
20731da177e4SLinus Torvalds
2074d5950b43SSam Ravnborgsource "net/Kconfig"
2075d5950b43SSam Ravnborg
20761da177e4SLinus Torvaldssource "drivers/Kconfig"
20771da177e4SLinus Torvalds
20781da177e4SLinus Torvaldssource "fs/Kconfig"
20791da177e4SLinus Torvalds
20801da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
20811da177e4SLinus Torvalds
20821da177e4SLinus Torvaldssource "security/Kconfig"
20831da177e4SLinus Torvalds
20841da177e4SLinus Torvaldssource "crypto/Kconfig"
20851da177e4SLinus Torvalds
20861da177e4SLinus Torvaldssource "lib/Kconfig"
2087