xref: /linux/arch/mips/Kconfig (revision ec7748b59e214e2c6b7d21ca5f26a760fd6e142b)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
4*ec7748b5SSam Ravnborg	select HAVE_IDE
542d4b839SMathieu Desnoyers	select HAVE_OPROFILE
61da177e4SLinus Torvalds	# Horrible source of confusion.  Die, die, die ...
71da177e4SLinus Torvalds	select EMBEDDED
890b02340SRalf Baechle	select RTC_LIB
91da177e4SLinus Torvalds
101da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
111da177e4SLinus Torvalds
121da177e4SLinus Torvaldsmenu "Machine selection"
131da177e4SLinus Torvalds
145ac6da66SChristoph Lameterconfig ZONE_DMA
155ac6da66SChristoph Lameter	bool
165ac6da66SChristoph Lameter
175e83d430SRalf Baechlechoice
185e83d430SRalf Baechle	prompt "System type"
195e83d430SRalf Baechle	default SGI_IP22
201da177e4SLinus Torvalds
21c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
22c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
231da177e4SLinus Torvalds
2435189fadSRalf Baechleconfig BASLER_EXCITE
25be91589eSThomas Koeller	bool "Basler eXcite smart camera"
2642f77542SRalf Baechle	select CEVT_R4K
27940f6b48SRalf Baechle	select CSRC_R4K
2835189fadSRalf Baechle	select DMA_COHERENT
2935189fadSRalf Baechle	select HW_HAS_PCI
3035189fadSRalf Baechle	select IRQ_CPU
3135189fadSRalf Baechle	select IRQ_CPU_RM7K
3235189fadSRalf Baechle	select IRQ_CPU_RM9K
33663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
3435189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
3535189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3635189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
37cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3835189fadSRalf Baechle	help
3935189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
40be91589eSThomas Koeller	  Basler Vision Technologies AG.
4135189fadSRalf Baechle
421c0c13ebSAurelien Jarnoconfig BCM47XX
431c0c13ebSAurelien Jarno	bool "BCM47XX based boards"
4442f77542SRalf Baechle	select CEVT_R4K
45940f6b48SRalf Baechle	select CSRC_R4K
461c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
471c0c13ebSAurelien Jarno	select HW_HAS_PCI
481c0c13ebSAurelien Jarno	select IRQ_CPU
491c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
501c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
511c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
521c0c13ebSAurelien Jarno	select SSB
531c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
542f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
552f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
561c0c13ebSAurelien Jarno	select GENERIC_GPIO
5725e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
5825e5fb97SAurelien Jarno	select CFE
591c0c13ebSAurelien Jarno	help
601c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
611c0c13ebSAurelien Jarno
621da177e4SLinus Torvaldsconfig MIPS_COBALT
633fa986faSMartin Michlmayr	bool "Cobalt Server"
6442f77542SRalf Baechle	select CEVT_R4K
65940f6b48SRalf Baechle	select CSRC_R4K
661097c6acSYoichi Yuasa	select CEVT_GT641XX
671da177e4SLinus Torvalds	select DMA_NONCOHERENT
681da177e4SLinus Torvalds	select HW_HAS_PCI
69d865bea4SRalf Baechle	select I8253
701da177e4SLinus Torvalds	select I8259
711da177e4SLinus Torvalds	select IRQ_CPU
72d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
73252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
747cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
750a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
76ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
770e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
785e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
799fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
801da177e4SLinus Torvalds
811da177e4SLinus Torvaldsconfig MACH_DECSTATION
823fa986faSMartin Michlmayr	bool "DECstations"
831da177e4SLinus Torvalds	select BOOT_ELF32
8442f77542SRalf Baechle	select CEVT_R4K
85940f6b48SRalf Baechle	select CSRC_R4K
8620d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
8720d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
8820d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
891da177e4SLinus Torvalds	select DMA_NONCOHERENT
90d388d685SMaciej W. Rozycki	select NO_IOPORT
911da177e4SLinus Torvalds	select IRQ_CPU
927cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
937cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
94ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
95ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
965e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
971723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
981723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
991723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1005e83d430SRalf Baechle	help
1011da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1021da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1031da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1041da177e4SLinus Torvalds
1051da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1061da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1071da177e4SLinus Torvalds
1081da177e4SLinus Torvalds		DECstation 5000/50
1091da177e4SLinus Torvalds		DECstation 5000/150
1101da177e4SLinus Torvalds		DECstation 5000/260
1111da177e4SLinus Torvalds		DECsystem 5900/260
1121da177e4SLinus Torvalds
1131da177e4SLinus Torvalds	  otherwise choose R3000.
1141da177e4SLinus Torvalds
1155e83d430SRalf Baechleconfig MACH_JAZZ
1163fa986faSMartin Michlmayr	bool "Jazz family of machines"
1175e83d430SRalf Baechle	select ARC
1185e83d430SRalf Baechle	select ARC32
1195e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
12042f77542SRalf Baechle	select CEVT_R4K
121940f6b48SRalf Baechle	select CSRC_R4K
122e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1235e83d430SRalf Baechle	select GENERIC_ISA_DMA
124ea202c63SThomas Bogendoerfer	select IRQ_CPU
125d865bea4SRalf Baechle	select I8253
1265e83d430SRalf Baechle	select I8259
1275e83d430SRalf Baechle	select ISA
1287cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1295e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1305e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1311723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1329fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1331da177e4SLinus Torvalds	help
1345e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1355e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1365e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1375e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1385e83d430SRalf Baechle
1391f21d2bdSBrian Murphyconfig LASAT
1401f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
14142f77542SRalf Baechle	select CEVT_R4K
142940f6b48SRalf Baechle	select CSRC_R4K
1431f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1441f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1451f21d2bdSBrian Murphy	select HW_HAS_PCI
146a5ccfe5cSRalf Baechle	select IRQ_CPU
1471f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1481f21d2bdSBrian Murphy	select MIPS_NILE4
1491f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1501f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1511f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1521f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1531f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1541f21d2bdSBrian Murphy	select GENERIC_HARDIRQS_NO__DO_IRQ
1551f21d2bdSBrian Murphy
156ade299d8SYoichi Yuasaconfig LEMOTE_FULONG
157ade299d8SYoichi Yuasa	bool "Lemote Fulong mini-PC"
158ade299d8SYoichi Yuasa	select ARCH_SPARSEMEM_ENABLE
15942f77542SRalf Baechle	select CEVT_R4K
160940f6b48SRalf Baechle	select CSRC_R4K
161ade299d8SYoichi Yuasa	select SYS_HAS_CPU_LOONGSON2
162ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
163ade299d8SYoichi Yuasa	select BOOT_ELF32
164ade299d8SYoichi Yuasa	select BOARD_SCACHE
165ade299d8SYoichi Yuasa	select HAVE_STD_PC_SERIAL_PORT
166ade299d8SYoichi Yuasa	select HW_HAS_PCI
167ade299d8SYoichi Yuasa	select I8259
168ade299d8SYoichi Yuasa	select ISA
169ade299d8SYoichi Yuasa	select IRQ_CPU
170ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
171ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
172ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
173ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
174ade299d8SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
175ade299d8SYoichi Yuasa	select GENERIC_HARDIRQS_NO__DO_IRQ
17623dd6d35SRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
177ade299d8SYoichi Yuasa	select CPU_HAS_WB
178ade299d8SYoichi Yuasa	help
179ade299d8SYoichi Yuasa	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
180ade299d8SYoichi Yuasa	  an FPGA northbridge
181ade299d8SYoichi Yuasa
1821da177e4SLinus Torvaldsconfig MIPS_ATLAS
1833fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1841da177e4SLinus Torvalds	select BOOT_ELF32
185fa71c960SRalf Baechle	select BOOT_RAW
18642f77542SRalf Baechle	select CEVT_R4K
187940f6b48SRalf Baechle	select CSRC_R4K
1881da177e4SLinus Torvalds	select DMA_NONCOHERENT
18936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1905e83d430SRalf Baechle	select IRQ_CPU
1911da177e4SLinus Torvalds	select HW_HAS_PCI
1925e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1935e83d430SRalf Baechle	select MIPS_BONITO64
194252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1955e83d430SRalf Baechle	select MIPS_MSC
196f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1971da177e4SLinus Torvalds	select SWAP_IO_SPACE
1987cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1997cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2007cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2017cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2027cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
203ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
204ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2055e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2065e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
207f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
2089693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
209e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
2101da177e4SLinus Torvalds	help
211f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
2121da177e4SLinus Torvalds	  board.
2131da177e4SLinus Torvalds
2141da177e4SLinus Torvaldsconfig MIPS_MALTA
2153fa986faSMartin Michlmayr	bool "MIPS Malta board"
21661ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2171da177e4SLinus Torvalds	select BOOT_ELF32
218fa71c960SRalf Baechle	select BOOT_RAW
21942f77542SRalf Baechle	select CEVT_R4K
220940f6b48SRalf Baechle	select CSRC_R4K
2211da177e4SLinus Torvalds	select DMA_NONCOHERENT
2221da177e4SLinus Torvalds	select GENERIC_ISA_DMA
223aa414dffSRalf Baechle	select IRQ_CPU
2241da177e4SLinus Torvalds	select HW_HAS_PCI
225d865bea4SRalf Baechle	select I8253
2261da177e4SLinus Torvalds	select I8259
2275e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2285e83d430SRalf Baechle	select MIPS_BONITO64
2299318c51aSChris Dearman	select MIPS_CPU_SCACHE
230252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2315e83d430SRalf Baechle	select MIPS_MSC
2321da177e4SLinus Torvalds	select SWAP_IO_SPACE
2337cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2347cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2357cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2367cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2377cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
23836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
239ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
240ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2415e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2425e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
243f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2449693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2451da177e4SLinus Torvalds	help
246f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2471da177e4SLinus Torvalds	  board.
2481da177e4SLinus Torvalds
2491da177e4SLinus Torvaldsconfig MIPS_SEAD
250d98cc84dSRalf Baechle	bool "MIPS SEAD board"
25142f77542SRalf Baechle	select CEVT_R4K
252940f6b48SRalf Baechle	select CSRC_R4K
2531da177e4SLinus Torvalds	select IRQ_CPU
2541da177e4SLinus Torvalds	select DMA_NONCOHERENT
25536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2565e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2577cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2587cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2597cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
260ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2615e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2625e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2635e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2649693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
265f638d197SMaciej W. Rozycki	help
266f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
267f638d197SMaciej W. Rozycki	  board.
2681da177e4SLinus Torvalds
269c78cbf49SRalf Baechleconfig MIPS_SIM
2703fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
27142f77542SRalf Baechle	select CEVT_R4K
272940f6b48SRalf Baechle	select CSRC_R4K
273c78cbf49SRalf Baechle	select DMA_NONCOHERENT
27436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
275c78cbf49SRalf Baechle	select IRQ_CPU
2769267a30dSMarc St-Jean	select BOOT_RAW
2777cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2787cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
27936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
280c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
281c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
282f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
283c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
284c78cbf49SRalf Baechle	help
285c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
286c78cbf49SRalf Baechle	  emulator.
287c78cbf49SRalf Baechle
288ade299d8SYoichi Yuasaconfig MARKEINS
289ade299d8SYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
29042f77542SRalf Baechle	select CEVT_R4K
291940f6b48SRalf Baechle	select CSRC_R4K
292ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
293ade299d8SYoichi Yuasa	select HW_HAS_PCI
294ade299d8SYoichi Yuasa	select IRQ_CPU
295ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
296ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
297ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
298ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
299ade299d8SYoichi Yuasa	select SYS_HAS_CPU_R5000
300ade299d8SYoichi Yuasa	help
301ade299d8SYoichi Yuasa	  This enables support for the R5432-based NEC Mark-eins
302ade299d8SYoichi Yuasa	  boards with R5500 CPU.
303ade299d8SYoichi Yuasa
3045e83d430SRalf Baechleconfig MACH_VR41XX
30574142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
30642f77542SRalf Baechle	select CEVT_R4K
307940f6b48SRalf Baechle	select CSRC_R4K
3087cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
3099fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
3105e83d430SRalf Baechle
311ade299d8SYoichi Yuasaconfig PNX8550_JBS
312ade299d8SYoichi Yuasa	bool "Philips PNX8550 based JBS board"
313ade299d8SYoichi Yuasa	select PNX8550
314ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
315ade299d8SYoichi Yuasa
316ade299d8SYoichi Yuasaconfig PNX8550_STB810
317ade299d8SYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
318ade299d8SYoichi Yuasa	select PNX8550
319ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
320ade299d8SYoichi Yuasa
3219267a30dSMarc St-Jeanconfig PMC_MSP
3229267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3239267a30dSMarc St-Jean	depends on EXPERIMENTAL
3249267a30dSMarc St-Jean	select DMA_NONCOHERENT
3259267a30dSMarc St-Jean	select SWAP_IO_SPACE
3269267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3279267a30dSMarc St-Jean	select BOOT_RAW
3289267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3299267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3309267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3319267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3329267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
3339267a30dSMarc St-Jean	select IRQ_CPU
3349267a30dSMarc St-Jean	select SERIAL_8250
3359267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3369267a30dSMarc St-Jean	help
3379267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3389267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3399267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3409267a30dSMarc St-Jean	  a variety of MIPS cores.
3419267a30dSMarc St-Jean
3425e83d430SRalf Baechleconfig PMC_YOSEMITE
3433fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
34442f77542SRalf Baechle	select CEVT_R4K
345940f6b48SRalf Baechle	select CSRC_R4K
3465e83d430SRalf Baechle	select DMA_COHERENT
3475e83d430SRalf Baechle	select HW_HAS_PCI
3485e83d430SRalf Baechle	select IRQ_CPU
3495e83d430SRalf Baechle	select IRQ_CPU_RM7K
3505e83d430SRalf Baechle	select IRQ_CPU_RM9K
3515e83d430SRalf Baechle	select SWAP_IO_SPACE
3527cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
35336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3545e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3555e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3565e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3575e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
358cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
359e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3605e83d430SRalf Baechle	help
3615e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3625e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3631da177e4SLinus Torvalds
3641da177e4SLinus Torvaldsconfig SGI_IP22
3653fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3661da177e4SLinus Torvalds	select ARC
3671da177e4SLinus Torvalds	select ARC32
3681da177e4SLinus Torvalds	select BOOT_ELF32
36942f77542SRalf Baechle	select CEVT_R4K
370940f6b48SRalf Baechle	select CSRC_R4K
371e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3721da177e4SLinus Torvalds	select DMA_NONCOHERENT
3735e83d430SRalf Baechle	select HW_HAS_EISA
374d865bea4SRalf Baechle	select I8253
37568de4803SThomas Bogendoerfer	select I8259
3761da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3771da177e4SLinus Torvalds	select IRQ_CPU
378aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
379e2defae5SThomas Bogendoerfer	select SGI_HAS_DS1286
380e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
381e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
382e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
383e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
384e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3851da177e4SLinus Torvalds	select SWAP_IO_SPACE
3867cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3877cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
38836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
389ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
390ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3915e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3921da177e4SLinus Torvalds	help
3931da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3941da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3951da177e4SLinus Torvalds	  that runs on these, say Y here.
3961da177e4SLinus Torvalds
3971da177e4SLinus Torvaldsconfig SGI_IP27
3983fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3991da177e4SLinus Torvalds	select ARC
4001da177e4SLinus Torvalds	select ARC64
4015e83d430SRalf Baechle	select BOOT_ELF64
402e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
4031da177e4SLinus Torvalds	select DMA_IP27
40436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4051da177e4SLinus Torvalds	select HW_HAS_PCI
406130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4077cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
408ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4095e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
410cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
411d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4121a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
413e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
4141da177e4SLinus Torvalds	help
4151da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4161da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4171da177e4SLinus Torvalds	  here.
4181da177e4SLinus Torvalds
419e2defae5SThomas Bogendoerferconfig SGI_IP28
420e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
421e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
422e2defae5SThomas Bogendoerfer	select ARC
423e2defae5SThomas Bogendoerfer	select ARC64
424e2defae5SThomas Bogendoerfer	select BOOT_ELF64
425e2defae5SThomas Bogendoerfer	select CEVT_R4K
426e2defae5SThomas Bogendoerfer	select CSRC_R4K
427e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
428e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
429e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
430e2defae5SThomas Bogendoerfer	select IRQ_CPU
431e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
432e2defae5SThomas Bogendoerfer	select I8253
433e2defae5SThomas Bogendoerfer	select I8259
434e2defae5SThomas Bogendoerfer	select SGI_HAS_DS1286
435e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
436e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
437e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
438e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
439e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
440e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
441e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
442e2defae5SThomas Bogendoerfer	select SYS_HAS_EARLY_PRINTK
443e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
444e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
445e2defae5SThomas Bogendoerfer      help
446e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
447e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
448e2defae5SThomas Bogendoerfer
4491da177e4SLinus Torvaldsconfig SGI_IP32
450cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4511da177e4SLinus Torvalds	select ARC
4521da177e4SLinus Torvalds	select ARC32
4531da177e4SLinus Torvalds	select BOOT_ELF32
45442f77542SRalf Baechle	select CEVT_R4K
455940f6b48SRalf Baechle	select CSRC_R4K
4561da177e4SLinus Torvalds	select DMA_NONCOHERENT
4571da177e4SLinus Torvalds	select HW_HAS_PCI
458dd67b155SRalf Baechle	select IRQ_CPU
4591da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4601da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4617cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4627cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4637cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
464dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
465ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4665e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4671da177e4SLinus Torvalds	help
4681da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4691da177e4SLinus Torvalds
470ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
471ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4725e83d430SRalf Baechle	depends on EXPERIMENTAL
4735e83d430SRalf Baechle	select BOOT_ELF32
4745e83d430SRalf Baechle	select DMA_COHERENT
4755e83d430SRalf Baechle	select SIBYTE_BCM1120
4765e83d430SRalf Baechle	select SWAP_IO_SPACE
4777cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4785e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4795e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4805e83d430SRalf Baechle
481ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
482ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4835e83d430SRalf Baechle	depends on EXPERIMENTAL
4845e83d430SRalf Baechle	select BOOT_ELF32
4855e83d430SRalf Baechle	select DMA_COHERENT
4865e83d430SRalf Baechle	select SIBYTE_BCM1120
4875e83d430SRalf Baechle	select SWAP_IO_SPACE
4887cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4895e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4905e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4915e83d430SRalf Baechle
4925e83d430SRalf Baechleconfig SIBYTE_CRHONE
4933fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4945e83d430SRalf Baechle	depends on EXPERIMENTAL
4955e83d430SRalf Baechle	select BOOT_ELF32
4965e83d430SRalf Baechle	select DMA_COHERENT
4975e83d430SRalf Baechle	select SIBYTE_BCM1125
4985e83d430SRalf Baechle	select SWAP_IO_SPACE
4997cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5005e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5015e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5025e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5035e83d430SRalf Baechle
504ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
505ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
506ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
507ade299d8SYoichi Yuasa	select BOOT_ELF32
508ade299d8SYoichi Yuasa	select DMA_COHERENT
509ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
510ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
511ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
512ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
513ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
514ade299d8SYoichi Yuasa
515ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
516ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
517ade299d8SYoichi Yuasa	select BOOT_ELF32
518ade299d8SYoichi Yuasa	select DMA_COHERENT
519ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
520ade299d8SYoichi Yuasa	select SIBYTE_SB1250
521ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
522ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
523ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
524ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
525ade299d8SYoichi Yuasa	select SYS_SUPPORTS_KGDB
526ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
527cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
528ade299d8SYoichi Yuasa
529ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
530ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
531ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
532ade299d8SYoichi Yuasa	select BOOT_ELF32
533ade299d8SYoichi Yuasa	select DMA_COHERENT
534ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
535ade299d8SYoichi Yuasa	select SIBYTE_SB1250
536ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
537ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
538ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
539ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
540ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
541ade299d8SYoichi Yuasa
542ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
543ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
544ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
545ade299d8SYoichi Yuasa	select BOOT_ELF32
546ade299d8SYoichi Yuasa	select DMA_COHERENT
547ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
548ade299d8SYoichi Yuasa	select SIBYTE_SB1250
549ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
550ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
551ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
552ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
553ade299d8SYoichi Yuasa
554ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
555ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
556ade299d8SYoichi Yuasa	select BOOT_ELF32
557ade299d8SYoichi Yuasa	select DMA_COHERENT
558ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
559ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
560ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
561ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
562ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
563651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
564ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
565cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
566ade299d8SYoichi Yuasa
56714b36af4SThomas Bogendoerferconfig SNI_RM
56814b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5694a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5704a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
571231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5725e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5735e83d430SRalf Baechle	select BOOT_ELF32
57442f77542SRalf Baechle	select CEVT_R4K
575940f6b48SRalf Baechle	select CSRC_R4K
576e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5775e83d430SRalf Baechle	select DMA_NONCOHERENT
5785e83d430SRalf Baechle	select GENERIC_ISA_DMA
5795e83d430SRalf Baechle	select HW_HAS_EISA
5805e83d430SRalf Baechle	select HW_HAS_PCI
581c066a32aSThomas Bogendoerfer	select IRQ_CPU
582d865bea4SRalf Baechle	select I8253
5835e83d430SRalf Baechle	select I8259
5845e83d430SRalf Baechle	select ISA
5854a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5867cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5874a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
588c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5894a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
59036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
591ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5925e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5934a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5945e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5955e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5961da177e4SLinus Torvalds	help
59714b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
59814b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5995e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
6005e83d430SRalf Baechle	  support this machine type.
6011da177e4SLinus Torvalds
6025e83d430SRalf Baechleconfig TOSHIBA_JMR3927
6033fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
604229f773eSAtsushi Nemoto	select CEVT_TXX9
6055e83d430SRalf Baechle	select DMA_NONCOHERENT
6065e83d430SRalf Baechle	select HW_HAS_PCI
6075e83d430SRalf Baechle	select MIPS_TX3927
608c87abd75SAtsushi Nemoto	select IRQ_TXX9
6095e83d430SRalf Baechle	select SWAP_IO_SPACE
6107cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
6115e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6126a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6135e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6142127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6155e83d430SRalf Baechle
6165e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
61708a91283SYoichi Yuasa	bool "Toshiba RBTX49[23]7 board"
61842f77542SRalf Baechle	select CEVT_R4K
619940f6b48SRalf Baechle	select CSRC_R4K
620229f773eSAtsushi Nemoto	select CEVT_TXX9
6215e83d430SRalf Baechle	select DMA_NONCOHERENT
6225e83d430SRalf Baechle	select HAS_TXX9_SERIAL
6235e83d430SRalf Baechle	select HW_HAS_PCI
624c87abd75SAtsushi Nemoto	select IRQ_CPU
625c87abd75SAtsushi Nemoto	select IRQ_TXX9
626c87abd75SAtsushi Nemoto	select I8259 if TOSHIBA_FPCIB0
6275e83d430SRalf Baechle	select SWAP_IO_SPACE
6287cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
6295e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6305e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
6316a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6325e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
633cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6349fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6355e83d430SRalf Baechle	help
6365e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
6375e83d430SRalf Baechle	  support this machine type
6381da177e4SLinus Torvalds
63923fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
6403fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
64142f77542SRalf Baechle	select CEVT_R4K
642940f6b48SRalf Baechle	select CSRC_R4K
643229f773eSAtsushi Nemoto	select CEVT_TXX9
64423fbee9dSRalf Baechle	select DMA_NONCOHERENT
64523fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
64623fbee9dSRalf Baechle	select HW_HAS_PCI
647c87abd75SAtsushi Nemoto	select IRQ_CPU
648c87abd75SAtsushi Nemoto	select IRQ_TXX9
64923fbee9dSRalf Baechle	select SWAP_IO_SPACE
6507cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
65123fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
65223fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
65323fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
654cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6559fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6563896b054SAtsushi Nemoto	select GENERIC_GPIO
65723fbee9dSRalf Baechle	help
65823fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
65923fbee9dSRalf Baechle	  support this machine type
66023fbee9dSRalf Baechle
661ade299d8SYoichi Yuasaconfig WR_PPMC
662ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
66342f77542SRalf Baechle	select CEVT_R4K
664940f6b48SRalf Baechle	select CSRC_R4K
665ade299d8SYoichi Yuasa	select IRQ_CPU
666ade299d8SYoichi Yuasa	select BOOT_ELF32
667ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
668ade299d8SYoichi Yuasa	select HW_HAS_PCI
669ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
670ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
671ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
672ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
673ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
674ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
675ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
676ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
677ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
678ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
679ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
680ade299d8SYoichi Yuasa	help
681ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
682ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
683ade299d8SYoichi Yuasa
6841da177e4SLinus Torvaldsendchoice
6851da177e4SLinus Torvalds
686c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6879c746edbSYoichi Yuasasource "arch/mips/basler/excite/Kconfig"
6885e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6891f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6905e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
69129c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
69238b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6935e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
69423fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6955e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
69638b18f72SRalf Baechle
6975e83d430SRalf Baechleendmenu
6985e83d430SRalf Baechle
69995c354feSNick Pigginconfig GENERIC_LOCKBREAK
70095c354feSNick Piggin	bool
70195c354feSNick Piggin	default y
70295c354feSNick Piggin	depends on SMP && PREEMPT
70395c354feSNick Piggin
7041da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
7051da177e4SLinus Torvalds	bool
7061da177e4SLinus Torvalds	default y
7071da177e4SLinus Torvalds
7081da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
7091da177e4SLinus Torvalds	bool
7101da177e4SLinus Torvalds
711f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
712f0d1b0b3SDavid Howells	bool
713f0d1b0b3SDavid Howells	default n
714f0d1b0b3SDavid Howells
715f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
716f0d1b0b3SDavid Howells	bool
717f0d1b0b3SDavid Howells	default n
718f0d1b0b3SDavid Howells
71900a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
72000a58253SRalf Baechle	bool
72100a58253SRalf Baechle	default y if !MIPS_MT_SMTC
72200a58253SRalf Baechle
7233c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7243c9ee7efSAkinobu Mita	bool
7253c9ee7efSAkinobu Mita	default y
7263c9ee7efSAkinobu Mita
7273c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7283c9ee7efSAkinobu Mita	bool
7293c9ee7efSAkinobu Mita	default y
7303c9ee7efSAkinobu Mita
7311da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7321da177e4SLinus Torvalds	bool
7331da177e4SLinus Torvalds	default y
7341da177e4SLinus Torvalds
7357bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7367bcf7717SRalf Baechle	bool
7377bcf7717SRalf Baechle	default y
7387bcf7717SRalf Baechle
7398db02010SRalf Baechleconfig GENERIC_TIME
7408db02010SRalf Baechle	bool
7418db02010SRalf Baechle	default y
7428db02010SRalf Baechle
743f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
744f5ff0a28SRalf Baechle	bool
745f5ff0a28SRalf Baechle	default y
746f5ff0a28SRalf Baechle
7471cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
7481cc89038SAtsushi Nemoto	bool
7491cc89038SAtsushi Nemoto	default y
7501cc89038SAtsushi Nemoto
751e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
752e77c232cSFranck Bui-Huu	bool
753e77c232cSFranck Bui-Huu	default n
754e77c232cSFranck Bui-Huu
7551da177e4SLinus Torvalds#
7561da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7571da177e4SLinus Torvalds#
7581da177e4SLinus Torvaldsconfig ARC
7591da177e4SLinus Torvalds	bool
7601da177e4SLinus Torvalds
76161ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
76261ed242dSRalf Baechle	bool
76361ed242dSRalf Baechle
7649267a30dSMarc St-Jeanconfig BOOT_RAW
7659267a30dSMarc St-Jean	bool
7669267a30dSMarc St-Jean
767217dd11eSRalf Baechleconfig CEVT_BCM1480
768217dd11eSRalf Baechle	bool
769217dd11eSRalf Baechle
7701097c6acSYoichi Yuasaconfig CEVT_GT641XX
7711097c6acSYoichi Yuasa	bool
7721097c6acSYoichi Yuasa
77342f77542SRalf Baechleconfig CEVT_R4K
77442f77542SRalf Baechle	bool
77542f77542SRalf Baechle
776217dd11eSRalf Baechleconfig CEVT_SB1250
777217dd11eSRalf Baechle	bool
778217dd11eSRalf Baechle
779229f773eSAtsushi Nemotoconfig CEVT_TXX9
780229f773eSAtsushi Nemoto	bool
781229f773eSAtsushi Nemoto
782217dd11eSRalf Baechleconfig CSRC_BCM1480
783217dd11eSRalf Baechle	bool
784217dd11eSRalf Baechle
785940f6b48SRalf Baechleconfig CSRC_R4K
786940f6b48SRalf Baechle	bool
787940f6b48SRalf Baechle
788217dd11eSRalf Baechleconfig CSRC_SB1250
789217dd11eSRalf Baechle	bool
790217dd11eSRalf Baechle
791df78b5c8SAurelien Jarnoconfig CFE
792df78b5c8SAurelien Jarno	bool
793df78b5c8SAurelien Jarno
7941da177e4SLinus Torvaldsconfig DMA_COHERENT
7951da177e4SLinus Torvalds	bool
7961da177e4SLinus Torvalds
7971da177e4SLinus Torvaldsconfig DMA_IP27
7981da177e4SLinus Torvalds	bool
7991da177e4SLinus Torvalds
8001da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
8011da177e4SLinus Torvalds	bool
8024ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
8034ce588cdSRalf Baechle
8044ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
8054ce588cdSRalf Baechle	bool
8061da177e4SLinus Torvalds
8071da177e4SLinus Torvaldsconfig EARLY_PRINTK
80836a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
80936a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
81036a88530SRalf Baechle	default y
81136a88530SRalf Baechle	help
81236a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
81336a88530SRalf Baechle	  to print messages very early in the bootup process.
81436a88530SRalf Baechle
81536a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
816490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
817490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
818490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
81936a88530SRalf Baechle	  unless you want to debug such a crash.
82036a88530SRalf Baechle
82136a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
8221da177e4SLinus Torvalds	bool
8231da177e4SLinus Torvalds
824dbb74540SRalf Baechleconfig HOTPLUG_CPU
825dbb74540SRalf Baechle	bool
826dbb74540SRalf Baechle	default n
827dbb74540SRalf Baechle
8281da177e4SLinus Torvaldsconfig I8259
8291da177e4SLinus Torvalds	bool
8301da177e4SLinus Torvalds
8311da177e4SLinus Torvaldsconfig MIPS_BONITO64
8321da177e4SLinus Torvalds	bool
8331da177e4SLinus Torvalds
8341da177e4SLinus Torvaldsconfig MIPS_MSC
8351da177e4SLinus Torvalds	bool
8361da177e4SLinus Torvalds
8371f21d2bdSBrian Murphyconfig MIPS_NILE4
8381f21d2bdSBrian Murphy	bool
8391f21d2bdSBrian Murphy
8401da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8411da177e4SLinus Torvalds	bool
8421da177e4SLinus Torvalds
843d388d685SMaciej W. Rozyckiconfig NO_IOPORT
844d388d685SMaciej W. Rozycki	def_bool n
845d388d685SMaciej W. Rozycki
8468313da30SRalf Baechleconfig GENERIC_ISA_DMA
8478313da30SRalf Baechle	bool
8488313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
8498313da30SRalf Baechle
850aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
851aa414dffSRalf Baechle	bool
8528313da30SRalf Baechle	select GENERIC_ISA_DMA
853aa414dffSRalf Baechle
85409663335SYoichi Yuasaconfig GENERIC_GPIO
85509663335SYoichi Yuasa	bool
85609663335SYoichi Yuasa
8575e83d430SRalf Baechle#
8583cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
8595e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
8605e83d430SRalf Baechle# choice statement should be more obvious to the user.
8615e83d430SRalf Baechle#
8625e83d430SRalf Baechlechoice
8635e83d430SRalf Baechle	prompt "Endianess selection"
8641da177e4SLinus Torvalds	help
8651da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
8665e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
8673cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
8685e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
8693dde6ad8SDavid Sterba	  one or the other endianness.
8705e83d430SRalf Baechle
8715e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
8725e83d430SRalf Baechle	bool "Big endian"
8735e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
8745e83d430SRalf Baechle
8755e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8765e83d430SRalf Baechle	bool "Little endian"
8775e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8785e83d430SRalf Baechle	help
8795e83d430SRalf Baechle
8805e83d430SRalf Baechleendchoice
8815e83d430SRalf Baechle
8822116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8832116245eSRalf Baechle	bool
8842116245eSRalf Baechle
8855e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8865e83d430SRalf Baechle	bool
8875e83d430SRalf Baechle
8885e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8895e83d430SRalf Baechle	bool
8901da177e4SLinus Torvalds
8911da177e4SLinus Torvaldsconfig IRQ_CPU
8921da177e4SLinus Torvalds	bool
8931da177e4SLinus Torvalds
8941da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8951da177e4SLinus Torvalds	bool
8961da177e4SLinus Torvalds
8975e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8985e83d430SRalf Baechle	bool
8995e83d430SRalf Baechle
9009267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
9019267a30dSMarc St-Jean	bool
9029267a30dSMarc St-Jean
9039267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
9049267a30dSMarc St-Jean	bool
9059267a30dSMarc St-Jean
9068420fd00SAtsushi Nemotoconfig IRQ_TXX9
9078420fd00SAtsushi Nemoto	bool
9088420fd00SAtsushi Nemoto
909d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
910d5ab1a69SYoichi Yuasa	bool
911d5ab1a69SYoichi Yuasa
9121da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
9131da177e4SLinus Torvalds	bool
9141da177e4SLinus Torvalds
915252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
9161da177e4SLinus Torvalds	bool
9171da177e4SLinus Torvalds
9189267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
9199267a30dSMarc St-Jean	bool
9209267a30dSMarc St-Jean
9211da177e4SLinus Torvaldsconfig MIPS_TX3927
9221da177e4SLinus Torvalds	bool
9231da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
9241da177e4SLinus Torvalds
925663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
926663c3d90Sthomas@koeller.dyndns.org	bool
927663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
928663c3d90Sthomas@koeller.dyndns.org
929bdf21b18SPete Popovconfig PNX8550
930bdf21b18SPete Popov	bool
931bdf21b18SPete Popov	select SOC_PNX8550
932bdf21b18SPete Popov
933bdf21b18SPete Popovconfig SOC_PNX8550
934bdf21b18SPete Popov	bool
935bdf21b18SPete Popov	select DMA_NONCOHERENT
936bdf21b18SPete Popov	select HW_HAS_PCI
937b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
93836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
9397cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
940e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
941cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
9424ead1681SFlorian Fainelli	select GENERIC_GPIO
943bdf21b18SPete Popov
9441da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
9451da177e4SLinus Torvalds	bool
9461da177e4SLinus Torvalds
947355c471fSdmitry pervushinconfig EMMA2RH
948355c471fSdmitry pervushin	bool
949355c471fSdmitry pervushin	depends on MARKEINS
950355c471fSdmitry pervushin	default y
951355c471fSdmitry pervushin
952663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
953663c3d90Sthomas@koeller.dyndns.org	bool
954663c3d90Sthomas@koeller.dyndns.org
955e2defae5SThomas Bogendoerferconfig SGI_HAS_DS1286
956e2defae5SThomas Bogendoerfer	bool
957e2defae5SThomas Bogendoerfer
958e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
959e2defae5SThomas Bogendoerfer	bool
960e2defae5SThomas Bogendoerfer
961e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
962e2defae5SThomas Bogendoerfer	bool
963e2defae5SThomas Bogendoerfer
964e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
965e2defae5SThomas Bogendoerfer	bool
966e2defae5SThomas Bogendoerfer
967e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
968e2defae5SThomas Bogendoerfer	bool
969e2defae5SThomas Bogendoerfer
970e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
971e2defae5SThomas Bogendoerfer	bool
972e2defae5SThomas Bogendoerfer
973e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
974e2defae5SThomas Bogendoerfer	bool
975e2defae5SThomas Bogendoerfer
9765e83d430SRalf Baechleconfig ARC32
9775e83d430SRalf Baechle	bool
9785e83d430SRalf Baechle
979231a35d3SThomas Bogendoerferconfig SNIPROM
980231a35d3SThomas Bogendoerfer	bool
981231a35d3SThomas Bogendoerfer
9821da177e4SLinus Torvaldsconfig BOOT_ELF32
9831da177e4SLinus Torvalds	bool
9841da177e4SLinus Torvalds
9851da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
9861da177e4SLinus Torvalds	int
98706cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
988e2defae5SThomas Bogendoerfer	default "7" if SGI_IP27 || SGI_IP28 || SNI_RM
9899267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
9901da177e4SLinus Torvalds	default "5"
9911da177e4SLinus Torvalds
9921da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
9931da177e4SLinus Torvalds	bool
9941da177e4SLinus Torvalds
9951da177e4SLinus Torvaldsconfig ARC_CONSOLE
9961da177e4SLinus Torvalds	bool "ARC console support"
997e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
9981da177e4SLinus Torvalds
9991da177e4SLinus Torvaldsconfig ARC_MEMORY
10001da177e4SLinus Torvalds	bool
100114b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
10021da177e4SLinus Torvalds	default y
10031da177e4SLinus Torvalds
10041da177e4SLinus Torvaldsconfig ARC_PROMLIB
10051da177e4SLinus Torvalds	bool
1006e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
10071da177e4SLinus Torvalds	default y
10081da177e4SLinus Torvalds
10091da177e4SLinus Torvaldsconfig ARC64
10101da177e4SLinus Torvalds	bool
10111da177e4SLinus Torvalds
10121da177e4SLinus Torvaldsconfig BOOT_ELF64
10131da177e4SLinus Torvalds	bool
10141da177e4SLinus Torvalds
10151da177e4SLinus Torvaldsmenu "CPU selection"
10161da177e4SLinus Torvalds
10171da177e4SLinus Torvaldschoice
10181da177e4SLinus Torvalds	prompt "CPU type"
10191da177e4SLinus Torvalds	default CPU_R4X00
10201da177e4SLinus Torvalds
10212a21c730SFuxin Zhangconfig CPU_LOONGSON2
10222a21c730SFuxin Zhang	bool "Loongson 2"
10232a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
10242a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
10252a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
10262a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
10272a21c730SFuxin Zhang	help
10282a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
10292a21c730SFuxin Zhang	  with many extensions.
10302a21c730SFuxin Zhang
10316e760c8dSRalf Baechleconfig CPU_MIPS32_R1
10326e760c8dSRalf Baechle	bool "MIPS32 Release 1"
10337cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
1034f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10356e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1036797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1037ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10386e760c8dSRalf Baechle	help
10395e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10401e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10411e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10421e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10431e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10441e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
10451e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
10461e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
10471e5f1caaSRalf Baechle	  performance.
10481e5f1caaSRalf Baechle
10491e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
10501e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
10517cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
1052f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10531e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1054797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1055ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10561e5f1caaSRalf Baechle	help
10575e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10586e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10596e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10606e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10616e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10621da177e4SLinus Torvalds
10636e760c8dSRalf Baechleconfig CPU_MIPS64_R1
10646e760c8dSRalf Baechle	bool "MIPS64 Release 1"
10657cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1066f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1067797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1068ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1069ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1070ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10716e760c8dSRalf Baechle	help
10726e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10736e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10746e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10756e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10766e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10771e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
10781e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
10791e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
10801e5f1caaSRalf Baechle	  performance.
10811e5f1caaSRalf Baechle
10821e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
10831e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
10847cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1085f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1086797798c1SRalf Baechle	select CPU_HAS_PREFETCH
10871e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10881e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1089ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10901e5f1caaSRalf Baechle	help
10911e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10921e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10931e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10941e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10951e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10961da177e4SLinus Torvalds
10971da177e4SLinus Torvaldsconfig CPU_R3000
10981da177e4SLinus Torvalds	bool "R3000"
10997cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1100f7062ddbSRalf Baechle	select CPU_HAS_WB
1101ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1102797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11031da177e4SLinus Torvalds	help
11041da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
11051da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
11061da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
11071da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
11081da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
11091da177e4SLinus Torvalds	  try to recompile with R3000.
11101da177e4SLinus Torvalds
11111da177e4SLinus Torvaldsconfig CPU_TX39XX
11121da177e4SLinus Torvalds	bool "R39XX"
11137cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1114ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11151da177e4SLinus Torvalds
11161da177e4SLinus Torvaldsconfig CPU_VR41XX
11171da177e4SLinus Torvalds	bool "R41xx"
11187cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1119ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1120ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11211da177e4SLinus Torvalds	help
11225e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
11231da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
11241da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
11251da177e4SLinus Torvalds	  processor or vice versa.
11261da177e4SLinus Torvalds
11271da177e4SLinus Torvaldsconfig CPU_R4300
11281da177e4SLinus Torvalds	bool "R4300"
11297cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1130f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1131ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1132ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11331da177e4SLinus Torvalds	help
11341da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
11351da177e4SLinus Torvalds
11361da177e4SLinus Torvaldsconfig CPU_R4X00
11371da177e4SLinus Torvalds	bool "R4x00"
11387cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1139f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1140ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1141ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11421da177e4SLinus Torvalds	help
11431da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
11441da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
11451da177e4SLinus Torvalds
11461da177e4SLinus Torvaldsconfig CPU_TX49XX
11471da177e4SLinus Torvalds	bool "R49XX"
11487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1149f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1150de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1151ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1152ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11531da177e4SLinus Torvalds
11541da177e4SLinus Torvaldsconfig CPU_R5000
11551da177e4SLinus Torvalds	bool "R5000"
11567cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1157f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1158ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1159ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11601da177e4SLinus Torvalds	help
11611da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
11621da177e4SLinus Torvalds
11631da177e4SLinus Torvaldsconfig CPU_R5432
11641da177e4SLinus Torvalds	bool "R5432"
11657cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1166f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11675e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11685e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
11691da177e4SLinus Torvalds
11701da177e4SLinus Torvaldsconfig CPU_R6000
11711da177e4SLinus Torvalds	bool "R6000"
1172ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1173f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11747cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1175ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11761da177e4SLinus Torvalds	help
11771da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1178c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
11791da177e4SLinus Torvalds
11801da177e4SLinus Torvaldsconfig CPU_NEVADA
11811da177e4SLinus Torvalds	bool "RM52xx"
11827cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1183f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1184ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1185ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11861da177e4SLinus Torvalds	help
11871da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
11881da177e4SLinus Torvalds
11891da177e4SLinus Torvaldsconfig CPU_R8000
11901da177e4SLinus Torvalds	bool "R8000"
1191ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
11927cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1193f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11945e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1195ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11961da177e4SLinus Torvalds	help
11971da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
11981da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
11991da177e4SLinus Torvalds
12001da177e4SLinus Torvaldsconfig CPU_R10000
12011da177e4SLinus Torvalds	bool "R10000"
12027cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1203f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12045e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1205ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1206ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1207797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12081da177e4SLinus Torvalds	help
12091da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
12101da177e4SLinus Torvalds
12111da177e4SLinus Torvaldsconfig CPU_RM7000
12121da177e4SLinus Torvalds	bool "RM7000"
12137cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1214f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12155e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1216ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1217ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1218797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12191da177e4SLinus Torvalds
12201da177e4SLinus Torvaldsconfig CPU_RM9000
12211da177e4SLinus Torvalds	bool "RM9000"
12227cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1223f7062ddbSRalf Baechle	select CPU_HAS_LLSC
12245e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1225ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1226ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1227797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12280004a9dfSRalf Baechle	select WEAK_ORDERING
12291da177e4SLinus Torvalds
12301da177e4SLinus Torvaldsconfig CPU_SB1
12311da177e4SLinus Torvalds	bool "SB1"
12327cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1233f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1234ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1235ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1236797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12370004a9dfSRalf Baechle	select WEAK_ORDERING
12381da177e4SLinus Torvalds
12391da177e4SLinus Torvaldsendchoice
12401da177e4SLinus Torvalds
12412a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
12422a21c730SFuxin Zhang	bool
12432a21c730SFuxin Zhang
12447cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
12457cf8053bSRalf Baechle	bool
12467cf8053bSRalf Baechle
12477cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
12487cf8053bSRalf Baechle	bool
12497cf8053bSRalf Baechle
12507cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
12517cf8053bSRalf Baechle	bool
12527cf8053bSRalf Baechle
12537cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
12547cf8053bSRalf Baechle	bool
12557cf8053bSRalf Baechle
12567cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
12577cf8053bSRalf Baechle	bool
12587cf8053bSRalf Baechle
12597cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
12607cf8053bSRalf Baechle	bool
12617cf8053bSRalf Baechle
12627cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
12637cf8053bSRalf Baechle	bool
12647cf8053bSRalf Baechle
12657cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
12667cf8053bSRalf Baechle	bool
12677cf8053bSRalf Baechle
12687cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
12697cf8053bSRalf Baechle	bool
12707cf8053bSRalf Baechle
12717cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
12727cf8053bSRalf Baechle	bool
12737cf8053bSRalf Baechle
12747cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
12757cf8053bSRalf Baechle	bool
12767cf8053bSRalf Baechle
12777cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
12787cf8053bSRalf Baechle	bool
12797cf8053bSRalf Baechle
12807cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
12817cf8053bSRalf Baechle	bool
12827cf8053bSRalf Baechle
12837cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
12847cf8053bSRalf Baechle	bool
12857cf8053bSRalf Baechle
12867cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
12877cf8053bSRalf Baechle	bool
12887cf8053bSRalf Baechle
12897cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
12907cf8053bSRalf Baechle	bool
12917cf8053bSRalf Baechle
12927cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
12937cf8053bSRalf Baechle	bool
12947cf8053bSRalf Baechle
12957cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
12967cf8053bSRalf Baechle	bool
12977cf8053bSRalf Baechle
12987cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
12997cf8053bSRalf Baechle	bool
13007cf8053bSRalf Baechle
130117099b11SRalf Baechle#
130217099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
130317099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
130417099b11SRalf Baechle#
13050004a9dfSRalf Baechleconfig WEAK_ORDERING
13060004a9dfSRalf Baechle	bool
130717099b11SRalf Baechle
130817099b11SRalf Baechle#
130917099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
131017099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
131117099b11SRalf Baechle#
131217099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
131317099b11SRalf Baechle	bool
13145e83d430SRalf Baechleendmenu
13155e83d430SRalf Baechle
13165e83d430SRalf Baechle#
13175e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
13185e83d430SRalf Baechle#
13195e83d430SRalf Baechleconfig CPU_MIPS32
13205e83d430SRalf Baechle	bool
13215e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
13225e83d430SRalf Baechle
13235e83d430SRalf Baechleconfig CPU_MIPS64
13245e83d430SRalf Baechle	bool
13255e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
13265e83d430SRalf Baechle
13275e83d430SRalf Baechle#
1328c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
13295e83d430SRalf Baechle#
13305e83d430SRalf Baechleconfig CPU_MIPSR1
13315e83d430SRalf Baechle	bool
13325e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
13335e83d430SRalf Baechle
13345e83d430SRalf Baechleconfig CPU_MIPSR2
13355e83d430SRalf Baechle	bool
13365e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
13375e83d430SRalf Baechle
13385e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
13395e83d430SRalf Baechle	bool
13405e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
13415e83d430SRalf Baechle	bool
13425e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
13435e83d430SRalf Baechle	bool
13445e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
13455e83d430SRalf Baechle	bool
13465e83d430SRalf Baechle
13475e83d430SRalf Baechlemenu "Kernel type"
13485e83d430SRalf Baechle
13495e83d430SRalf Baechlechoice
13505e83d430SRalf Baechle
13515e83d430SRalf Baechle	prompt "Kernel code model"
13525e83d430SRalf Baechle	help
13535e83d430SRalf Baechle	  You should only select this option if you have a workload that
13545e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
13555e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
13565e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
13575e83d430SRalf Baechle
13585e83d430SRalf Baechleconfig 32BIT
13595e83d430SRalf Baechle	bool "32-bit kernel"
13605e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
13615e83d430SRalf Baechle	select TRAD_SIGNALS
13625e83d430SRalf Baechle	help
13635e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
13645e83d430SRalf Baechleconfig 64BIT
13655e83d430SRalf Baechle	bool "64-bit kernel"
13665e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
13675e83d430SRalf Baechle	help
13685e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
13695e83d430SRalf Baechle
13705e83d430SRalf Baechleendchoice
13715e83d430SRalf Baechle
13721da177e4SLinus Torvaldschoice
13731da177e4SLinus Torvalds	prompt "Kernel page size"
13741da177e4SLinus Torvalds	default PAGE_SIZE_4KB
13751da177e4SLinus Torvalds
13761da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
13771da177e4SLinus Torvalds	bool "4kB"
13781da177e4SLinus Torvalds	help
13791da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
13801da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
13811da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
13821da177e4SLinus Torvalds	 recommended for low memory systems.
13831da177e4SLinus Torvalds
13841da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
13851da177e4SLinus Torvalds	bool "8kB"
13861da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
13871da177e4SLinus Torvalds	help
13881da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
13891da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
13901da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
13911da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
13921da177e4SLinus Torvalds	  compatibility of user applications.
13931da177e4SLinus Torvalds
13941da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
13951da177e4SLinus Torvalds	bool "16kB"
1396714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
13971da177e4SLinus Torvalds	help
13981da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
13991da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1400714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1401714bfad6SRalf Baechle	  Linux distribution to support this.
14021da177e4SLinus Torvalds
14031da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
14041da177e4SLinus Torvalds	bool "64kB"
14051da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
14061da177e4SLinus Torvalds	help
14071da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
14081da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
14091da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1410714bfad6SRalf Baechle	  writing this option is still high experimental.
14111da177e4SLinus Torvalds
14121da177e4SLinus Torvaldsendchoice
14131da177e4SLinus Torvalds
14141da177e4SLinus Torvaldsconfig BOARD_SCACHE
14151da177e4SLinus Torvalds	bool
14161da177e4SLinus Torvalds
14171da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
14181da177e4SLinus Torvalds	bool
14191da177e4SLinus Torvalds	select BOARD_SCACHE
14201da177e4SLinus Torvalds
14219318c51aSChris Dearman#
14229318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
14239318c51aSChris Dearman#
14249318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
14259318c51aSChris Dearman	bool
14269318c51aSChris Dearman	select BOARD_SCACHE
14279318c51aSChris Dearman
14281da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
14291da177e4SLinus Torvalds	bool
14301da177e4SLinus Torvalds	select BOARD_SCACHE
14311da177e4SLinus Torvalds
14321da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
14331da177e4SLinus Torvalds	bool
14341da177e4SLinus Torvalds	select BOARD_SCACHE
14351da177e4SLinus Torvalds
14361da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
14371da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
14381da177e4SLinus Torvalds	depends on CPU_SB1
14391da177e4SLinus Torvalds	help
14401da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
14411da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
14421da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
14431da177e4SLinus Torvalds
14441da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1445c8094b53SRalf Baechle	bool
14461da177e4SLinus Torvalds
1447340ee4b9SRalf Baechlechoice
1448340ee4b9SRalf Baechle	prompt "MIPS MT options"
1449f41ae0b2SRalf Baechle
1450f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1451f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1452f41ae0b2SRalf Baechle	help
1453f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1454f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1455f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1456f41ae0b2SRalf Baechle	  option in this menu.
1457340ee4b9SRalf Baechle
145859d6ab86SRalf Baechleconfig MIPS_MT_SMP
145959d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
146059d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
146159d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1462d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
146359d6ab86SRalf Baechle	select MIPS_MT
1464f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
146559d6ab86SRalf Baechle	select SMP
14660ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
146759d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
146887353d8aSRalf Baechle	select SMP_UP
146959d6ab86SRalf Baechle	help
147059d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
147159d6ab86SRalf Baechle	  has been marketesed into SMVP.
147259d6ab86SRalf Baechle
147341c594abSRalf Baechleconfig MIPS_MT_SMTC
147441c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1475f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1476f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1477f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1478ea580401SRalf Baechle	select GENERIC_CLOCKEVENTS_BROADCAST
1479f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1480d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1481f41ae0b2SRalf Baechle	select MIPS_MT
1482130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
148341c594abSRalf Baechle	select SMP
148473b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
148587353d8aSRalf Baechle	select SMP_UP
1486f41ae0b2SRalf Baechle	help
1487f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1488f41ae0b2SRalf Baechle	  marketesed into SMVP.
148941c594abSRalf Baechle
1490340ee4b9SRalf Baechleendchoice
1491340ee4b9SRalf Baechle
1492f41ae0b2SRalf Baechleconfig MIPS_MT
1493f41ae0b2SRalf Baechle	bool
1494f41ae0b2SRalf Baechle
14950ab7aefcSRalf Baechleconfig SCHED_SMT
14960ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
14970ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
14980ab7aefcSRalf Baechle	default n
14990ab7aefcSRalf Baechle	help
15000ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
15010ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
15020ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
15030ab7aefcSRalf Baechle
15040ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
15050ab7aefcSRalf Baechle	bool
15060ab7aefcSRalf Baechle
15070ab7aefcSRalf Baechle
1508f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1509f41ae0b2SRalf Baechle	bool
1510f41ae0b2SRalf Baechle
1511f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1512f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1513f088fc84SRalf Baechle	default y
151407cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
151507cc0c9eSRalf Baechle
151607cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
151707cc0c9eSRalf Baechle	bool "VPE loader support."
151807cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
151907cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
152007cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
152107cc0c9eSRalf Baechle	select MIPS_MT
152207cc0c9eSRalf Baechle	help
152307cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
152407cc0c9eSRalf Baechle	  onto another VPE and running it.
1525f088fc84SRalf Baechle
1526ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1527ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1528619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1529ac8be955SRalf Baechle	default y
1530ac8be955SRalf Baechle	help
1531ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1532ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1533ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1534ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1535ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1536ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1537ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1538ac8be955SRalf Baechle	  heavy I/O interrupt load.
1539ac8be955SRalf Baechle
15400db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
15410db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
15420db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
15430db34215SKevin D. Kissell	default y
15440db34215SKevin D. Kissell	help
15450db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
15460db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
15470db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
15480db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
15490db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
15500db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
15510db34215SKevin D. Kissell	  what you are doing.
15520db34215SKevin D. Kissell
1553f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1554f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1555f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1556f571eff0SKevin D. Kissell	default n
1557f571eff0SKevin D. Kissell	help
1558f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1559f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1560f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
1561f571eff0SKevin D. Kissell	  platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1562f571eff0SKevin D. Kissell	  be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1563f571eff0SKevin D. Kissell	  interrupt dispatch, and should be used only if you know what
1564f571eff0SKevin D. Kissell	  you are doing.
1565f571eff0SKevin D. Kissell
1566e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1567e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1568e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1569e01402b1SRalf Baechle	default y
1570e01402b1SRalf Baechle	help
1571e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1572e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1573e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1574e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1575e01402b1SRalf Baechle
1576e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1577e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1578e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1579e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
15805e83d430SRalf Baechle	help
1581e01402b1SRalf Baechle
15822600990eSRalf Baechleconfig MIPS_APSP_KSPD
15832600990eSRalf Baechle	bool "Enable KSPD"
15842600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
15852600990eSRalf Baechle	default y
15862600990eSRalf Baechle	help
15872600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
15882600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
15892600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
15902600990eSRalf Baechle	  exiting.  You probably want to say yes here.
15912600990eSRalf Baechle
15921da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
15931da177e4SLinus Torvalds	bool
15941da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
15951da177e4SLinus Torvalds	default y
15961da177e4SLinus Torvalds
15971da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
15981da177e4SLinus Torvalds	bool
15991da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
16001da177e4SLinus Torvalds	default y
16011da177e4SLinus Torvalds
16021da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
16031da177e4SLinus Torvalds	bool
16041da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
16051da177e4SLinus Torvalds	default y
16061da177e4SLinus Torvalds
16071da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1608d806cb2bSRalf Baechle	bool
16091da177e4SLinus Torvalds
16101da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1611f7062ddbSRalf Baechle	bool
16121da177e4SLinus Torvalds
16139693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
16149693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
16159693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
16169693a853SFranck Bui-Huu	help
16179693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
16189693a853SFranck Bui-Huu	  increased security at both hardware and software level for
16199693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
16209693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
16219693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
16229693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
16239693a853SFranck Bui-Huu	  here.
16249693a853SFranck Bui-Huu
16251da177e4SLinus Torvaldsconfig CPU_HAS_WB
1626f7062ddbSRalf Baechle	bool
1627e01402b1SRalf Baechle
1628f41ae0b2SRalf Baechle#
1629f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1630f41ae0b2SRalf Baechle#
1631e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1632f41ae0b2SRalf Baechle	bool
1633e01402b1SRalf Baechle
1634f41ae0b2SRalf Baechle#
1635f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1636f41ae0b2SRalf Baechle#
1637e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1638f41ae0b2SRalf Baechle	bool
1639e01402b1SRalf Baechle
16401da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
16411da177e4SLinus Torvalds	bool
16421da177e4SLinus Torvalds	depends on !CPU_R3000
16431da177e4SLinus Torvalds	default y
16441da177e4SLinus Torvalds
1645ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1646ea580401SRalf Baechle	bool
1647ea580401SRalf Baechle
16481da177e4SLinus Torvalds#
164920d60d99SMaciej W. Rozycki# CPU non-features
165020d60d99SMaciej W. Rozycki#
165120d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
165220d60d99SMaciej W. Rozycki	bool
165320d60d99SMaciej W. Rozycki
165420d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
165520d60d99SMaciej W. Rozycki	bool
165620d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
165720d60d99SMaciej W. Rozycki
165820d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
165920d60d99SMaciej W. Rozycki	bool
166020d60d99SMaciej W. Rozycki
166120d60d99SMaciej W. Rozycki#
1662797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1663797798c1SRalf Baechle#
1664797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1665797798c1SRalf Baechle	bool
1666797798c1SRalf Baechle	default y
1667797798c1SRalf Baechle
1668797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1669797798c1SRalf Baechle	bool
1670797798c1SRalf Baechle	default y
1671797798c1SRalf Baechle
16720d7012a9SIngo Molnarconfig IRQ_PER_CPU
16730d7012a9SIngo Molnar	bool
16740d7012a9SIngo Molnar
1675797798c1SRalf Baechle#
16761da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
16771da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
16781da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
16791da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
16801da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
16811da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
16821da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
16831da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1684797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1685797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1686797798c1SRalf Baechle#   support.
16871da177e4SLinus Torvalds#
16881da177e4SLinus Torvaldsconfig HIGHMEM
16891da177e4SLinus Torvalds	bool "High Memory Support"
1690797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1691797798c1SRalf Baechle
1692797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1693797798c1SRalf Baechle	bool
1694797798c1SRalf Baechle
1695797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1696797798c1SRalf Baechle	bool
16971da177e4SLinus Torvalds
16989693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
16999693a853SFranck Bui-Huu	bool
17009693a853SFranck Bui-Huu
1701b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1702b4819b59SYoichi Yuasa	def_bool y
1703b4819b59SYoichi Yuasa	depends on !NUMA
1704b4819b59SYoichi Yuasa
1705d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1706d8cb4e11SRalf Baechle	bool
1707d8cb4e11SRalf Baechle	default y if SGI_IP27
1708d8cb4e11SRalf Baechle	help
17093dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1710d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1711d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1712d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1713d8cb4e11SRalf Baechle
1714cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1715cce335aeSRalf Baechle	def_bool y
1716cce335aeSRalf Baechle
1717b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1718b1c6cd42SAtsushi Nemoto	bool
17197de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
172031473747SAtsushi Nemoto
1721d8cb4e11SRalf Baechleconfig NUMA
1722d8cb4e11SRalf Baechle	bool "NUMA Support"
1723d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1724d8cb4e11SRalf Baechle	help
1725d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1726d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1727d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1728d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1729d8cb4e11SRalf Baechle	  disabled.
1730d8cb4e11SRalf Baechle
1731d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1732d8cb4e11SRalf Baechle	bool
1733d8cb4e11SRalf Baechle
1734c80d79d7SYasunori Gotoconfig NODES_SHIFT
1735c80d79d7SYasunori Goto	int
1736c80d79d7SYasunori Goto	default "6"
1737c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1738c80d79d7SYasunori Goto
1739b4819b59SYoichi Yuasasource "mm/Kconfig"
1740b4819b59SYoichi Yuasa
17411da177e4SLinus Torvaldsconfig SMP
17421da177e4SLinus Torvalds	bool "Multi-Processing support"
1743e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1744b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1745e73ea273SRalf Baechle	help
17461da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
17471da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
17481da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
17491da177e4SLinus Torvalds
17501da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
17511da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
17521da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
17531da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
17541da177e4SLinus Torvalds	  will run faster if you say N here.
17551da177e4SLinus Torvalds
17561da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
17571da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
17581da177e4SLinus Torvalds
175903502faaSAdrian Bunk	  See also the SMP-HOWTO available at
176003502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
17611da177e4SLinus Torvalds
17621da177e4SLinus Torvalds	  If you don't know what to do here, say N.
17631da177e4SLinus Torvalds
176487353d8aSRalf Baechleconfig SMP_UP
176587353d8aSRalf Baechle	bool
176687353d8aSRalf Baechle
1767e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1768e73ea273SRalf Baechle	bool
1769e73ea273SRalf Baechle
177072ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
177172ede9b1SAtsushi Nemoto	bool
177272ede9b1SAtsushi Nemoto
1773130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1774130e2fb7SRalf Baechle	bool
1775130e2fb7SRalf Baechle
1776130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1777130e2fb7SRalf Baechle	bool
1778130e2fb7SRalf Baechle
1779130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1780130e2fb7SRalf Baechle	bool
1781130e2fb7SRalf Baechle
1782130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1783130e2fb7SRalf Baechle	bool
1784130e2fb7SRalf Baechle
1785130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1786130e2fb7SRalf Baechle	bool
1787130e2fb7SRalf Baechle
1788130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1789130e2fb7SRalf Baechle	bool
1790130e2fb7SRalf Baechle
17911da177e4SLinus Torvaldsconfig NR_CPUS
17921da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
179372ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
17941da177e4SLinus Torvalds	depends on SMP
179572ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1796130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1797130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1798130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1799130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1800130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1801130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
18021da177e4SLinus Torvalds	help
18031da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
18041da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
18051da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
180672ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
180772ede9b1SAtsushi Nemoto	  and 2 for all others.
18081da177e4SLinus Torvalds
18091da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
181072ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
181172ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
181272ede9b1SAtsushi Nemoto	  power of two.
18131da177e4SLinus Torvalds
1814c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
1815c4eee283SAtsushi Nemoto
18161723b4a3SAtsushi Nemoto#
18171723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
18181723b4a3SAtsushi Nemoto#
18191723b4a3SAtsushi Nemoto
18201723b4a3SAtsushi Nemotochoice
18211723b4a3SAtsushi Nemoto	prompt "Timer frequency"
18221723b4a3SAtsushi Nemoto	default HZ_250
18231723b4a3SAtsushi Nemoto	help
18241723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
18251723b4a3SAtsushi Nemoto
18261723b4a3SAtsushi Nemoto	config HZ_48
18271723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
18281723b4a3SAtsushi Nemoto
18291723b4a3SAtsushi Nemoto	config HZ_100
18301723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
18311723b4a3SAtsushi Nemoto
18321723b4a3SAtsushi Nemoto	config HZ_128
18331723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
18341723b4a3SAtsushi Nemoto
18351723b4a3SAtsushi Nemoto	config HZ_250
18361723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
18371723b4a3SAtsushi Nemoto
18381723b4a3SAtsushi Nemoto	config HZ_256
18391723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
18401723b4a3SAtsushi Nemoto
18411723b4a3SAtsushi Nemoto	config HZ_1000
18421723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
18431723b4a3SAtsushi Nemoto
18441723b4a3SAtsushi Nemoto	config HZ_1024
18451723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
18461723b4a3SAtsushi Nemoto
18471723b4a3SAtsushi Nemotoendchoice
18481723b4a3SAtsushi Nemoto
18491723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
18501723b4a3SAtsushi Nemoto	bool
18511723b4a3SAtsushi Nemoto
18521723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
18531723b4a3SAtsushi Nemoto	bool
18541723b4a3SAtsushi Nemoto
18551723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
18561723b4a3SAtsushi Nemoto	bool
18571723b4a3SAtsushi Nemoto
18581723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
18591723b4a3SAtsushi Nemoto	bool
18601723b4a3SAtsushi Nemoto
18611723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
18621723b4a3SAtsushi Nemoto	bool
18631723b4a3SAtsushi Nemoto
18641723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
18651723b4a3SAtsushi Nemoto	bool
18661723b4a3SAtsushi Nemoto
18671723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
18681723b4a3SAtsushi Nemoto	bool
18691723b4a3SAtsushi Nemoto
18701723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
18711723b4a3SAtsushi Nemoto	bool
18721723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
18731723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
18741723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
18751723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
18761723b4a3SAtsushi Nemoto
18771723b4a3SAtsushi Nemotoconfig HZ
18781723b4a3SAtsushi Nemoto	int
18791723b4a3SAtsushi Nemoto	default 48 if HZ_48
18801723b4a3SAtsushi Nemoto	default 100 if HZ_100
18811723b4a3SAtsushi Nemoto	default 128 if HZ_128
18821723b4a3SAtsushi Nemoto	default 250 if HZ_250
18831723b4a3SAtsushi Nemoto	default 256 if HZ_256
18841723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
18851723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
18861723b4a3SAtsushi Nemoto
1887e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
18881da177e4SLinus Torvalds
18891da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
18901da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1891875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
18921da177e4SLinus Torvalds	help
18931da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
18941da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
18951da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
18961da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
18971da177e4SLinus Torvalds	  recommended for normal users.
18981da177e4SLinus Torvalds
1899ea6e942bSAtsushi Nemotoconfig KEXEC
1900ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1901ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1902ea6e942bSAtsushi Nemoto	help
1903ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1904ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
19053dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1906ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1907ea6e942bSAtsushi Nemoto
190801dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
1909ea6e942bSAtsushi Nemoto
1910ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1911ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1912ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1913ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1914ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1915ea6e942bSAtsushi Nemoto
1916ea6e942bSAtsushi Nemotoconfig SECCOMP
1917ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1918293c5bd1SRalf Baechle	depends on PROC_FS
1919ea6e942bSAtsushi Nemoto	default y
1920ea6e942bSAtsushi Nemoto	help
1921ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1922ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1923ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1924ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1925ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1926ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1927ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1928ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1929ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1930ea6e942bSAtsushi Nemoto
1931ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1932ea6e942bSAtsushi Nemoto
19335e83d430SRalf Baechleendmenu
19345e83d430SRalf Baechle
19351da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
19361da177e4SLinus Torvalds	bool
19371da177e4SLinus Torvalds	default y
19381da177e4SLinus Torvalds
19391df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
19401df0f0ffSAtsushi Nemoto	bool
19411df0f0ffSAtsushi Nemoto	default y
19421df0f0ffSAtsushi Nemoto
19431df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
19441df0f0ffSAtsushi Nemoto	bool
19451df0f0ffSAtsushi Nemoto	default y
19461df0f0ffSAtsushi Nemoto
1947b6c3539bSRalf Baechlesource "init/Kconfig"
1948b6c3539bSRalf Baechle
19491da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
19501da177e4SLinus Torvalds
19515e83d430SRalf Baechleconfig HW_HAS_EISA
19525e83d430SRalf Baechle	bool
19531da177e4SLinus Torvaldsconfig HW_HAS_PCI
19541da177e4SLinus Torvalds	bool
19551da177e4SLinus Torvalds
19561da177e4SLinus Torvaldsconfig PCI
19571da177e4SLinus Torvalds	bool "Support for PCI controller"
19581da177e4SLinus Torvalds	depends on HW_HAS_PCI
1959abb4ae46SRalf Baechle	select PCI_DOMAINS
19601da177e4SLinus Torvalds	help
19611da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
19621da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
19631da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
19641da177e4SLinus Torvalds	  say Y, otherwise N.
19651da177e4SLinus Torvalds
19661da177e4SLinus Torvaldsconfig PCI_DOMAINS
19671da177e4SLinus Torvalds	bool
19681da177e4SLinus Torvalds
19691da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
19701da177e4SLinus Torvalds
19711da177e4SLinus Torvalds#
19721da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
19731da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
19741da177e4SLinus Torvalds# users to choose the right thing ...
19751da177e4SLinus Torvalds#
19761da177e4SLinus Torvaldsconfig ISA
19771da177e4SLinus Torvalds	bool
19781da177e4SLinus Torvalds
19791da177e4SLinus Torvaldsconfig EISA
19801da177e4SLinus Torvalds	bool "EISA support"
19815e83d430SRalf Baechle	depends on HW_HAS_EISA
19821da177e4SLinus Torvalds	select ISA
1983aa414dffSRalf Baechle	select GENERIC_ISA_DMA
19841da177e4SLinus Torvalds	---help---
19851da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
19861da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
19871da177e4SLinus Torvalds
19881da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
19891da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
19901da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
19911da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
19921da177e4SLinus Torvalds
19931da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
19941da177e4SLinus Torvalds
19951da177e4SLinus Torvalds	  Otherwise, say N.
19961da177e4SLinus Torvalds
19971da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
19981da177e4SLinus Torvalds
19991da177e4SLinus Torvaldsconfig TC
20001da177e4SLinus Torvalds	bool "TURBOchannel support"
20011da177e4SLinus Torvalds	depends on MACH_DECSTATION
20021da177e4SLinus Torvalds	help
20031da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
20041da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
20051da177e4SLinus Torvalds	  is available at:
20061da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
20071da177e4SLinus Torvalds
20081da177e4SLinus Torvalds#config ACCESSBUS
20091da177e4SLinus Torvalds#	bool "Access.Bus support"
20101da177e4SLinus Torvalds#	depends on TC
20111da177e4SLinus Torvalds
20121da177e4SLinus Torvaldsconfig MMU
20131da177e4SLinus Torvalds	bool
20141da177e4SLinus Torvalds	default y
20151da177e4SLinus Torvalds
2016d865bea4SRalf Baechleconfig I8253
2017d865bea4SRalf Baechle	bool
2018d865bea4SRalf Baechle
2019cce335aeSRalf Baechleconfig ZONE_DMA32
2020cce335aeSRalf Baechle	bool
2021cce335aeSRalf Baechle
20221da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
20231da177e4SLinus Torvalds
20241da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
20251da177e4SLinus Torvalds
20261da177e4SLinus Torvaldsendmenu
20271da177e4SLinus Torvalds
20281da177e4SLinus Torvaldsmenu "Executable file formats"
20291da177e4SLinus Torvalds
20301da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
20311da177e4SLinus Torvalds
20321da177e4SLinus Torvaldsconfig TRAD_SIGNALS
20331da177e4SLinus Torvalds	bool
20341da177e4SLinus Torvalds
20351da177e4SLinus Torvaldsconfig BINFMT_IRIX
20361da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
20375e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
20381da177e4SLinus Torvalds
20391da177e4SLinus Torvaldsconfig MIPS32_COMPAT
20401da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2041875d43e7SRalf Baechle	depends on 64BIT
20421da177e4SLinus Torvalds	help
20431da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
20441da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
20451da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
20461da177e4SLinus Torvalds
20471da177e4SLinus Torvaldsconfig COMPAT
20481da177e4SLinus Torvalds	bool
20491da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20501da177e4SLinus Torvalds	default y
20511da177e4SLinus Torvalds
205205e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
205305e43966SAtsushi Nemoto	bool
205405e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
205505e43966SAtsushi Nemoto	default y
205605e43966SAtsushi Nemoto
20571da177e4SLinus Torvaldsconfig MIPS32_O32
20581da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
20591da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20601da177e4SLinus Torvalds	help
20611da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
20621da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
20631da177e4SLinus Torvalds	  existing binaries are in this format.
20641da177e4SLinus Torvalds
20651da177e4SLinus Torvalds	  If unsure, say Y.
20661da177e4SLinus Torvalds
20671da177e4SLinus Torvaldsconfig MIPS32_N32
20681da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
20691da177e4SLinus Torvalds	depends on MIPS32_COMPAT
20701da177e4SLinus Torvalds	help
20711da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
20721da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
20731da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
20741da177e4SLinus Torvalds	  cases.
20751da177e4SLinus Torvalds
20761da177e4SLinus Torvalds	  If unsure, say N.
20771da177e4SLinus Torvalds
20781da177e4SLinus Torvaldsconfig BINFMT_ELF32
20791da177e4SLinus Torvalds	bool
20801da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
20811da177e4SLinus Torvalds
20822116245eSRalf Baechleendmenu
20831da177e4SLinus Torvalds
20842116245eSRalf Baechlemenu "Power management options"
2085952fa954SRodolfo Giometti
2086f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2087f4cb5700SJohannes Berg	def_bool y
2088f4cb5700SJohannes Berg	depends on !SMP
2089f4cb5700SJohannes Berg
20902116245eSRalf Baechlesource "kernel/power/Kconfig"
2091952fa954SRodolfo Giometti
20921da177e4SLinus Torvaldsendmenu
20931da177e4SLinus Torvalds
2094d5950b43SSam Ravnborgsource "net/Kconfig"
2095d5950b43SSam Ravnborg
20961da177e4SLinus Torvaldssource "drivers/Kconfig"
20971da177e4SLinus Torvalds
20981da177e4SLinus Torvaldssource "fs/Kconfig"
20991da177e4SLinus Torvalds
21001da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
21011da177e4SLinus Torvalds
21021da177e4SLinus Torvaldssource "security/Kconfig"
21031da177e4SLinus Torvalds
21041da177e4SLinus Torvaldssource "crypto/Kconfig"
21051da177e4SLinus Torvalds
21061da177e4SLinus Torvaldssource "lib/Kconfig"
2107