xref: /linux/arch/mips/Kconfig (revision fa71c96002d1b02cd1ba1a4477d4b8ad95b587f9)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
41da177e4SLinus Torvalds	# Horrible source of confusion.  Die, die, die ...
51da177e4SLinus Torvalds	select EMBEDDED
690b02340SRalf Baechle	select RTC_LIB
71da177e4SLinus Torvalds
81da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
91da177e4SLinus Torvalds
101da177e4SLinus Torvaldsmenu "Machine selection"
111da177e4SLinus Torvalds
125ac6da66SChristoph Lameterconfig ZONE_DMA
135ac6da66SChristoph Lameter	bool
145ac6da66SChristoph Lameter
155e83d430SRalf Baechlechoice
165e83d430SRalf Baechle	prompt "System type"
175e83d430SRalf Baechle	default SGI_IP22
181da177e4SLinus Torvalds
19c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
20c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
211da177e4SLinus Torvalds
2235189fadSRalf Baechleconfig BASLER_EXCITE
23be91589eSThomas Koeller	bool "Basler eXcite smart camera"
2442f77542SRalf Baechle	select CEVT_R4K
25940f6b48SRalf Baechle	select CSRC_R4K
2635189fadSRalf Baechle	select DMA_COHERENT
2735189fadSRalf Baechle	select HW_HAS_PCI
2835189fadSRalf Baechle	select IRQ_CPU
2935189fadSRalf Baechle	select IRQ_CPU_RM7K
3035189fadSRalf Baechle	select IRQ_CPU_RM9K
31663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
3235189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
3335189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3435189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
35cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3635189fadSRalf Baechle	help
3735189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
38be91589eSThomas Koeller	  Basler Vision Technologies AG.
3935189fadSRalf Baechle
4035189fadSRalf Baechleconfig BASLER_EXCITE_PROTOTYPE
4135189fadSRalf Baechle	bool "Support for pre-release units"
4235189fadSRalf Baechle	depends on BASLER_EXCITE
4335189fadSRalf Baechle	default n
4435189fadSRalf Baechle	help
4535189fadSRalf Baechle	  Pre-series (prototype) units are different from later ones in
4635189fadSRalf Baechle	  some ways. Select this option if you have one of these. Please
4735189fadSRalf Baechle	  note that a kernel built with this option selected will not be
4835189fadSRalf Baechle	  able to run on normal units.
4935189fadSRalf Baechle
501c0c13ebSAurelien Jarnoconfig BCM47XX
511c0c13ebSAurelien Jarno	bool "BCM47XX based boards"
5242f77542SRalf Baechle	select CEVT_R4K
53940f6b48SRalf Baechle	select CSRC_R4K
541c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
551c0c13ebSAurelien Jarno	select HW_HAS_PCI
561c0c13ebSAurelien Jarno	select IRQ_CPU
571c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
581c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
591c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
601c0c13ebSAurelien Jarno	select SSB
611c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
622f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
632f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
641c0c13ebSAurelien Jarno	select GENERIC_GPIO
6525e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
6625e5fb97SAurelien Jarno	select CFE
671c0c13ebSAurelien Jarno	help
681c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
691c0c13ebSAurelien Jarno
701da177e4SLinus Torvaldsconfig MIPS_COBALT
713fa986faSMartin Michlmayr	bool "Cobalt Server"
7242f77542SRalf Baechle	select CEVT_R4K
73940f6b48SRalf Baechle	select CSRC_R4K
741097c6acSYoichi Yuasa	select CEVT_GT641XX
751da177e4SLinus Torvalds	select DMA_NONCOHERENT
761da177e4SLinus Torvalds	select HW_HAS_PCI
77d865bea4SRalf Baechle	select I8253
781da177e4SLinus Torvalds	select I8259
791da177e4SLinus Torvalds	select IRQ_CPU
80d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
81252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
827cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
830a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
84ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
85ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
865e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
879fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
881da177e4SLinus Torvalds
891da177e4SLinus Torvaldsconfig MACH_DECSTATION
903fa986faSMartin Michlmayr	bool "DECstations"
911da177e4SLinus Torvalds	select BOOT_ELF32
9242f77542SRalf Baechle	select CEVT_R4K
93940f6b48SRalf Baechle	select CSRC_R4K
9420d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
9520d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
9620d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
971da177e4SLinus Torvalds	select DMA_NONCOHERENT
98d388d685SMaciej W. Rozycki	select NO_IOPORT
991da177e4SLinus Torvalds	select IRQ_CPU
1007cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
1017cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
102ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
103ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1045e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1051723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
1061723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
1071723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1085e83d430SRalf Baechle	help
1091da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1101da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1111da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1121da177e4SLinus Torvalds
1131da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1141da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1151da177e4SLinus Torvalds
1161da177e4SLinus Torvalds		DECstation 5000/50
1171da177e4SLinus Torvalds		DECstation 5000/150
1181da177e4SLinus Torvalds		DECstation 5000/260
1191da177e4SLinus Torvalds		DECsystem 5900/260
1201da177e4SLinus Torvalds
1211da177e4SLinus Torvalds	  otherwise choose R3000.
1221da177e4SLinus Torvalds
1235e83d430SRalf Baechleconfig MACH_JAZZ
1243fa986faSMartin Michlmayr	bool "Jazz family of machines"
1255e83d430SRalf Baechle	select ARC
1265e83d430SRalf Baechle	select ARC32
1275e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
12842f77542SRalf Baechle	select CEVT_R4K
129940f6b48SRalf Baechle	select CSRC_R4K
130e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1315e83d430SRalf Baechle	select GENERIC_ISA_DMA
132ea202c63SThomas Bogendoerfer	select IRQ_CPU
133d865bea4SRalf Baechle	select I8253
1345e83d430SRalf Baechle	select I8259
1355e83d430SRalf Baechle	select ISA
1367cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1375e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1385e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1391723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1409fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1411da177e4SLinus Torvalds	help
1425e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1435e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1445e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1455e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1465e83d430SRalf Baechle
1471f21d2bdSBrian Murphyconfig LASAT
1481f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
14942f77542SRalf Baechle	select CEVT_R4K
150940f6b48SRalf Baechle	select CSRC_R4K
1511f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1521f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1531f21d2bdSBrian Murphy	select HW_HAS_PCI
154a5ccfe5cSRalf Baechle	select IRQ_CPU
1551f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1561f21d2bdSBrian Murphy	select MIPS_NILE4
1571f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1581f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1591f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1601f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1611f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1621f21d2bdSBrian Murphy	select GENERIC_HARDIRQS_NO__DO_IRQ
1631f21d2bdSBrian Murphy
164ade299d8SYoichi Yuasaconfig LEMOTE_FULONG
165ade299d8SYoichi Yuasa	bool "Lemote Fulong mini-PC"
166ade299d8SYoichi Yuasa	select ARCH_SPARSEMEM_ENABLE
16742f77542SRalf Baechle	select CEVT_R4K
168940f6b48SRalf Baechle	select CSRC_R4K
169ade299d8SYoichi Yuasa	select SYS_HAS_CPU_LOONGSON2
170ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
171ade299d8SYoichi Yuasa	select BOOT_ELF32
172ade299d8SYoichi Yuasa	select BOARD_SCACHE
173ade299d8SYoichi Yuasa	select HAVE_STD_PC_SERIAL_PORT
174ade299d8SYoichi Yuasa	select HW_HAS_PCI
175ade299d8SYoichi Yuasa	select I8259
176ade299d8SYoichi Yuasa	select ISA
177ade299d8SYoichi Yuasa	select IRQ_CPU
178ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
179ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
180ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
181ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
182ade299d8SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
183ade299d8SYoichi Yuasa	select GENERIC_HARDIRQS_NO__DO_IRQ
18423dd6d35SRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
185ade299d8SYoichi Yuasa	select CPU_HAS_WB
186ade299d8SYoichi Yuasa	help
187ade299d8SYoichi Yuasa	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
188ade299d8SYoichi Yuasa	  an FPGA northbridge
189ade299d8SYoichi Yuasa
1901da177e4SLinus Torvaldsconfig MIPS_ATLAS
1913fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1921da177e4SLinus Torvalds	select BOOT_ELF32
193*fa71c960SRalf Baechle	select BOOT_RAW
19442f77542SRalf Baechle	select CEVT_R4K
195940f6b48SRalf Baechle	select CSRC_R4K
1961da177e4SLinus Torvalds	select DMA_NONCOHERENT
19736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1985e83d430SRalf Baechle	select IRQ_CPU
1991da177e4SLinus Torvalds	select HW_HAS_PCI
2005e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2015e83d430SRalf Baechle	select MIPS_BONITO64
202252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2035e83d430SRalf Baechle	select MIPS_MSC
204f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
2051da177e4SLinus Torvalds	select SWAP_IO_SPACE
2067cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2077cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2087cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2097cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2107cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
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
215f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
2169693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
217e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
2181da177e4SLinus Torvalds	help
219f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
2201da177e4SLinus Torvalds	  board.
2211da177e4SLinus Torvalds
2221da177e4SLinus Torvaldsconfig MIPS_MALTA
2233fa986faSMartin Michlmayr	bool "MIPS Malta board"
22461ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2251da177e4SLinus Torvalds	select BOOT_ELF32
226*fa71c960SRalf Baechle	select BOOT_RAW
22742f77542SRalf Baechle	select CEVT_R4K
228940f6b48SRalf Baechle	select CSRC_R4K
2291da177e4SLinus Torvalds	select DMA_NONCOHERENT
2301da177e4SLinus Torvalds	select GENERIC_ISA_DMA
231aa414dffSRalf Baechle	select IRQ_CPU
2321da177e4SLinus Torvalds	select HW_HAS_PCI
233d865bea4SRalf Baechle	select I8253
2341da177e4SLinus Torvalds	select I8259
2355e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2365e83d430SRalf Baechle	select MIPS_BONITO64
2379318c51aSChris Dearman	select MIPS_CPU_SCACHE
238252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2395e83d430SRalf Baechle	select MIPS_MSC
2401da177e4SLinus Torvalds	select SWAP_IO_SPACE
2417cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2427cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2437cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2447cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2457cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
24636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
247ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
248ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2495e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2505e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
251f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2529693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2531da177e4SLinus Torvalds	help
254f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2551da177e4SLinus Torvalds	  board.
2561da177e4SLinus Torvalds
2571da177e4SLinus Torvaldsconfig MIPS_SEAD
258d98cc84dSRalf Baechle	bool "MIPS SEAD board"
25942f77542SRalf Baechle	select CEVT_R4K
260940f6b48SRalf Baechle	select CSRC_R4K
2611da177e4SLinus Torvalds	select IRQ_CPU
2621da177e4SLinus Torvalds	select DMA_NONCOHERENT
26336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2645e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2657cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2667cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2677cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
268ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2695e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2705e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2715e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2729693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
273f638d197SMaciej W. Rozycki	help
274f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
275f638d197SMaciej W. Rozycki	  board.
2761da177e4SLinus Torvalds
277c78cbf49SRalf Baechleconfig MIPS_SIM
2783fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
27942f77542SRalf Baechle	select CEVT_R4K
280940f6b48SRalf Baechle	select CSRC_R4K
281c78cbf49SRalf Baechle	select DMA_NONCOHERENT
28236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
283c78cbf49SRalf Baechle	select IRQ_CPU
2849267a30dSMarc St-Jean	select BOOT_RAW
2857cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2867cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
28736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
288c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
289c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
290f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
291c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
292c78cbf49SRalf Baechle	help
293c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
294c78cbf49SRalf Baechle	  emulator.
295c78cbf49SRalf Baechle
296ade299d8SYoichi Yuasaconfig MARKEINS
297ade299d8SYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
29842f77542SRalf Baechle	select CEVT_R4K
299940f6b48SRalf Baechle	select CSRC_R4K
300ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
301ade299d8SYoichi Yuasa	select HW_HAS_PCI
302ade299d8SYoichi Yuasa	select IRQ_CPU
303ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
304ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
305ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
306ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
307ade299d8SYoichi Yuasa	select SYS_HAS_CPU_R5000
308ade299d8SYoichi Yuasa	help
309ade299d8SYoichi Yuasa	  This enables support for the R5432-based NEC Mark-eins
310ade299d8SYoichi Yuasa	  boards with R5500 CPU.
311ade299d8SYoichi Yuasa
3125e83d430SRalf Baechleconfig MACH_VR41XX
31374142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
31442f77542SRalf Baechle	select CEVT_R4K
315940f6b48SRalf Baechle	select CSRC_R4K
3167cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
3179fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
3185e83d430SRalf Baechle
319ade299d8SYoichi Yuasaconfig PNX8550_JBS
320ade299d8SYoichi Yuasa	bool "Philips PNX8550 based JBS board"
321ade299d8SYoichi Yuasa	select PNX8550
322ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
323ade299d8SYoichi Yuasa
324ade299d8SYoichi Yuasaconfig PNX8550_STB810
325ade299d8SYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
326ade299d8SYoichi Yuasa	select PNX8550
327ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
328ade299d8SYoichi Yuasa
3299267a30dSMarc St-Jeanconfig PMC_MSP
3309267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3319267a30dSMarc St-Jean	depends on EXPERIMENTAL
3329267a30dSMarc St-Jean	select DMA_NONCOHERENT
3339267a30dSMarc St-Jean	select SWAP_IO_SPACE
3349267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3359267a30dSMarc St-Jean	select BOOT_RAW
3369267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3379267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3389267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3399267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3409267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
3419267a30dSMarc St-Jean	select IRQ_CPU
3429267a30dSMarc St-Jean	select SERIAL_8250
3439267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3449267a30dSMarc St-Jean	help
3459267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3469267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3479267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3489267a30dSMarc St-Jean	  a variety of MIPS cores.
3499267a30dSMarc St-Jean
3505e83d430SRalf Baechleconfig PMC_YOSEMITE
3513fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
35242f77542SRalf Baechle	select CEVT_R4K
353940f6b48SRalf Baechle	select CSRC_R4K
3545e83d430SRalf Baechle	select DMA_COHERENT
3555e83d430SRalf Baechle	select HW_HAS_PCI
3565e83d430SRalf Baechle	select IRQ_CPU
3575e83d430SRalf Baechle	select IRQ_CPU_RM7K
3585e83d430SRalf Baechle	select IRQ_CPU_RM9K
3595e83d430SRalf Baechle	select SWAP_IO_SPACE
3607cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
36136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3625e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3635e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3645e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3655e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
366cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
367e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3685e83d430SRalf Baechle	help
3695e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3705e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3711da177e4SLinus Torvalds
37207119621SRalf Baechleconfig QEMU
3733fa986faSMartin Michlmayr	bool "Qemu"
37442f77542SRalf Baechle	select CEVT_R4K
375940f6b48SRalf Baechle	select CSRC_R4K
37607119621SRalf Baechle	select DMA_COHERENT
37707119621SRalf Baechle	select GENERIC_ISA_DMA
37807119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
379d865bea4SRalf Baechle	select I8253
38007119621SRalf Baechle	select I8259
3817bcf7717SRalf Baechle	select IRQ_CPU
38207119621SRalf Baechle	select ISA
38307119621SRalf Baechle	select SWAP_IO_SPACE
3847cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
385a57c2289SRalf Baechle	select SYS_HAS_EARLY_PRINTK
38607119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
38707119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
388c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
3899fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
39072ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
39172ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
39207119621SRalf Baechle	help
39307119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
39407119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
39507119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
39607119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
39707119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
39807119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
39907119621SRalf Baechle
4001da177e4SLinus Torvaldsconfig SGI_IP22
4013fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
4021da177e4SLinus Torvalds	select ARC
4031da177e4SLinus Torvalds	select ARC32
4041da177e4SLinus Torvalds	select BOOT_ELF32
40542f77542SRalf Baechle	select CEVT_R4K
406940f6b48SRalf Baechle	select CSRC_R4K
407e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
4081da177e4SLinus Torvalds	select DMA_NONCOHERENT
4095e83d430SRalf Baechle	select HW_HAS_EISA
410d865bea4SRalf Baechle	select I8253
41168de4803SThomas Bogendoerfer	select I8259
4121da177e4SLinus Torvalds	select IP22_CPU_SCACHE
4131da177e4SLinus Torvalds	select IRQ_CPU
414aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
415e2defae5SThomas Bogendoerfer	select SGI_HAS_DS1286
416e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
417e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
418e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
419e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
420e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
4211da177e4SLinus Torvalds	select SWAP_IO_SPACE
4227cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
4237cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
42436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
425ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
426ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4275e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4281da177e4SLinus Torvalds	help
4291da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4301da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4311da177e4SLinus Torvalds	  that runs on these, say Y here.
4321da177e4SLinus Torvalds
4331da177e4SLinus Torvaldsconfig SGI_IP27
4343fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4351da177e4SLinus Torvalds	select ARC
4361da177e4SLinus Torvalds	select ARC64
4375e83d430SRalf Baechle	select BOOT_ELF64
438e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
4391da177e4SLinus Torvalds	select DMA_IP27
44036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4411da177e4SLinus Torvalds	select HW_HAS_PCI
442130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4437cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
444ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4455e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
446cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
447d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4481a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
449e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
4501da177e4SLinus Torvalds	help
4511da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4521da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4531da177e4SLinus Torvalds	  here.
4541da177e4SLinus Torvalds
455e2defae5SThomas Bogendoerferconfig SGI_IP28
456e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
457e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
458e2defae5SThomas Bogendoerfer	select ARC
459e2defae5SThomas Bogendoerfer	select ARC64
460e2defae5SThomas Bogendoerfer	select BOOT_ELF64
461e2defae5SThomas Bogendoerfer	select CEVT_R4K
462e2defae5SThomas Bogendoerfer	select CSRC_R4K
463e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
464e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
465e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
466e2defae5SThomas Bogendoerfer	select IRQ_CPU
467e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
468e2defae5SThomas Bogendoerfer	select I8253
469e2defae5SThomas Bogendoerfer	select I8259
470e2defae5SThomas Bogendoerfer	select SGI_HAS_DS1286
471e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
472e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
473e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
474e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
475e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
476e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
477e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
478e2defae5SThomas Bogendoerfer	select SYS_HAS_EARLY_PRINTK
479e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
480e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
481e2defae5SThomas Bogendoerfer      help
482e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
483e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
484e2defae5SThomas Bogendoerfer
4851da177e4SLinus Torvaldsconfig SGI_IP32
486cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4871da177e4SLinus Torvalds	select ARC
4881da177e4SLinus Torvalds	select ARC32
4891da177e4SLinus Torvalds	select BOOT_ELF32
49042f77542SRalf Baechle	select CEVT_R4K
491940f6b48SRalf Baechle	select CSRC_R4K
4921da177e4SLinus Torvalds	select DMA_NONCOHERENT
4931da177e4SLinus Torvalds	select HW_HAS_PCI
494dd67b155SRalf Baechle	select IRQ_CPU
4951da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4961da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4977cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4987cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4997cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
500dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
501ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
5025e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5031da177e4SLinus Torvalds	help
5041da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
5051da177e4SLinus Torvalds
506ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
507ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
5085e83d430SRalf Baechle	depends on EXPERIMENTAL
5095e83d430SRalf Baechle	select BOOT_ELF32
5105e83d430SRalf Baechle	select DMA_COHERENT
5115e83d430SRalf Baechle	select SIBYTE_BCM1120
5125e83d430SRalf Baechle	select SWAP_IO_SPACE
5137cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5145e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5155e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5165e83d430SRalf Baechle
517ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
518ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
5195e83d430SRalf Baechle	depends on EXPERIMENTAL
5205e83d430SRalf Baechle	select BOOT_ELF32
5215e83d430SRalf Baechle	select DMA_COHERENT
5225e83d430SRalf Baechle	select SIBYTE_BCM1120
5235e83d430SRalf Baechle	select SWAP_IO_SPACE
5247cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5255e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5265e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5275e83d430SRalf Baechle
5285e83d430SRalf Baechleconfig SIBYTE_CRHONE
5293fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
5305e83d430SRalf Baechle	depends on EXPERIMENTAL
5315e83d430SRalf Baechle	select BOOT_ELF32
5325e83d430SRalf Baechle	select DMA_COHERENT
5335e83d430SRalf Baechle	select SIBYTE_BCM1125
5345e83d430SRalf Baechle	select SWAP_IO_SPACE
5357cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5365e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5375e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5385e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5395e83d430SRalf Baechle
540ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
541ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
542ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
543ade299d8SYoichi Yuasa	select BOOT_ELF32
544ade299d8SYoichi Yuasa	select DMA_COHERENT
545ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
546ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
547ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
548ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
549ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
550ade299d8SYoichi Yuasa
551ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
552ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
553ade299d8SYoichi Yuasa	select BOOT_ELF32
554ade299d8SYoichi Yuasa	select DMA_COHERENT
555ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
556ade299d8SYoichi Yuasa	select SIBYTE_SB1250
557ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
558ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
559ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
560ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
561ade299d8SYoichi Yuasa	select SYS_SUPPORTS_KGDB
562ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
563cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
564ade299d8SYoichi Yuasa
565ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
566ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
567ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
568ade299d8SYoichi Yuasa	select BOOT_ELF32
569ade299d8SYoichi Yuasa	select DMA_COHERENT
570ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
571ade299d8SYoichi Yuasa	select SIBYTE_SB1250
572ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
573ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
574ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
575ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
576ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
577ade299d8SYoichi Yuasa
578ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
579ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
580ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
581ade299d8SYoichi Yuasa	select BOOT_ELF32
582ade299d8SYoichi Yuasa	select DMA_COHERENT
583ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
584ade299d8SYoichi Yuasa	select SIBYTE_SB1250
585ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
586ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
587ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
588ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
589ade299d8SYoichi Yuasa
590ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
591ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
592ade299d8SYoichi Yuasa	select BOOT_ELF32
593ade299d8SYoichi Yuasa	select DMA_COHERENT
594ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
595ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
596ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
597ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
598ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
599651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
600ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
601cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
602ade299d8SYoichi Yuasa
60314b36af4SThomas Bogendoerferconfig SNI_RM
60414b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
6054a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
6064a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
607231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
6085e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
6095e83d430SRalf Baechle	select BOOT_ELF32
61042f77542SRalf Baechle	select CEVT_R4K
611940f6b48SRalf Baechle	select CSRC_R4K
612e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
6135e83d430SRalf Baechle	select DMA_NONCOHERENT
6145e83d430SRalf Baechle	select GENERIC_ISA_DMA
6155e83d430SRalf Baechle	select HW_HAS_EISA
6165e83d430SRalf Baechle	select HW_HAS_PCI
617c066a32aSThomas Bogendoerfer	select IRQ_CPU
618d865bea4SRalf Baechle	select I8253
6195e83d430SRalf Baechle	select I8259
6205e83d430SRalf Baechle	select ISA
6214a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
6227cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
6234a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
624c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
6254a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
62636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
627ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
6285e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
6294a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
6305e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6315e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6321da177e4SLinus Torvalds	help
63314b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
63414b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
6355e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
6365e83d430SRalf Baechle	  support this machine type.
6371da177e4SLinus Torvalds
6385e83d430SRalf Baechleconfig TOSHIBA_JMR3927
6393fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
640229f773eSAtsushi Nemoto	select CEVT_TXX9
6415e83d430SRalf Baechle	select DMA_NONCOHERENT
6425e83d430SRalf Baechle	select HW_HAS_PCI
6435e83d430SRalf Baechle	select MIPS_TX3927
644c87abd75SAtsushi Nemoto	select IRQ_TXX9
6455e83d430SRalf Baechle	select SWAP_IO_SPACE
6467cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
6475e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6486a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6495e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6502127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6515e83d430SRalf Baechle
6525e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
65308a91283SYoichi Yuasa	bool "Toshiba RBTX49[23]7 board"
65442f77542SRalf Baechle	select CEVT_R4K
655940f6b48SRalf Baechle	select CSRC_R4K
656229f773eSAtsushi Nemoto	select CEVT_TXX9
6575e83d430SRalf Baechle	select DMA_NONCOHERENT
6585e83d430SRalf Baechle	select HAS_TXX9_SERIAL
6595e83d430SRalf Baechle	select HW_HAS_PCI
660c87abd75SAtsushi Nemoto	select IRQ_CPU
661c87abd75SAtsushi Nemoto	select IRQ_TXX9
662c87abd75SAtsushi Nemoto	select I8259 if TOSHIBA_FPCIB0
6635e83d430SRalf Baechle	select SWAP_IO_SPACE
6647cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
6655e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6665e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
6676a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6685e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
669cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6709fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6715e83d430SRalf Baechle	help
6725e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
6735e83d430SRalf Baechle	  support this machine type
6741da177e4SLinus Torvalds
67523fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
6763fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
67742f77542SRalf Baechle	select CEVT_R4K
678940f6b48SRalf Baechle	select CSRC_R4K
679229f773eSAtsushi Nemoto	select CEVT_TXX9
68023fbee9dSRalf Baechle	select DMA_NONCOHERENT
68123fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
68223fbee9dSRalf Baechle	select HW_HAS_PCI
683c87abd75SAtsushi Nemoto	select IRQ_CPU
684c87abd75SAtsushi Nemoto	select IRQ_TXX9
68523fbee9dSRalf Baechle	select SWAP_IO_SPACE
6867cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
68723fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
68823fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
68923fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
690cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6919fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6923896b054SAtsushi Nemoto	select GENERIC_GPIO
69323fbee9dSRalf Baechle	help
69423fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
69523fbee9dSRalf Baechle	  support this machine type
69623fbee9dSRalf Baechle
697ade299d8SYoichi Yuasaconfig WR_PPMC
698ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
69942f77542SRalf Baechle	select CEVT_R4K
700940f6b48SRalf Baechle	select CSRC_R4K
701ade299d8SYoichi Yuasa	select IRQ_CPU
702ade299d8SYoichi Yuasa	select BOOT_ELF32
703ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
704ade299d8SYoichi Yuasa	select HW_HAS_PCI
705ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
706ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
707ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
708ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
709ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
710ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
711ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
712ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
713ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
714ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
715ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
716ade299d8SYoichi Yuasa	help
717ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
718ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
719ade299d8SYoichi Yuasa
7201da177e4SLinus Torvaldsendchoice
7211da177e4SLinus Torvalds
722c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
7235e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
7241f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
7255e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
72629c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
72738b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
7285e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
72923fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
7305e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
73138b18f72SRalf Baechle
7325e83d430SRalf Baechleendmenu
7335e83d430SRalf Baechle
7341da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
7351da177e4SLinus Torvalds	bool
7361da177e4SLinus Torvalds	default y
7371da177e4SLinus Torvalds
7381da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
7391da177e4SLinus Torvalds	bool
7401da177e4SLinus Torvalds
741f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
742f0d1b0b3SDavid Howells	bool
743f0d1b0b3SDavid Howells	default n
744f0d1b0b3SDavid Howells
745f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
746f0d1b0b3SDavid Howells	bool
747f0d1b0b3SDavid Howells	default n
748f0d1b0b3SDavid Howells
74900a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
75000a58253SRalf Baechle	bool
75100a58253SRalf Baechle	default y if !MIPS_MT_SMTC
75200a58253SRalf Baechle
7533c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7543c9ee7efSAkinobu Mita	bool
7553c9ee7efSAkinobu Mita	default y
7563c9ee7efSAkinobu Mita
7573c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7583c9ee7efSAkinobu Mita	bool
7593c9ee7efSAkinobu Mita	default y
7603c9ee7efSAkinobu Mita
7611da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7621da177e4SLinus Torvalds	bool
7631da177e4SLinus Torvalds	default y
7641da177e4SLinus Torvalds
7657bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7667bcf7717SRalf Baechle	bool
7677bcf7717SRalf Baechle	default y
7687bcf7717SRalf Baechle
7698db02010SRalf Baechleconfig GENERIC_TIME
7708db02010SRalf Baechle	bool
7718db02010SRalf Baechle	default y
7728db02010SRalf Baechle
773f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
774f5ff0a28SRalf Baechle	bool
775f5ff0a28SRalf Baechle	default y
776f5ff0a28SRalf Baechle
7771cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
7781cc89038SAtsushi Nemoto	bool
7791cc89038SAtsushi Nemoto	default y
7801cc89038SAtsushi Nemoto
781e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
782e77c232cSFranck Bui-Huu	bool
783e77c232cSFranck Bui-Huu	default n
784e77c232cSFranck Bui-Huu
7851da177e4SLinus Torvalds#
7861da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7871da177e4SLinus Torvalds#
7881da177e4SLinus Torvaldsconfig ARC
7891da177e4SLinus Torvalds	bool
7901da177e4SLinus Torvalds
79161ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
79261ed242dSRalf Baechle	bool
79361ed242dSRalf Baechle
7949267a30dSMarc St-Jeanconfig BOOT_RAW
7959267a30dSMarc St-Jean	bool
7969267a30dSMarc St-Jean
797217dd11eSRalf Baechleconfig CEVT_BCM1480
798217dd11eSRalf Baechle	bool
799217dd11eSRalf Baechle
8001097c6acSYoichi Yuasaconfig CEVT_GT641XX
8011097c6acSYoichi Yuasa	bool
8021097c6acSYoichi Yuasa
80342f77542SRalf Baechleconfig CEVT_R4K
80442f77542SRalf Baechle	bool
80542f77542SRalf Baechle
806217dd11eSRalf Baechleconfig CEVT_SB1250
807217dd11eSRalf Baechle	bool
808217dd11eSRalf Baechle
809229f773eSAtsushi Nemotoconfig CEVT_TXX9
810229f773eSAtsushi Nemoto	bool
811229f773eSAtsushi Nemoto
812217dd11eSRalf Baechleconfig CSRC_BCM1480
813217dd11eSRalf Baechle	bool
814217dd11eSRalf Baechle
815940f6b48SRalf Baechleconfig CSRC_R4K
816940f6b48SRalf Baechle	bool
817940f6b48SRalf Baechle
818217dd11eSRalf Baechleconfig CSRC_SB1250
819217dd11eSRalf Baechle	bool
820217dd11eSRalf Baechle
821df78b5c8SAurelien Jarnoconfig CFE
822df78b5c8SAurelien Jarno	bool
823df78b5c8SAurelien Jarno
8241da177e4SLinus Torvaldsconfig DMA_COHERENT
8251da177e4SLinus Torvalds	bool
8261da177e4SLinus Torvalds
8271da177e4SLinus Torvaldsconfig DMA_IP27
8281da177e4SLinus Torvalds	bool
8291da177e4SLinus Torvalds
8301da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
8311da177e4SLinus Torvalds	bool
8324ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
8334ce588cdSRalf Baechle
8344ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
8354ce588cdSRalf Baechle	bool
8361da177e4SLinus Torvalds
8371da177e4SLinus Torvaldsconfig EARLY_PRINTK
83836a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
83936a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
84036a88530SRalf Baechle	default y
84136a88530SRalf Baechle	help
84236a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
84336a88530SRalf Baechle	  to print messages very early in the bootup process.
84436a88530SRalf Baechle
84536a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
846490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
847490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
848490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
84936a88530SRalf Baechle	  unless you want to debug such a crash.
85036a88530SRalf Baechle
85136a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
8521da177e4SLinus Torvalds	bool
8531da177e4SLinus Torvalds
854dbb74540SRalf Baechleconfig HOTPLUG_CPU
855dbb74540SRalf Baechle	bool
856dbb74540SRalf Baechle	default n
857dbb74540SRalf Baechle
8581da177e4SLinus Torvaldsconfig I8259
8591da177e4SLinus Torvalds	bool
8601da177e4SLinus Torvalds
8611da177e4SLinus Torvaldsconfig MIPS_BONITO64
8621da177e4SLinus Torvalds	bool
8631da177e4SLinus Torvalds
8641da177e4SLinus Torvaldsconfig MIPS_MSC
8651da177e4SLinus Torvalds	bool
8661da177e4SLinus Torvalds
8671f21d2bdSBrian Murphyconfig MIPS_NILE4
8681f21d2bdSBrian Murphy	bool
8691f21d2bdSBrian Murphy
8701da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8711da177e4SLinus Torvalds	bool
8721da177e4SLinus Torvalds
873d388d685SMaciej W. Rozyckiconfig NO_IOPORT
874d388d685SMaciej W. Rozycki	def_bool n
875d388d685SMaciej W. Rozycki
8768313da30SRalf Baechleconfig GENERIC_ISA_DMA
8778313da30SRalf Baechle	bool
8788313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
8798313da30SRalf Baechle
880aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
881aa414dffSRalf Baechle	bool
8828313da30SRalf Baechle	select GENERIC_ISA_DMA
883aa414dffSRalf Baechle
88409663335SYoichi Yuasaconfig GENERIC_GPIO
88509663335SYoichi Yuasa	bool
88609663335SYoichi Yuasa
8875e83d430SRalf Baechle#
8883cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
8895e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
8905e83d430SRalf Baechle# choice statement should be more obvious to the user.
8915e83d430SRalf Baechle#
8925e83d430SRalf Baechlechoice
8935e83d430SRalf Baechle	prompt "Endianess selection"
8941da177e4SLinus Torvalds	help
8951da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
8965e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
8973cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
8985e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
8993dde6ad8SDavid Sterba	  one or the other endianness.
9005e83d430SRalf Baechle
9015e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
9025e83d430SRalf Baechle	bool "Big endian"
9035e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
9045e83d430SRalf Baechle
9055e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
9065e83d430SRalf Baechle	bool "Little endian"
9075e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
9085e83d430SRalf Baechle	help
9095e83d430SRalf Baechle
9105e83d430SRalf Baechleendchoice
9115e83d430SRalf Baechle
9122116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
9132116245eSRalf Baechle	bool
9142116245eSRalf Baechle
9155e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
9165e83d430SRalf Baechle	bool
9175e83d430SRalf Baechle
9185e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
9195e83d430SRalf Baechle	bool
9201da177e4SLinus Torvalds
9211da177e4SLinus Torvaldsconfig IRQ_CPU
9221da177e4SLinus Torvalds	bool
9231da177e4SLinus Torvalds
9241da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
9251da177e4SLinus Torvalds	bool
9261da177e4SLinus Torvalds
9275e83d430SRalf Baechleconfig IRQ_CPU_RM9K
9285e83d430SRalf Baechle	bool
9295e83d430SRalf Baechle
9309267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
9319267a30dSMarc St-Jean	bool
9329267a30dSMarc St-Jean
9339267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
9349267a30dSMarc St-Jean	bool
9359267a30dSMarc St-Jean
9368420fd00SAtsushi Nemotoconfig IRQ_TXX9
9378420fd00SAtsushi Nemoto	bool
9388420fd00SAtsushi Nemoto
939d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
940d5ab1a69SYoichi Yuasa	bool
941d5ab1a69SYoichi Yuasa
9421da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
9431da177e4SLinus Torvalds	bool
9441da177e4SLinus Torvalds
945252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
9461da177e4SLinus Torvalds	bool
9471da177e4SLinus Torvalds
9489267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
9499267a30dSMarc St-Jean	bool
9509267a30dSMarc St-Jean
9511da177e4SLinus Torvaldsconfig MIPS_TX3927
9521da177e4SLinus Torvalds	bool
9531da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
9541da177e4SLinus Torvalds
955663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
956663c3d90Sthomas@koeller.dyndns.org	bool
957663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
958663c3d90Sthomas@koeller.dyndns.org
959bdf21b18SPete Popovconfig PNX8550
960bdf21b18SPete Popov	bool
961bdf21b18SPete Popov	select SOC_PNX8550
962bdf21b18SPete Popov
963bdf21b18SPete Popovconfig SOC_PNX8550
964bdf21b18SPete Popov	bool
965bdf21b18SPete Popov	select DMA_NONCOHERENT
966bdf21b18SPete Popov	select HW_HAS_PCI
967b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
96836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
9697cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
970e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
971cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
9724ead1681SFlorian Fainelli	select GENERIC_GPIO
973bdf21b18SPete Popov
9741da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
9751da177e4SLinus Torvalds	bool
9761da177e4SLinus Torvalds
977355c471fSdmitry pervushinconfig EMMA2RH
978355c471fSdmitry pervushin	bool
979355c471fSdmitry pervushin	depends on MARKEINS
980355c471fSdmitry pervushin	default y
981355c471fSdmitry pervushin
982663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
983663c3d90Sthomas@koeller.dyndns.org	bool
984663c3d90Sthomas@koeller.dyndns.org
985e2defae5SThomas Bogendoerferconfig SGI_HAS_DS1286
986e2defae5SThomas Bogendoerfer	bool
987e2defae5SThomas Bogendoerfer
988e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
989e2defae5SThomas Bogendoerfer	bool
990e2defae5SThomas Bogendoerfer
991e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
992e2defae5SThomas Bogendoerfer	bool
993e2defae5SThomas Bogendoerfer
994e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
995e2defae5SThomas Bogendoerfer	bool
996e2defae5SThomas Bogendoerfer
997e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
998e2defae5SThomas Bogendoerfer	bool
999e2defae5SThomas Bogendoerfer
1000e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1001e2defae5SThomas Bogendoerfer	bool
1002e2defae5SThomas Bogendoerfer
1003e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1004e2defae5SThomas Bogendoerfer	bool
1005e2defae5SThomas Bogendoerfer
10065e83d430SRalf Baechleconfig ARC32
10075e83d430SRalf Baechle	bool
10085e83d430SRalf Baechle
1009231a35d3SThomas Bogendoerferconfig SNIPROM
1010231a35d3SThomas Bogendoerfer	bool
1011231a35d3SThomas Bogendoerfer
10121da177e4SLinus Torvaldsconfig BOOT_ELF32
10131da177e4SLinus Torvalds	bool
10141da177e4SLinus Torvalds
10151da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
10161da177e4SLinus Torvalds	int
101706cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
1018e2defae5SThomas Bogendoerfer	default "7" if SGI_IP27 || SGI_IP28 || SNI_RM
10199267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
10201da177e4SLinus Torvalds	default "5"
10211da177e4SLinus Torvalds
10221da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
10231da177e4SLinus Torvalds	bool
10241da177e4SLinus Torvalds
10251da177e4SLinus Torvaldsconfig ARC_CONSOLE
10261da177e4SLinus Torvalds	bool "ARC console support"
1027e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
10281da177e4SLinus Torvalds
10291da177e4SLinus Torvaldsconfig ARC_MEMORY
10301da177e4SLinus Torvalds	bool
103114b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
10321da177e4SLinus Torvalds	default y
10331da177e4SLinus Torvalds
10341da177e4SLinus Torvaldsconfig ARC_PROMLIB
10351da177e4SLinus Torvalds	bool
1036e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
10371da177e4SLinus Torvalds	default y
10381da177e4SLinus Torvalds
10391da177e4SLinus Torvaldsconfig ARC64
10401da177e4SLinus Torvalds	bool
10411da177e4SLinus Torvalds
10421da177e4SLinus Torvaldsconfig BOOT_ELF64
10431da177e4SLinus Torvalds	bool
10441da177e4SLinus Torvalds
10451da177e4SLinus Torvaldsmenu "CPU selection"
10461da177e4SLinus Torvalds
10471da177e4SLinus Torvaldschoice
10481da177e4SLinus Torvalds	prompt "CPU type"
10491da177e4SLinus Torvalds	default CPU_R4X00
10501da177e4SLinus Torvalds
10512a21c730SFuxin Zhangconfig CPU_LOONGSON2
10522a21c730SFuxin Zhang	bool "Loongson 2"
10532a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
10542a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
10552a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
10562a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
10572a21c730SFuxin Zhang	help
10582a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
10592a21c730SFuxin Zhang	  with many extensions.
10602a21c730SFuxin Zhang
10616e760c8dSRalf Baechleconfig CPU_MIPS32_R1
10626e760c8dSRalf Baechle	bool "MIPS32 Release 1"
10637cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
1064f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10656e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1066797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1067ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10686e760c8dSRalf Baechle	help
10695e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10701e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10711e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10721e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10731e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10741e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
10751e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
10761e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
10771e5f1caaSRalf Baechle	  performance.
10781e5f1caaSRalf Baechle
10791e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
10801e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
10817cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
1082f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10831e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1084797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1085ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10861e5f1caaSRalf Baechle	help
10875e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10886e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10896e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10906e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10916e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10921da177e4SLinus Torvalds
10936e760c8dSRalf Baechleconfig CPU_MIPS64_R1
10946e760c8dSRalf Baechle	bool "MIPS64 Release 1"
10957cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1096f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1097797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1098ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1099ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1100ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11016e760c8dSRalf Baechle	help
11026e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11036e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11046e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11056e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11066e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11071e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
11081e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
11091e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
11101e5f1caaSRalf Baechle	  performance.
11111e5f1caaSRalf Baechle
11121e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
11131e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
11147cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1115f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1116797798c1SRalf Baechle	select CPU_HAS_PREFETCH
11171e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11181e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1119ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11201e5f1caaSRalf Baechle	help
11211e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11221e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11231e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11241e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11251e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11261da177e4SLinus Torvalds
11271da177e4SLinus Torvaldsconfig CPU_R3000
11281da177e4SLinus Torvalds	bool "R3000"
11297cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1130f7062ddbSRalf Baechle	select CPU_HAS_WB
1131ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1132797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11331da177e4SLinus Torvalds	help
11341da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
11351da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
11361da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
11371da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
11381da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
11391da177e4SLinus Torvalds	  try to recompile with R3000.
11401da177e4SLinus Torvalds
11411da177e4SLinus Torvaldsconfig CPU_TX39XX
11421da177e4SLinus Torvalds	bool "R39XX"
11437cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1144ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11451da177e4SLinus Torvalds
11461da177e4SLinus Torvaldsconfig CPU_VR41XX
11471da177e4SLinus Torvalds	bool "R41xx"
11487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1149ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1150ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11511da177e4SLinus Torvalds	help
11525e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
11531da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
11541da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
11551da177e4SLinus Torvalds	  processor or vice versa.
11561da177e4SLinus Torvalds
11571da177e4SLinus Torvaldsconfig CPU_R4300
11581da177e4SLinus Torvalds	bool "R4300"
11597cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1160f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1161ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1162ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11631da177e4SLinus Torvalds	help
11641da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
11651da177e4SLinus Torvalds
11661da177e4SLinus Torvaldsconfig CPU_R4X00
11671da177e4SLinus Torvalds	bool "R4x00"
11687cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1169f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1170ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1171ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11721da177e4SLinus Torvalds	help
11731da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
11741da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
11751da177e4SLinus Torvalds
11761da177e4SLinus Torvaldsconfig CPU_TX49XX
11771da177e4SLinus Torvalds	bool "R49XX"
11787cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1179f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1180de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1181ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1182ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11831da177e4SLinus Torvalds
11841da177e4SLinus Torvaldsconfig CPU_R5000
11851da177e4SLinus Torvalds	bool "R5000"
11867cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1187f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1188ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1189ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11901da177e4SLinus Torvalds	help
11911da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
11921da177e4SLinus Torvalds
11931da177e4SLinus Torvaldsconfig CPU_R5432
11941da177e4SLinus Torvalds	bool "R5432"
11957cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1196f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11975e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11985e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
11991da177e4SLinus Torvalds
12001da177e4SLinus Torvaldsconfig CPU_R6000
12011da177e4SLinus Torvalds	bool "R6000"
1202ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1203f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12047cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1205ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12061da177e4SLinus Torvalds	help
12071da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1208c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
12091da177e4SLinus Torvalds
12101da177e4SLinus Torvaldsconfig CPU_NEVADA
12111da177e4SLinus Torvalds	bool "RM52xx"
12127cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1213f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1214ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1215ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12161da177e4SLinus Torvalds	help
12171da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
12181da177e4SLinus Torvalds
12191da177e4SLinus Torvaldsconfig CPU_R8000
12201da177e4SLinus Torvalds	bool "R8000"
1221ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12227cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1223f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12245e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1225ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12261da177e4SLinus Torvalds	help
12271da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
12281da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
12291da177e4SLinus Torvalds
12301da177e4SLinus Torvaldsconfig CPU_R10000
12311da177e4SLinus Torvalds	bool "R10000"
12327cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1233f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12345e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1235ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1236ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1237797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12381da177e4SLinus Torvalds	help
12391da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
12401da177e4SLinus Torvalds
12411da177e4SLinus Torvaldsconfig CPU_RM7000
12421da177e4SLinus Torvalds	bool "RM7000"
12437cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1244f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12455e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1246ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1247ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1248797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12491da177e4SLinus Torvalds
12501da177e4SLinus Torvaldsconfig CPU_RM9000
12511da177e4SLinus Torvalds	bool "RM9000"
12527cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1253f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12545e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1255ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1256ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1257797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12580004a9dfSRalf Baechle	select WEAK_ORDERING
12591da177e4SLinus Torvalds
12601da177e4SLinus Torvaldsconfig CPU_SB1
12611da177e4SLinus Torvalds	bool "SB1"
12627cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1263f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1264ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1265ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1266797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12670004a9dfSRalf Baechle	select WEAK_ORDERING
12681da177e4SLinus Torvalds
12691da177e4SLinus Torvaldsendchoice
12701da177e4SLinus Torvalds
12712a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
12722a21c730SFuxin Zhang	bool
12732a21c730SFuxin Zhang
12747cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
12757cf8053bSRalf Baechle	bool
12767cf8053bSRalf Baechle
12777cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
12787cf8053bSRalf Baechle	bool
12797cf8053bSRalf Baechle
12807cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
12817cf8053bSRalf Baechle	bool
12827cf8053bSRalf Baechle
12837cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
12847cf8053bSRalf Baechle	bool
12857cf8053bSRalf Baechle
12867cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
12877cf8053bSRalf Baechle	bool
12887cf8053bSRalf Baechle
12897cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
12907cf8053bSRalf Baechle	bool
12917cf8053bSRalf Baechle
12927cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
12937cf8053bSRalf Baechle	bool
12947cf8053bSRalf Baechle
12957cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
12967cf8053bSRalf Baechle	bool
12977cf8053bSRalf Baechle
12987cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
12997cf8053bSRalf Baechle	bool
13007cf8053bSRalf Baechle
13017cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
13027cf8053bSRalf Baechle	bool
13037cf8053bSRalf Baechle
13047cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
13057cf8053bSRalf Baechle	bool
13067cf8053bSRalf Baechle
13077cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
13087cf8053bSRalf Baechle	bool
13097cf8053bSRalf Baechle
13107cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
13117cf8053bSRalf Baechle	bool
13127cf8053bSRalf Baechle
13137cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
13147cf8053bSRalf Baechle	bool
13157cf8053bSRalf Baechle
13167cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
13177cf8053bSRalf Baechle	bool
13187cf8053bSRalf Baechle
13197cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
13207cf8053bSRalf Baechle	bool
13217cf8053bSRalf Baechle
13227cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
13237cf8053bSRalf Baechle	bool
13247cf8053bSRalf Baechle
13257cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
13267cf8053bSRalf Baechle	bool
13277cf8053bSRalf Baechle
13287cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
13297cf8053bSRalf Baechle	bool
13307cf8053bSRalf Baechle
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
13665e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
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
13775e83d430SRalf Baechlemenu "Kernel type"
13785e83d430SRalf Baechle
13795e83d430SRalf Baechlechoice
13805e83d430SRalf Baechle
13815e83d430SRalf Baechle	prompt "Kernel code model"
13825e83d430SRalf Baechle	help
13835e83d430SRalf Baechle	  You should only select this option if you have a workload that
13845e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
13855e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
13865e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
13875e83d430SRalf Baechle
13885e83d430SRalf Baechleconfig 32BIT
13895e83d430SRalf Baechle	bool "32-bit kernel"
13905e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
13915e83d430SRalf Baechle	select TRAD_SIGNALS
13925e83d430SRalf Baechle	help
13935e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
13945e83d430SRalf Baechleconfig 64BIT
13955e83d430SRalf Baechle	bool "64-bit kernel"
13965e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
13975e83d430SRalf Baechle	help
13985e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
13995e83d430SRalf Baechle
14005e83d430SRalf Baechleendchoice
14015e83d430SRalf Baechle
14021da177e4SLinus Torvaldschoice
14031da177e4SLinus Torvalds	prompt "Kernel page size"
14041da177e4SLinus Torvalds	default PAGE_SIZE_4KB
14051da177e4SLinus Torvalds
14061da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
14071da177e4SLinus Torvalds	bool "4kB"
14081da177e4SLinus Torvalds	help
14091da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
14101da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
14111da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
14121da177e4SLinus Torvalds	 recommended for low memory systems.
14131da177e4SLinus Torvalds
14141da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
14151da177e4SLinus Torvalds	bool "8kB"
14161da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
14171da177e4SLinus Torvalds	help
14181da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
14191da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
14201da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
14211da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
14221da177e4SLinus Torvalds	  compatibility of user applications.
14231da177e4SLinus Torvalds
14241da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
14251da177e4SLinus Torvalds	bool "16kB"
1426714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
14271da177e4SLinus Torvalds	help
14281da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
14291da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1430714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1431714bfad6SRalf Baechle	  Linux distribution to support this.
14321da177e4SLinus Torvalds
14331da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
14341da177e4SLinus Torvalds	bool "64kB"
14351da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
14361da177e4SLinus Torvalds	help
14371da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
14381da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
14391da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1440714bfad6SRalf Baechle	  writing this option is still high experimental.
14411da177e4SLinus Torvalds
14421da177e4SLinus Torvaldsendchoice
14431da177e4SLinus Torvalds
14441da177e4SLinus Torvaldsconfig BOARD_SCACHE
14451da177e4SLinus Torvalds	bool
14461da177e4SLinus Torvalds
14471da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
14481da177e4SLinus Torvalds	bool
14491da177e4SLinus Torvalds	select BOARD_SCACHE
14501da177e4SLinus Torvalds
14519318c51aSChris Dearman#
14529318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
14539318c51aSChris Dearman#
14549318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
14559318c51aSChris Dearman	bool
14569318c51aSChris Dearman	select BOARD_SCACHE
14579318c51aSChris Dearman
14581da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
14591da177e4SLinus Torvalds	bool
14601da177e4SLinus Torvalds	select BOARD_SCACHE
14611da177e4SLinus Torvalds
14621da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
14631da177e4SLinus Torvalds	bool
14641da177e4SLinus Torvalds	select BOARD_SCACHE
14651da177e4SLinus Torvalds
14661da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
14671da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
14681da177e4SLinus Torvalds	depends on CPU_SB1
14691da177e4SLinus Torvalds	help
14701da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
14711da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
14721da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
14731da177e4SLinus Torvalds
14741da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1475c8094b53SRalf Baechle	bool
14761da177e4SLinus Torvalds
1477340ee4b9SRalf Baechlechoice
1478340ee4b9SRalf Baechle	prompt "MIPS MT options"
1479f41ae0b2SRalf Baechle
1480f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1481f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1482f41ae0b2SRalf Baechle	help
1483f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1484f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1485f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1486f41ae0b2SRalf Baechle	  option in this menu.
1487340ee4b9SRalf Baechle
148859d6ab86SRalf Baechleconfig MIPS_MT_SMP
148959d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
149059d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
149159d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1492d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
149359d6ab86SRalf Baechle	select MIPS_MT
1494f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
149559d6ab86SRalf Baechle	select SMP
14960ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
149759d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
149887353d8aSRalf Baechle	select SMP_UP
149959d6ab86SRalf Baechle	help
150059d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
150159d6ab86SRalf Baechle	  has been marketesed into SMVP.
150259d6ab86SRalf Baechle
150341c594abSRalf Baechleconfig MIPS_MT_SMTC
150441c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1505f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1506f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1507f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1508ea580401SRalf Baechle	select GENERIC_CLOCKEVENTS_BROADCAST
1509f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1510d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1511f41ae0b2SRalf Baechle	select MIPS_MT
1512130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
151341c594abSRalf Baechle	select SMP
151473b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
151587353d8aSRalf Baechle	select SMP_UP
1516f41ae0b2SRalf Baechle	help
1517f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1518f41ae0b2SRalf Baechle	  marketesed into SMVP.
151941c594abSRalf Baechle
1520340ee4b9SRalf Baechleendchoice
1521340ee4b9SRalf Baechle
1522f41ae0b2SRalf Baechleconfig MIPS_MT
1523f41ae0b2SRalf Baechle	bool
1524f41ae0b2SRalf Baechle
15250ab7aefcSRalf Baechleconfig SCHED_SMT
15260ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
15270ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
15280ab7aefcSRalf Baechle	default n
15290ab7aefcSRalf Baechle	help
15300ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
15310ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
15320ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
15330ab7aefcSRalf Baechle
15340ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
15350ab7aefcSRalf Baechle	bool
15360ab7aefcSRalf Baechle
15370ab7aefcSRalf Baechle
1538f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1539f41ae0b2SRalf Baechle	bool
1540f41ae0b2SRalf Baechle
1541f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1542f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1543f088fc84SRalf Baechle	default y
154407cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
154507cc0c9eSRalf Baechle
154607cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
154707cc0c9eSRalf Baechle	bool "VPE loader support."
154807cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
154907cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
155007cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
155107cc0c9eSRalf Baechle	select MIPS_MT
155207cc0c9eSRalf Baechle	help
155307cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
155407cc0c9eSRalf Baechle	  onto another VPE and running it.
1555f088fc84SRalf Baechle
1556ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1557ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1558619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1559ac8be955SRalf Baechle	default y
1560ac8be955SRalf Baechle	help
1561ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1562ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1563ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1564ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1565ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1566ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1567ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1568ac8be955SRalf Baechle	  heavy I/O interrupt load.
1569ac8be955SRalf Baechle
15700db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
15710db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
15720db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
15730db34215SKevin D. Kissell	default y
15740db34215SKevin D. Kissell	help
15750db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
15760db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
15770db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
15780db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
15790db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
15800db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
15810db34215SKevin D. Kissell	  what you are doing.
15820db34215SKevin D. Kissell
1583f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1584f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1585f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1586f571eff0SKevin D. Kissell	default n
1587f571eff0SKevin D. Kissell	help
1588f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1589f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1590f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
1591f571eff0SKevin D. Kissell	  platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1592f571eff0SKevin D. Kissell	  be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1593f571eff0SKevin D. Kissell	  interrupt dispatch, and should be used only if you know what
1594f571eff0SKevin D. Kissell	  you are doing.
1595f571eff0SKevin D. Kissell
1596e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1597e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1598e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1599e01402b1SRalf Baechle	default y
1600e01402b1SRalf Baechle	help
1601e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1602e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1603e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1604e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1605e01402b1SRalf Baechle
1606e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1607e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1608e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1609e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
16105e83d430SRalf Baechle	help
1611e01402b1SRalf Baechle
16122600990eSRalf Baechleconfig MIPS_APSP_KSPD
16132600990eSRalf Baechle	bool "Enable KSPD"
16142600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
16152600990eSRalf Baechle	default y
16162600990eSRalf Baechle	help
16172600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
16182600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
16192600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
16202600990eSRalf Baechle	  exiting.  You probably want to say yes here.
16212600990eSRalf Baechle
16221da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
16231da177e4SLinus Torvalds	bool
16241da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
16251da177e4SLinus Torvalds	default y
16261da177e4SLinus Torvalds
16271da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
16281da177e4SLinus Torvalds	bool
16291da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
16301da177e4SLinus Torvalds	default y
16311da177e4SLinus Torvalds
16321da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
16331da177e4SLinus Torvalds	bool
16341da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
16351da177e4SLinus Torvalds	default y
16361da177e4SLinus Torvalds
16371da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1638d806cb2bSRalf Baechle	bool
16391da177e4SLinus Torvalds
16401da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1641f7062ddbSRalf Baechle	bool
16421da177e4SLinus Torvalds
16439693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
16449693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
16459693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
16469693a853SFranck Bui-Huu	help
16479693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
16489693a853SFranck Bui-Huu	  increased security at both hardware and software level for
16499693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
16509693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
16519693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
16529693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
16539693a853SFranck Bui-Huu	  here.
16549693a853SFranck Bui-Huu
16551da177e4SLinus Torvaldsconfig CPU_HAS_WB
1656f7062ddbSRalf Baechle	bool
1657e01402b1SRalf Baechle
1658f41ae0b2SRalf Baechle#
1659f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1660f41ae0b2SRalf Baechle#
1661e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1662f41ae0b2SRalf Baechle	bool
1663e01402b1SRalf Baechle
1664f41ae0b2SRalf Baechle#
1665f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1666f41ae0b2SRalf Baechle#
1667e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1668f41ae0b2SRalf Baechle	bool
1669e01402b1SRalf Baechle
16701da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
16711da177e4SLinus Torvalds	bool
16721da177e4SLinus Torvalds	depends on !CPU_R3000
16731da177e4SLinus Torvalds	default y
16741da177e4SLinus Torvalds
1675ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1676ea580401SRalf Baechle	bool
1677ea580401SRalf Baechle
16781da177e4SLinus Torvalds#
167920d60d99SMaciej W. Rozycki# CPU non-features
168020d60d99SMaciej W. Rozycki#
168120d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
168220d60d99SMaciej W. Rozycki	bool
168320d60d99SMaciej W. Rozycki
168420d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
168520d60d99SMaciej W. Rozycki	bool
168620d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
168720d60d99SMaciej W. Rozycki
168820d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
168920d60d99SMaciej W. Rozycki	bool
169020d60d99SMaciej W. Rozycki
169120d60d99SMaciej W. Rozycki#
1692797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1693797798c1SRalf Baechle#
1694797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1695797798c1SRalf Baechle	bool
1696797798c1SRalf Baechle	default y
1697797798c1SRalf Baechle
1698797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1699797798c1SRalf Baechle	bool
1700797798c1SRalf Baechle	default y
1701797798c1SRalf Baechle
17020d7012a9SIngo Molnarconfig IRQ_PER_CPU
17030d7012a9SIngo Molnar	bool
17040d7012a9SIngo Molnar
1705797798c1SRalf Baechle#
17061da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
17071da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
17081da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
17091da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
17101da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
17111da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
17121da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
17131da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1714797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1715797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1716797798c1SRalf Baechle#   support.
17171da177e4SLinus Torvalds#
17181da177e4SLinus Torvaldsconfig HIGHMEM
17191da177e4SLinus Torvalds	bool "High Memory Support"
1720797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1721797798c1SRalf Baechle
1722797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1723797798c1SRalf Baechle	bool
1724797798c1SRalf Baechle
1725797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1726797798c1SRalf Baechle	bool
17271da177e4SLinus Torvalds
17289693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
17299693a853SFranck Bui-Huu	bool
17309693a853SFranck Bui-Huu
1731b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1732b4819b59SYoichi Yuasa	def_bool y
1733b4819b59SYoichi Yuasa	depends on !NUMA
1734b4819b59SYoichi Yuasa
1735d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1736d8cb4e11SRalf Baechle	bool
1737d8cb4e11SRalf Baechle	default y if SGI_IP27
1738d8cb4e11SRalf Baechle	help
17393dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1740d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1741d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1742d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1743d8cb4e11SRalf Baechle
1744cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1745cce335aeSRalf Baechle	def_bool y
1746cce335aeSRalf Baechle
1747b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1748b1c6cd42SAtsushi Nemoto	bool
17497de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
175031473747SAtsushi Nemoto
1751d8cb4e11SRalf Baechleconfig NUMA
1752d8cb4e11SRalf Baechle	bool "NUMA Support"
1753d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1754d8cb4e11SRalf Baechle	help
1755d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1756d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1757d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1758d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1759d8cb4e11SRalf Baechle	  disabled.
1760d8cb4e11SRalf Baechle
1761d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1762d8cb4e11SRalf Baechle	bool
1763d8cb4e11SRalf Baechle
1764c80d79d7SYasunori Gotoconfig NODES_SHIFT
1765c80d79d7SYasunori Goto	int
1766c80d79d7SYasunori Goto	default "6"
1767c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1768c80d79d7SYasunori Goto
1769b4819b59SYoichi Yuasasource "mm/Kconfig"
1770b4819b59SYoichi Yuasa
17711da177e4SLinus Torvaldsconfig SMP
17721da177e4SLinus Torvalds	bool "Multi-Processing support"
1773e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1774b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1775e73ea273SRalf Baechle	help
17761da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
17771da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
17781da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
17791da177e4SLinus Torvalds
17801da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
17811da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
17821da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
17831da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
17841da177e4SLinus Torvalds	  will run faster if you say N here.
17851da177e4SLinus Torvalds
17861da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
17871da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
17881da177e4SLinus Torvalds
17891da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
17901da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
17911da177e4SLinus Torvalds
17921da177e4SLinus Torvalds	  If you don't know what to do here, say N.
17931da177e4SLinus Torvalds
179487353d8aSRalf Baechleconfig SMP_UP
179587353d8aSRalf Baechle	bool
179687353d8aSRalf Baechle
1797e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1798e73ea273SRalf Baechle	bool
1799e73ea273SRalf Baechle
180072ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
180172ede9b1SAtsushi Nemoto	bool
180272ede9b1SAtsushi Nemoto
1803130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1804130e2fb7SRalf Baechle	bool
1805130e2fb7SRalf Baechle
1806130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1807130e2fb7SRalf Baechle	bool
1808130e2fb7SRalf Baechle
1809130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1810130e2fb7SRalf Baechle	bool
1811130e2fb7SRalf Baechle
1812130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1813130e2fb7SRalf Baechle	bool
1814130e2fb7SRalf Baechle
1815130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1816130e2fb7SRalf Baechle	bool
1817130e2fb7SRalf Baechle
1818130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1819130e2fb7SRalf Baechle	bool
1820130e2fb7SRalf Baechle
18211da177e4SLinus Torvaldsconfig NR_CPUS
18221da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
182372ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
18241da177e4SLinus Torvalds	depends on SMP
182572ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1826130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1827130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1828130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1829130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1830130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1831130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
18321da177e4SLinus Torvalds	help
18331da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
18341da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
18351da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
183672ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
183772ede9b1SAtsushi Nemoto	  and 2 for all others.
18381da177e4SLinus Torvalds
18391da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
184072ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
184172ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
184272ede9b1SAtsushi Nemoto	  power of two.
18431da177e4SLinus Torvalds
1844c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
1845c4eee283SAtsushi Nemoto
18461723b4a3SAtsushi Nemoto#
18471723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
18481723b4a3SAtsushi Nemoto#
18491723b4a3SAtsushi Nemoto
18501723b4a3SAtsushi Nemotochoice
18511723b4a3SAtsushi Nemoto	prompt "Timer frequency"
18521723b4a3SAtsushi Nemoto	default HZ_250
18531723b4a3SAtsushi Nemoto	help
18541723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
18551723b4a3SAtsushi Nemoto
18561723b4a3SAtsushi Nemoto	config HZ_48
18571723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
18581723b4a3SAtsushi Nemoto
18591723b4a3SAtsushi Nemoto	config HZ_100
18601723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
18611723b4a3SAtsushi Nemoto
18621723b4a3SAtsushi Nemoto	config HZ_128
18631723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
18641723b4a3SAtsushi Nemoto
18651723b4a3SAtsushi Nemoto	config HZ_250
18661723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
18671723b4a3SAtsushi Nemoto
18681723b4a3SAtsushi Nemoto	config HZ_256
18691723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
18701723b4a3SAtsushi Nemoto
18711723b4a3SAtsushi Nemoto	config HZ_1000
18721723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
18731723b4a3SAtsushi Nemoto
18741723b4a3SAtsushi Nemoto	config HZ_1024
18751723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
18761723b4a3SAtsushi Nemoto
18771723b4a3SAtsushi Nemotoendchoice
18781723b4a3SAtsushi Nemoto
18791723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
18801723b4a3SAtsushi Nemoto	bool
18811723b4a3SAtsushi Nemoto
18821723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
18831723b4a3SAtsushi Nemoto	bool
18841723b4a3SAtsushi Nemoto
18851723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
18861723b4a3SAtsushi Nemoto	bool
18871723b4a3SAtsushi Nemoto
18881723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
18891723b4a3SAtsushi Nemoto	bool
18901723b4a3SAtsushi Nemoto
18911723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
18921723b4a3SAtsushi Nemoto	bool
18931723b4a3SAtsushi Nemoto
18941723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
18951723b4a3SAtsushi Nemoto	bool
18961723b4a3SAtsushi Nemoto
18971723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
18981723b4a3SAtsushi Nemoto	bool
18991723b4a3SAtsushi Nemoto
19001723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
19011723b4a3SAtsushi Nemoto	bool
19021723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
19031723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
19041723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
19051723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
19061723b4a3SAtsushi Nemoto
19071723b4a3SAtsushi Nemotoconfig HZ
19081723b4a3SAtsushi Nemoto	int
19091723b4a3SAtsushi Nemoto	default 48 if HZ_48
19101723b4a3SAtsushi Nemoto	default 100 if HZ_100
19111723b4a3SAtsushi Nemoto	default 128 if HZ_128
19121723b4a3SAtsushi Nemoto	default 250 if HZ_250
19131723b4a3SAtsushi Nemoto	default 256 if HZ_256
19141723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
19151723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
19161723b4a3SAtsushi Nemoto
1917e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
19181da177e4SLinus Torvalds
19191da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
19201da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1921875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
19221da177e4SLinus Torvalds	help
19231da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
19241da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
19251da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
19261da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
19271da177e4SLinus Torvalds	  recommended for normal users.
19281da177e4SLinus Torvalds
1929ea6e942bSAtsushi Nemotoconfig KEXEC
1930ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1931ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1932ea6e942bSAtsushi Nemoto	help
1933ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1934ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
19353dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1936ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1937ea6e942bSAtsushi Nemoto
193801dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
1939ea6e942bSAtsushi Nemoto
1940ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1941ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1942ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1943ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1944ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1945ea6e942bSAtsushi Nemoto
1946ea6e942bSAtsushi Nemotoconfig SECCOMP
1947ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1948293c5bd1SRalf Baechle	depends on PROC_FS
1949ea6e942bSAtsushi Nemoto	default y
1950ea6e942bSAtsushi Nemoto	help
1951ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1952ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1953ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1954ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1955ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1956ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1957ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1958ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1959ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1960ea6e942bSAtsushi Nemoto
1961ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1962ea6e942bSAtsushi Nemoto
19635e83d430SRalf Baechleendmenu
19645e83d430SRalf Baechle
19651da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
19661da177e4SLinus Torvalds	bool
19671da177e4SLinus Torvalds	default y
19681da177e4SLinus Torvalds
19691df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
19701df0f0ffSAtsushi Nemoto	bool
19711df0f0ffSAtsushi Nemoto	default y
19721df0f0ffSAtsushi Nemoto
19731df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
19741df0f0ffSAtsushi Nemoto	bool
19751df0f0ffSAtsushi Nemoto	default y
19761df0f0ffSAtsushi Nemoto
1977b6c3539bSRalf Baechlesource "init/Kconfig"
1978b6c3539bSRalf Baechle
19791da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
19801da177e4SLinus Torvalds
19815e83d430SRalf Baechleconfig HW_HAS_EISA
19825e83d430SRalf Baechle	bool
19831da177e4SLinus Torvaldsconfig HW_HAS_PCI
19841da177e4SLinus Torvalds	bool
19851da177e4SLinus Torvalds
19861da177e4SLinus Torvaldsconfig PCI
19871da177e4SLinus Torvalds	bool "Support for PCI controller"
19881da177e4SLinus Torvalds	depends on HW_HAS_PCI
1989abb4ae46SRalf Baechle	select PCI_DOMAINS
19901da177e4SLinus Torvalds	help
19911da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
19921da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
19931da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
19941da177e4SLinus Torvalds	  say Y, otherwise N.
19951da177e4SLinus Torvalds
19961da177e4SLinus Torvalds	  The PCI-HOWTO, available from
19971da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
19981da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
19991da177e4SLinus Torvalds	  doesn't.
20001da177e4SLinus Torvalds
20011da177e4SLinus Torvaldsconfig PCI_DOMAINS
20021da177e4SLinus Torvalds	bool
20031da177e4SLinus Torvalds
20041da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
20051da177e4SLinus Torvalds
20061da177e4SLinus Torvalds#
20071da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
20081da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
20091da177e4SLinus Torvalds# users to choose the right thing ...
20101da177e4SLinus Torvalds#
20111da177e4SLinus Torvaldsconfig ISA
20121da177e4SLinus Torvalds	bool
20131da177e4SLinus Torvalds
20141da177e4SLinus Torvaldsconfig EISA
20151da177e4SLinus Torvalds	bool "EISA support"
20165e83d430SRalf Baechle	depends on HW_HAS_EISA
20171da177e4SLinus Torvalds	select ISA
2018aa414dffSRalf Baechle	select GENERIC_ISA_DMA
20191da177e4SLinus Torvalds	---help---
20201da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
20211da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
20221da177e4SLinus Torvalds
20231da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
20241da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
20251da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
20261da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
20271da177e4SLinus Torvalds
20281da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
20291da177e4SLinus Torvalds
20301da177e4SLinus Torvalds	  Otherwise, say N.
20311da177e4SLinus Torvalds
20321da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
20331da177e4SLinus Torvalds
20341da177e4SLinus Torvaldsconfig TC
20351da177e4SLinus Torvalds	bool "TURBOchannel support"
20361da177e4SLinus Torvalds	depends on MACH_DECSTATION
20371da177e4SLinus Torvalds	help
20381da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
20391da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
20401da177e4SLinus Torvalds	  is available at:
20411da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
20421da177e4SLinus Torvalds
20431da177e4SLinus Torvalds#config ACCESSBUS
20441da177e4SLinus Torvalds#	bool "Access.Bus support"
20451da177e4SLinus Torvalds#	depends on TC
20461da177e4SLinus Torvalds
20471da177e4SLinus Torvaldsconfig MMU
20481da177e4SLinus Torvalds	bool
20491da177e4SLinus Torvalds	default y
20501da177e4SLinus Torvalds
2051d865bea4SRalf Baechleconfig I8253
2052d865bea4SRalf Baechle	bool
2053d865bea4SRalf Baechle
2054cce335aeSRalf Baechleconfig ZONE_DMA32
2055cce335aeSRalf Baechle	bool
2056cce335aeSRalf Baechle
20571da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
20581da177e4SLinus Torvalds
20591da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
20601da177e4SLinus Torvalds
20611da177e4SLinus Torvaldsendmenu
20621da177e4SLinus Torvalds
20631da177e4SLinus Torvaldsmenu "Executable file formats"
20641da177e4SLinus Torvalds
20651da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
20661da177e4SLinus Torvalds
20671da177e4SLinus Torvaldsconfig TRAD_SIGNALS
20681da177e4SLinus Torvalds	bool
20691da177e4SLinus Torvalds
20701da177e4SLinus Torvaldsconfig BINFMT_IRIX
20711da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
20725e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
20731da177e4SLinus Torvalds
20741da177e4SLinus Torvaldsconfig MIPS32_COMPAT
20751da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2076875d43e7SRalf Baechle	depends on 64BIT
20771da177e4SLinus Torvalds	help
20781da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
20791da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
20801da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
20811da177e4SLinus Torvalds
20821da177e4SLinus Torvaldsconfig COMPAT
20831da177e4SLinus Torvalds	bool
20841da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20851da177e4SLinus Torvalds	default y
20861da177e4SLinus Torvalds
208705e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
208805e43966SAtsushi Nemoto	bool
208905e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
209005e43966SAtsushi Nemoto	default y
209105e43966SAtsushi Nemoto
20921da177e4SLinus Torvaldsconfig MIPS32_O32
20931da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
20941da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20951da177e4SLinus Torvalds	help
20961da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
20971da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
20981da177e4SLinus Torvalds	  existing binaries are in this format.
20991da177e4SLinus Torvalds
21001da177e4SLinus Torvalds	  If unsure, say Y.
21011da177e4SLinus Torvalds
21021da177e4SLinus Torvaldsconfig MIPS32_N32
21031da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
21041da177e4SLinus Torvalds	depends on MIPS32_COMPAT
21051da177e4SLinus Torvalds	help
21061da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
21071da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
21081da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
21091da177e4SLinus Torvalds	  cases.
21101da177e4SLinus Torvalds
21111da177e4SLinus Torvalds	  If unsure, say N.
21121da177e4SLinus Torvalds
21131da177e4SLinus Torvaldsconfig BINFMT_ELF32
21141da177e4SLinus Torvalds	bool
21151da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
21161da177e4SLinus Torvalds
21172116245eSRalf Baechleendmenu
21181da177e4SLinus Torvalds
21192116245eSRalf Baechlemenu "Power management options"
2120952fa954SRodolfo Giometti
21212116245eSRalf Baechlesource "kernel/power/Kconfig"
2122952fa954SRodolfo Giometti
21231da177e4SLinus Torvaldsendmenu
21241da177e4SLinus Torvalds
2125d5950b43SSam Ravnborgsource "net/Kconfig"
2126d5950b43SSam Ravnborg
21271da177e4SLinus Torvaldssource "drivers/Kconfig"
21281da177e4SLinus Torvalds
21291da177e4SLinus Torvaldssource "fs/Kconfig"
21301da177e4SLinus Torvalds
213109cadedbSMathieu Desnoyerssource "kernel/Kconfig.instrumentation"
21325e83d430SRalf Baechle
21331da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
21341da177e4SLinus Torvalds
21351da177e4SLinus Torvaldssource "security/Kconfig"
21361da177e4SLinus Torvalds
21371da177e4SLinus Torvaldssource "crypto/Kconfig"
21381da177e4SLinus Torvalds
21391da177e4SLinus Torvaldssource "lib/Kconfig"
2140