xref: /linux/arch/mips/Kconfig (revision dc52ddc0e6f45b04780b26fc0813509f8e798c42)
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
252ade299d8SYoichi Yuasa	select SYS_HAS_CPU_R5000
253ade299d8SYoichi Yuasa	help
254ade299d8SYoichi Yuasa	  This enables support for the R5432-based NEC Mark-eins
255ade299d8SYoichi Yuasa	  boards with R5500 CPU.
256ade299d8SYoichi Yuasa
2575e83d430SRalf Baechleconfig MACH_VR41XX
25874142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
25942f77542SRalf Baechle	select CEVT_R4K
260940f6b48SRalf Baechle	select CSRC_R4K
2617cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
2629fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
2635e83d430SRalf Baechle
264ade299d8SYoichi Yuasaconfig PNX8550_JBS
265a92b0588SDaniel Laird	bool "NXP PNX8550 based JBS board"
266ade299d8SYoichi Yuasa	select PNX8550
267ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
268ade299d8SYoichi Yuasa
269ade299d8SYoichi Yuasaconfig PNX8550_STB810
270a92b0588SDaniel Laird	bool "NXP PNX8550 based STB810 board"
271ade299d8SYoichi Yuasa	select PNX8550
272ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
273ade299d8SYoichi Yuasa
2749267a30dSMarc St-Jeanconfig PMC_MSP
2759267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
2769267a30dSMarc St-Jean	depends on EXPERIMENTAL
2779267a30dSMarc St-Jean	select DMA_NONCOHERENT
2789267a30dSMarc St-Jean	select SWAP_IO_SPACE
2799267a30dSMarc St-Jean	select NO_EXCEPT_FILL
2809267a30dSMarc St-Jean	select BOOT_RAW
2819267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
2829267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
2839267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
2849267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
2859267a30dSMarc St-Jean	select IRQ_CPU
2869267a30dSMarc St-Jean	select SERIAL_8250
2879267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
2889267a30dSMarc St-Jean	help
2899267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
2909267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
2919267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
2929267a30dSMarc St-Jean	  a variety of MIPS cores.
2939267a30dSMarc St-Jean
2945e83d430SRalf Baechleconfig PMC_YOSEMITE
2953fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
29642f77542SRalf Baechle	select CEVT_R4K
297940f6b48SRalf Baechle	select CSRC_R4K
2985e83d430SRalf Baechle	select DMA_COHERENT
2995e83d430SRalf Baechle	select HW_HAS_PCI
3005e83d430SRalf Baechle	select IRQ_CPU
3015e83d430SRalf Baechle	select IRQ_CPU_RM7K
3025e83d430SRalf Baechle	select IRQ_CPU_RM9K
3035e83d430SRalf Baechle	select SWAP_IO_SPACE
3047cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
30536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3065e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3075e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3085e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3095e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
310e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3115e83d430SRalf Baechle	help
3125e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3135e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3141da177e4SLinus Torvalds
3151da177e4SLinus Torvaldsconfig SGI_IP22
3163fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3171da177e4SLinus Torvalds	select ARC
3181da177e4SLinus Torvalds	select ARC32
3191da177e4SLinus Torvalds	select BOOT_ELF32
32042f77542SRalf Baechle	select CEVT_R4K
321940f6b48SRalf Baechle	select CSRC_R4K
322e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3231da177e4SLinus Torvalds	select DMA_NONCOHERENT
3245e83d430SRalf Baechle	select HW_HAS_EISA
325d865bea4SRalf Baechle	select I8253
32668de4803SThomas Bogendoerfer	select I8259
3271da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3281da177e4SLinus Torvalds	select IRQ_CPU
329aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
330e2defae5SThomas Bogendoerfer	select SGI_HAS_DS1286
331e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
332e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
33336e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
334e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
335e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
336e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3371da177e4SLinus Torvalds	select SWAP_IO_SPACE
3387cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3397cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
34036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
341ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
342ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3435e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3441da177e4SLinus Torvalds	help
3451da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3461da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3471da177e4SLinus Torvalds	  that runs on these, say Y here.
3481da177e4SLinus Torvalds
3491da177e4SLinus Torvaldsconfig SGI_IP27
3503fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3511da177e4SLinus Torvalds	select ARC
3521da177e4SLinus Torvalds	select ARC64
3535e83d430SRalf Baechle	select BOOT_ELF64
354e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3551da177e4SLinus Torvalds	select DMA_IP27
35636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3571da177e4SLinus Torvalds	select HW_HAS_PCI
358130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
3597cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
360ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3615e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
362d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
3631a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
364e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
3651da177e4SLinus Torvalds	help
3661da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
3671da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
3681da177e4SLinus Torvalds	  here.
3691da177e4SLinus Torvalds
370e2defae5SThomas Bogendoerferconfig SGI_IP28
371e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
372e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
373e2defae5SThomas Bogendoerfer	select ARC
374e2defae5SThomas Bogendoerfer	select ARC64
375e2defae5SThomas Bogendoerfer	select BOOT_ELF64
376e2defae5SThomas Bogendoerfer	select CEVT_R4K
377e2defae5SThomas Bogendoerfer	select CSRC_R4K
378e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
379e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
380e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
381e2defae5SThomas Bogendoerfer	select IRQ_CPU
382e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
383e2defae5SThomas Bogendoerfer	select I8253
384e2defae5SThomas Bogendoerfer	select I8259
385e2defae5SThomas Bogendoerfer	select SGI_HAS_DS1286
386e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
387e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
3885b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
389e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
390e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
391e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
392e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
393e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
394e2defae5SThomas Bogendoerfer	select SYS_HAS_EARLY_PRINTK
395e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
396e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
397e2defae5SThomas Bogendoerfer      help
398e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
399e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
400e2defae5SThomas Bogendoerfer
4011da177e4SLinus Torvaldsconfig SGI_IP32
402cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4031da177e4SLinus Torvalds	select ARC
4041da177e4SLinus Torvalds	select ARC32
4051da177e4SLinus Torvalds	select BOOT_ELF32
40642f77542SRalf Baechle	select CEVT_R4K
407940f6b48SRalf Baechle	select CSRC_R4K
4081da177e4SLinus Torvalds	select DMA_NONCOHERENT
4091da177e4SLinus Torvalds	select HW_HAS_PCI
410dd67b155SRalf Baechle	select IRQ_CPU
4111da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4121da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4137cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4147cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4157cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
416dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
417ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4185e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4191da177e4SLinus Torvalds	help
4201da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4211da177e4SLinus Torvalds
422ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
423ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4245e83d430SRalf Baechle	depends on EXPERIMENTAL
4255e83d430SRalf Baechle	select BOOT_ELF32
4265e83d430SRalf Baechle	select DMA_COHERENT
4275e83d430SRalf Baechle	select SIBYTE_BCM1120
4285e83d430SRalf Baechle	select SWAP_IO_SPACE
4297cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4305e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4315e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4325e83d430SRalf Baechle
433ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
434ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4355e83d430SRalf Baechle	depends on EXPERIMENTAL
4365e83d430SRalf Baechle	select BOOT_ELF32
4375e83d430SRalf Baechle	select DMA_COHERENT
4385e83d430SRalf Baechle	select SIBYTE_BCM1120
4395e83d430SRalf Baechle	select SWAP_IO_SPACE
4407cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4415e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4425e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4435e83d430SRalf Baechle
4445e83d430SRalf Baechleconfig SIBYTE_CRHONE
4453fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4465e83d430SRalf Baechle	depends on EXPERIMENTAL
4475e83d430SRalf Baechle	select BOOT_ELF32
4485e83d430SRalf Baechle	select DMA_COHERENT
4495e83d430SRalf Baechle	select SIBYTE_BCM1125
4505e83d430SRalf Baechle	select SWAP_IO_SPACE
4517cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4525e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4535e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4545e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4555e83d430SRalf Baechle
456ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
457ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
458ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
459ade299d8SYoichi Yuasa	select BOOT_ELF32
460ade299d8SYoichi Yuasa	select DMA_COHERENT
461ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
462ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
463ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
464ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
465ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
466ade299d8SYoichi Yuasa
467ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
468ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
469ade299d8SYoichi Yuasa	select BOOT_ELF32
470ade299d8SYoichi Yuasa	select DMA_COHERENT
471ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
472ade299d8SYoichi Yuasa	select SIBYTE_SB1250
473ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
474ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
475ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
476ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
477ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
478cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
479ade299d8SYoichi Yuasa
480ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
481ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
482ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
483ade299d8SYoichi Yuasa	select BOOT_ELF32
484ade299d8SYoichi Yuasa	select DMA_COHERENT
485ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
486ade299d8SYoichi Yuasa	select SIBYTE_SB1250
487ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
488ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
489ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
490ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
491ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
492ade299d8SYoichi Yuasa
493ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
494ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
495ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
496ade299d8SYoichi Yuasa	select BOOT_ELF32
497ade299d8SYoichi Yuasa	select DMA_COHERENT
498ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
499ade299d8SYoichi Yuasa	select SIBYTE_SB1250
500ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
501ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
502ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
503ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
504ade299d8SYoichi Yuasa
505ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
506ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
507ade299d8SYoichi Yuasa	select BOOT_ELF32
508ade299d8SYoichi Yuasa	select DMA_COHERENT
509ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
510ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
511ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
512ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
513ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
514651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
515ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
516cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
517ade299d8SYoichi Yuasa
51814b36af4SThomas Bogendoerferconfig SNI_RM
51914b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5204a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5214a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
522231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5235e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5245e83d430SRalf Baechle	select BOOT_ELF32
52542f77542SRalf Baechle	select CEVT_R4K
526940f6b48SRalf Baechle	select CSRC_R4K
527e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5285e83d430SRalf Baechle	select DMA_NONCOHERENT
5295e83d430SRalf Baechle	select GENERIC_ISA_DMA
5305e83d430SRalf Baechle	select HW_HAS_EISA
5315e83d430SRalf Baechle	select HW_HAS_PCI
532c066a32aSThomas Bogendoerfer	select IRQ_CPU
533d865bea4SRalf Baechle	select I8253
5345e83d430SRalf Baechle	select I8259
5355e83d430SRalf Baechle	select ISA
5364a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5377cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5384a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
539c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5404a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
54136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
542ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5435e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5444a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5455e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5465e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5471da177e4SLinus Torvalds	help
54814b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
54914b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5505e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5515e83d430SRalf Baechle	  support this machine type.
5521da177e4SLinus Torvalds
553edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
554edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
5555e83d430SRalf Baechle
556edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
557edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
55823fbee9dSRalf Baechle
55973b4390fSRalf Baechleconfig MIKROTIK_RB532
56073b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
56173b4390fSRalf Baechle	select CEVT_R4K
56273b4390fSRalf Baechle	select CSRC_R4K
56373b4390fSRalf Baechle	select DMA_NONCOHERENT
56473b4390fSRalf Baechle	select GENERIC_HARDIRQS_NO__DO_IRQ
56573b4390fSRalf Baechle	select HW_HAS_PCI
56673b4390fSRalf Baechle	select IRQ_CPU
56773b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
56873b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
56973b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
57073b4390fSRalf Baechle	select SWAP_IO_SPACE
57173b4390fSRalf Baechle	select BOOT_RAW
572d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
57373b4390fSRalf Baechle	help
57473b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
57573b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
57673b4390fSRalf Baechle
577ade299d8SYoichi Yuasaconfig WR_PPMC
578ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
57942f77542SRalf Baechle	select CEVT_R4K
580940f6b48SRalf Baechle	select CSRC_R4K
581ade299d8SYoichi Yuasa	select IRQ_CPU
582ade299d8SYoichi Yuasa	select BOOT_ELF32
583ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
584ade299d8SYoichi Yuasa	select HW_HAS_PCI
585ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
586ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
587ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
588ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
589ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
590ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
591ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
592ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
593ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
594ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
595ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
596ade299d8SYoichi Yuasa	help
597ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
598ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
599ade299d8SYoichi Yuasa
6001da177e4SLinus Torvaldsendchoice
6011da177e4SLinus Torvalds
602e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
6039c746edbSYoichi Yuasasource "arch/mips/basler/excite/Kconfig"
6045e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6051f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6065e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
60729c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
60838b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
60922b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
6105e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
61138b18f72SRalf Baechle
6125e83d430SRalf Baechleendmenu
6135e83d430SRalf Baechle
6141da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6151da177e4SLinus Torvalds	bool
6161da177e4SLinus Torvalds	default y
6171da177e4SLinus Torvalds
6181da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6191da177e4SLinus Torvalds	bool
6201da177e4SLinus Torvalds
621f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
622f0d1b0b3SDavid Howells	bool
623f0d1b0b3SDavid Howells	default n
624f0d1b0b3SDavid Howells
625f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
626f0d1b0b3SDavid Howells	bool
627f0d1b0b3SDavid Howells	default n
628f0d1b0b3SDavid Howells
62900a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
63000a58253SRalf Baechle	bool
63100a58253SRalf Baechle	default y if !MIPS_MT_SMTC
63200a58253SRalf Baechle
6333c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6343c9ee7efSAkinobu Mita	bool
6353c9ee7efSAkinobu Mita	default y
6363c9ee7efSAkinobu Mita
6373c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6383c9ee7efSAkinobu Mita	bool
6393c9ee7efSAkinobu Mita	default y
6403c9ee7efSAkinobu Mita
6411da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
6421da177e4SLinus Torvalds	bool
6431da177e4SLinus Torvalds	default y
6441da177e4SLinus Torvalds
6457bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
6467bcf7717SRalf Baechle	bool
6477bcf7717SRalf Baechle	default y
6487bcf7717SRalf Baechle
6498db02010SRalf Baechleconfig GENERIC_TIME
6508db02010SRalf Baechle	bool
6518db02010SRalf Baechle	default y
6528db02010SRalf Baechle
653f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
654f5ff0a28SRalf Baechle	bool
655f5ff0a28SRalf Baechle	default y
656f5ff0a28SRalf Baechle
6571cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
6581cc89038SAtsushi Nemoto	bool
6591cc89038SAtsushi Nemoto	default y
6601cc89038SAtsushi Nemoto
661e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
662e77c232cSFranck Bui-Huu	bool
663e77c232cSFranck Bui-Huu	default n
664e77c232cSFranck Bui-Huu
6651da177e4SLinus Torvalds#
6661da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
6671da177e4SLinus Torvalds#
6681da177e4SLinus Torvaldsconfig ARC
6691da177e4SLinus Torvalds	bool
6701da177e4SLinus Torvalds
67161ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
67261ed242dSRalf Baechle	bool
67361ed242dSRalf Baechle
6749267a30dSMarc St-Jeanconfig BOOT_RAW
6759267a30dSMarc St-Jean	bool
6769267a30dSMarc St-Jean
677217dd11eSRalf Baechleconfig CEVT_BCM1480
678217dd11eSRalf Baechle	bool
679217dd11eSRalf Baechle
6806457d9fcSYoichi Yuasaconfig CEVT_DS1287
6816457d9fcSYoichi Yuasa	bool
6826457d9fcSYoichi Yuasa
6831097c6acSYoichi Yuasaconfig CEVT_GT641XX
6841097c6acSYoichi Yuasa	bool
6851097c6acSYoichi Yuasa
68642f77542SRalf Baechleconfig CEVT_R4K
68742f77542SRalf Baechle	bool
68842f77542SRalf Baechle
689217dd11eSRalf Baechleconfig CEVT_SB1250
690217dd11eSRalf Baechle	bool
691217dd11eSRalf Baechle
692229f773eSAtsushi Nemotoconfig CEVT_TXX9
693229f773eSAtsushi Nemoto	bool
694229f773eSAtsushi Nemoto
695217dd11eSRalf Baechleconfig CSRC_BCM1480
696217dd11eSRalf Baechle	bool
697217dd11eSRalf Baechle
6984247417dSYoichi Yuasaconfig CSRC_IOASIC
6994247417dSYoichi Yuasa	bool
7004247417dSYoichi Yuasa
701940f6b48SRalf Baechleconfig CSRC_R4K
702940f6b48SRalf Baechle	bool
703940f6b48SRalf Baechle
704217dd11eSRalf Baechleconfig CSRC_SB1250
705217dd11eSRalf Baechle	bool
706217dd11eSRalf Baechle
707a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
708a9aec7feSAtsushi Nemoto	select GENERIC_GPIO
7097444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
710a9aec7feSAtsushi Nemoto	bool
711a9aec7feSAtsushi Nemoto
712df78b5c8SAurelien Jarnoconfig CFE
713df78b5c8SAurelien Jarno	bool
714df78b5c8SAurelien Jarno
7151da177e4SLinus Torvaldsconfig DMA_COHERENT
7161da177e4SLinus Torvalds	bool
7171da177e4SLinus Torvalds
7181da177e4SLinus Torvaldsconfig DMA_IP27
7191da177e4SLinus Torvalds	bool
7201da177e4SLinus Torvalds
7211da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7221da177e4SLinus Torvalds	bool
7234ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7244ce588cdSRalf Baechle
7254ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7264ce588cdSRalf Baechle	bool
7271da177e4SLinus Torvalds
7281da177e4SLinus Torvaldsconfig EARLY_PRINTK
72936a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
73036a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
73136a88530SRalf Baechle	default y
73236a88530SRalf Baechle	help
73336a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
73436a88530SRalf Baechle	  to print messages very early in the bootup process.
73536a88530SRalf Baechle
73636a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
737490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
738490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
739490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
74036a88530SRalf Baechle	  unless you want to debug such a crash.
74136a88530SRalf Baechle
74236a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7431da177e4SLinus Torvalds	bool
7441da177e4SLinus Torvalds
745dbb74540SRalf Baechleconfig HOTPLUG_CPU
746dbb74540SRalf Baechle	bool
747dbb74540SRalf Baechle	default n
748dbb74540SRalf Baechle
7491da177e4SLinus Torvaldsconfig I8259
7501da177e4SLinus Torvalds	bool
7511da177e4SLinus Torvalds
7521da177e4SLinus Torvaldsconfig MIPS_BONITO64
7531da177e4SLinus Torvalds	bool
7541da177e4SLinus Torvalds
7551da177e4SLinus Torvaldsconfig MIPS_MSC
7561da177e4SLinus Torvalds	bool
7571da177e4SLinus Torvalds
7581f21d2bdSBrian Murphyconfig MIPS_NILE4
7591f21d2bdSBrian Murphy	bool
7601f21d2bdSBrian Murphy
7611da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7621da177e4SLinus Torvalds	bool
7631da177e4SLinus Torvalds
76439b8d525SRalf Baechleconfig SYNC_R4K
76539b8d525SRalf Baechle	bool
76639b8d525SRalf Baechle
767d388d685SMaciej W. Rozyckiconfig NO_IOPORT
768d388d685SMaciej W. Rozycki	def_bool n
769d388d685SMaciej W. Rozycki
7708313da30SRalf Baechleconfig GENERIC_ISA_DMA
7718313da30SRalf Baechle	bool
7728313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
7738313da30SRalf Baechle
774aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
775aa414dffSRalf Baechle	bool
7768313da30SRalf Baechle	select GENERIC_ISA_DMA
777aa414dffSRalf Baechle
77809663335SYoichi Yuasaconfig GENERIC_GPIO
77909663335SYoichi Yuasa	bool
78009663335SYoichi Yuasa
7815e83d430SRalf Baechle#
7823cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
7835e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
7845e83d430SRalf Baechle# choice statement should be more obvious to the user.
7855e83d430SRalf Baechle#
7865e83d430SRalf Baechlechoice
7875e83d430SRalf Baechle	prompt "Endianess selection"
7881da177e4SLinus Torvalds	help
7891da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
7905e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
7913cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
7925e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
7933dde6ad8SDavid Sterba	  one or the other endianness.
7945e83d430SRalf Baechle
7955e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
7965e83d430SRalf Baechle	bool "Big endian"
7975e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
7985e83d430SRalf Baechle
7995e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8005e83d430SRalf Baechle	bool "Little endian"
8015e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8025e83d430SRalf Baechle	help
8035e83d430SRalf Baechle
8045e83d430SRalf Baechleendchoice
8055e83d430SRalf Baechle
8062116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8072116245eSRalf Baechle	bool
8082116245eSRalf Baechle
8095e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8105e83d430SRalf Baechle	bool
8115e83d430SRalf Baechle
8125e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8135e83d430SRalf Baechle	bool
8141da177e4SLinus Torvalds
8151da177e4SLinus Torvaldsconfig IRQ_CPU
8161da177e4SLinus Torvalds	bool
8171da177e4SLinus Torvalds
8181da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8191da177e4SLinus Torvalds	bool
8201da177e4SLinus Torvalds
8215e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8225e83d430SRalf Baechle	bool
8235e83d430SRalf Baechle
8249267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8259267a30dSMarc St-Jean	bool
8269267a30dSMarc St-Jean
8279267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
8289267a30dSMarc St-Jean	bool
8299267a30dSMarc St-Jean
8308420fd00SAtsushi Nemotoconfig IRQ_TXX9
8318420fd00SAtsushi Nemoto	bool
8328420fd00SAtsushi Nemoto
833d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
834d5ab1a69SYoichi Yuasa	bool
835d5ab1a69SYoichi Yuasa
83639b8d525SRalf Baechleconfig IRQ_GIC
83739b8d525SRalf Baechle	bool
83839b8d525SRalf Baechle
8391da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8401da177e4SLinus Torvalds	bool
8411da177e4SLinus Torvalds
842252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8431da177e4SLinus Torvalds	bool
8441da177e4SLinus Torvalds
8459267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
8469267a30dSMarc St-Jean	bool
8479267a30dSMarc St-Jean
848663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
849663c3d90Sthomas@koeller.dyndns.org	bool
850663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
851663c3d90Sthomas@koeller.dyndns.org
852bdf21b18SPete Popovconfig PNX8550
853bdf21b18SPete Popov	bool
854bdf21b18SPete Popov	select SOC_PNX8550
855bdf21b18SPete Popov
856bdf21b18SPete Popovconfig SOC_PNX8550
857bdf21b18SPete Popov	bool
858bdf21b18SPete Popov	select DMA_NONCOHERENT
859bdf21b18SPete Popov	select HW_HAS_PCI
860b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
86136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8627cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
863e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
8644ead1681SFlorian Fainelli	select GENERIC_GPIO
865bdf21b18SPete Popov
8661da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8671da177e4SLinus Torvalds	bool
8681da177e4SLinus Torvalds
869355c471fSdmitry pervushinconfig EMMA2RH
870355c471fSdmitry pervushin	bool
871355c471fSdmitry pervushin	depends on MARKEINS
872355c471fSdmitry pervushin	default y
873355c471fSdmitry pervushin
874663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
875663c3d90Sthomas@koeller.dyndns.org	bool
876663c3d90Sthomas@koeller.dyndns.org
877e2defae5SThomas Bogendoerferconfig SGI_HAS_DS1286
878e2defae5SThomas Bogendoerfer	bool
879e2defae5SThomas Bogendoerfer
880e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
881e2defae5SThomas Bogendoerfer	bool
882e2defae5SThomas Bogendoerfer
8835b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
8845b438c44SThomas Bogendoerfer	bool
8855b438c44SThomas Bogendoerfer
886e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
887e2defae5SThomas Bogendoerfer	bool
888e2defae5SThomas Bogendoerfer
889e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
890e2defae5SThomas Bogendoerfer	bool
891e2defae5SThomas Bogendoerfer
892e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
893e2defae5SThomas Bogendoerfer	bool
894e2defae5SThomas Bogendoerfer
895e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
896e2defae5SThomas Bogendoerfer	bool
897e2defae5SThomas Bogendoerfer
898e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
899e2defae5SThomas Bogendoerfer	bool
900e2defae5SThomas Bogendoerfer
9015e83d430SRalf Baechleconfig ARC32
9025e83d430SRalf Baechle	bool
9035e83d430SRalf Baechle
904231a35d3SThomas Bogendoerferconfig SNIPROM
905231a35d3SThomas Bogendoerfer	bool
906231a35d3SThomas Bogendoerfer
9071da177e4SLinus Torvaldsconfig BOOT_ELF32
9081da177e4SLinus Torvalds	bool
9091da177e4SLinus Torvalds
9101da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
9111da177e4SLinus Torvalds	int
91273b4390fSRalf Baechle	default "4" if MACH_DECSTATION || MIKROTIK_RB532
9137e3297dcSThomas Bogendoerfer	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM
9149267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
9151da177e4SLinus Torvalds	default "5"
9161da177e4SLinus Torvalds
9171da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
9181da177e4SLinus Torvalds	bool
9191da177e4SLinus Torvalds
9201da177e4SLinus Torvaldsconfig ARC_CONSOLE
9211da177e4SLinus Torvalds	bool "ARC console support"
922e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
9231da177e4SLinus Torvalds
9241da177e4SLinus Torvaldsconfig ARC_MEMORY
9251da177e4SLinus Torvalds	bool
92614b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9271da177e4SLinus Torvalds	default y
9281da177e4SLinus Torvalds
9291da177e4SLinus Torvaldsconfig ARC_PROMLIB
9301da177e4SLinus Torvalds	bool
931e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
9321da177e4SLinus Torvalds	default y
9331da177e4SLinus Torvalds
9341da177e4SLinus Torvaldsconfig ARC64
9351da177e4SLinus Torvalds	bool
9361da177e4SLinus Torvalds
9371da177e4SLinus Torvaldsconfig BOOT_ELF64
9381da177e4SLinus Torvalds	bool
9391da177e4SLinus Torvalds
9401da177e4SLinus Torvaldsmenu "CPU selection"
9411da177e4SLinus Torvalds
9421da177e4SLinus Torvaldschoice
9431da177e4SLinus Torvalds	prompt "CPU type"
9441da177e4SLinus Torvalds	default CPU_R4X00
9451da177e4SLinus Torvalds
9462a21c730SFuxin Zhangconfig CPU_LOONGSON2
9472a21c730SFuxin Zhang	bool "Loongson 2"
9482a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
9492a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
9502a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
9512a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
9522a21c730SFuxin Zhang	help
9532a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
9542a21c730SFuxin Zhang	  with many extensions.
9552a21c730SFuxin Zhang
9566e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9576e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9587cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
959f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9606e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
961797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
962ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9636e760c8dSRalf Baechle	help
9645e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9651e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9661e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9671e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9681e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9691e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9701e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9711e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9721e5f1caaSRalf Baechle	  performance.
9731e5f1caaSRalf Baechle
9741e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9751e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9767cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
977f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9781e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
979797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
980ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9811e5f1caaSRalf Baechle	help
9825e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9836e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9846e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9856e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9866e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9871da177e4SLinus Torvalds
9886e760c8dSRalf Baechleconfig CPU_MIPS64_R1
9896e760c8dSRalf Baechle	bool "MIPS64 Release 1"
9907cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
991f7062ddbSRalf Baechle	select CPU_HAS_LLSC
992797798c1SRalf Baechle	select CPU_HAS_PREFETCH
993ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
994ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
995ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9966e760c8dSRalf Baechle	help
9976e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9986e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9996e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10006e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10016e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10021e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
10031e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
10041e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
10051e5f1caaSRalf Baechle	  performance.
10061e5f1caaSRalf Baechle
10071e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
10081e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
10097cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1010f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1011797798c1SRalf Baechle	select CPU_HAS_PREFETCH
10121e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10131e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1014ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10151e5f1caaSRalf Baechle	help
10161e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10171e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10181e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10191e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10201e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10211da177e4SLinus Torvalds
10221da177e4SLinus Torvaldsconfig CPU_R3000
10231da177e4SLinus Torvalds	bool "R3000"
10247cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1025f7062ddbSRalf Baechle	select CPU_HAS_WB
1026ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1027797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10281da177e4SLinus Torvalds	help
10291da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
10301da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
10311da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
10321da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
10331da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
10341da177e4SLinus Torvalds	  try to recompile with R3000.
10351da177e4SLinus Torvalds
10361da177e4SLinus Torvaldsconfig CPU_TX39XX
10371da177e4SLinus Torvalds	bool "R39XX"
10387cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1039ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10401da177e4SLinus Torvalds
10411da177e4SLinus Torvaldsconfig CPU_VR41XX
10421da177e4SLinus Torvalds	bool "R41xx"
10437cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1044ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1045ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10461da177e4SLinus Torvalds	help
10475e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
10481da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
10491da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10501da177e4SLinus Torvalds	  processor or vice versa.
10511da177e4SLinus Torvalds
10521da177e4SLinus Torvaldsconfig CPU_R4300
10531da177e4SLinus Torvalds	bool "R4300"
10547cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1055f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1056ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1057ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10581da177e4SLinus Torvalds	help
10591da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10601da177e4SLinus Torvalds
10611da177e4SLinus Torvaldsconfig CPU_R4X00
10621da177e4SLinus Torvalds	bool "R4x00"
10637cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1064f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1065ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1066ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10671da177e4SLinus Torvalds	help
10681da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10691da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10701da177e4SLinus Torvalds
10711da177e4SLinus Torvaldsconfig CPU_TX49XX
10721da177e4SLinus Torvalds	bool "R49XX"
10737cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1074f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1075de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1076ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1077ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10781da177e4SLinus Torvalds
10791da177e4SLinus Torvaldsconfig CPU_R5000
10801da177e4SLinus Torvalds	bool "R5000"
10817cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1082f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1083ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1084ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10851da177e4SLinus Torvalds	help
10861da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
10871da177e4SLinus Torvalds
10881da177e4SLinus Torvaldsconfig CPU_R5432
10891da177e4SLinus Torvalds	bool "R5432"
10907cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1091f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10925e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10935e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
10941da177e4SLinus Torvalds
10951da177e4SLinus Torvaldsconfig CPU_R6000
10961da177e4SLinus Torvalds	bool "R6000"
1097ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1098f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10997cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1100ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11011da177e4SLinus Torvalds	help
11021da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1103c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
11041da177e4SLinus Torvalds
11051da177e4SLinus Torvaldsconfig CPU_NEVADA
11061da177e4SLinus Torvalds	bool "RM52xx"
11077cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1108f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1109ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1110ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11111da177e4SLinus Torvalds	help
11121da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
11131da177e4SLinus Torvalds
11141da177e4SLinus Torvaldsconfig CPU_R8000
11151da177e4SLinus Torvalds	bool "R8000"
1116ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
11177cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1118f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11195e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1120ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11211da177e4SLinus Torvalds	help
11221da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
11231da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
11241da177e4SLinus Torvalds
11251da177e4SLinus Torvaldsconfig CPU_R10000
11261da177e4SLinus Torvalds	bool "R10000"
11277cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1128f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11295e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1130ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1131ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1132797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11331da177e4SLinus Torvalds	help
11341da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
11351da177e4SLinus Torvalds
11361da177e4SLinus Torvaldsconfig CPU_RM7000
11371da177e4SLinus Torvalds	bool "RM7000"
11387cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1139f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11405e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1141ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1142ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1143797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11441da177e4SLinus Torvalds
11451da177e4SLinus Torvaldsconfig CPU_RM9000
11461da177e4SLinus Torvalds	bool "RM9000"
11477cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1148f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11495e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1150ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1151ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1152797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11530004a9dfSRalf Baechle	select WEAK_ORDERING
11541da177e4SLinus Torvalds
11551da177e4SLinus Torvaldsconfig CPU_SB1
11561da177e4SLinus Torvalds	bool "SB1"
11577cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1158f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1159ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1160ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1161797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11620004a9dfSRalf Baechle	select WEAK_ORDERING
11631da177e4SLinus Torvalds
11641da177e4SLinus Torvaldsendchoice
11651da177e4SLinus Torvalds
11662a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
11672a21c730SFuxin Zhang	bool
11682a21c730SFuxin Zhang
11697cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11707cf8053bSRalf Baechle	bool
11717cf8053bSRalf Baechle
11727cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11737cf8053bSRalf Baechle	bool
11747cf8053bSRalf Baechle
11757cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11767cf8053bSRalf Baechle	bool
11777cf8053bSRalf Baechle
11787cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
11797cf8053bSRalf Baechle	bool
11807cf8053bSRalf Baechle
11817cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
11827cf8053bSRalf Baechle	bool
11837cf8053bSRalf Baechle
11847cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
11857cf8053bSRalf Baechle	bool
11867cf8053bSRalf Baechle
11877cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
11887cf8053bSRalf Baechle	bool
11897cf8053bSRalf Baechle
11907cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
11917cf8053bSRalf Baechle	bool
11927cf8053bSRalf Baechle
11937cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
11947cf8053bSRalf Baechle	bool
11957cf8053bSRalf Baechle
11967cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
11977cf8053bSRalf Baechle	bool
11987cf8053bSRalf Baechle
11997cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
12007cf8053bSRalf Baechle	bool
12017cf8053bSRalf Baechle
12027cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
12037cf8053bSRalf Baechle	bool
12047cf8053bSRalf Baechle
12057cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
12067cf8053bSRalf Baechle	bool
12077cf8053bSRalf Baechle
12087cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
12097cf8053bSRalf Baechle	bool
12107cf8053bSRalf Baechle
12117cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
12127cf8053bSRalf Baechle	bool
12137cf8053bSRalf Baechle
12147cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
12157cf8053bSRalf Baechle	bool
12167cf8053bSRalf Baechle
12177cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
12187cf8053bSRalf Baechle	bool
12197cf8053bSRalf Baechle
12207cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
12217cf8053bSRalf Baechle	bool
12227cf8053bSRalf Baechle
12237cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
12247cf8053bSRalf Baechle	bool
12257cf8053bSRalf Baechle
122617099b11SRalf Baechle#
122717099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
122817099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
122917099b11SRalf Baechle#
12300004a9dfSRalf Baechleconfig WEAK_ORDERING
12310004a9dfSRalf Baechle	bool
123217099b11SRalf Baechle
123317099b11SRalf Baechle#
123417099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
123517099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
123617099b11SRalf Baechle#
123717099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
123817099b11SRalf Baechle	bool
12395e83d430SRalf Baechleendmenu
12405e83d430SRalf Baechle
12415e83d430SRalf Baechle#
12425e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
12435e83d430SRalf Baechle#
12445e83d430SRalf Baechleconfig CPU_MIPS32
12455e83d430SRalf Baechle	bool
12465e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
12475e83d430SRalf Baechle
12485e83d430SRalf Baechleconfig CPU_MIPS64
12495e83d430SRalf Baechle	bool
12505e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
12515e83d430SRalf Baechle
12525e83d430SRalf Baechle#
1253c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
12545e83d430SRalf Baechle#
12555e83d430SRalf Baechleconfig CPU_MIPSR1
12565e83d430SRalf Baechle	bool
12575e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
12585e83d430SRalf Baechle
12595e83d430SRalf Baechleconfig CPU_MIPSR2
12605e83d430SRalf Baechle	bool
12615e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
12625e83d430SRalf Baechle
12635e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
12645e83d430SRalf Baechle	bool
12655e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12665e83d430SRalf Baechle	bool
12675e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12685e83d430SRalf Baechle	bool
12695e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12705e83d430SRalf Baechle	bool
12715e83d430SRalf Baechle
12728192c9eaSDavid Daney#
12738192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
12748192c9eaSDavid Daney#
12758192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
12768192c9eaSDavid Daney       bool
12778192c9eaSDavid Daney       default y if CPU_MIPS32 || CPU_MIPS64
12788192c9eaSDavid Daney
12795e83d430SRalf Baechlemenu "Kernel type"
12805e83d430SRalf Baechle
12815e83d430SRalf Baechlechoice
12825e83d430SRalf Baechle
12835e83d430SRalf Baechle	prompt "Kernel code model"
12845e83d430SRalf Baechle	help
12855e83d430SRalf Baechle	  You should only select this option if you have a workload that
12865e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
12875e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
12885e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
12895e83d430SRalf Baechle
12905e83d430SRalf Baechleconfig 32BIT
12915e83d430SRalf Baechle	bool "32-bit kernel"
12925e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
12935e83d430SRalf Baechle	select TRAD_SIGNALS
12945e83d430SRalf Baechle	help
12955e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
12965e83d430SRalf Baechleconfig 64BIT
12975e83d430SRalf Baechle	bool "64-bit kernel"
12985e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
12995e83d430SRalf Baechle	help
13005e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
13015e83d430SRalf Baechle
13025e83d430SRalf Baechleendchoice
13035e83d430SRalf Baechle
13041da177e4SLinus Torvaldschoice
13051da177e4SLinus Torvalds	prompt "Kernel page size"
13061da177e4SLinus Torvalds	default PAGE_SIZE_4KB
13071da177e4SLinus Torvalds
13081da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
13091da177e4SLinus Torvalds	bool "4kB"
13101da177e4SLinus Torvalds	help
13111da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
13121da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
13131da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
13141da177e4SLinus Torvalds	 recommended for low memory systems.
13151da177e4SLinus Torvalds
13161da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
13171da177e4SLinus Torvalds	bool "8kB"
13181da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
13191da177e4SLinus Torvalds	help
13201da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
13211da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
13221da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
13231da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
13241da177e4SLinus Torvalds	  compatibility of user applications.
13251da177e4SLinus Torvalds
13261da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
13271da177e4SLinus Torvalds	bool "16kB"
1328714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
13291da177e4SLinus Torvalds	help
13301da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
13311da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1332714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1333714bfad6SRalf Baechle	  Linux distribution to support this.
13341da177e4SLinus Torvalds
13351da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
13361da177e4SLinus Torvalds	bool "64kB"
13371da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
13381da177e4SLinus Torvalds	help
13391da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
13401da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
13411da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1342714bfad6SRalf Baechle	  writing this option is still high experimental.
13431da177e4SLinus Torvalds
13441da177e4SLinus Torvaldsendchoice
13451da177e4SLinus Torvalds
13461da177e4SLinus Torvaldsconfig BOARD_SCACHE
13471da177e4SLinus Torvalds	bool
13481da177e4SLinus Torvalds
13491da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
13501da177e4SLinus Torvalds	bool
13511da177e4SLinus Torvalds	select BOARD_SCACHE
13521da177e4SLinus Torvalds
13539318c51aSChris Dearman#
13549318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
13559318c51aSChris Dearman#
13569318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
13579318c51aSChris Dearman	bool
13589318c51aSChris Dearman	select BOARD_SCACHE
13599318c51aSChris Dearman
13601da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
13611da177e4SLinus Torvalds	bool
13621da177e4SLinus Torvalds	select BOARD_SCACHE
13631da177e4SLinus Torvalds
13641da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
13651da177e4SLinus Torvalds	bool
13661da177e4SLinus Torvalds	select BOARD_SCACHE
13671da177e4SLinus Torvalds
13681da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
13691da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
13701da177e4SLinus Torvalds	depends on CPU_SB1
13711da177e4SLinus Torvalds	help
13721da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13731da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13741da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13751da177e4SLinus Torvalds
13761da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1377c8094b53SRalf Baechle	bool
13781da177e4SLinus Torvalds
1379340ee4b9SRalf Baechlechoice
1380340ee4b9SRalf Baechle	prompt "MIPS MT options"
1381f41ae0b2SRalf Baechle
1382f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1383f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1384f41ae0b2SRalf Baechle	help
1385f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1386f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1387f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1388f41ae0b2SRalf Baechle	  option in this menu.
1389340ee4b9SRalf Baechle
139059d6ab86SRalf Baechleconfig MIPS_MT_SMP
139159d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
139259d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
139359d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1394d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
139559d6ab86SRalf Baechle	select MIPS_MT
1396f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
139759d6ab86SRalf Baechle	select SMP
13980ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
139959d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
140087353d8aSRalf Baechle	select SMP_UP
140159d6ab86SRalf Baechle	help
140259d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
140359d6ab86SRalf Baechle	  has been marketesed into SMVP.
140459d6ab86SRalf Baechle
140541c594abSRalf Baechleconfig MIPS_MT_SMTC
140641c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1407f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1408f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1409f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1410f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1411d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1412f41ae0b2SRalf Baechle	select MIPS_MT
1413130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
141441c594abSRalf Baechle	select SMP
141573b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
141687353d8aSRalf Baechle	select SMP_UP
1417f41ae0b2SRalf Baechle	help
1418f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1419f41ae0b2SRalf Baechle	  marketesed into SMVP.
142041c594abSRalf Baechle
1421340ee4b9SRalf Baechleendchoice
1422340ee4b9SRalf Baechle
1423f41ae0b2SRalf Baechleconfig MIPS_MT
1424f41ae0b2SRalf Baechle	bool
1425f41ae0b2SRalf Baechle
14260ab7aefcSRalf Baechleconfig SCHED_SMT
14270ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
14280ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
14290ab7aefcSRalf Baechle	default n
14300ab7aefcSRalf Baechle	help
14310ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
14320ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
14330ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
14340ab7aefcSRalf Baechle
14350ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
14360ab7aefcSRalf Baechle	bool
14370ab7aefcSRalf Baechle
14380ab7aefcSRalf Baechle
1439f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1440f41ae0b2SRalf Baechle	bool
1441f41ae0b2SRalf Baechle
1442f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1443f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1444f088fc84SRalf Baechle	default y
144507cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
144607cc0c9eSRalf Baechle
144707cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
144807cc0c9eSRalf Baechle	bool "VPE loader support."
144907cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
145007cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
145107cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
145207cc0c9eSRalf Baechle	select MIPS_MT
145307cc0c9eSRalf Baechle	help
145407cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
145507cc0c9eSRalf Baechle	  onto another VPE and running it.
1456f088fc84SRalf Baechle
14570db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
14580db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
14590db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
14608531a35eSKevin D. Kissell	default n
14610db34215SKevin D. Kissell	help
14620db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
14630db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
14640db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
14650db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
14660db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
14678531a35eSKevin D. Kissell	  impact on interrupt service overhead.
14680db34215SKevin D. Kissell
1469f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1470f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1471f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1472f571eff0SKevin D. Kissell	default n
1473f571eff0SKevin D. Kissell	help
1474f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1475f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1476f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
14778531a35eSKevin D. Kissell	  platform code.  Adds some overhead to interrupt dispatch, and
14788531a35eSKevin D. Kissell	  should be used only if you know what you are doing.
1479f571eff0SKevin D. Kissell
1480e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1481e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1482e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1483e01402b1SRalf Baechle	default y
1484e01402b1SRalf Baechle	help
1485e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1486e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1487e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1488e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1489e01402b1SRalf Baechle
1490e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1491e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1492e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1493e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
14945e83d430SRalf Baechle	help
1495e01402b1SRalf Baechle
14962600990eSRalf Baechleconfig MIPS_APSP_KSPD
14972600990eSRalf Baechle	bool "Enable KSPD"
14982600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
14992600990eSRalf Baechle	default y
15002600990eSRalf Baechle	help
15012600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
15022600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
15032600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
15042600990eSRalf Baechle	  exiting.  You probably want to say yes here.
15052600990eSRalf Baechle
15064a16ff4cSRalf Baechleconfig MIPS_CMP
15074a16ff4cSRalf Baechle	bool "MIPS CMP framework support"
15084a16ff4cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
15094a16ff4cSRalf Baechle	select SYNC_R4K if BROKEN
15104a16ff4cSRalf Baechle	select SYS_SUPPORTS_SMP
15114a16ff4cSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
15124a16ff4cSRalf Baechle	select WEAK_ORDERING
15134a16ff4cSRalf Baechle	default n
15144a16ff4cSRalf Baechle	help
15154a16ff4cSRalf Baechle	  This is a placeholder option for the GCMP work. It will need to
15164a16ff4cSRalf Baechle	  be handled differently...
15174a16ff4cSRalf Baechle
15181da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
15191da177e4SLinus Torvalds	bool
15201da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
15211da177e4SLinus Torvalds	default y
15221da177e4SLinus Torvalds
15231da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
15241da177e4SLinus Torvalds	bool
15251da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
15261da177e4SLinus Torvalds	default y
15271da177e4SLinus Torvalds
15281da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
15291da177e4SLinus Torvalds	bool
15301da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
15311da177e4SLinus Torvalds	default y
15321da177e4SLinus Torvalds
15331da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1534d806cb2bSRalf Baechle	bool
15351da177e4SLinus Torvalds
15361da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1537f7062ddbSRalf Baechle	bool
15381da177e4SLinus Torvalds
15399693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
15409693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
15419693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
15429693a853SFranck Bui-Huu	help
15439693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
15449693a853SFranck Bui-Huu	  increased security at both hardware and software level for
15459693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
15469693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
15479693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
15489693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
15499693a853SFranck Bui-Huu	  here.
15509693a853SFranck Bui-Huu
15511da177e4SLinus Torvaldsconfig CPU_HAS_WB
1552f7062ddbSRalf Baechle	bool
1553e01402b1SRalf Baechle
1554f41ae0b2SRalf Baechle#
1555f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1556f41ae0b2SRalf Baechle#
1557e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1558f41ae0b2SRalf Baechle	bool
1559e01402b1SRalf Baechle
1560f41ae0b2SRalf Baechle#
1561f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1562f41ae0b2SRalf Baechle#
1563e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1564f41ae0b2SRalf Baechle	bool
1565e01402b1SRalf Baechle
15661da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
15671da177e4SLinus Torvalds	bool
15681da177e4SLinus Torvalds	depends on !CPU_R3000
15691da177e4SLinus Torvalds	default y
15701da177e4SLinus Torvalds
1571ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1572ea580401SRalf Baechle	bool
1573ea580401SRalf Baechle
15741da177e4SLinus Torvalds#
157520d60d99SMaciej W. Rozycki# CPU non-features
157620d60d99SMaciej W. Rozycki#
157720d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
157820d60d99SMaciej W. Rozycki	bool
157920d60d99SMaciej W. Rozycki
158020d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
158120d60d99SMaciej W. Rozycki	bool
158220d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
158320d60d99SMaciej W. Rozycki
158420d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
158520d60d99SMaciej W. Rozycki	bool
158620d60d99SMaciej W. Rozycki
158720d60d99SMaciej W. Rozycki#
1588797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1589797798c1SRalf Baechle#
1590797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1591797798c1SRalf Baechle	bool
1592797798c1SRalf Baechle	default y
1593797798c1SRalf Baechle
1594797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1595797798c1SRalf Baechle	bool
1596797798c1SRalf Baechle	default y
1597797798c1SRalf Baechle
15980d7012a9SIngo Molnarconfig IRQ_PER_CPU
15990d7012a9SIngo Molnar	bool
16000d7012a9SIngo Molnar
1601797798c1SRalf Baechle#
16021da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
16031da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
16041da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
16051da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
16061da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
16071da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
16081da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
16091da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1610797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1611797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1612797798c1SRalf Baechle#   support.
16131da177e4SLinus Torvalds#
16141da177e4SLinus Torvaldsconfig HIGHMEM
16151da177e4SLinus Torvalds	bool "High Memory Support"
1616797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1617797798c1SRalf Baechle
1618797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1619797798c1SRalf Baechle	bool
1620797798c1SRalf Baechle
1621797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1622797798c1SRalf Baechle	bool
16231da177e4SLinus Torvalds
16249693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
16259693a853SFranck Bui-Huu	bool
16269693a853SFranck Bui-Huu
1627b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1628b4819b59SYoichi Yuasa	def_bool y
1629b4819b59SYoichi Yuasa	depends on !NUMA
1630b4819b59SYoichi Yuasa
1631d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1632d8cb4e11SRalf Baechle	bool
1633d8cb4e11SRalf Baechle	default y if SGI_IP27
1634d8cb4e11SRalf Baechle	help
16353dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1636d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1637d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1638d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1639d8cb4e11SRalf Baechle
1640cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1641cce335aeSRalf Baechle	def_bool y
1642cce335aeSRalf Baechle
1643b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1644b1c6cd42SAtsushi Nemoto	bool
16457de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
164631473747SAtsushi Nemoto
1647d8cb4e11SRalf Baechleconfig NUMA
1648d8cb4e11SRalf Baechle	bool "NUMA Support"
1649d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1650d8cb4e11SRalf Baechle	help
1651d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1652d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1653d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1654d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1655d8cb4e11SRalf Baechle	  disabled.
1656d8cb4e11SRalf Baechle
1657d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1658d8cb4e11SRalf Baechle	bool
1659d8cb4e11SRalf Baechle
1660c80d79d7SYasunori Gotoconfig NODES_SHIFT
1661c80d79d7SYasunori Goto	int
1662c80d79d7SYasunori Goto	default "6"
1663c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1664c80d79d7SYasunori Goto
1665b4819b59SYoichi Yuasasource "mm/Kconfig"
1666b4819b59SYoichi Yuasa
16671da177e4SLinus Torvaldsconfig SMP
16681da177e4SLinus Torvalds	bool "Multi-Processing support"
1669e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1670b4b30a5aSRalf Baechle	select IRQ_PER_CPU
16712f304c0aSJens Axboe	select USE_GENERIC_SMP_HELPERS
1672e73ea273SRalf Baechle	help
16731da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
16741da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
16751da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
16761da177e4SLinus Torvalds
16771da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
16781da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
16791da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
16801da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
16811da177e4SLinus Torvalds	  will run faster if you say N here.
16821da177e4SLinus Torvalds
16831da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
16841da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
16851da177e4SLinus Torvalds
168603502faaSAdrian Bunk	  See also the SMP-HOWTO available at
168703502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
16881da177e4SLinus Torvalds
16891da177e4SLinus Torvalds	  If you don't know what to do here, say N.
16901da177e4SLinus Torvalds
169187353d8aSRalf Baechleconfig SMP_UP
169287353d8aSRalf Baechle	bool
169387353d8aSRalf Baechle
16944a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
16954a16ff4cSRalf Baechle	bool
16964a16ff4cSRalf Baechle
1697e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1698e73ea273SRalf Baechle	bool
1699e73ea273SRalf Baechle
170072ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
170172ede9b1SAtsushi Nemoto	bool
170272ede9b1SAtsushi Nemoto
1703130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1704130e2fb7SRalf Baechle	bool
1705130e2fb7SRalf Baechle
1706130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1707130e2fb7SRalf Baechle	bool
1708130e2fb7SRalf Baechle
1709130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1710130e2fb7SRalf Baechle	bool
1711130e2fb7SRalf Baechle
1712130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1713130e2fb7SRalf Baechle	bool
1714130e2fb7SRalf Baechle
1715130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1716130e2fb7SRalf Baechle	bool
1717130e2fb7SRalf Baechle
1718130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1719130e2fb7SRalf Baechle	bool
1720130e2fb7SRalf Baechle
17211da177e4SLinus Torvaldsconfig NR_CPUS
17221da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
172372ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
17241da177e4SLinus Torvalds	depends on SMP
172572ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1726130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1727130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1728130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1729130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1730130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1731130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
17321da177e4SLinus Torvalds	help
17331da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
17341da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
17351da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
173672ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
173772ede9b1SAtsushi Nemoto	  and 2 for all others.
17381da177e4SLinus Torvalds
17391da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
174072ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
174172ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
174272ede9b1SAtsushi Nemoto	  power of two.
17431da177e4SLinus Torvalds
1744c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
1745c4eee283SAtsushi Nemoto
17461723b4a3SAtsushi Nemoto#
17471723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
17481723b4a3SAtsushi Nemoto#
17491723b4a3SAtsushi Nemoto
17501723b4a3SAtsushi Nemotochoice
17511723b4a3SAtsushi Nemoto	prompt "Timer frequency"
17521723b4a3SAtsushi Nemoto	default HZ_250
17531723b4a3SAtsushi Nemoto	help
17541723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
17551723b4a3SAtsushi Nemoto
17561723b4a3SAtsushi Nemoto	config HZ_48
17570f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
17581723b4a3SAtsushi Nemoto
17591723b4a3SAtsushi Nemoto	config HZ_100
17601723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
17611723b4a3SAtsushi Nemoto
17621723b4a3SAtsushi Nemoto	config HZ_128
17631723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
17641723b4a3SAtsushi Nemoto
17651723b4a3SAtsushi Nemoto	config HZ_250
17661723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
17671723b4a3SAtsushi Nemoto
17681723b4a3SAtsushi Nemoto	config HZ_256
17691723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
17701723b4a3SAtsushi Nemoto
17711723b4a3SAtsushi Nemoto	config HZ_1000
17721723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
17731723b4a3SAtsushi Nemoto
17741723b4a3SAtsushi Nemoto	config HZ_1024
17751723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
17761723b4a3SAtsushi Nemoto
17771723b4a3SAtsushi Nemotoendchoice
17781723b4a3SAtsushi Nemoto
17791723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
17801723b4a3SAtsushi Nemoto	bool
17811723b4a3SAtsushi Nemoto
17821723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
17831723b4a3SAtsushi Nemoto	bool
17841723b4a3SAtsushi Nemoto
17851723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
17861723b4a3SAtsushi Nemoto	bool
17871723b4a3SAtsushi Nemoto
17881723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
17891723b4a3SAtsushi Nemoto	bool
17901723b4a3SAtsushi Nemoto
17911723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
17921723b4a3SAtsushi Nemoto	bool
17931723b4a3SAtsushi Nemoto
17941723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
17951723b4a3SAtsushi Nemoto	bool
17961723b4a3SAtsushi Nemoto
17971723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
17981723b4a3SAtsushi Nemoto	bool
17991723b4a3SAtsushi Nemoto
18001723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
18011723b4a3SAtsushi Nemoto	bool
18021723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
18031723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
18041723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
18051723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
18061723b4a3SAtsushi Nemoto
18071723b4a3SAtsushi Nemotoconfig HZ
18081723b4a3SAtsushi Nemoto	int
18091723b4a3SAtsushi Nemoto	default 48 if HZ_48
18101723b4a3SAtsushi Nemoto	default 100 if HZ_100
18111723b4a3SAtsushi Nemoto	default 128 if HZ_128
18121723b4a3SAtsushi Nemoto	default 250 if HZ_250
18131723b4a3SAtsushi Nemoto	default 256 if HZ_256
18141723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
18151723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
18161723b4a3SAtsushi Nemoto
1817e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
18181da177e4SLinus Torvalds
18191da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
18201da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1821875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
18221da177e4SLinus Torvalds	help
18231da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
18241da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
18251da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
18261da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
18271da177e4SLinus Torvalds	  recommended for normal users.
18281da177e4SLinus Torvalds
1829ea6e942bSAtsushi Nemotoconfig KEXEC
1830ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1831ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1832ea6e942bSAtsushi Nemoto	help
1833ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1834ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
18353dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1836ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1837ea6e942bSAtsushi Nemoto
183801dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
1839ea6e942bSAtsushi Nemoto
1840ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1841ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1842ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1843ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1844ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1845ea6e942bSAtsushi Nemoto
1846ea6e942bSAtsushi Nemotoconfig SECCOMP
1847ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1848293c5bd1SRalf Baechle	depends on PROC_FS
1849ea6e942bSAtsushi Nemoto	default y
1850ea6e942bSAtsushi Nemoto	help
1851ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1852ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1853ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1854ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1855ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1856ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1857ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1858ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1859ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1860ea6e942bSAtsushi Nemoto
1861ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1862ea6e942bSAtsushi Nemoto
18635e83d430SRalf Baechleendmenu
18645e83d430SRalf Baechle
18651da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
18661da177e4SLinus Torvalds	bool
18671da177e4SLinus Torvalds	default y
18681da177e4SLinus Torvalds
18691df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
18701df0f0ffSAtsushi Nemoto	bool
18711df0f0ffSAtsushi Nemoto	default y
18721df0f0ffSAtsushi Nemoto
18731df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
18741df0f0ffSAtsushi Nemoto	bool
18751df0f0ffSAtsushi Nemoto	default y
18761df0f0ffSAtsushi Nemoto
1877b6c3539bSRalf Baechlesource "init/Kconfig"
1878b6c3539bSRalf Baechle
18790011036bSAtsushi Nemotoconfig PROBE_INITRD_HEADER
18800011036bSAtsushi Nemoto	bool "Probe initrd header created by addinitrd"
18810011036bSAtsushi Nemoto	depends on BLK_DEV_INITRD
18820011036bSAtsushi Nemoto	help
18830011036bSAtsushi Nemoto	  Probe initrd header at the last page of kernel image.
18840011036bSAtsushi Nemoto	  Say Y here if you are using arch/mips/boot/addinitrd.c to
18850011036bSAtsushi Nemoto	  add initrd or initramfs image to the kernel image.
18860011036bSAtsushi Nemoto	  Otherwise, say N.
18870011036bSAtsushi Nemoto
1888*dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
1889*dc52ddc0SMatt Helsley
18901da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
18911da177e4SLinus Torvalds
18925e83d430SRalf Baechleconfig HW_HAS_EISA
18935e83d430SRalf Baechle	bool
18941da177e4SLinus Torvaldsconfig HW_HAS_PCI
18951da177e4SLinus Torvalds	bool
18961da177e4SLinus Torvalds
18971da177e4SLinus Torvaldsconfig PCI
18981da177e4SLinus Torvalds	bool "Support for PCI controller"
18991da177e4SLinus Torvalds	depends on HW_HAS_PCI
1900abb4ae46SRalf Baechle	select PCI_DOMAINS
19011da177e4SLinus Torvalds	help
19021da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
19031da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
19041da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
19051da177e4SLinus Torvalds	  say Y, otherwise N.
19061da177e4SLinus Torvalds
19071da177e4SLinus Torvaldsconfig PCI_DOMAINS
19081da177e4SLinus Torvalds	bool
19091da177e4SLinus Torvalds
19101da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
19111da177e4SLinus Torvalds
19121da177e4SLinus Torvalds#
19131da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
19141da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
19151da177e4SLinus Torvalds# users to choose the right thing ...
19161da177e4SLinus Torvalds#
19171da177e4SLinus Torvaldsconfig ISA
19181da177e4SLinus Torvalds	bool
19191da177e4SLinus Torvalds
19201da177e4SLinus Torvaldsconfig EISA
19211da177e4SLinus Torvalds	bool "EISA support"
19225e83d430SRalf Baechle	depends on HW_HAS_EISA
19231da177e4SLinus Torvalds	select ISA
1924aa414dffSRalf Baechle	select GENERIC_ISA_DMA
19251da177e4SLinus Torvalds	---help---
19261da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
19271da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
19281da177e4SLinus Torvalds
19291da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
19301da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
19311da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
19321da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
19331da177e4SLinus Torvalds
19341da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
19351da177e4SLinus Torvalds
19361da177e4SLinus Torvalds	  Otherwise, say N.
19371da177e4SLinus Torvalds
19381da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
19391da177e4SLinus Torvalds
19401da177e4SLinus Torvaldsconfig TC
19411da177e4SLinus Torvalds	bool "TURBOchannel support"
19421da177e4SLinus Torvalds	depends on MACH_DECSTATION
19431da177e4SLinus Torvalds	help
19441da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
19451da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
19461da177e4SLinus Torvalds	  is available at:
19471da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
19481da177e4SLinus Torvalds
19491da177e4SLinus Torvalds#config ACCESSBUS
19501da177e4SLinus Torvalds#	bool "Access.Bus support"
19511da177e4SLinus Torvalds#	depends on TC
19521da177e4SLinus Torvalds
19531da177e4SLinus Torvaldsconfig MMU
19541da177e4SLinus Torvalds	bool
19551da177e4SLinus Torvalds	default y
19561da177e4SLinus Torvalds
1957d865bea4SRalf Baechleconfig I8253
1958d865bea4SRalf Baechle	bool
1959d865bea4SRalf Baechle
1960cce335aeSRalf Baechleconfig ZONE_DMA32
1961cce335aeSRalf Baechle	bool
1962cce335aeSRalf Baechle
19631da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
19641da177e4SLinus Torvalds
19651da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
19661da177e4SLinus Torvalds
19671da177e4SLinus Torvaldsendmenu
19681da177e4SLinus Torvalds
19691da177e4SLinus Torvaldsmenu "Executable file formats"
19701da177e4SLinus Torvalds
19711da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
19721da177e4SLinus Torvalds
19731da177e4SLinus Torvaldsconfig TRAD_SIGNALS
19741da177e4SLinus Torvalds	bool
19751da177e4SLinus Torvalds
19761da177e4SLinus Torvaldsconfig MIPS32_COMPAT
19771da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1978875d43e7SRalf Baechle	depends on 64BIT
19791da177e4SLinus Torvalds	help
19801da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
19811da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
19821da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
19831da177e4SLinus Torvalds
19841da177e4SLinus Torvaldsconfig COMPAT
19851da177e4SLinus Torvalds	bool
19861da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19871da177e4SLinus Torvalds	default y
19881da177e4SLinus Torvalds
198905e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
199005e43966SAtsushi Nemoto	bool
199105e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
199205e43966SAtsushi Nemoto	default y
199305e43966SAtsushi Nemoto
19941da177e4SLinus Torvaldsconfig MIPS32_O32
19951da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
19961da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19971da177e4SLinus Torvalds	help
19981da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
19991da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
20001da177e4SLinus Torvalds	  existing binaries are in this format.
20011da177e4SLinus Torvalds
20021da177e4SLinus Torvalds	  If unsure, say Y.
20031da177e4SLinus Torvalds
20041da177e4SLinus Torvaldsconfig MIPS32_N32
20051da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
20061da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20071da177e4SLinus Torvalds	help
20081da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
20091da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
20101da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
20111da177e4SLinus Torvalds	  cases.
20121da177e4SLinus Torvalds
20131da177e4SLinus Torvalds	  If unsure, say N.
20141da177e4SLinus Torvalds
20151da177e4SLinus Torvaldsconfig BINFMT_ELF32
20161da177e4SLinus Torvalds	bool
20171da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
20181da177e4SLinus Torvalds
20192116245eSRalf Baechleendmenu
20201da177e4SLinus Torvalds
20212116245eSRalf Baechlemenu "Power management options"
2022952fa954SRodolfo Giometti
2023f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2024f4cb5700SJohannes Berg	def_bool y
2025f4cb5700SJohannes Berg	depends on !SMP
2026f4cb5700SJohannes Berg
20272116245eSRalf Baechlesource "kernel/power/Kconfig"
2028952fa954SRodolfo Giometti
20291da177e4SLinus Torvaldsendmenu
20301da177e4SLinus Torvalds
2031d5950b43SSam Ravnborgsource "net/Kconfig"
2032d5950b43SSam Ravnborg
20331da177e4SLinus Torvaldssource "drivers/Kconfig"
20341da177e4SLinus Torvalds
20351da177e4SLinus Torvaldssource "fs/Kconfig"
20361da177e4SLinus Torvalds
20371da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
20381da177e4SLinus Torvalds
20391da177e4SLinus Torvaldssource "security/Kconfig"
20401da177e4SLinus Torvalds
20411da177e4SLinus Torvaldssource "crypto/Kconfig"
20421da177e4SLinus Torvalds
20431da177e4SLinus Torvaldssource "lib/Kconfig"
2044