xref: /linux/arch/mips/Kconfig (revision a83860c2da9303c864a53c299d17f608f9643541)
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
241*a83860c2SRalf Baechleconfig NEC_MARKEINS
242*a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
243*a83860c2SRalf Baechle	select SOC_EMMA2RH
244*a83860c2SRalf Baechle	select HW_HAS_PCI
245*a83860c2SRalf Baechle	help
246*a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
247ade299d8SYoichi Yuasa
2485e83d430SRalf Baechleconfig MACH_VR41XX
24974142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
25042f77542SRalf Baechle	select CEVT_R4K
251940f6b48SRalf Baechle	select CSRC_R4K
2527cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
2539fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
2545e83d430SRalf Baechle
255edb6310aSDaniel Lairdconfig NXP_STB220
256edb6310aSDaniel Laird	bool "NXP STB220 board"
257edb6310aSDaniel Laird	select SOC_PNX833X
258edb6310aSDaniel Laird	help
259edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
260edb6310aSDaniel Laird
261edb6310aSDaniel Lairdconfig NXP_STB225
262edb6310aSDaniel Laird	bool "NXP 225 board"
263edb6310aSDaniel Laird	select SOC_PNX833X
264edb6310aSDaniel Laird	select SOC_PNX8335
265edb6310aSDaniel Laird	help
266edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
267edb6310aSDaniel Laird
268ade299d8SYoichi Yuasaconfig PNX8550_JBS
269a92b0588SDaniel Laird	bool "NXP PNX8550 based JBS board"
270ade299d8SYoichi Yuasa	select PNX8550
271ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
272ade299d8SYoichi Yuasa
273ade299d8SYoichi Yuasaconfig PNX8550_STB810
274a92b0588SDaniel Laird	bool "NXP PNX8550 based STB810 board"
275ade299d8SYoichi Yuasa	select PNX8550
276ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
277ade299d8SYoichi Yuasa
2789267a30dSMarc St-Jeanconfig PMC_MSP
2799267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
2809267a30dSMarc St-Jean	depends on EXPERIMENTAL
2819267a30dSMarc St-Jean	select DMA_NONCOHERENT
2829267a30dSMarc St-Jean	select SWAP_IO_SPACE
2839267a30dSMarc St-Jean	select NO_EXCEPT_FILL
2849267a30dSMarc St-Jean	select BOOT_RAW
2859267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
2869267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
2879267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
2889267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
2899267a30dSMarc St-Jean	select IRQ_CPU
2909267a30dSMarc St-Jean	select SERIAL_8250
2919267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
2929267a30dSMarc St-Jean	help
2939267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
2949267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
2959267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
2969267a30dSMarc St-Jean	  a variety of MIPS cores.
2979267a30dSMarc St-Jean
2985e83d430SRalf Baechleconfig PMC_YOSEMITE
2993fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
30042f77542SRalf Baechle	select CEVT_R4K
301940f6b48SRalf Baechle	select CSRC_R4K
3025e83d430SRalf Baechle	select DMA_COHERENT
3035e83d430SRalf Baechle	select HW_HAS_PCI
3045e83d430SRalf Baechle	select IRQ_CPU
3055e83d430SRalf Baechle	select IRQ_CPU_RM7K
3065e83d430SRalf Baechle	select IRQ_CPU_RM9K
3075e83d430SRalf Baechle	select SWAP_IO_SPACE
3087cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
30936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3105e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3115e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3125e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3135e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
314e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3155e83d430SRalf Baechle	help
3165e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3175e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3181da177e4SLinus Torvalds
3191da177e4SLinus Torvaldsconfig SGI_IP22
3203fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3211da177e4SLinus Torvalds	select ARC
3221da177e4SLinus Torvalds	select ARC32
3231da177e4SLinus Torvalds	select BOOT_ELF32
32442f77542SRalf Baechle	select CEVT_R4K
325940f6b48SRalf Baechle	select CSRC_R4K
326e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3271da177e4SLinus Torvalds	select DMA_NONCOHERENT
3285e83d430SRalf Baechle	select HW_HAS_EISA
329d865bea4SRalf Baechle	select I8253
33068de4803SThomas Bogendoerfer	select I8259
3311da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3321da177e4SLinus Torvalds	select IRQ_CPU
333aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
334e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
335e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
33636e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
337e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
338e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
339e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3401da177e4SLinus Torvalds	select SWAP_IO_SPACE
3417cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3427cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
34336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
344ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
345ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3465e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3471da177e4SLinus Torvalds	help
3481da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3491da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3501da177e4SLinus Torvalds	  that runs on these, say Y here.
3511da177e4SLinus Torvalds
3521da177e4SLinus Torvaldsconfig SGI_IP27
3533fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3541da177e4SLinus Torvalds	select ARC
3551da177e4SLinus Torvalds	select ARC64
3565e83d430SRalf Baechle	select BOOT_ELF64
357e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
358634286f1SRalf Baechle	select DMA_COHERENT
35936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3601da177e4SLinus Torvalds	select HW_HAS_PCI
361130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
3627cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
363ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3645e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
365d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
3661a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
367e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
3681da177e4SLinus Torvalds	help
3691da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
3701da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
3711da177e4SLinus Torvalds	  here.
3721da177e4SLinus Torvalds
373e2defae5SThomas Bogendoerferconfig SGI_IP28
374e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
375e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
376e2defae5SThomas Bogendoerfer	select ARC
377e2defae5SThomas Bogendoerfer	select ARC64
378e2defae5SThomas Bogendoerfer	select BOOT_ELF64
379e2defae5SThomas Bogendoerfer	select CEVT_R4K
380e2defae5SThomas Bogendoerfer	select CSRC_R4K
381e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
382e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
383e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
384e2defae5SThomas Bogendoerfer	select IRQ_CPU
385e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
386e2defae5SThomas Bogendoerfer	select I8253
387e2defae5SThomas Bogendoerfer	select I8259
388e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
389e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
3905b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
391e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
392e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
393e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
394e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
395e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
396e2defae5SThomas Bogendoerfer	select SYS_HAS_EARLY_PRINTK
397e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
398e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
399e2defae5SThomas Bogendoerfer      help
400e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
401e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
402e2defae5SThomas Bogendoerfer
4031da177e4SLinus Torvaldsconfig SGI_IP32
404cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4051da177e4SLinus Torvalds	select ARC
4061da177e4SLinus Torvalds	select ARC32
4071da177e4SLinus Torvalds	select BOOT_ELF32
40842f77542SRalf Baechle	select CEVT_R4K
409940f6b48SRalf Baechle	select CSRC_R4K
4101da177e4SLinus Torvalds	select DMA_NONCOHERENT
4111da177e4SLinus Torvalds	select HW_HAS_PCI
412dd67b155SRalf Baechle	select IRQ_CPU
4131da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4141da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4157cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4167cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4177cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
418dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
419ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4205e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4211da177e4SLinus Torvalds	help
4221da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4231da177e4SLinus Torvalds
424ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
425ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4265e83d430SRalf Baechle	depends on EXPERIMENTAL
4275e83d430SRalf Baechle	select BOOT_ELF32
4285e83d430SRalf Baechle	select DMA_COHERENT
4295e83d430SRalf Baechle	select SIBYTE_BCM1120
4305e83d430SRalf Baechle	select SWAP_IO_SPACE
4317cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4325e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4335e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4345e83d430SRalf Baechle
435ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
436ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4375e83d430SRalf Baechle	depends on EXPERIMENTAL
4385e83d430SRalf Baechle	select BOOT_ELF32
4395e83d430SRalf Baechle	select DMA_COHERENT
4405e83d430SRalf Baechle	select SIBYTE_BCM1120
4415e83d430SRalf Baechle	select SWAP_IO_SPACE
4427cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4435e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4445e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4455e83d430SRalf Baechle
4465e83d430SRalf Baechleconfig SIBYTE_CRHONE
4473fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4485e83d430SRalf Baechle	depends on EXPERIMENTAL
4495e83d430SRalf Baechle	select BOOT_ELF32
4505e83d430SRalf Baechle	select DMA_COHERENT
4515e83d430SRalf Baechle	select SIBYTE_BCM1125
4525e83d430SRalf Baechle	select SWAP_IO_SPACE
4537cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4545e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4555e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4565e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4575e83d430SRalf Baechle
458ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
459ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
460ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
461ade299d8SYoichi Yuasa	select BOOT_ELF32
462ade299d8SYoichi Yuasa	select DMA_COHERENT
463ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
464ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
465ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
466ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
467ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
468ade299d8SYoichi Yuasa
469ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
470ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
471ade299d8SYoichi Yuasa	select BOOT_ELF32
472ade299d8SYoichi Yuasa	select DMA_COHERENT
473ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
474ade299d8SYoichi Yuasa	select SIBYTE_SB1250
475ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
476ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
477ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
478ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
479ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
480cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
481ade299d8SYoichi Yuasa
482ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
483ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
484ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
485ade299d8SYoichi Yuasa	select BOOT_ELF32
486ade299d8SYoichi Yuasa	select DMA_COHERENT
487ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
488ade299d8SYoichi Yuasa	select SIBYTE_SB1250
489ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
490ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
491ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
492ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
493ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
494ade299d8SYoichi Yuasa
495ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
496ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
497ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
498ade299d8SYoichi Yuasa	select BOOT_ELF32
499ade299d8SYoichi Yuasa	select DMA_COHERENT
500ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
501ade299d8SYoichi Yuasa	select SIBYTE_SB1250
502ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
503ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
504ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
505ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
506ade299d8SYoichi Yuasa
507ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
508ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
509ade299d8SYoichi Yuasa	select BOOT_ELF32
510ade299d8SYoichi Yuasa	select DMA_COHERENT
511ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
512ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
513ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
514ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
515ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
516651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
517ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
518cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
519ade299d8SYoichi Yuasa
52014b36af4SThomas Bogendoerferconfig SNI_RM
52114b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5224a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5234a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
524231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5255e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5265e83d430SRalf Baechle	select BOOT_ELF32
52742f77542SRalf Baechle	select CEVT_R4K
528940f6b48SRalf Baechle	select CSRC_R4K
529e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5305e83d430SRalf Baechle	select DMA_NONCOHERENT
5315e83d430SRalf Baechle	select GENERIC_ISA_DMA
5325e83d430SRalf Baechle	select HW_HAS_EISA
5335e83d430SRalf Baechle	select HW_HAS_PCI
534c066a32aSThomas Bogendoerfer	select IRQ_CPU
535d865bea4SRalf Baechle	select I8253
5365e83d430SRalf Baechle	select I8259
5375e83d430SRalf Baechle	select ISA
5384a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5397cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5404a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
541c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5424a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
54336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
544ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5455e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5464a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5475e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5485e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5491da177e4SLinus Torvalds	help
55014b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
55114b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5525e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5535e83d430SRalf Baechle	  support this machine type.
5541da177e4SLinus Torvalds
555edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
556edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
5575e83d430SRalf Baechle
558edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
559edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
56023fbee9dSRalf Baechle
56173b4390fSRalf Baechleconfig MIKROTIK_RB532
56273b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
56373b4390fSRalf Baechle	select CEVT_R4K
56473b4390fSRalf Baechle	select CSRC_R4K
56573b4390fSRalf Baechle	select DMA_NONCOHERENT
56673b4390fSRalf Baechle	select GENERIC_HARDIRQS_NO__DO_IRQ
56773b4390fSRalf Baechle	select HW_HAS_PCI
56873b4390fSRalf Baechle	select IRQ_CPU
56973b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
57073b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
57173b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
57273b4390fSRalf Baechle	select SWAP_IO_SPACE
57373b4390fSRalf Baechle	select BOOT_RAW
574d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
57573b4390fSRalf Baechle	help
57673b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
57773b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
57873b4390fSRalf Baechle
579ade299d8SYoichi Yuasaconfig WR_PPMC
580ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
58142f77542SRalf Baechle	select CEVT_R4K
582940f6b48SRalf Baechle	select CSRC_R4K
583ade299d8SYoichi Yuasa	select IRQ_CPU
584ade299d8SYoichi Yuasa	select BOOT_ELF32
585ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
586ade299d8SYoichi Yuasa	select HW_HAS_PCI
587ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
588ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
589ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
590ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
591ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
592ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
593ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
594ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
595ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
596ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
597ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
598ade299d8SYoichi Yuasa	help
599ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
600ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
601ade299d8SYoichi Yuasa
602a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_SIMULATOR
603a86c7f72SDavid Daney	bool "Support for the Cavium Networks Octeon Simulator"
604a86c7f72SDavid Daney	select CEVT_R4K
605a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
606a86c7f72SDavid Daney	select DMA_COHERENT
607a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
608a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
609a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
6105e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
611a86c7f72SDavid Daney	help
612a86c7f72SDavid Daney	  The Octeon simulator is software performance model of the Cavium
613a86c7f72SDavid Daney	  Octeon Processor. It supports simulating Octeon processors on x86
614a86c7f72SDavid Daney	  hardware.
615a86c7f72SDavid Daney
616a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_REFERENCE_BOARD
617a86c7f72SDavid Daney	bool "Support for the Cavium Networks Octeon reference board"
618a86c7f72SDavid Daney	select CEVT_R4K
619a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
620a86c7f72SDavid Daney	select DMA_COHERENT
621a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
622a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
623a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
624a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
6255e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
626a86c7f72SDavid Daney	select SWAP_IO_SPACE
627a86c7f72SDavid Daney	help
628a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
629a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
630a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
631a86c7f72SDavid Daney	  Some of the supported boards are:
632a86c7f72SDavid Daney		EBT3000
633a86c7f72SDavid Daney		EBH3000
634a86c7f72SDavid Daney		EBH3100
635a86c7f72SDavid Daney		Thunder
636a86c7f72SDavid Daney		Kodama
637a86c7f72SDavid Daney		Hikari
638a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
639a86c7f72SDavid Daney
6401da177e4SLinus Torvaldsendchoice
6411da177e4SLinus Torvalds
642e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
6439c746edbSYoichi Yuasasource "arch/mips/basler/excite/Kconfig"
6445e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6451f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6465e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
64729c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
64838b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
64922b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
6505e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
651a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
65238b18f72SRalf Baechle
6535e83d430SRalf Baechleendmenu
6545e83d430SRalf Baechle
6551da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6561da177e4SLinus Torvalds	bool
6571da177e4SLinus Torvalds	default y
6581da177e4SLinus Torvalds
6591da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6601da177e4SLinus Torvalds	bool
6611da177e4SLinus Torvalds
662f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
663f0d1b0b3SDavid Howells	bool
664f0d1b0b3SDavid Howells	default n
665f0d1b0b3SDavid Howells
666f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
667f0d1b0b3SDavid Howells	bool
668f0d1b0b3SDavid Howells	default n
669f0d1b0b3SDavid Howells
67000a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
67100a58253SRalf Baechle	bool
67200a58253SRalf Baechle	default y if !MIPS_MT_SMTC
67300a58253SRalf Baechle
6743c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6753c9ee7efSAkinobu Mita	bool
6763c9ee7efSAkinobu Mita	default y
6773c9ee7efSAkinobu Mita
6783c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6793c9ee7efSAkinobu Mita	bool
6803c9ee7efSAkinobu Mita	default y
6813c9ee7efSAkinobu Mita
6821da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
6831da177e4SLinus Torvalds	bool
6841da177e4SLinus Torvalds	default y
6851da177e4SLinus Torvalds
6867bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
6877bcf7717SRalf Baechle	bool
6887bcf7717SRalf Baechle	default y
6897bcf7717SRalf Baechle
6908db02010SRalf Baechleconfig GENERIC_TIME
6918db02010SRalf Baechle	bool
6928db02010SRalf Baechle	default y
6938db02010SRalf Baechle
694f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
695f5ff0a28SRalf Baechle	bool
696f5ff0a28SRalf Baechle	default y
697f5ff0a28SRalf Baechle
698ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
6991cc89038SAtsushi Nemoto	bool
7001cc89038SAtsushi Nemoto	default y
7011cc89038SAtsushi Nemoto
702e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
703e77c232cSFranck Bui-Huu	bool
704e77c232cSFranck Bui-Huu	default n
705e77c232cSFranck Bui-Huu
7061da177e4SLinus Torvalds#
7071da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7081da177e4SLinus Torvalds#
7091da177e4SLinus Torvaldsconfig ARC
7101da177e4SLinus Torvalds	bool
7111da177e4SLinus Torvalds
71261ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
71361ed242dSRalf Baechle	bool
71461ed242dSRalf Baechle
7159267a30dSMarc St-Jeanconfig BOOT_RAW
7169267a30dSMarc St-Jean	bool
7179267a30dSMarc St-Jean
718217dd11eSRalf Baechleconfig CEVT_BCM1480
719217dd11eSRalf Baechle	bool
720217dd11eSRalf Baechle
7216457d9fcSYoichi Yuasaconfig CEVT_DS1287
7226457d9fcSYoichi Yuasa	bool
7236457d9fcSYoichi Yuasa
7241097c6acSYoichi Yuasaconfig CEVT_GT641XX
7251097c6acSYoichi Yuasa	bool
7261097c6acSYoichi Yuasa
727779e7d41SManuel Laussconfig CEVT_R4K_LIB
728779e7d41SManuel Lauss	bool
729779e7d41SManuel Lauss
73042f77542SRalf Baechleconfig CEVT_R4K
731779e7d41SManuel Lauss	select CEVT_R4K_LIB
73242f77542SRalf Baechle	bool
73342f77542SRalf Baechle
734217dd11eSRalf Baechleconfig CEVT_SB1250
735217dd11eSRalf Baechle	bool
736217dd11eSRalf Baechle
737229f773eSAtsushi Nemotoconfig CEVT_TXX9
738229f773eSAtsushi Nemoto	bool
739229f773eSAtsushi Nemoto
740217dd11eSRalf Baechleconfig CSRC_BCM1480
741217dd11eSRalf Baechle	bool
742217dd11eSRalf Baechle
7434247417dSYoichi Yuasaconfig CSRC_IOASIC
7444247417dSYoichi Yuasa	bool
7454247417dSYoichi Yuasa
746779e7d41SManuel Laussconfig CSRC_R4K_LIB
747779e7d41SManuel Lauss	bool
748779e7d41SManuel Lauss
749940f6b48SRalf Baechleconfig CSRC_R4K
750779e7d41SManuel Lauss	select CSRC_R4K_LIB
751940f6b48SRalf Baechle	bool
752940f6b48SRalf Baechle
753217dd11eSRalf Baechleconfig CSRC_SB1250
754217dd11eSRalf Baechle	bool
755217dd11eSRalf Baechle
756a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
757a9aec7feSAtsushi Nemoto	select GENERIC_GPIO
7587444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
759a9aec7feSAtsushi Nemoto	bool
760a9aec7feSAtsushi Nemoto
761df78b5c8SAurelien Jarnoconfig CFE
762df78b5c8SAurelien Jarno	bool
763df78b5c8SAurelien Jarno
7641da177e4SLinus Torvaldsconfig DMA_COHERENT
7651da177e4SLinus Torvalds	bool
7661da177e4SLinus Torvalds
7671da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7681da177e4SLinus Torvalds	bool
7694ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7704ce588cdSRalf Baechle
7714ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7724ce588cdSRalf Baechle	bool
7731da177e4SLinus Torvalds
7741da177e4SLinus Torvaldsconfig EARLY_PRINTK
77536a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
77636a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
77736a88530SRalf Baechle	default y
77836a88530SRalf Baechle	help
77936a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
78036a88530SRalf Baechle	  to print messages very early in the bootup process.
78136a88530SRalf Baechle
78236a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
783490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
784490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
785490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
78636a88530SRalf Baechle	  unless you want to debug such a crash.
78736a88530SRalf Baechle
78836a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7891da177e4SLinus Torvalds	bool
7901da177e4SLinus Torvalds
791dbb74540SRalf Baechleconfig HOTPLUG_CPU
792dbb74540SRalf Baechle	bool
793dbb74540SRalf Baechle	default n
794dbb74540SRalf Baechle
7951da177e4SLinus Torvaldsconfig I8259
7961da177e4SLinus Torvalds	bool
7971da177e4SLinus Torvalds
7981da177e4SLinus Torvaldsconfig MIPS_BONITO64
7991da177e4SLinus Torvalds	bool
8001da177e4SLinus Torvalds
8011da177e4SLinus Torvaldsconfig MIPS_MSC
8021da177e4SLinus Torvalds	bool
8031da177e4SLinus Torvalds
8041f21d2bdSBrian Murphyconfig MIPS_NILE4
8051f21d2bdSBrian Murphy	bool
8061f21d2bdSBrian Murphy
8071da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8081da177e4SLinus Torvalds	bool
8091da177e4SLinus Torvalds
81039b8d525SRalf Baechleconfig SYNC_R4K
81139b8d525SRalf Baechle	bool
81239b8d525SRalf Baechle
813d388d685SMaciej W. Rozyckiconfig NO_IOPORT
814d388d685SMaciej W. Rozycki	def_bool n
815d388d685SMaciej W. Rozycki
8168313da30SRalf Baechleconfig GENERIC_ISA_DMA
8178313da30SRalf Baechle	bool
8188313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
8198313da30SRalf Baechle
820aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
821aa414dffSRalf Baechle	bool
8228313da30SRalf Baechle	select GENERIC_ISA_DMA
823aa414dffSRalf Baechle
82409663335SYoichi Yuasaconfig GENERIC_GPIO
82509663335SYoichi Yuasa	bool
82609663335SYoichi Yuasa
8275e83d430SRalf Baechle#
8283cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
8295e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
8305e83d430SRalf Baechle# choice statement should be more obvious to the user.
8315e83d430SRalf Baechle#
8325e83d430SRalf Baechlechoice
8335e83d430SRalf Baechle	prompt "Endianess selection"
8341da177e4SLinus Torvalds	help
8351da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
8365e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
8373cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
8385e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
8393dde6ad8SDavid Sterba	  one or the other endianness.
8405e83d430SRalf Baechle
8415e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
8425e83d430SRalf Baechle	bool "Big endian"
8435e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
8445e83d430SRalf Baechle
8455e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8465e83d430SRalf Baechle	bool "Little endian"
8475e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8485e83d430SRalf Baechle	help
8495e83d430SRalf Baechle
8505e83d430SRalf Baechleendchoice
8515e83d430SRalf Baechle
8522116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8532116245eSRalf Baechle	bool
8542116245eSRalf Baechle
8555e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8565e83d430SRalf Baechle	bool
8575e83d430SRalf Baechle
8585e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8595e83d430SRalf Baechle	bool
8601da177e4SLinus Torvalds
8611da177e4SLinus Torvaldsconfig IRQ_CPU
8621da177e4SLinus Torvalds	bool
8631da177e4SLinus Torvalds
8641da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8651da177e4SLinus Torvalds	bool
8661da177e4SLinus Torvalds
8675e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8685e83d430SRalf Baechle	bool
8695e83d430SRalf Baechle
8709267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8719267a30dSMarc St-Jean	bool
8729267a30dSMarc St-Jean
8739267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
8749267a30dSMarc St-Jean	bool
8759267a30dSMarc St-Jean
8768420fd00SAtsushi Nemotoconfig IRQ_TXX9
8778420fd00SAtsushi Nemoto	bool
8788420fd00SAtsushi Nemoto
879d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
880d5ab1a69SYoichi Yuasa	bool
881d5ab1a69SYoichi Yuasa
88239b8d525SRalf Baechleconfig IRQ_GIC
88339b8d525SRalf Baechle	bool
88439b8d525SRalf Baechle
885a86c7f72SDavid Daneyconfig IRQ_CPU_OCTEON
886a86c7f72SDavid Daney	bool
887a86c7f72SDavid Daney
8881da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8891da177e4SLinus Torvalds	bool
8901da177e4SLinus Torvalds
891252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8921da177e4SLinus Torvalds	bool
8931da177e4SLinus Torvalds
8949267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
8959267a30dSMarc St-Jean	bool
8969267a30dSMarc St-Jean
897663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
898663c3d90Sthomas@koeller.dyndns.org	bool
899663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
900663c3d90Sthomas@koeller.dyndns.org
901*a83860c2SRalf Baechleconfig SOC_EMMA2RH
902*a83860c2SRalf Baechle	bool
903*a83860c2SRalf Baechle	select CEVT_R4K
904*a83860c2SRalf Baechle	select CSRC_R4K
905*a83860c2SRalf Baechle	select DMA_NONCOHERENT
906*a83860c2SRalf Baechle	select IRQ_CPU
907*a83860c2SRalf Baechle	select SWAP_IO_SPACE
908*a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
909*a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
910*a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
911*a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
912*a83860c2SRalf Baechle
913edb6310aSDaniel Lairdconfig SOC_PNX833X
914edb6310aSDaniel Laird	bool
915edb6310aSDaniel Laird	select CEVT_R4K
916edb6310aSDaniel Laird	select CSRC_R4K
917edb6310aSDaniel Laird	select IRQ_CPU
918edb6310aSDaniel Laird	select DMA_NONCOHERENT
919edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
920edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
921edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
922edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
923edb6310aSDaniel Laird	select GENERIC_HARDIRQS_NO__DO_IRQ
924edb6310aSDaniel Laird	select GENERIC_GPIO
925edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
926edb6310aSDaniel Laird
927edb6310aSDaniel Lairdconfig SOC_PNX8335
928edb6310aSDaniel Laird	bool
929edb6310aSDaniel Laird	select SOC_PNX833X
930edb6310aSDaniel Laird
931bdf21b18SPete Popovconfig PNX8550
932bdf21b18SPete Popov	bool
933bdf21b18SPete Popov	select SOC_PNX8550
934bdf21b18SPete Popov
935bdf21b18SPete Popovconfig SOC_PNX8550
936bdf21b18SPete Popov	bool
937bdf21b18SPete Popov	select DMA_NONCOHERENT
938bdf21b18SPete Popov	select HW_HAS_PCI
939b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
94036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
9417cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
942e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
9434ead1681SFlorian Fainelli	select GENERIC_GPIO
944bdf21b18SPete Popov
9451da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
9461da177e4SLinus Torvalds	bool
9471da177e4SLinus Torvalds
948663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
949663c3d90Sthomas@koeller.dyndns.org	bool
950663c3d90Sthomas@koeller.dyndns.org
951e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
952e2defae5SThomas Bogendoerfer	bool
953e2defae5SThomas Bogendoerfer
9545b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
9555b438c44SThomas Bogendoerfer	bool
9565b438c44SThomas Bogendoerfer
957e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
958e2defae5SThomas Bogendoerfer	bool
959e2defae5SThomas Bogendoerfer
960e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
961e2defae5SThomas Bogendoerfer	bool
962e2defae5SThomas Bogendoerfer
963e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
964e2defae5SThomas Bogendoerfer	bool
965e2defae5SThomas Bogendoerfer
966e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
967e2defae5SThomas Bogendoerfer	bool
968e2defae5SThomas Bogendoerfer
969e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
970e2defae5SThomas Bogendoerfer	bool
971e2defae5SThomas Bogendoerfer
9725e83d430SRalf Baechleconfig ARC32
9735e83d430SRalf Baechle	bool
9745e83d430SRalf Baechle
975231a35d3SThomas Bogendoerferconfig SNIPROM
976231a35d3SThomas Bogendoerfer	bool
977231a35d3SThomas Bogendoerfer
9781da177e4SLinus Torvaldsconfig BOOT_ELF32
9791da177e4SLinus Torvalds	bool
9801da177e4SLinus Torvalds
9811da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
9821da177e4SLinus Torvalds	int
98373b4390fSRalf Baechle	default "4" if MACH_DECSTATION || MIKROTIK_RB532
984a86c7f72SDavid Daney	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
9859267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
9861da177e4SLinus Torvalds	default "5"
9871da177e4SLinus Torvalds
9881da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
9891da177e4SLinus Torvalds	bool
9901da177e4SLinus Torvalds
9911da177e4SLinus Torvaldsconfig ARC_CONSOLE
9921da177e4SLinus Torvalds	bool "ARC console support"
993e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
9941da177e4SLinus Torvalds
9951da177e4SLinus Torvaldsconfig ARC_MEMORY
9961da177e4SLinus Torvalds	bool
99714b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9981da177e4SLinus Torvalds	default y
9991da177e4SLinus Torvalds
10001da177e4SLinus Torvaldsconfig ARC_PROMLIB
10011da177e4SLinus Torvalds	bool
1002e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
10031da177e4SLinus Torvalds	default y
10041da177e4SLinus Torvalds
10051da177e4SLinus Torvaldsconfig ARC64
10061da177e4SLinus Torvalds	bool
10071da177e4SLinus Torvalds
10081da177e4SLinus Torvaldsconfig BOOT_ELF64
10091da177e4SLinus Torvalds	bool
10101da177e4SLinus Torvalds
10111da177e4SLinus Torvaldsmenu "CPU selection"
10121da177e4SLinus Torvalds
10131da177e4SLinus Torvaldschoice
10141da177e4SLinus Torvalds	prompt "CPU type"
10151da177e4SLinus Torvalds	default CPU_R4X00
10161da177e4SLinus Torvalds
10172a21c730SFuxin Zhangconfig CPU_LOONGSON2
10182a21c730SFuxin Zhang	bool "Loongson 2"
10192a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
10202a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
10212a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
10222a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
10232a21c730SFuxin Zhang	help
10242a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
10252a21c730SFuxin Zhang	  with many extensions.
10262a21c730SFuxin Zhang
10276e760c8dSRalf Baechleconfig CPU_MIPS32_R1
10286e760c8dSRalf Baechle	bool "MIPS32 Release 1"
10297cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
1030f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10316e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1032797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1033ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10346e760c8dSRalf Baechle	help
10355e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10361e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10371e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10381e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10391e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10401e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
10411e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
10421e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
10431e5f1caaSRalf Baechle	  performance.
10441e5f1caaSRalf Baechle
10451e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
10461e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
10477cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
1048f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10491e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1050797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1051ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10521e5f1caaSRalf Baechle	help
10535e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10546e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10556e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10566e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10576e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10581da177e4SLinus Torvalds
10596e760c8dSRalf Baechleconfig CPU_MIPS64_R1
10606e760c8dSRalf Baechle	bool "MIPS64 Release 1"
10617cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1062f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1063797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1064ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1065ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1066ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10676e760c8dSRalf Baechle	help
10686e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10696e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10706e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10716e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10726e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10731e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
10741e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
10751e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
10761e5f1caaSRalf Baechle	  performance.
10771e5f1caaSRalf Baechle
10781e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
10791e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
10807cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1081f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1082797798c1SRalf Baechle	select CPU_HAS_PREFETCH
10831e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10841e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1085ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10861e5f1caaSRalf Baechle	help
10871e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10881e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10891e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10901e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10911e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10921da177e4SLinus Torvalds
10931da177e4SLinus Torvaldsconfig CPU_R3000
10941da177e4SLinus Torvalds	bool "R3000"
10957cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1096f7062ddbSRalf Baechle	select CPU_HAS_WB
1097ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1098797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10991da177e4SLinus Torvalds	help
11001da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
11011da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
11021da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
11031da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
11041da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
11051da177e4SLinus Torvalds	  try to recompile with R3000.
11061da177e4SLinus Torvalds
11071da177e4SLinus Torvaldsconfig CPU_TX39XX
11081da177e4SLinus Torvalds	bool "R39XX"
11097cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1110ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11111da177e4SLinus Torvalds
11121da177e4SLinus Torvaldsconfig CPU_VR41XX
11131da177e4SLinus Torvalds	bool "R41xx"
11147cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1115ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1116ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11171da177e4SLinus Torvalds	help
11185e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
11191da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
11201da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
11211da177e4SLinus Torvalds	  processor or vice versa.
11221da177e4SLinus Torvalds
11231da177e4SLinus Torvaldsconfig CPU_R4300
11241da177e4SLinus Torvalds	bool "R4300"
11257cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1126f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1127ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1128ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11291da177e4SLinus Torvalds	help
11301da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
11311da177e4SLinus Torvalds
11321da177e4SLinus Torvaldsconfig CPU_R4X00
11331da177e4SLinus Torvalds	bool "R4x00"
11347cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1135f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1136ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1137ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11381da177e4SLinus Torvalds	help
11391da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
11401da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
11411da177e4SLinus Torvalds
11421da177e4SLinus Torvaldsconfig CPU_TX49XX
11431da177e4SLinus Torvalds	bool "R49XX"
11447cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1145f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1146de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1147ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1148ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11491da177e4SLinus Torvalds
11501da177e4SLinus Torvaldsconfig CPU_R5000
11511da177e4SLinus Torvalds	bool "R5000"
11527cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1153f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1154ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1155ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11561da177e4SLinus Torvalds	help
11571da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
11581da177e4SLinus Torvalds
11591da177e4SLinus Torvaldsconfig CPU_R5432
11601da177e4SLinus Torvalds	bool "R5432"
11617cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1162f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11635e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11645e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
11651da177e4SLinus Torvalds
1166542c1020SShinya Kuribayashiconfig CPU_R5500
1167542c1020SShinya Kuribayashi	bool "R5500"
1168542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1169542c1020SShinya Kuribayashi	select CPU_HAS_LLSC
1170542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1171542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
1172542c1020SShinya Kuribayashi	help
1173542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1174542c1020SShinya Kuribayashi	  instruction set.
1175542c1020SShinya Kuribayashi
11761da177e4SLinus Torvaldsconfig CPU_R6000
11771da177e4SLinus Torvalds	bool "R6000"
1178ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1179f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11807cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1181ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11821da177e4SLinus Torvalds	help
11831da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1184c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
11851da177e4SLinus Torvalds
11861da177e4SLinus Torvaldsconfig CPU_NEVADA
11871da177e4SLinus Torvalds	bool "RM52xx"
11887cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1189f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1190ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1191ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11921da177e4SLinus Torvalds	help
11931da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
11941da177e4SLinus Torvalds
11951da177e4SLinus Torvaldsconfig CPU_R8000
11961da177e4SLinus Torvalds	bool "R8000"
1197ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
11987cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1199f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12005e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1201ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12021da177e4SLinus Torvalds	help
12031da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
12041da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
12051da177e4SLinus Torvalds
12061da177e4SLinus Torvaldsconfig CPU_R10000
12071da177e4SLinus Torvalds	bool "R10000"
12087cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1209f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12105e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1211ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1212ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1213797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12141da177e4SLinus Torvalds	help
12151da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
12161da177e4SLinus Torvalds
12171da177e4SLinus Torvaldsconfig CPU_RM7000
12181da177e4SLinus Torvalds	bool "RM7000"
12197cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1220f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12215e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1222ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1223ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1224797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12251da177e4SLinus Torvalds
12261da177e4SLinus Torvaldsconfig CPU_RM9000
12271da177e4SLinus Torvalds	bool "RM9000"
12287cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1229f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12305e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1231ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1232ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1233797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12340004a9dfSRalf Baechle	select WEAK_ORDERING
12351da177e4SLinus Torvalds
12361da177e4SLinus Torvaldsconfig CPU_SB1
12371da177e4SLinus Torvalds	bool "SB1"
12387cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1239f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1240ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1241ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1242797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12430004a9dfSRalf Baechle	select WEAK_ORDERING
12441da177e4SLinus Torvalds
1245a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1246a86c7f72SDavid Daney	bool "Cavium Octeon processor"
12475e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1248a86c7f72SDavid Daney	select IRQ_CPU
1249a86c7f72SDavid Daney	select IRQ_CPU_OCTEON
1250a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1251a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1252a86c7f72SDavid Daney	select SYS_SUPPORTS_SMP
1253a86c7f72SDavid Daney	select NR_CPUS_DEFAULT_16
1254a86c7f72SDavid Daney	select WEAK_ORDERING
1255a86c7f72SDavid Daney	select WEAK_REORDERING_BEYOND_LLSC
1256a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
1257a86c7f72SDavid Daney	help
1258a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1259a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1260a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1261a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1262a86c7f72SDavid Daney
12631da177e4SLinus Torvaldsendchoice
12641da177e4SLinus Torvalds
12652a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
12662a21c730SFuxin Zhang	bool
12672a21c730SFuxin Zhang
12687cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
12697cf8053bSRalf Baechle	bool
12707cf8053bSRalf Baechle
12717cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
12727cf8053bSRalf Baechle	bool
12737cf8053bSRalf Baechle
12747cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
12757cf8053bSRalf Baechle	bool
12767cf8053bSRalf Baechle
12777cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
12787cf8053bSRalf Baechle	bool
12797cf8053bSRalf Baechle
12807cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
12817cf8053bSRalf Baechle	bool
12827cf8053bSRalf Baechle
12837cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
12847cf8053bSRalf Baechle	bool
12857cf8053bSRalf Baechle
12867cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
12877cf8053bSRalf Baechle	bool
12887cf8053bSRalf Baechle
12897cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
12907cf8053bSRalf Baechle	bool
12917cf8053bSRalf Baechle
12927cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
12937cf8053bSRalf Baechle	bool
12947cf8053bSRalf Baechle
12957cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
12967cf8053bSRalf Baechle	bool
12977cf8053bSRalf Baechle
12987cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
12997cf8053bSRalf Baechle	bool
13007cf8053bSRalf Baechle
13017cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
13027cf8053bSRalf Baechle	bool
13037cf8053bSRalf Baechle
1304542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1305542c1020SShinya Kuribayashi	bool
1306542c1020SShinya Kuribayashi
13077cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
13087cf8053bSRalf Baechle	bool
13097cf8053bSRalf Baechle
13107cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
13117cf8053bSRalf Baechle	bool
13127cf8053bSRalf Baechle
13137cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
13147cf8053bSRalf Baechle	bool
13157cf8053bSRalf Baechle
13167cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
13177cf8053bSRalf Baechle	bool
13187cf8053bSRalf Baechle
13197cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
13207cf8053bSRalf Baechle	bool
13217cf8053bSRalf Baechle
13227cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
13237cf8053bSRalf Baechle	bool
13247cf8053bSRalf Baechle
13257cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
13267cf8053bSRalf Baechle	bool
13277cf8053bSRalf Baechle
13285e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
13295e683389SDavid Daney	bool
13305e683389SDavid Daney
133117099b11SRalf Baechle#
133217099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
133317099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
133417099b11SRalf Baechle#
13350004a9dfSRalf Baechleconfig WEAK_ORDERING
13360004a9dfSRalf Baechle	bool
133717099b11SRalf Baechle
133817099b11SRalf Baechle#
133917099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
134017099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
134117099b11SRalf Baechle#
134217099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
134317099b11SRalf Baechle	bool
13445e83d430SRalf Baechleendmenu
13455e83d430SRalf Baechle
13465e83d430SRalf Baechle#
13475e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
13485e83d430SRalf Baechle#
13495e83d430SRalf Baechleconfig CPU_MIPS32
13505e83d430SRalf Baechle	bool
13515e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
13525e83d430SRalf Baechle
13535e83d430SRalf Baechleconfig CPU_MIPS64
13545e83d430SRalf Baechle	bool
13555e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
13565e83d430SRalf Baechle
13575e83d430SRalf Baechle#
1358c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
13595e83d430SRalf Baechle#
13605e83d430SRalf Baechleconfig CPU_MIPSR1
13615e83d430SRalf Baechle	bool
13625e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
13635e83d430SRalf Baechle
13645e83d430SRalf Baechleconfig CPU_MIPSR2
13655e83d430SRalf Baechle	bool
1366a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
13675e83d430SRalf Baechle
13685e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
13695e83d430SRalf Baechle	bool
13705e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
13715e83d430SRalf Baechle	bool
13725e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
13735e83d430SRalf Baechle	bool
13745e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
13755e83d430SRalf Baechle	bool
13765e83d430SRalf Baechle
13778192c9eaSDavid Daney#
13788192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
13798192c9eaSDavid Daney#
13808192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
13818192c9eaSDavid Daney       bool
1382f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
13838192c9eaSDavid Daney
13845e83d430SRalf Baechlemenu "Kernel type"
13855e83d430SRalf Baechle
13865e83d430SRalf Baechlechoice
13875e83d430SRalf Baechle
13885e83d430SRalf Baechle	prompt "Kernel code model"
13895e83d430SRalf Baechle	help
13905e83d430SRalf Baechle	  You should only select this option if you have a workload that
13915e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
13925e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
13935e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
13945e83d430SRalf Baechle
13955e83d430SRalf Baechleconfig 32BIT
13965e83d430SRalf Baechle	bool "32-bit kernel"
13975e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
13985e83d430SRalf Baechle	select TRAD_SIGNALS
13995e83d430SRalf Baechle	help
14005e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
14015e83d430SRalf Baechleconfig 64BIT
14025e83d430SRalf Baechle	bool "64-bit kernel"
14035e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1404dbda6ac0SRalf Baechle	select HAVE_SYSCALL_WRAPPERS
14055e83d430SRalf Baechle	help
14065e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
14075e83d430SRalf Baechle
14085e83d430SRalf Baechleendchoice
14095e83d430SRalf Baechle
14101da177e4SLinus Torvaldschoice
14111da177e4SLinus Torvalds	prompt "Kernel page size"
14121da177e4SLinus Torvalds	default PAGE_SIZE_4KB
14131da177e4SLinus Torvalds
14141da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
14151da177e4SLinus Torvalds	bool "4kB"
14161da177e4SLinus Torvalds	help
14171da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
14181da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
14191da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
14201da177e4SLinus Torvalds	 recommended for low memory systems.
14211da177e4SLinus Torvalds
14221da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
14231da177e4SLinus Torvalds	bool "8kB"
14241da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
14251da177e4SLinus Torvalds	help
14261da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
14271da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
14281da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
14291da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
14301da177e4SLinus Torvalds	  compatibility of user applications.
14311da177e4SLinus Torvalds
14321da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
14331da177e4SLinus Torvalds	bool "16kB"
1434714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
14351da177e4SLinus Torvalds	help
14361da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
14371da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1438714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1439714bfad6SRalf Baechle	  Linux distribution to support this.
14401da177e4SLinus Torvalds
14411da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
14421da177e4SLinus Torvalds	bool "64kB"
14431da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
14441da177e4SLinus Torvalds	help
14451da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
14461da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
14471da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1448714bfad6SRalf Baechle	  writing this option is still high experimental.
14491da177e4SLinus Torvalds
14501da177e4SLinus Torvaldsendchoice
14511da177e4SLinus Torvalds
14521da177e4SLinus Torvaldsconfig BOARD_SCACHE
14531da177e4SLinus Torvalds	bool
14541da177e4SLinus Torvalds
14551da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
14561da177e4SLinus Torvalds	bool
14571da177e4SLinus Torvalds	select BOARD_SCACHE
14581da177e4SLinus Torvalds
14599318c51aSChris Dearman#
14609318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
14619318c51aSChris Dearman#
14629318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
14639318c51aSChris Dearman	bool
14649318c51aSChris Dearman	select BOARD_SCACHE
14659318c51aSChris Dearman
14661da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
14671da177e4SLinus Torvalds	bool
14681da177e4SLinus Torvalds	select BOARD_SCACHE
14691da177e4SLinus Torvalds
14701da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
14711da177e4SLinus Torvalds	bool
14721da177e4SLinus Torvalds	select BOARD_SCACHE
14731da177e4SLinus Torvalds
14741da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
14751da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
14761da177e4SLinus Torvalds	depends on CPU_SB1
14771da177e4SLinus Torvalds	help
14781da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
14791da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
14801da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
14811da177e4SLinus Torvalds
14821da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1483c8094b53SRalf Baechle	bool
14841da177e4SLinus Torvalds
1485340ee4b9SRalf Baechlechoice
1486340ee4b9SRalf Baechle	prompt "MIPS MT options"
1487f41ae0b2SRalf Baechle
1488f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1489f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1490f41ae0b2SRalf Baechle	help
1491f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1492f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1493f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1494f41ae0b2SRalf Baechle	  option in this menu.
1495340ee4b9SRalf Baechle
149659d6ab86SRalf Baechleconfig MIPS_MT_SMP
149759d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
149859d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
149959d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1500d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
150159d6ab86SRalf Baechle	select MIPS_MT
1502f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
150359d6ab86SRalf Baechle	select SMP
15040ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
150559d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
150687353d8aSRalf Baechle	select SMP_UP
150759d6ab86SRalf Baechle	help
150859d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
150959d6ab86SRalf Baechle	  has been marketesed into SMVP.
151059d6ab86SRalf Baechle
151141c594abSRalf Baechleconfig MIPS_MT_SMTC
151241c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1513f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1514f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1515f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1516f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1517d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1518f41ae0b2SRalf Baechle	select MIPS_MT
1519130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
152041c594abSRalf Baechle	select SMP
152173b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
152287353d8aSRalf Baechle	select SMP_UP
1523f41ae0b2SRalf Baechle	help
1524f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1525f41ae0b2SRalf Baechle	  marketesed into SMVP.
152641c594abSRalf Baechle
1527340ee4b9SRalf Baechleendchoice
1528340ee4b9SRalf Baechle
1529f41ae0b2SRalf Baechleconfig MIPS_MT
1530f41ae0b2SRalf Baechle	bool
1531f41ae0b2SRalf Baechle
15320ab7aefcSRalf Baechleconfig SCHED_SMT
15330ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
15340ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
15350ab7aefcSRalf Baechle	default n
15360ab7aefcSRalf Baechle	help
15370ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
15380ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
15390ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
15400ab7aefcSRalf Baechle
15410ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
15420ab7aefcSRalf Baechle	bool
15430ab7aefcSRalf Baechle
15440ab7aefcSRalf Baechle
1545f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1546f41ae0b2SRalf Baechle	bool
1547f41ae0b2SRalf Baechle
1548f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1549f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1550f088fc84SRalf Baechle	default y
155107cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
155207cc0c9eSRalf Baechle
155307cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
155407cc0c9eSRalf Baechle	bool "VPE loader support."
155507cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
155607cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
155707cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
155807cc0c9eSRalf Baechle	select MIPS_MT
155907cc0c9eSRalf Baechle	help
156007cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
156107cc0c9eSRalf Baechle	  onto another VPE and running it.
1562f088fc84SRalf Baechle
15630db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
15640db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
15650db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
15668531a35eSKevin D. Kissell	default n
15670db34215SKevin D. Kissell	help
15680db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
15690db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
15700db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
15710db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
15720db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
15738531a35eSKevin D. Kissell	  impact on interrupt service overhead.
15740db34215SKevin D. Kissell
1575f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1576f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1577f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1578f571eff0SKevin D. Kissell	default n
1579f571eff0SKevin D. Kissell	help
1580f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1581f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1582f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
15838531a35eSKevin D. Kissell	  platform code.  Adds some overhead to interrupt dispatch, and
15848531a35eSKevin D. Kissell	  should be used only if you know what you are doing.
1585f571eff0SKevin D. Kissell
1586e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1587e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1588e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1589e01402b1SRalf Baechle	default y
1590e01402b1SRalf Baechle	help
1591e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1592e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1593e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1594e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1595e01402b1SRalf Baechle
1596e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1597e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1598e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1599e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
16005e83d430SRalf Baechle	help
1601e01402b1SRalf Baechle
16022600990eSRalf Baechleconfig MIPS_APSP_KSPD
16032600990eSRalf Baechle	bool "Enable KSPD"
16042600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
16052600990eSRalf Baechle	default y
16062600990eSRalf Baechle	help
16072600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
16082600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
16092600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
16102600990eSRalf Baechle	  exiting.  You probably want to say yes here.
16112600990eSRalf Baechle
16124a16ff4cSRalf Baechleconfig MIPS_CMP
16134a16ff4cSRalf Baechle	bool "MIPS CMP framework support"
16144a16ff4cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
16154a16ff4cSRalf Baechle	select SYNC_R4K if BROKEN
16164a16ff4cSRalf Baechle	select SYS_SUPPORTS_SMP
16174a16ff4cSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
16184a16ff4cSRalf Baechle	select WEAK_ORDERING
16194a16ff4cSRalf Baechle	default n
16204a16ff4cSRalf Baechle	help
16214a16ff4cSRalf Baechle	  This is a placeholder option for the GCMP work. It will need to
16224a16ff4cSRalf Baechle	  be handled differently...
16234a16ff4cSRalf Baechle
16241da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
16251da177e4SLinus Torvalds	bool
16261da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
16271da177e4SLinus Torvalds	default y
16281da177e4SLinus Torvalds
16291da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
16301da177e4SLinus Torvalds	bool
16311da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
16321da177e4SLinus Torvalds	default y
16331da177e4SLinus Torvalds
16341da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
16351da177e4SLinus Torvalds	bool
16361da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
16371da177e4SLinus Torvalds	default y
16381da177e4SLinus Torvalds
16391da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1640d806cb2bSRalf Baechle	bool
16411da177e4SLinus Torvalds
16421da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1643f7062ddbSRalf Baechle	bool
16441da177e4SLinus Torvalds
16459693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
16469693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
16479693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
16489693a853SFranck Bui-Huu	help
16499693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
16509693a853SFranck Bui-Huu	  increased security at both hardware and software level for
16519693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
16529693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
16539693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
16549693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
16559693a853SFranck Bui-Huu	  here.
16569693a853SFranck Bui-Huu
16571da177e4SLinus Torvaldsconfig CPU_HAS_WB
1658f7062ddbSRalf Baechle	bool
1659e01402b1SRalf Baechle
1660f41ae0b2SRalf Baechle#
1661f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1662f41ae0b2SRalf Baechle#
1663e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1664f41ae0b2SRalf Baechle	bool
1665e01402b1SRalf Baechle
1666f41ae0b2SRalf Baechle#
1667f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1668f41ae0b2SRalf Baechle#
1669e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1670f41ae0b2SRalf Baechle	bool
1671e01402b1SRalf Baechle
16721da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
16731da177e4SLinus Torvalds	bool
16741da177e4SLinus Torvalds	depends on !CPU_R3000
16751da177e4SLinus Torvalds	default y
16761da177e4SLinus Torvalds
1677ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1678ea580401SRalf Baechle	bool
1679ea580401SRalf Baechle
16801da177e4SLinus Torvalds#
168120d60d99SMaciej W. Rozycki# CPU non-features
168220d60d99SMaciej W. Rozycki#
168320d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
168420d60d99SMaciej W. Rozycki	bool
168520d60d99SMaciej W. Rozycki
168620d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
168720d60d99SMaciej W. Rozycki	bool
168820d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
168920d60d99SMaciej W. Rozycki
169020d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
169120d60d99SMaciej W. Rozycki	bool
169220d60d99SMaciej W. Rozycki
169320d60d99SMaciej W. Rozycki#
1694797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1695797798c1SRalf Baechle#
1696797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1697797798c1SRalf Baechle	bool
1698797798c1SRalf Baechle	default y
1699797798c1SRalf Baechle
1700797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1701797798c1SRalf Baechle	bool
1702797798c1SRalf Baechle	default y
1703797798c1SRalf Baechle
17040d7012a9SIngo Molnarconfig IRQ_PER_CPU
17050d7012a9SIngo Molnar	bool
17060d7012a9SIngo Molnar
1707797798c1SRalf Baechle#
17081da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
17091da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
17101da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
17111da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
17121da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
17131da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
17141da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
17151da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1716797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1717797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1718797798c1SRalf Baechle#   support.
17191da177e4SLinus Torvalds#
17201da177e4SLinus Torvaldsconfig HIGHMEM
17211da177e4SLinus Torvalds	bool "High Memory Support"
1722797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1723797798c1SRalf Baechle
1724797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1725797798c1SRalf Baechle	bool
1726797798c1SRalf Baechle
1727797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1728797798c1SRalf Baechle	bool
17291da177e4SLinus Torvalds
17309693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
17319693a853SFranck Bui-Huu	bool
17329693a853SFranck Bui-Huu
1733b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1734b4819b59SYoichi Yuasa	def_bool y
1735b4819b59SYoichi Yuasa	depends on !NUMA
1736b4819b59SYoichi Yuasa
1737d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1738d8cb4e11SRalf Baechle	bool
1739d8cb4e11SRalf Baechle	default y if SGI_IP27
1740d8cb4e11SRalf Baechle	help
17413dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1742d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1743d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1744d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1745d8cb4e11SRalf Baechle
1746cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1747cce335aeSRalf Baechle	def_bool y
1748cce335aeSRalf Baechle
1749b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1750b1c6cd42SAtsushi Nemoto	bool
17517de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
175231473747SAtsushi Nemoto
1753d8cb4e11SRalf Baechleconfig NUMA
1754d8cb4e11SRalf Baechle	bool "NUMA Support"
1755d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1756d8cb4e11SRalf Baechle	help
1757d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1758d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1759d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1760d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1761d8cb4e11SRalf Baechle	  disabled.
1762d8cb4e11SRalf Baechle
1763d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1764d8cb4e11SRalf Baechle	bool
1765d8cb4e11SRalf Baechle
1766c80d79d7SYasunori Gotoconfig NODES_SHIFT
1767c80d79d7SYasunori Goto	int
1768c80d79d7SYasunori Goto	default "6"
1769c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1770c80d79d7SYasunori Goto
1771b4819b59SYoichi Yuasasource "mm/Kconfig"
1772b4819b59SYoichi Yuasa
17731da177e4SLinus Torvaldsconfig SMP
17741da177e4SLinus Torvalds	bool "Multi-Processing support"
1775e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1776b4b30a5aSRalf Baechle	select IRQ_PER_CPU
17772f304c0aSJens Axboe	select USE_GENERIC_SMP_HELPERS
1778e73ea273SRalf Baechle	help
17791da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
17801da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
17811da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
17821da177e4SLinus Torvalds
17831da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
17841da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
17851da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
17861da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
17871da177e4SLinus Torvalds	  will run faster if you say N here.
17881da177e4SLinus Torvalds
17891da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
17901da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
17911da177e4SLinus Torvalds
179203502faaSAdrian Bunk	  See also the SMP-HOWTO available at
179303502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
17941da177e4SLinus Torvalds
17951da177e4SLinus Torvalds	  If you don't know what to do here, say N.
17961da177e4SLinus Torvalds
179787353d8aSRalf Baechleconfig SMP_UP
179887353d8aSRalf Baechle	bool
179987353d8aSRalf Baechle
18004a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
18014a16ff4cSRalf Baechle	bool
18024a16ff4cSRalf Baechle
1803e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1804e73ea273SRalf Baechle	bool
1805e73ea273SRalf Baechle
180672ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
180772ede9b1SAtsushi Nemoto	bool
180872ede9b1SAtsushi Nemoto
1809130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1810130e2fb7SRalf Baechle	bool
1811130e2fb7SRalf Baechle
1812130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1813130e2fb7SRalf Baechle	bool
1814130e2fb7SRalf Baechle
1815130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1816130e2fb7SRalf Baechle	bool
1817130e2fb7SRalf Baechle
1818130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1819130e2fb7SRalf Baechle	bool
1820130e2fb7SRalf Baechle
1821130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1822130e2fb7SRalf Baechle	bool
1823130e2fb7SRalf Baechle
1824130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1825130e2fb7SRalf Baechle	bool
1826130e2fb7SRalf Baechle
18271da177e4SLinus Torvaldsconfig NR_CPUS
18281da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
182972ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
18301da177e4SLinus Torvalds	depends on SMP
183172ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1832130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1833130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1834130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1835130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1836130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1837130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
18381da177e4SLinus Torvalds	help
18391da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
18401da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
18411da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
184272ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
184372ede9b1SAtsushi Nemoto	  and 2 for all others.
18441da177e4SLinus Torvalds
18451da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
184672ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
184772ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
184872ede9b1SAtsushi Nemoto	  power of two.
18491da177e4SLinus Torvalds
1850c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
1851c4eee283SAtsushi Nemoto
18521723b4a3SAtsushi Nemoto#
18531723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
18541723b4a3SAtsushi Nemoto#
18551723b4a3SAtsushi Nemoto
18561723b4a3SAtsushi Nemotochoice
18571723b4a3SAtsushi Nemoto	prompt "Timer frequency"
18581723b4a3SAtsushi Nemoto	default HZ_250
18591723b4a3SAtsushi Nemoto	help
18601723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
18611723b4a3SAtsushi Nemoto
18621723b4a3SAtsushi Nemoto	config HZ_48
18630f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
18641723b4a3SAtsushi Nemoto
18651723b4a3SAtsushi Nemoto	config HZ_100
18661723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
18671723b4a3SAtsushi Nemoto
18681723b4a3SAtsushi Nemoto	config HZ_128
18691723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
18701723b4a3SAtsushi Nemoto
18711723b4a3SAtsushi Nemoto	config HZ_250
18721723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
18731723b4a3SAtsushi Nemoto
18741723b4a3SAtsushi Nemoto	config HZ_256
18751723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
18761723b4a3SAtsushi Nemoto
18771723b4a3SAtsushi Nemoto	config HZ_1000
18781723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
18791723b4a3SAtsushi Nemoto
18801723b4a3SAtsushi Nemoto	config HZ_1024
18811723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
18821723b4a3SAtsushi Nemoto
18831723b4a3SAtsushi Nemotoendchoice
18841723b4a3SAtsushi Nemoto
18851723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
18861723b4a3SAtsushi Nemoto	bool
18871723b4a3SAtsushi Nemoto
18881723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
18891723b4a3SAtsushi Nemoto	bool
18901723b4a3SAtsushi Nemoto
18911723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
18921723b4a3SAtsushi Nemoto	bool
18931723b4a3SAtsushi Nemoto
18941723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
18951723b4a3SAtsushi Nemoto	bool
18961723b4a3SAtsushi Nemoto
18971723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
18981723b4a3SAtsushi Nemoto	bool
18991723b4a3SAtsushi Nemoto
19001723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
19011723b4a3SAtsushi Nemoto	bool
19021723b4a3SAtsushi Nemoto
19031723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
19041723b4a3SAtsushi Nemoto	bool
19051723b4a3SAtsushi Nemoto
19061723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
19071723b4a3SAtsushi Nemoto	bool
19081723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
19091723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
19101723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
19111723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
19121723b4a3SAtsushi Nemoto
19131723b4a3SAtsushi Nemotoconfig HZ
19141723b4a3SAtsushi Nemoto	int
19151723b4a3SAtsushi Nemoto	default 48 if HZ_48
19161723b4a3SAtsushi Nemoto	default 100 if HZ_100
19171723b4a3SAtsushi Nemoto	default 128 if HZ_128
19181723b4a3SAtsushi Nemoto	default 250 if HZ_250
19191723b4a3SAtsushi Nemoto	default 256 if HZ_256
19201723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
19211723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
19221723b4a3SAtsushi Nemoto
1923e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
19241da177e4SLinus Torvalds
19251da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
19261da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1927875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
19281da177e4SLinus Torvalds	help
19291da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
19301da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
19311da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
19321da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
19331da177e4SLinus Torvalds	  recommended for normal users.
19341da177e4SLinus Torvalds
1935ea6e942bSAtsushi Nemotoconfig KEXEC
1936ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1937ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1938ea6e942bSAtsushi Nemoto	help
1939ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1940ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
19413dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1942ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1943ea6e942bSAtsushi Nemoto
194401dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
1945ea6e942bSAtsushi Nemoto
1946ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1947ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1948ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1949ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1950ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1951ea6e942bSAtsushi Nemoto
1952ea6e942bSAtsushi Nemotoconfig SECCOMP
1953ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1954293c5bd1SRalf Baechle	depends on PROC_FS
1955ea6e942bSAtsushi Nemoto	default y
1956ea6e942bSAtsushi Nemoto	help
1957ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1958ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1959ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1960ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1961ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1962ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1963ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1964ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1965ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1966ea6e942bSAtsushi Nemoto
1967ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1968ea6e942bSAtsushi Nemoto
19695e83d430SRalf Baechleendmenu
19705e83d430SRalf Baechle
19711da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
19721da177e4SLinus Torvalds	bool
19731da177e4SLinus Torvalds	default y
19741da177e4SLinus Torvalds
19751df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
19761df0f0ffSAtsushi Nemoto	bool
19771df0f0ffSAtsushi Nemoto	default y
19781df0f0ffSAtsushi Nemoto
19791df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
19801df0f0ffSAtsushi Nemoto	bool
19811df0f0ffSAtsushi Nemoto	default y
19821df0f0ffSAtsushi Nemoto
1983b6c3539bSRalf Baechlesource "init/Kconfig"
1984b6c3539bSRalf Baechle
19850011036bSAtsushi Nemotoconfig PROBE_INITRD_HEADER
19860011036bSAtsushi Nemoto	bool "Probe initrd header created by addinitrd"
19870011036bSAtsushi Nemoto	depends on BLK_DEV_INITRD
19880011036bSAtsushi Nemoto	help
19890011036bSAtsushi Nemoto	  Probe initrd header at the last page of kernel image.
19900011036bSAtsushi Nemoto	  Say Y here if you are using arch/mips/boot/addinitrd.c to
19910011036bSAtsushi Nemoto	  add initrd or initramfs image to the kernel image.
19920011036bSAtsushi Nemoto	  Otherwise, say N.
19930011036bSAtsushi Nemoto
1994dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
1995dc52ddc0SMatt Helsley
19961da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
19971da177e4SLinus Torvalds
19985e83d430SRalf Baechleconfig HW_HAS_EISA
19995e83d430SRalf Baechle	bool
20001da177e4SLinus Torvaldsconfig HW_HAS_PCI
20011da177e4SLinus Torvalds	bool
20021da177e4SLinus Torvalds
20031da177e4SLinus Torvaldsconfig PCI
20041da177e4SLinus Torvalds	bool "Support for PCI controller"
20051da177e4SLinus Torvalds	depends on HW_HAS_PCI
2006abb4ae46SRalf Baechle	select PCI_DOMAINS
20071da177e4SLinus Torvalds	help
20081da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
20091da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
20101da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
20111da177e4SLinus Torvalds	  say Y, otherwise N.
20121da177e4SLinus Torvalds
20131da177e4SLinus Torvaldsconfig PCI_DOMAINS
20141da177e4SLinus Torvalds	bool
20151da177e4SLinus Torvalds
20161da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
20171da177e4SLinus Torvalds
20181da177e4SLinus Torvalds#
20191da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
20201da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
20211da177e4SLinus Torvalds# users to choose the right thing ...
20221da177e4SLinus Torvalds#
20231da177e4SLinus Torvaldsconfig ISA
20241da177e4SLinus Torvalds	bool
20251da177e4SLinus Torvalds
20261da177e4SLinus Torvaldsconfig EISA
20271da177e4SLinus Torvalds	bool "EISA support"
20285e83d430SRalf Baechle	depends on HW_HAS_EISA
20291da177e4SLinus Torvalds	select ISA
2030aa414dffSRalf Baechle	select GENERIC_ISA_DMA
20311da177e4SLinus Torvalds	---help---
20321da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
20331da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
20341da177e4SLinus Torvalds
20351da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
20361da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
20371da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
20381da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
20391da177e4SLinus Torvalds
20401da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
20411da177e4SLinus Torvalds
20421da177e4SLinus Torvalds	  Otherwise, say N.
20431da177e4SLinus Torvalds
20441da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
20451da177e4SLinus Torvalds
20461da177e4SLinus Torvaldsconfig TC
20471da177e4SLinus Torvalds	bool "TURBOchannel support"
20481da177e4SLinus Torvalds	depends on MACH_DECSTATION
20491da177e4SLinus Torvalds	help
20501da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
20511da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
20521da177e4SLinus Torvalds	  is available at:
20531da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
20541da177e4SLinus Torvalds
20551da177e4SLinus Torvalds#config ACCESSBUS
20561da177e4SLinus Torvalds#	bool "Access.Bus support"
20571da177e4SLinus Torvalds#	depends on TC
20581da177e4SLinus Torvalds
20591da177e4SLinus Torvaldsconfig MMU
20601da177e4SLinus Torvalds	bool
20611da177e4SLinus Torvalds	default y
20621da177e4SLinus Torvalds
2063d865bea4SRalf Baechleconfig I8253
2064d865bea4SRalf Baechle	bool
2065d865bea4SRalf Baechle
2066cce335aeSRalf Baechleconfig ZONE_DMA32
2067cce335aeSRalf Baechle	bool
2068cce335aeSRalf Baechle
20691da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
20701da177e4SLinus Torvalds
20711da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
20721da177e4SLinus Torvalds
20731da177e4SLinus Torvaldsendmenu
20741da177e4SLinus Torvalds
20751da177e4SLinus Torvaldsmenu "Executable file formats"
20761da177e4SLinus Torvalds
20771da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
20781da177e4SLinus Torvalds
20791da177e4SLinus Torvaldsconfig TRAD_SIGNALS
20801da177e4SLinus Torvalds	bool
20811da177e4SLinus Torvalds
20821da177e4SLinus Torvaldsconfig MIPS32_COMPAT
20831da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2084875d43e7SRalf Baechle	depends on 64BIT
20851da177e4SLinus Torvalds	help
20861da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
20871da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
20881da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
20891da177e4SLinus Torvalds
20901da177e4SLinus Torvaldsconfig COMPAT
20911da177e4SLinus Torvalds	bool
20921da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20931da177e4SLinus Torvalds	default y
20941da177e4SLinus Torvalds
209505e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
209605e43966SAtsushi Nemoto	bool
209705e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
209805e43966SAtsushi Nemoto	default y
209905e43966SAtsushi Nemoto
21001da177e4SLinus Torvaldsconfig MIPS32_O32
21011da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
21021da177e4SLinus Torvalds	depends on MIPS32_COMPAT
21031da177e4SLinus Torvalds	help
21041da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
21051da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
21061da177e4SLinus Torvalds	  existing binaries are in this format.
21071da177e4SLinus Torvalds
21081da177e4SLinus Torvalds	  If unsure, say Y.
21091da177e4SLinus Torvalds
21101da177e4SLinus Torvaldsconfig MIPS32_N32
21111da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
21121da177e4SLinus Torvalds	depends on MIPS32_COMPAT
21131da177e4SLinus Torvalds	help
21141da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
21151da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
21161da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
21171da177e4SLinus Torvalds	  cases.
21181da177e4SLinus Torvalds
21191da177e4SLinus Torvalds	  If unsure, say N.
21201da177e4SLinus Torvalds
21211da177e4SLinus Torvaldsconfig BINFMT_ELF32
21221da177e4SLinus Torvalds	bool
21231da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
21241da177e4SLinus Torvalds
21252116245eSRalf Baechleendmenu
21261da177e4SLinus Torvalds
21272116245eSRalf Baechlemenu "Power management options"
2128952fa954SRodolfo Giometti
2129f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2130f4cb5700SJohannes Berg	def_bool y
2131f4cb5700SJohannes Berg	depends on !SMP
2132f4cb5700SJohannes Berg
21332116245eSRalf Baechlesource "kernel/power/Kconfig"
2134952fa954SRodolfo Giometti
21351da177e4SLinus Torvaldsendmenu
21361da177e4SLinus Torvalds
2137d5950b43SSam Ravnborgsource "net/Kconfig"
2138d5950b43SSam Ravnborg
21391da177e4SLinus Torvaldssource "drivers/Kconfig"
21401da177e4SLinus Torvalds
21411da177e4SLinus Torvaldssource "fs/Kconfig"
21421da177e4SLinus Torvalds
21431da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
21441da177e4SLinus Torvalds
21451da177e4SLinus Torvaldssource "security/Kconfig"
21461da177e4SLinus Torvalds
21471da177e4SLinus Torvaldssource "crypto/Kconfig"
21481da177e4SLinus Torvalds
21491da177e4SLinus Torvaldssource "lib/Kconfig"
2150