xref: /linux/arch/mips/Kconfig (revision de61b542b822746d1498718c40f5dd740da49629)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
41da177e4SLinus Torvalds	# Horrible source of confusion.  Die, die, die ...
51da177e4SLinus Torvalds	select EMBEDDED
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
81da177e4SLinus Torvalds
91da177e4SLinus Torvaldsmenu "Machine selection"
101da177e4SLinus Torvalds
115ac6da66SChristoph Lameterconfig ZONE_DMA
125ac6da66SChristoph Lameter	bool
135ac6da66SChristoph Lameter
145e83d430SRalf Baechlechoice
155e83d430SRalf Baechle	prompt "System type"
165e83d430SRalf Baechle	default SGI_IP22
171da177e4SLinus Torvalds
1842d226c7SSongmao Tianconfig LEMOTE_FULONG
1942d226c7SSongmao Tian	bool "Lemote Fulong mini-PC"
2042d226c7SSongmao Tian	select ARCH_SPARSEMEM_ENABLE
2142d226c7SSongmao Tian	select SYS_HAS_CPU_LOONGSON2
2242d226c7SSongmao Tian	select DMA_NONCOHERENT
2342d226c7SSongmao Tian	select BOOT_ELF32
2442d226c7SSongmao Tian	select BOARD_SCACHE
2542d226c7SSongmao Tian	select HAVE_STD_PC_SERIAL_PORT
2642d226c7SSongmao Tian	select HW_HAS_PCI
2742d226c7SSongmao Tian	select I8259
2842d226c7SSongmao Tian	select ISA
2942d226c7SSongmao Tian	select IRQ_CPU
3042d226c7SSongmao Tian	select SYS_SUPPORTS_32BIT_KERNEL
3142d226c7SSongmao Tian	select SYS_SUPPORTS_64BIT_KERNEL
3242d226c7SSongmao Tian	select SYS_SUPPORTS_LITTLE_ENDIAN
3342d226c7SSongmao Tian	select SYS_SUPPORTS_HIGHMEM
3442d226c7SSongmao Tian	select SYS_HAS_EARLY_PRINTK
3542d226c7SSongmao Tian	select GENERIC_HARDIRQS_NO__DO_IRQ
3642d226c7SSongmao Tian	select CPU_HAS_WB
3742d226c7SSongmao Tian	help
3842d226c7SSongmao Tian	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
3942d226c7SSongmao Tian	  an FPGA northbridge
4042d226c7SSongmao Tian
41c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
42c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
431da177e4SLinus Torvalds
4435189fadSRalf Baechleconfig BASLER_EXCITE
45be91589eSThomas Koeller	bool "Basler eXcite smart camera"
4635189fadSRalf Baechle	select DMA_COHERENT
4735189fadSRalf Baechle	select HW_HAS_PCI
4835189fadSRalf Baechle	select IRQ_CPU
4935189fadSRalf Baechle	select IRQ_CPU_RM7K
5035189fadSRalf Baechle	select IRQ_CPU_RM9K
51663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
5235189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
5335189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5435189fadSRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
5535189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
56cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
5735189fadSRalf Baechle	help
5835189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
59be91589eSThomas Koeller	  Basler Vision Technologies AG.
6035189fadSRalf Baechle
6135189fadSRalf Baechleconfig BASLER_EXCITE_PROTOTYPE
6235189fadSRalf Baechle	bool "Support for pre-release units"
6335189fadSRalf Baechle	depends on BASLER_EXCITE
6435189fadSRalf Baechle	default n
6535189fadSRalf Baechle	help
6635189fadSRalf Baechle	  Pre-series (prototype) units are different from later ones in
6735189fadSRalf Baechle	  some ways. Select this option if you have one of these. Please
6835189fadSRalf Baechle	  note that a kernel built with this option selected will not be
6935189fadSRalf Baechle	  able to run on normal units.
7035189fadSRalf Baechle
711da177e4SLinus Torvaldsconfig MIPS_COBALT
723fa986faSMartin Michlmayr	bool "Cobalt Server"
731da177e4SLinus Torvalds	select DMA_NONCOHERENT
741da177e4SLinus Torvalds	select HW_HAS_PCI
751da177e4SLinus Torvalds	select I8259
761da177e4SLinus Torvalds	select IRQ_CPU
77252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
787cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
790a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
80ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
81ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
825e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
839fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
841da177e4SLinus Torvalds
851da177e4SLinus Torvaldsconfig MACH_DECSTATION
863fa986faSMartin Michlmayr	bool "DECstations"
871da177e4SLinus Torvalds	select BOOT_ELF32
881da177e4SLinus Torvalds	select DMA_NONCOHERENT
89d388d685SMaciej W. Rozycki	select NO_IOPORT
901da177e4SLinus Torvalds	select IRQ_CPU
917cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
927cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
93ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
94ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
955e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
961723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
971723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
981723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
995e83d430SRalf Baechle	help
1001da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1011da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1021da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1051da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds	  	DECstation 5000/50
1081da177e4SLinus Torvalds	  	DECstation 5000/150
1091da177e4SLinus Torvalds	  	DECstation 5000/260
1101da177e4SLinus Torvalds	  	DECsystem 5900/260
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvalds	  otherwise choose R3000.
1131da177e4SLinus Torvalds
1145e83d430SRalf Baechleconfig MACH_JAZZ
1153fa986faSMartin Michlmayr	bool "Jazz family of machines"
1165e83d430SRalf Baechle	select ARC
1175e83d430SRalf Baechle	select ARC32
1185e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1195e83d430SRalf Baechle	select GENERIC_ISA_DMA
1205e83d430SRalf Baechle	select I8259
1215e83d430SRalf Baechle	select ISA
122*de61b542SRalf Baechle	select PCSPEAKER
1237cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1245e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1255e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1261723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1279fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1281da177e4SLinus Torvalds	help
1295e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1305e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1315e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1325e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1335e83d430SRalf Baechle
1341da177e4SLinus Torvaldsconfig MIPS_ATLAS
1353fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1361da177e4SLinus Torvalds	select BOOT_ELF32
1371da177e4SLinus Torvalds	select DMA_NONCOHERENT
13836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1395e83d430SRalf Baechle	select IRQ_CPU
1401da177e4SLinus Torvalds	select HW_HAS_PCI
1415e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1425e83d430SRalf Baechle	select MIPS_BONITO64
143252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1445e83d430SRalf Baechle	select MIPS_MSC
145f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1461da177e4SLinus Torvalds	select SWAP_IO_SPACE
1477cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1487cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1497cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1507cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1517cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
152ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
153ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1545e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1555e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
156f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
1579693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
158e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
1591da177e4SLinus Torvalds	help
160f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
1611da177e4SLinus Torvalds	  board.
1621da177e4SLinus Torvalds
1631da177e4SLinus Torvaldsconfig MIPS_MALTA
1643fa986faSMartin Michlmayr	bool "MIPS Malta board"
16561ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1661da177e4SLinus Torvalds	select BOOT_ELF32
1671da177e4SLinus Torvalds	select DMA_NONCOHERENT
1681da177e4SLinus Torvalds	select GENERIC_ISA_DMA
169aa414dffSRalf Baechle	select IRQ_CPU
1701da177e4SLinus Torvalds	select HW_HAS_PCI
1711da177e4SLinus Torvalds	select I8259
1725e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1735e83d430SRalf Baechle	select MIPS_BONITO64
1749318c51aSChris Dearman	select MIPS_CPU_SCACHE
175252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1765e83d430SRalf Baechle	select MIPS_MSC
1771da177e4SLinus Torvalds	select SWAP_IO_SPACE
1787cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1797cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1807cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1817cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1827cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
18336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
184ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
185ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1865e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1875e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
188f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
1899693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
1901da177e4SLinus Torvalds	help
191f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
1921da177e4SLinus Torvalds	  board.
1931da177e4SLinus Torvalds
1941da177e4SLinus Torvaldsconfig MIPS_SEAD
1953fa986faSMartin Michlmayr	bool "MIPS SEAD board (EXPERIMENTAL)"
1961da177e4SLinus Torvalds	depends on EXPERIMENTAL
1971da177e4SLinus Torvalds	select IRQ_CPU
1981da177e4SLinus Torvalds	select DMA_NONCOHERENT
19936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2005e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2017cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2027cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2037cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
204ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2055e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2065e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2075e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2089693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
209f638d197SMaciej W. Rozycki	help
210f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
211f638d197SMaciej W. Rozycki	  board.
2121da177e4SLinus Torvalds
213a240a469SMark.Zhanconfig WR_PPMC
2149247857fSMark.Zhan	bool "Wind River PPMC board"
215a240a469SMark.Zhan	select IRQ_CPU
216a240a469SMark.Zhan	select BOOT_ELF32
217a240a469SMark.Zhan	select DMA_NONCOHERENT
218a240a469SMark.Zhan	select HW_HAS_PCI
219252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
220a240a469SMark.Zhan	select SWAP_IO_SPACE
221a240a469SMark.Zhan	select SYS_HAS_CPU_MIPS32_R1
222a240a469SMark.Zhan	select SYS_HAS_CPU_MIPS32_R2
223a240a469SMark.Zhan	select SYS_HAS_CPU_MIPS64_R1
224a240a469SMark.Zhan	select SYS_HAS_CPU_NEVADA
225a240a469SMark.Zhan	select SYS_HAS_CPU_RM7000
226a240a469SMark.Zhan	select SYS_SUPPORTS_32BIT_KERNEL
227a240a469SMark.Zhan	select SYS_SUPPORTS_64BIT_KERNEL
228a240a469SMark.Zhan	select SYS_SUPPORTS_BIG_ENDIAN
229a240a469SMark.Zhan	select SYS_SUPPORTS_LITTLE_ENDIAN
230a240a469SMark.Zhan	help
231a240a469SMark.Zhan	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
232a240a469SMark.Zhan	  board, which is based on GT64120 bridge chip.
233a240a469SMark.Zhan
234c78cbf49SRalf Baechleconfig MIPS_SIM
2353fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
236c78cbf49SRalf Baechle	select DMA_NONCOHERENT
23736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
238c78cbf49SRalf Baechle	select IRQ_CPU
2399267a30dSMarc St-Jean	select BOOT_RAW
2407cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2417cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
24236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
243c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
244c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
245f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
246c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
247c78cbf49SRalf Baechle	help
248c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
249c78cbf49SRalf Baechle	  emulator.
250c78cbf49SRalf Baechle
2515e83d430SRalf Baechleconfig MOMENCO_OCELOT
2523fa986faSMartin Michlmayr	bool "Momentum Ocelot board"
2535e83d430SRalf Baechle	select DMA_NONCOHERENT
2541da177e4SLinus Torvalds	select HW_HAS_PCI
2551da177e4SLinus Torvalds	select IRQ_CPU
2561da177e4SLinus Torvalds	select IRQ_CPU_RM7K
257252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2585e83d430SRalf Baechle	select RM7000_CPU_SCACHE
2591da177e4SLinus Torvalds	select SWAP_IO_SPACE
2607cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
261ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
262ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2635e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
264cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
2651da177e4SLinus Torvalds	help
2665e83d430SRalf Baechle	  The Ocelot is a MIPS-based Single Board Computer (SBC) made by
2675e83d430SRalf Baechle	  Momentum Computer <http://www.momenco.com/>.
2681da177e4SLinus Torvalds
269bdf21b18SPete Popovconfig PNX8550_JBS
2703fa986faSMartin Michlmayr	bool "Philips PNX8550 based JBS board"
271bdf21b18SPete Popov	select PNX8550
272bdf21b18SPete Popov	select SYS_SUPPORTS_LITTLE_ENDIAN
273bdf21b18SPete Popov
274f0647a52SVitaly Woolconfig PNX8550_STB810
275e460b73cSYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
276f0647a52SVitaly Wool	select PNX8550
277f0647a52SVitaly Wool	select SYS_SUPPORTS_LITTLE_ENDIAN
278f0647a52SVitaly Wool
2791da177e4SLinus Torvaldsconfig DDB5477
2803fa986faSMartin Michlmayr	bool "NEC DDB Vrc-5477"
2815e83d430SRalf Baechle	select DDB5XXX_COMMON
2821da177e4SLinus Torvalds	select DMA_NONCOHERENT
2831da177e4SLinus Torvalds	select HW_HAS_PCI
2841da177e4SLinus Torvalds	select I8259
2851da177e4SLinus Torvalds	select IRQ_CPU
2867cf8053bSRalf Baechle	select SYS_HAS_CPU_R5432
287ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
288ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
289cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
290cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
2915e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2921da177e4SLinus Torvalds	help
2931da177e4SLinus Torvalds	  This enables support for the R5432-based NEC DDB Vrc-5477,
2941da177e4SLinus Torvalds	  or Rockhopper/SolutionGear boards with R5432/R5500 CPUs.
2951da177e4SLinus Torvalds
2961da177e4SLinus Torvalds	  Features : kernel debugging, serial terminal, NFS root fs, on-board
2971da177e4SLinus Torvalds	  ether port USB, AC97, PCI, etc.
2981da177e4SLinus Torvalds
2995e83d430SRalf Baechleconfig MACH_VR41XX
30074142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
3017cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
3029fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
3035e83d430SRalf Baechle
3049267a30dSMarc St-Jeanconfig PMC_MSP
3059267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3069267a30dSMarc St-Jean	depends on EXPERIMENTAL
3079267a30dSMarc St-Jean	select DMA_NONCOHERENT
3089267a30dSMarc St-Jean	select SWAP_IO_SPACE
3099267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3109267a30dSMarc St-Jean	select BOOT_RAW
3119267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3129267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3139267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3149267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3159267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
3169267a30dSMarc St-Jean	select IRQ_CPU
3179267a30dSMarc St-Jean	select SERIAL_8250
3189267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3199267a30dSMarc St-Jean	help
3209267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3219267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3229267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3239267a30dSMarc St-Jean	  a variety of MIPS cores.
3249267a30dSMarc St-Jean
3255e83d430SRalf Baechleconfig PMC_YOSEMITE
3263fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
3275e83d430SRalf Baechle	select DMA_COHERENT
3285e83d430SRalf Baechle	select HW_HAS_PCI
3295e83d430SRalf Baechle	select IRQ_CPU
3305e83d430SRalf Baechle	select IRQ_CPU_RM7K
3315e83d430SRalf Baechle	select IRQ_CPU_RM9K
3325e83d430SRalf Baechle	select SWAP_IO_SPACE
3337cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
33436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3355e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3365e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3375e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3385e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
339cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
340e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3415e83d430SRalf Baechle	help
3425e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3435e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3441da177e4SLinus Torvalds
34507119621SRalf Baechleconfig QEMU
3463fa986faSMartin Michlmayr	bool "Qemu"
34707119621SRalf Baechle	select DMA_COHERENT
34807119621SRalf Baechle	select GENERIC_ISA_DMA
34907119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
35007119621SRalf Baechle	select I8259
35107119621SRalf Baechle	select ISA
352*de61b542SRalf Baechle	select PCSPEAKER
35307119621SRalf Baechle	select SWAP_IO_SPACE
3547cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
35507119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
35607119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
357c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
358b1c6cd42SAtsushi Nemoto	select ARCH_SPARSEMEM_ENABLE
3599fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
36072ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
36172ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
36207119621SRalf Baechle	help
36307119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
36407119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
36507119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
36607119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
36707119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
36807119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
36907119621SRalf Baechle
370355c471fSdmitry pervushinconfig MARKEINS
371e460b73cSYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
372355c471fSdmitry pervushin	select DMA_NONCOHERENT
373355c471fSdmitry pervushin	select HW_HAS_PCI
374355c471fSdmitry pervushin	select IRQ_CPU
375355c471fSdmitry pervushin	select SWAP_IO_SPACE
376355c471fSdmitry pervushin	select SYS_SUPPORTS_32BIT_KERNEL
377355c471fSdmitry pervushin	select SYS_SUPPORTS_BIG_ENDIAN
378355c471fSdmitry pervushin	select SYS_SUPPORTS_LITTLE_ENDIAN
379355c471fSdmitry pervushin	select SYS_HAS_CPU_R5000
380355c471fSdmitry pervushin	help
381355c471fSdmitry pervushin	  This enables support for the R5432-based NEC Mark-eins
382355c471fSdmitry pervushin	  boards with R5500 CPU.
383355c471fSdmitry pervushin
3841da177e4SLinus Torvaldsconfig SGI_IP22
3853fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3861da177e4SLinus Torvalds	select ARC
3871da177e4SLinus Torvalds	select ARC32
3881da177e4SLinus Torvalds	select BOOT_ELF32
3891da177e4SLinus Torvalds	select DMA_NONCOHERENT
3905e83d430SRalf Baechle	select HW_HAS_EISA
3911da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3921da177e4SLinus Torvalds	select IRQ_CPU
393aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
3941da177e4SLinus Torvalds	select SWAP_IO_SPACE
3957cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3967cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
39736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
398ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
399ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4005e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4011da177e4SLinus Torvalds	help
4021da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4031da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4041da177e4SLinus Torvalds	  that runs on these, say Y here.
4051da177e4SLinus Torvalds
4061da177e4SLinus Torvaldsconfig SGI_IP27
4073fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4081da177e4SLinus Torvalds	select ARC
4091da177e4SLinus Torvalds	select ARC64
4105e83d430SRalf Baechle	select BOOT_ELF64
4111da177e4SLinus Torvalds	select DMA_IP27
41236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4131da177e4SLinus Torvalds	select HW_HAS_PCI
414130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4151da177e4SLinus Torvalds	select PCI_DOMAINS
4167cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
417ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4185e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
419cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
420d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4211a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
422e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
4231da177e4SLinus Torvalds	help
4241da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4251da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4261da177e4SLinus Torvalds	  here.
4271da177e4SLinus Torvalds
4281da177e4SLinus Torvaldsconfig SGI_IP32
429cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4301da177e4SLinus Torvalds	select ARC
4311da177e4SLinus Torvalds	select ARC32
4321da177e4SLinus Torvalds	select BOOT_ELF32
4331da177e4SLinus Torvalds	select DMA_NONCOHERENT
4341da177e4SLinus Torvalds	select HW_HAS_PCI
4351da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4361da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4377cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4387cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4397cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
440dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
441ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4425e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4431da177e4SLinus Torvalds	help
4441da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4451da177e4SLinus Torvalds
4469a6dcea1SAndrew Isaacsonconfig SIBYTE_BIGSUR
4473fa986faSMartin Michlmayr	bool "Sibyte BCM91480B-BigSur"
4489a6dcea1SAndrew Isaacson	select BOOT_ELF32
4499a6dcea1SAndrew Isaacson	select DMA_COHERENT
450130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_4
4517cf8053bSRalf Baechle	select PCI_DOMAINS
4529a6dcea1SAndrew Isaacson	select SIBYTE_BCM1x80
4539a6dcea1SAndrew Isaacson	select SWAP_IO_SPACE
4547cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4559a6dcea1SAndrew Isaacson	select SYS_SUPPORTS_BIG_ENDIAN
4569a6dcea1SAndrew Isaacson	select SYS_SUPPORTS_LITTLE_ENDIAN
4579a6dcea1SAndrew Isaacson
4585e83d430SRalf Baechleconfig SIBYTE_SWARM
4593fa986faSMartin Michlmayr	bool "Sibyte BCM91250A-SWARM"
4605e83d430SRalf Baechle	select BOOT_ELF32
4615e83d430SRalf Baechle	select DMA_COHERENT
462130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
4635e83d430SRalf Baechle	select SIBYTE_SB1250
4645e83d430SRalf Baechle	select SWAP_IO_SPACE
4657cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4665e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4675e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
468cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
4695e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
470e3ad1c23SPete Popov
4715e83d430SRalf Baechleconfig SIBYTE_SENTOSA
4723fa986faSMartin Michlmayr	bool "Sibyte BCM91250E-Sentosa"
4735e83d430SRalf Baechle	depends on EXPERIMENTAL
4745e83d430SRalf Baechle	select BOOT_ELF32
4755e83d430SRalf Baechle	select DMA_COHERENT
476130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
4775e83d430SRalf Baechle	select SIBYTE_SB1250
4785e83d430SRalf Baechle	select SWAP_IO_SPACE
4797cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4805e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4815e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4825e83d430SRalf Baechle
4835e83d430SRalf Baechleconfig SIBYTE_RHONE
4843fa986faSMartin Michlmayr	bool "Sibyte BCM91125E-Rhone"
4855e83d430SRalf Baechle	depends on EXPERIMENTAL
4865e83d430SRalf Baechle	select BOOT_ELF32
4875e83d430SRalf Baechle	select DMA_COHERENT
4885e83d430SRalf Baechle	select SIBYTE_BCM1125H
4895e83d430SRalf Baechle	select SWAP_IO_SPACE
4907cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4915e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4925e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4935e83d430SRalf Baechle
4945e83d430SRalf Baechleconfig SIBYTE_CARMEL
4953fa986faSMartin Michlmayr	bool "Sibyte BCM91120x-Carmel"
4965e83d430SRalf Baechle	depends on EXPERIMENTAL
4975e83d430SRalf Baechle	select BOOT_ELF32
4985e83d430SRalf Baechle	select DMA_COHERENT
4995e83d430SRalf Baechle	select SIBYTE_BCM1120
5005e83d430SRalf Baechle	select SWAP_IO_SPACE
5017cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5025e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5035e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5045e83d430SRalf Baechle
5055e83d430SRalf Baechleconfig SIBYTE_PTSWARM
5063fa986faSMartin Michlmayr	bool "Sibyte BCM91250PT-PTSWARM"
5075e83d430SRalf Baechle	depends on EXPERIMENTAL
5085e83d430SRalf Baechle	select BOOT_ELF32
5095e83d430SRalf Baechle	select DMA_COHERENT
510130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
5115e83d430SRalf Baechle	select SIBYTE_SB1250
5125e83d430SRalf Baechle	select SWAP_IO_SPACE
5137cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5145e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5155e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5165e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5175e83d430SRalf Baechle
5185e83d430SRalf Baechleconfig SIBYTE_LITTLESUR
5193fa986faSMartin Michlmayr	bool "Sibyte BCM91250C2-LittleSur"
5205e83d430SRalf Baechle	depends on EXPERIMENTAL
5215e83d430SRalf Baechle	select BOOT_ELF32
5225e83d430SRalf Baechle	select DMA_COHERENT
523130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
5245e83d430SRalf Baechle	select SIBYTE_SB1250
5255e83d430SRalf Baechle	select SWAP_IO_SPACE
5267cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5275e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5285e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5295e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5305e83d430SRalf Baechle
5315e83d430SRalf Baechleconfig SIBYTE_CRHINE
5323fa986faSMartin Michlmayr	bool "Sibyte BCM91120C-CRhine"
5335e83d430SRalf Baechle	depends on EXPERIMENTAL
5345e83d430SRalf Baechle	select BOOT_ELF32
5355e83d430SRalf Baechle	select DMA_COHERENT
5365e83d430SRalf Baechle	select SIBYTE_BCM1120
5375e83d430SRalf Baechle	select SWAP_IO_SPACE
5387cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5395e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5405e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5415e83d430SRalf Baechle
5425e83d430SRalf Baechleconfig SIBYTE_CRHONE
5433fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
5445e83d430SRalf Baechle	depends on EXPERIMENTAL
5455e83d430SRalf Baechle	select BOOT_ELF32
5465e83d430SRalf Baechle	select DMA_COHERENT
5475e83d430SRalf Baechle	select SIBYTE_BCM1125
5485e83d430SRalf Baechle	select SWAP_IO_SPACE
5497cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5505e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5515e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5525e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5535e83d430SRalf Baechle
55414b36af4SThomas Bogendoerferconfig SNI_RM
55514b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5564a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5574a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
5585e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5595e83d430SRalf Baechle	select BOOT_ELF32
5605e83d430SRalf Baechle	select DMA_NONCOHERENT
5615e83d430SRalf Baechle	select GENERIC_ISA_DMA
5625e83d430SRalf Baechle	select HW_HAS_EISA
5635e83d430SRalf Baechle	select HW_HAS_PCI
564c066a32aSThomas Bogendoerfer	select IRQ_CPU
5655e83d430SRalf Baechle	select I8259
5665e83d430SRalf Baechle	select ISA
567*de61b542SRalf Baechle	select PCSPEAKER
5684a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5697cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5704a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
571c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5724a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
57336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
574ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5755e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5764a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5775e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5785e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5791da177e4SLinus Torvalds	help
58014b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
58114b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5825e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5835e83d430SRalf Baechle	  support this machine type.
5841da177e4SLinus Torvalds
5855e83d430SRalf Baechleconfig TOSHIBA_JMR3927
5863fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
5875e83d430SRalf Baechle	select DMA_NONCOHERENT
5885e83d430SRalf Baechle	select HW_HAS_PCI
5895e83d430SRalf Baechle	select MIPS_TX3927
5905e83d430SRalf Baechle	select SWAP_IO_SPACE
5917cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
5925e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5936a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5945e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5952127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5965e83d430SRalf Baechle
5975e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
5983fa986faSMartin Michlmayr	bool "Toshiba TBTX49[23]7 board"
5995e83d430SRalf Baechle	select DMA_NONCOHERENT
6005e83d430SRalf Baechle	select HAS_TXX9_SERIAL
6015e83d430SRalf Baechle	select HW_HAS_PCI
6025e83d430SRalf Baechle	select I8259
6035e83d430SRalf Baechle	select SWAP_IO_SPACE
6047cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
6055e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6065e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
6076a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6085e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
609cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6109fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6115e83d430SRalf Baechle	help
6125e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
6135e83d430SRalf Baechle	  support this machine type
6141da177e4SLinus Torvalds
61523fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
6163fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
61723fbee9dSRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
61823fbee9dSRalf Baechle	select DMA_NONCOHERENT
61923fbee9dSRalf Baechle	select GENERIC_ISA_DMA
62023fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
62123fbee9dSRalf Baechle	select HW_HAS_PCI
62223fbee9dSRalf Baechle	select I8259
62323fbee9dSRalf Baechle	select SWAP_IO_SPACE
6247cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
62523fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
62623fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
62723fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
628cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6299fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6303896b054SAtsushi Nemoto	select GENERIC_GPIO
63123fbee9dSRalf Baechle	help
63223fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
63323fbee9dSRalf Baechle	  support this machine type
63423fbee9dSRalf Baechle
6351da177e4SLinus Torvaldsendchoice
6361da177e4SLinus Torvalds
637c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6385e83d430SRalf Baechlesource "arch/mips/ddb5xxx/Kconfig"
6395e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6405e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
64129c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
64238b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6435e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
64423fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6455e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
646bdf21b18SPete Popovsource "arch/mips/philips/pnx8550/common/Kconfig"
64738b18f72SRalf Baechle
6485e83d430SRalf Baechleendmenu
6495e83d430SRalf Baechle
6501da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6511da177e4SLinus Torvalds	bool
6521da177e4SLinus Torvalds	default y
6531da177e4SLinus Torvalds
6541da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6551da177e4SLinus Torvalds	bool
6561da177e4SLinus Torvalds
657f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
658f0d1b0b3SDavid Howells	bool
659f0d1b0b3SDavid Howells	default n
660f0d1b0b3SDavid Howells
661f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
662f0d1b0b3SDavid Howells	bool
663f0d1b0b3SDavid Howells	default n
664f0d1b0b3SDavid Howells
6653c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6663c9ee7efSAkinobu Mita	bool
6673c9ee7efSAkinobu Mita	default y
6683c9ee7efSAkinobu Mita
6693c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6703c9ee7efSAkinobu Mita	bool
6713c9ee7efSAkinobu Mita	default y
6723c9ee7efSAkinobu Mita
6731da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
6741da177e4SLinus Torvalds	bool
6751da177e4SLinus Torvalds	default y
6761da177e4SLinus Torvalds
6778db02010SRalf Baechleconfig GENERIC_TIME
6788db02010SRalf Baechle	bool
6798db02010SRalf Baechle	default y
6808db02010SRalf Baechle
6811cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
6821cc89038SAtsushi Nemoto	bool
6831cc89038SAtsushi Nemoto	default y
6841cc89038SAtsushi Nemoto
685e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
686e77c232cSFranck Bui-Huu	bool
687e77c232cSFranck Bui-Huu	default n
688e77c232cSFranck Bui-Huu
6891da177e4SLinus Torvalds#
6901da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
6911da177e4SLinus Torvalds#
6921da177e4SLinus Torvaldsconfig ARC
6931da177e4SLinus Torvalds	bool
6941da177e4SLinus Torvalds
69561ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
69661ed242dSRalf Baechle	bool
69761ed242dSRalf Baechle
6989267a30dSMarc St-Jeanconfig BOOT_RAW
6999267a30dSMarc St-Jean	bool
7009267a30dSMarc St-Jean
7011da177e4SLinus Torvaldsconfig DMA_COHERENT
7021da177e4SLinus Torvalds	bool
7031da177e4SLinus Torvalds
7041da177e4SLinus Torvaldsconfig DMA_IP27
7051da177e4SLinus Torvalds	bool
7061da177e4SLinus Torvalds
7074ce588cdSRalf Baechleconfig DMA_IP32
7084ce588cdSRalf Baechle	bool
7094ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7104ce588cdSRalf Baechle
7111da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7121da177e4SLinus Torvalds	bool
7134ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7144ce588cdSRalf Baechle
7154ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7164ce588cdSRalf Baechle	bool
7171da177e4SLinus Torvalds
7181da177e4SLinus Torvaldsconfig EARLY_PRINTK
71936a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
72036a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
72136a88530SRalf Baechle	default y
72236a88530SRalf Baechle	help
72336a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
72436a88530SRalf Baechle	  to print messages very early in the bootup process.
72536a88530SRalf Baechle
72636a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
727490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
728490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
729490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
73036a88530SRalf Baechle	  unless you want to debug such a crash.
73136a88530SRalf Baechle
73236a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7331da177e4SLinus Torvalds	bool
7341da177e4SLinus Torvalds
7351da177e4SLinus Torvaldsconfig GENERIC_ISA_DMA
7361da177e4SLinus Torvalds	bool
73705502339SAtsushi Nemoto	select ZONE_DMA
7381da177e4SLinus Torvalds
7391da177e4SLinus Torvaldsconfig I8259
7401da177e4SLinus Torvalds	bool
7411da177e4SLinus Torvalds
7421da177e4SLinus Torvaldsconfig MIPS_BONITO64
7431da177e4SLinus Torvalds	bool
7441da177e4SLinus Torvalds
7451da177e4SLinus Torvaldsconfig MIPS_MSC
7461da177e4SLinus Torvalds	bool
7471da177e4SLinus Torvalds
7481da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7491da177e4SLinus Torvalds	bool
7501da177e4SLinus Torvalds
751d388d685SMaciej W. Rozyckiconfig NO_IOPORT
752d388d685SMaciej W. Rozycki	def_bool n
753d388d685SMaciej W. Rozycki
754aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
755aa414dffSRalf Baechle	bool
75605502339SAtsushi Nemoto	select ZONE_DMA
757aa414dffSRalf Baechle
75809663335SYoichi Yuasaconfig GENERIC_GPIO
75909663335SYoichi Yuasa	bool
76009663335SYoichi Yuasa
7615e83d430SRalf Baechle#
7623cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
7635e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
7645e83d430SRalf Baechle# choice statement should be more obvious to the user.
7655e83d430SRalf Baechle#
7665e83d430SRalf Baechlechoice
7675e83d430SRalf Baechle	prompt "Endianess selection"
7681da177e4SLinus Torvalds	help
7691da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
7705e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
7713cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
7725e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
7733dde6ad8SDavid Sterba	  one or the other endianness.
7745e83d430SRalf Baechle
7755e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
7765e83d430SRalf Baechle	bool "Big endian"
7775e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
7785e83d430SRalf Baechle
7795e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
7805e83d430SRalf Baechle	bool "Little endian"
7815e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
7825e83d430SRalf Baechle	help
7835e83d430SRalf Baechle
7845e83d430SRalf Baechleendchoice
7855e83d430SRalf Baechle
7862116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
7872116245eSRalf Baechle	bool
7882116245eSRalf Baechle
7895e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
7905e83d430SRalf Baechle	bool
7915e83d430SRalf Baechle
7925e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
7935e83d430SRalf Baechle	bool
7941da177e4SLinus Torvalds
7951da177e4SLinus Torvaldsconfig IRQ_CPU
7961da177e4SLinus Torvalds	bool
7971da177e4SLinus Torvalds
7981da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
7991da177e4SLinus Torvalds	bool
8001da177e4SLinus Torvalds
8015e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8025e83d430SRalf Baechle	bool
8035e83d430SRalf Baechle
8049267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8059267a30dSMarc St-Jean	bool
8069267a30dSMarc St-Jean
8079267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
8089267a30dSMarc St-Jean	bool
8099267a30dSMarc St-Jean
8101da177e4SLinus Torvaldsconfig DDB5XXX_COMMON
8111da177e4SLinus Torvalds	bool
812cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8131da177e4SLinus Torvalds
8141da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8151da177e4SLinus Torvalds	bool
8161da177e4SLinus Torvalds
817252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8181da177e4SLinus Torvalds	bool
8191da177e4SLinus Torvalds
8209267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
8219267a30dSMarc St-Jean	bool
8229267a30dSMarc St-Jean
8231da177e4SLinus Torvaldsconfig MIPS_TX3927
8241da177e4SLinus Torvalds	bool
8251da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
8261da177e4SLinus Torvalds
827663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
828663c3d90Sthomas@koeller.dyndns.org	bool
829663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
830663c3d90Sthomas@koeller.dyndns.org
831bdf21b18SPete Popovconfig PNX8550
832bdf21b18SPete Popov	bool
833bdf21b18SPete Popov	select SOC_PNX8550
834bdf21b18SPete Popov
835bdf21b18SPete Popovconfig SOC_PNX8550
836bdf21b18SPete Popov	bool
837bdf21b18SPete Popov	select DMA_NONCOHERENT
838bdf21b18SPete Popov	select HW_HAS_PCI
839b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
84036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8417cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
842e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
843cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8444ead1681SFlorian Fainelli	select GENERIC_GPIO
845bdf21b18SPete Popov
8461da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8471da177e4SLinus Torvalds	bool
8481da177e4SLinus Torvalds
849355c471fSdmitry pervushinconfig EMMA2RH
850355c471fSdmitry pervushin	bool
851355c471fSdmitry pervushin	depends on MARKEINS
852355c471fSdmitry pervushin	default y
853355c471fSdmitry pervushin
854663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
855663c3d90Sthomas@koeller.dyndns.org	bool
856663c3d90Sthomas@koeller.dyndns.org
8571da177e4SLinus Torvalds#
8581da177e4SLinus Torvalds# Unfortunately not all GT64120 systems run the chip at the same clock.
8591da177e4SLinus Torvalds# As the user for the clock rate and try to minimize the available options.
8601da177e4SLinus Torvalds#
8611da177e4SLinus Torvaldschoice
8621da177e4SLinus Torvalds	prompt "Galileo Chip Clock"
8636b5bf509SYoichi Yuasa	depends on MOMENCO_OCELOT
8641e54f778SFranck Bui-Huu	default SYSCLK_100 if MOMENCO_OCELOT
8651da177e4SLinus Torvalds
8661da177e4SLinus Torvaldsconfig SYSCLK_100
8676b5bf509SYoichi Yuasa	bool "100" if MOMENCO_OCELOT
8681da177e4SLinus Torvalds
8691da177e4SLinus Torvaldsendchoice
8701da177e4SLinus Torvalds
8715e83d430SRalf Baechleconfig ARC32
8725e83d430SRalf Baechle	bool
8735e83d430SRalf Baechle
8741da177e4SLinus Torvaldsconfig BOOT_ELF32
8751da177e4SLinus Torvalds	bool
8761da177e4SLinus Torvalds
8771da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
8781da177e4SLinus Torvalds	int
87906cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
88006cf5583SThomas Bogendoerfer	default "7" if SGI_IP27 || SNI_RM
8819267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
8821da177e4SLinus Torvalds	default "5"
8831da177e4SLinus Torvalds
8841da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
8851da177e4SLinus Torvalds	bool
8861da177e4SLinus Torvalds
8871da177e4SLinus Torvaldsconfig ARC_CONSOLE
8881da177e4SLinus Torvalds	bool "ARC console support"
88936a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
8901da177e4SLinus Torvalds
8911da177e4SLinus Torvaldsconfig ARC_MEMORY
8921da177e4SLinus Torvalds	bool
89314b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
8941da177e4SLinus Torvalds	default y
8951da177e4SLinus Torvalds
8961da177e4SLinus Torvaldsconfig ARC_PROMLIB
8971da177e4SLinus Torvalds	bool
89814b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
8991da177e4SLinus Torvalds	default y
9001da177e4SLinus Torvalds
9011da177e4SLinus Torvaldsconfig ARC64
9021da177e4SLinus Torvalds	bool
9031da177e4SLinus Torvalds
9041da177e4SLinus Torvaldsconfig BOOT_ELF64
9051da177e4SLinus Torvalds	bool
9061da177e4SLinus Torvalds
9071da177e4SLinus Torvaldsmenu "CPU selection"
9081da177e4SLinus Torvalds
9091da177e4SLinus Torvaldschoice
9101da177e4SLinus Torvalds	prompt "CPU type"
9111da177e4SLinus Torvalds	default CPU_R4X00
9121da177e4SLinus Torvalds
9132a21c730SFuxin Zhangconfig CPU_LOONGSON2
9142a21c730SFuxin Zhang	bool "Loongson 2"
9152a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
9162a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
9172a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
9182a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
9192a21c730SFuxin Zhang	help
9202a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
9212a21c730SFuxin Zhang	  with many extensions.
9222a21c730SFuxin Zhang
9236e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9246e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9257cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
926f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9276e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
928797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
929ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9306e760c8dSRalf Baechle	help
9315e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9321e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9331e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9341e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9351e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9361e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9371e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9381e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9391e5f1caaSRalf Baechle	  performance.
9401e5f1caaSRalf Baechle
9411e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9421e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9437cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
944f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9451e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
946797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
947ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9481e5f1caaSRalf Baechle	help
9495e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9506e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9516e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9526e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9536e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9541da177e4SLinus Torvalds
9556e760c8dSRalf Baechleconfig CPU_MIPS64_R1
9566e760c8dSRalf Baechle	bool "MIPS64 Release 1"
9577cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
958f7062ddbSRalf Baechle	select CPU_HAS_LLSC
959797798c1SRalf Baechle	select CPU_HAS_PREFETCH
960ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
961ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
962ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9636e760c8dSRalf Baechle	help
9646e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9656e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9666e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9676e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9686e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9691e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
9701e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
9711e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
9721e5f1caaSRalf Baechle	  performance.
9731e5f1caaSRalf Baechle
9741e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
9751e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
9767cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
977f7062ddbSRalf Baechle	select CPU_HAS_LLSC
978797798c1SRalf Baechle	select CPU_HAS_PREFETCH
9791e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
9801e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
981ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9821e5f1caaSRalf Baechle	help
9831e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9841e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9851e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9861e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9871e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9881da177e4SLinus Torvalds
9891da177e4SLinus Torvaldsconfig CPU_R3000
9901da177e4SLinus Torvalds	bool "R3000"
9917cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
992f7062ddbSRalf Baechle	select CPU_HAS_WB
993ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
994797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9951da177e4SLinus Torvalds	help
9961da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
9971da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
9981da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
9991da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
10001da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
10011da177e4SLinus Torvalds	  try to recompile with R3000.
10021da177e4SLinus Torvalds
10031da177e4SLinus Torvaldsconfig CPU_TX39XX
10041da177e4SLinus Torvalds	bool "R39XX"
10057cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1006ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10071da177e4SLinus Torvalds
10081da177e4SLinus Torvaldsconfig CPU_VR41XX
10091da177e4SLinus Torvalds	bool "R41xx"
10107cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1011ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1012ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10131da177e4SLinus Torvalds	help
10145e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
10151da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
10161da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10171da177e4SLinus Torvalds	  processor or vice versa.
10181da177e4SLinus Torvalds
10191da177e4SLinus Torvaldsconfig CPU_R4300
10201da177e4SLinus Torvalds	bool "R4300"
10217cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1022f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1023ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1024ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10251da177e4SLinus Torvalds	help
10261da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10271da177e4SLinus Torvalds
10281da177e4SLinus Torvaldsconfig CPU_R4X00
10291da177e4SLinus Torvalds	bool "R4x00"
10307cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1031f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1032ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1033ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10341da177e4SLinus Torvalds	help
10351da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10361da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10371da177e4SLinus Torvalds
10381da177e4SLinus Torvaldsconfig CPU_TX49XX
10391da177e4SLinus Torvalds	bool "R49XX"
10407cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1041f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1042de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1043ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1044ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10451da177e4SLinus Torvalds
10461da177e4SLinus Torvaldsconfig CPU_R5000
10471da177e4SLinus Torvalds	bool "R5000"
10487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1049f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1050ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1051ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10521da177e4SLinus Torvalds	help
10531da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
10541da177e4SLinus Torvalds
10551da177e4SLinus Torvaldsconfig CPU_R5432
10561da177e4SLinus Torvalds	bool "R5432"
10577cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1058f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10595e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10605e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
10611da177e4SLinus Torvalds
10621da177e4SLinus Torvaldsconfig CPU_R6000
10631da177e4SLinus Torvalds	bool "R6000"
1064ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1065f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10667cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1067ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10681da177e4SLinus Torvalds	help
10691da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1070c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
10711da177e4SLinus Torvalds
10721da177e4SLinus Torvaldsconfig CPU_NEVADA
10731da177e4SLinus Torvalds	bool "RM52xx"
10747cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1075f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1076ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1077ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10781da177e4SLinus Torvalds	help
10791da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
10801da177e4SLinus Torvalds
10811da177e4SLinus Torvaldsconfig CPU_R8000
10821da177e4SLinus Torvalds	bool "R8000"
1083ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
10847cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1085f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10865e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1087ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10881da177e4SLinus Torvalds	help
10891da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
10901da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
10911da177e4SLinus Torvalds
10921da177e4SLinus Torvaldsconfig CPU_R10000
10931da177e4SLinus Torvalds	bool "R10000"
10947cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1095f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10965e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1097ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1098ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1099797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11001da177e4SLinus Torvalds	help
11011da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
11021da177e4SLinus Torvalds
11031da177e4SLinus Torvaldsconfig CPU_RM7000
11041da177e4SLinus Torvalds	bool "RM7000"
11057cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1106f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11075e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1108ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1109ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1110797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11111da177e4SLinus Torvalds
11121da177e4SLinus Torvaldsconfig CPU_RM9000
11131da177e4SLinus Torvalds	bool "RM9000"
11147cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1115f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11165e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1117ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1118ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1119797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11200004a9dfSRalf Baechle	select WEAK_ORDERING
11211da177e4SLinus Torvalds
11221da177e4SLinus Torvaldsconfig CPU_SB1
11231da177e4SLinus Torvalds	bool "SB1"
11247cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1125f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1126ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1127ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1128797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11290004a9dfSRalf Baechle	select WEAK_ORDERING
11301da177e4SLinus Torvalds
11311da177e4SLinus Torvaldsendchoice
11321da177e4SLinus Torvalds
11332a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
11342a21c730SFuxin Zhang	bool
11352a21c730SFuxin Zhang
11367cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11377cf8053bSRalf Baechle	bool
11387cf8053bSRalf Baechle
11397cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11407cf8053bSRalf Baechle	bool
11417cf8053bSRalf Baechle
11427cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11437cf8053bSRalf Baechle	bool
11447cf8053bSRalf Baechle
11457cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
11467cf8053bSRalf Baechle	bool
11477cf8053bSRalf Baechle
11487cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
11497cf8053bSRalf Baechle	bool
11507cf8053bSRalf Baechle
11517cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
11527cf8053bSRalf Baechle	bool
11537cf8053bSRalf Baechle
11547cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
11557cf8053bSRalf Baechle	bool
11567cf8053bSRalf Baechle
11577cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
11587cf8053bSRalf Baechle	bool
11597cf8053bSRalf Baechle
11607cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
11617cf8053bSRalf Baechle	bool
11627cf8053bSRalf Baechle
11637cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
11647cf8053bSRalf Baechle	bool
11657cf8053bSRalf Baechle
11667cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
11677cf8053bSRalf Baechle	bool
11687cf8053bSRalf Baechle
11697cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
11707cf8053bSRalf Baechle	bool
11717cf8053bSRalf Baechle
11727cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
11737cf8053bSRalf Baechle	bool
11747cf8053bSRalf Baechle
11757cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
11767cf8053bSRalf Baechle	bool
11777cf8053bSRalf Baechle
11787cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
11797cf8053bSRalf Baechle	bool
11807cf8053bSRalf Baechle
11817cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
11827cf8053bSRalf Baechle	bool
11837cf8053bSRalf Baechle
11847cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
11857cf8053bSRalf Baechle	bool
11867cf8053bSRalf Baechle
11877cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
11887cf8053bSRalf Baechle	bool
11897cf8053bSRalf Baechle
11907cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
11917cf8053bSRalf Baechle	bool
11927cf8053bSRalf Baechle
11930004a9dfSRalf Baechleconfig WEAK_ORDERING
11940004a9dfSRalf Baechle	bool
11955e83d430SRalf Baechleendmenu
11965e83d430SRalf Baechle
11975e83d430SRalf Baechle#
11985e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
11995e83d430SRalf Baechle#
12005e83d430SRalf Baechleconfig CPU_MIPS32
12015e83d430SRalf Baechle	bool
12025e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
12035e83d430SRalf Baechle
12045e83d430SRalf Baechleconfig CPU_MIPS64
12055e83d430SRalf Baechle	bool
12065e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
12075e83d430SRalf Baechle
12085e83d430SRalf Baechle#
1209c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
12105e83d430SRalf Baechle#
12115e83d430SRalf Baechleconfig CPU_MIPSR1
12125e83d430SRalf Baechle	bool
12135e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
12145e83d430SRalf Baechle
12155e83d430SRalf Baechleconfig CPU_MIPSR2
12165e83d430SRalf Baechle	bool
12175e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
12185e83d430SRalf Baechle
12195e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
12205e83d430SRalf Baechle	bool
12215e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12225e83d430SRalf Baechle	bool
12235e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12245e83d430SRalf Baechle	bool
12255e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12265e83d430SRalf Baechle	bool
12275e83d430SRalf Baechle
12285e83d430SRalf Baechlemenu "Kernel type"
12295e83d430SRalf Baechle
12305e83d430SRalf Baechlechoice
12315e83d430SRalf Baechle
12325e83d430SRalf Baechle	prompt "Kernel code model"
12335e83d430SRalf Baechle	help
12345e83d430SRalf Baechle	  You should only select this option if you have a workload that
12355e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
12365e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
12375e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
12385e83d430SRalf Baechle
12395e83d430SRalf Baechleconfig 32BIT
12405e83d430SRalf Baechle	bool "32-bit kernel"
12415e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
12425e83d430SRalf Baechle	select TRAD_SIGNALS
12435e83d430SRalf Baechle	help
12445e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
12455e83d430SRalf Baechleconfig 64BIT
12465e83d430SRalf Baechle	bool "64-bit kernel"
12475e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
12485e83d430SRalf Baechle	help
12495e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
12505e83d430SRalf Baechle
12515e83d430SRalf Baechleendchoice
12525e83d430SRalf Baechle
12531da177e4SLinus Torvaldschoice
12541da177e4SLinus Torvalds	prompt "Kernel page size"
12551da177e4SLinus Torvalds	default PAGE_SIZE_4KB
12561da177e4SLinus Torvalds
12571da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
12581da177e4SLinus Torvalds	bool "4kB"
12591da177e4SLinus Torvalds	help
12601da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
12611da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
12621da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
12631da177e4SLinus Torvalds	 recommended for low memory systems.
12641da177e4SLinus Torvalds
12651da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
12661da177e4SLinus Torvalds	bool "8kB"
12671da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
12681da177e4SLinus Torvalds	help
12691da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
12701da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
12711da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
12721da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
12731da177e4SLinus Torvalds	  compatibility of user applications.
12741da177e4SLinus Torvalds
12751da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
12761da177e4SLinus Torvalds	bool "16kB"
1277714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
12781da177e4SLinus Torvalds	help
12791da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
12801da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1281714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1282714bfad6SRalf Baechle	  Linux distribution to support this.
12831da177e4SLinus Torvalds
12841da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
12851da177e4SLinus Torvalds	bool "64kB"
12861da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
12871da177e4SLinus Torvalds	help
12881da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
12891da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
12901da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1291714bfad6SRalf Baechle	  writing this option is still high experimental.
12921da177e4SLinus Torvalds
12931da177e4SLinus Torvaldsendchoice
12941da177e4SLinus Torvalds
12951da177e4SLinus Torvaldsconfig BOARD_SCACHE
12961da177e4SLinus Torvalds	bool
12971da177e4SLinus Torvalds
12981da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
12991da177e4SLinus Torvalds	bool
13001da177e4SLinus Torvalds	select BOARD_SCACHE
13011da177e4SLinus Torvalds
13029318c51aSChris Dearman#
13039318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
13049318c51aSChris Dearman#
13059318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
13069318c51aSChris Dearman	bool
13079318c51aSChris Dearman	select BOARD_SCACHE
13089318c51aSChris Dearman
13091da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
13101da177e4SLinus Torvalds	bool
13111da177e4SLinus Torvalds	select BOARD_SCACHE
13121da177e4SLinus Torvalds
13131da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
13141da177e4SLinus Torvalds	bool
13151da177e4SLinus Torvalds	select BOARD_SCACHE
13161da177e4SLinus Torvalds
13171da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
13181da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
13191da177e4SLinus Torvalds	depends on CPU_SB1
13201da177e4SLinus Torvalds	help
13211da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13221da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13231da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13241da177e4SLinus Torvalds
13251da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1326c8094b53SRalf Baechle	bool
13271da177e4SLinus Torvalds
1328340ee4b9SRalf Baechlechoice
1329340ee4b9SRalf Baechle	prompt "MIPS MT options"
1330f41ae0b2SRalf Baechle
1331f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1332f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1333f41ae0b2SRalf Baechle	help
1334f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1335f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1336f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1337f41ae0b2SRalf Baechle	  option in this menu.
1338340ee4b9SRalf Baechle
133959d6ab86SRalf Baechleconfig MIPS_MT_SMP
134059d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
134159d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
134259d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1343d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
134459d6ab86SRalf Baechle	select CPU_MIPSR2_SRS
134559d6ab86SRalf Baechle	select MIPS_MT
1346f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
134759d6ab86SRalf Baechle	select SMP
134859d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
134959d6ab86SRalf Baechle	help
135059d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
135159d6ab86SRalf Baechle	  has been marketesed into SMVP.
135259d6ab86SRalf Baechle
135341c594abSRalf Baechleconfig MIPS_MT_SMTC
135441c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1355f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1356f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1357f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1358f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1359d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1360f7062ddbSRalf Baechle	select CPU_MIPSR2_SRS
1361f41ae0b2SRalf Baechle	select MIPS_MT
1362130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
136341c594abSRalf Baechle	select SMP
136473b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1365f41ae0b2SRalf Baechle	help
1366f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1367f41ae0b2SRalf Baechle	  marketesed into SMVP.
136841c594abSRalf Baechle
1369e01402b1SRalf Baechleconfig MIPS_VPE_LOADER
1370e01402b1SRalf Baechle	bool "VPE loader support."
1371f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1372d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_VI
1373d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1374b0c10b9fSRalf Baechle	select CPU_MIPSR2_SRS
1375f41ae0b2SRalf Baechle	select MIPS_MT
1376e01402b1SRalf Baechle	help
1377e01402b1SRalf Baechle	  Includes a loader for loading an elf relocatable object
1378e01402b1SRalf Baechle	  onto another VPE and running it.
1379e01402b1SRalf Baechle
1380340ee4b9SRalf Baechleendchoice
1381340ee4b9SRalf Baechle
1382f41ae0b2SRalf Baechleconfig MIPS_MT
1383f41ae0b2SRalf Baechle	bool
1384f41ae0b2SRalf Baechle
1385f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1386f41ae0b2SRalf Baechle	bool
1387f41ae0b2SRalf Baechle
1388f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1389f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1390f088fc84SRalf Baechle	depends on MIPS_MT
1391f088fc84SRalf Baechle	default y
1392f088fc84SRalf Baechle
1393ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1394ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1395619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1396ac8be955SRalf Baechle	default y
1397ac8be955SRalf Baechle	help
1398ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1399ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1400ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1401ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1402ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1403ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1404ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1405ac8be955SRalf Baechle	  heavy I/O interrupt load.
1406ac8be955SRalf Baechle
14070db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
14080db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
14090db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
14100db34215SKevin D. Kissell	default y
14110db34215SKevin D. Kissell	help
14120db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
14130db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
14140db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
14150db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
14160db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
14170db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
14180db34215SKevin D. Kissell	  what you are doing.
14190db34215SKevin D. Kissell
1420e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1421e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1422e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1423e01402b1SRalf Baechle	default y
1424e01402b1SRalf Baechle	help
1425e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1426e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1427e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1428e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1429e01402b1SRalf Baechle
1430e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1431e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1432e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1433e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
14345e83d430SRalf Baechle	help
1435e01402b1SRalf Baechle
14362600990eSRalf Baechleconfig MIPS_APSP_KSPD
14372600990eSRalf Baechle	bool "Enable KSPD"
14382600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
14392600990eSRalf Baechle	default y
14402600990eSRalf Baechle	help
14412600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
14422600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
14432600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
14442600990eSRalf Baechle	  exiting.  You probably want to say yes here.
14452600990eSRalf Baechle
14461da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
14471da177e4SLinus Torvalds	bool
14481da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
14491da177e4SLinus Torvalds	default y
14501da177e4SLinus Torvalds
14511da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
14521da177e4SLinus Torvalds	bool
14531da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
14541da177e4SLinus Torvalds	default y
14551da177e4SLinus Torvalds
14561da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
14571da177e4SLinus Torvalds	bool
14581da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
14591da177e4SLinus Torvalds	default y
14601da177e4SLinus Torvalds
14611da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
14621da177e4SLinus Torvalds	bool "Support for 64-bit physical address space"
1463948928adSRalf Baechle	depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT
14641da177e4SLinus Torvalds
14651da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1466f7062ddbSRalf Baechle	bool
14671da177e4SLinus Torvalds
14689693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
14699693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
14709693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
14719693a853SFranck Bui-Huu	help
14729693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
14739693a853SFranck Bui-Huu	  increased security at both hardware and software level for
14749693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
14759693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
14769693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
14779693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
14789693a853SFranck Bui-Huu	  here.
14799693a853SFranck Bui-Huu
14801da177e4SLinus Torvaldsconfig CPU_HAS_WB
1481f7062ddbSRalf Baechle	bool
1482e01402b1SRalf Baechle
14832a21c730SFuxin Zhangconfig 64BIT_CONTEXT
14842a21c730SFuxin Zhang	bool "Save 64bit integer registers"
14852a21c730SFuxin Zhang	depends on 32BIT && CPU_LOONGSON2
14862a21c730SFuxin Zhang	help
14872a21c730SFuxin Zhang	  Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
14882a21c730SFuxin Zhang	  registers can still be accessed as 64bit, mainly for multimedia
14892a21c730SFuxin Zhang	  instructions. We must have all 64bit save/restored to make sure
14902a21c730SFuxin Zhang	  those instructions to get correct result.
14912a21c730SFuxin Zhang
1492f41ae0b2SRalf Baechle#
1493f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1494f41ae0b2SRalf Baechle#
1495e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1496f41ae0b2SRalf Baechle	bool
1497e01402b1SRalf Baechle
1498f41ae0b2SRalf Baechle#
1499f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1500f41ae0b2SRalf Baechle#
1501e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1502f41ae0b2SRalf Baechle	bool
1503e01402b1SRalf Baechle
1504f41ae0b2SRalf Baechle#
1505f41ae0b2SRalf Baechle# Shadow registers are an R2 feature
1506f41ae0b2SRalf Baechle#
1507e01402b1SRalf Baechleconfig CPU_MIPSR2_SRS
1508f41ae0b2SRalf Baechle	bool
1509e01402b1SRalf Baechle
15101da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
15111da177e4SLinus Torvalds	bool
15121da177e4SLinus Torvalds	depends on !CPU_R3000
15131da177e4SLinus Torvalds	default y
15141da177e4SLinus Torvalds
15151da177e4SLinus Torvalds#
1516797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1517797798c1SRalf Baechle#
1518797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1519797798c1SRalf Baechle	bool
1520797798c1SRalf Baechle	default y
1521797798c1SRalf Baechle
1522797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1523797798c1SRalf Baechle	bool
1524797798c1SRalf Baechle	default y
1525797798c1SRalf Baechle
15260d7012a9SIngo Molnarconfig IRQ_PER_CPU
15270d7012a9SIngo Molnar	bool
15280d7012a9SIngo Molnar
1529797798c1SRalf Baechle#
15301da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
15311da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
15321da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
15331da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
15341da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
15351da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
15361da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
15371da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1538797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1539797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1540797798c1SRalf Baechle#   support.
15411da177e4SLinus Torvalds#
15421da177e4SLinus Torvaldsconfig HIGHMEM
15431da177e4SLinus Torvalds	bool "High Memory Support"
1544797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1545797798c1SRalf Baechle
1546797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1547797798c1SRalf Baechle	bool
1548797798c1SRalf Baechle
1549797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1550797798c1SRalf Baechle	bool
15511da177e4SLinus Torvalds
15529693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
15539693a853SFranck Bui-Huu	bool
15549693a853SFranck Bui-Huu
1555b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1556b4819b59SYoichi Yuasa	def_bool y
1557b4819b59SYoichi Yuasa	depends on !NUMA
1558b4819b59SYoichi Yuasa
1559d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1560d8cb4e11SRalf Baechle	bool
1561d8cb4e11SRalf Baechle	default y if SGI_IP27
1562d8cb4e11SRalf Baechle	help
15633dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1564d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1565d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1566d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1567d8cb4e11SRalf Baechle
1568b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1569b1c6cd42SAtsushi Nemoto	bool
15707de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
157131473747SAtsushi Nemoto
1572d8cb4e11SRalf Baechleconfig NUMA
1573d8cb4e11SRalf Baechle	bool "NUMA Support"
1574d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1575d8cb4e11SRalf Baechle	help
1576d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1577d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1578d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1579d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1580d8cb4e11SRalf Baechle	  disabled.
1581d8cb4e11SRalf Baechle
1582d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1583d8cb4e11SRalf Baechle	bool
1584d8cb4e11SRalf Baechle
1585c80d79d7SYasunori Gotoconfig NODES_SHIFT
1586c80d79d7SYasunori Goto	int
1587c80d79d7SYasunori Goto	default "6"
1588c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1589c80d79d7SYasunori Goto
1590b4819b59SYoichi Yuasasource "mm/Kconfig"
1591b4819b59SYoichi Yuasa
15921da177e4SLinus Torvaldsconfig SMP
15931da177e4SLinus Torvalds	bool "Multi-Processing support"
1594e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1595b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1596e73ea273SRalf Baechle	help
15971da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
15981da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
15991da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
16001da177e4SLinus Torvalds
16011da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
16021da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
16031da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
16041da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
16051da177e4SLinus Torvalds	  will run faster if you say N here.
16061da177e4SLinus Torvalds
16071da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
16081da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
16091da177e4SLinus Torvalds
16101da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
16111da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
16121da177e4SLinus Torvalds
16131da177e4SLinus Torvalds	  If you don't know what to do here, say N.
16141da177e4SLinus Torvalds
1615e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1616e73ea273SRalf Baechle	bool
1617e73ea273SRalf Baechle
161872ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
161972ede9b1SAtsushi Nemoto	bool
162072ede9b1SAtsushi Nemoto
1621130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1622130e2fb7SRalf Baechle	bool
1623130e2fb7SRalf Baechle
1624130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1625130e2fb7SRalf Baechle	bool
1626130e2fb7SRalf Baechle
1627130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1628130e2fb7SRalf Baechle	bool
1629130e2fb7SRalf Baechle
1630130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1631130e2fb7SRalf Baechle	bool
1632130e2fb7SRalf Baechle
1633130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1634130e2fb7SRalf Baechle	bool
1635130e2fb7SRalf Baechle
1636130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1637130e2fb7SRalf Baechle	bool
1638130e2fb7SRalf Baechle
16391da177e4SLinus Torvaldsconfig NR_CPUS
16401da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
164172ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
16421da177e4SLinus Torvalds	depends on SMP
164372ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1644130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1645130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1646130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1647130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1648130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1649130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
16501da177e4SLinus Torvalds	help
16511da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
16521da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
16531da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
165472ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
165572ede9b1SAtsushi Nemoto	  and 2 for all others.
16561da177e4SLinus Torvalds
16571da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
165872ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
165972ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
166072ede9b1SAtsushi Nemoto	  power of two.
16611da177e4SLinus Torvalds
16621723b4a3SAtsushi Nemoto#
16631723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
16641723b4a3SAtsushi Nemoto#
16651723b4a3SAtsushi Nemoto
16661723b4a3SAtsushi Nemotochoice
16671723b4a3SAtsushi Nemoto	prompt "Timer frequency"
16681723b4a3SAtsushi Nemoto	default HZ_250
16691723b4a3SAtsushi Nemoto	help
16701723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
16711723b4a3SAtsushi Nemoto
16721723b4a3SAtsushi Nemoto	config HZ_48
16731723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
16741723b4a3SAtsushi Nemoto
16751723b4a3SAtsushi Nemoto	config HZ_100
16761723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
16771723b4a3SAtsushi Nemoto
16781723b4a3SAtsushi Nemoto	config HZ_128
16791723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
16801723b4a3SAtsushi Nemoto
16811723b4a3SAtsushi Nemoto	config HZ_250
16821723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
16831723b4a3SAtsushi Nemoto
16841723b4a3SAtsushi Nemoto	config HZ_256
16851723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
16861723b4a3SAtsushi Nemoto
16871723b4a3SAtsushi Nemoto	config HZ_1000
16881723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
16891723b4a3SAtsushi Nemoto
16901723b4a3SAtsushi Nemoto	config HZ_1024
16911723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
16921723b4a3SAtsushi Nemoto
16931723b4a3SAtsushi Nemotoendchoice
16941723b4a3SAtsushi Nemoto
16951723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
16961723b4a3SAtsushi Nemoto	bool
16971723b4a3SAtsushi Nemoto
16981723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
16991723b4a3SAtsushi Nemoto	bool
17001723b4a3SAtsushi Nemoto
17011723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
17021723b4a3SAtsushi Nemoto	bool
17031723b4a3SAtsushi Nemoto
17041723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
17051723b4a3SAtsushi Nemoto	bool
17061723b4a3SAtsushi Nemoto
17071723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
17081723b4a3SAtsushi Nemoto	bool
17091723b4a3SAtsushi Nemoto
17101723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
17111723b4a3SAtsushi Nemoto	bool
17121723b4a3SAtsushi Nemoto
17131723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
17141723b4a3SAtsushi Nemoto	bool
17151723b4a3SAtsushi Nemoto
17161723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
17171723b4a3SAtsushi Nemoto	bool
17181723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
17191723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
17201723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
17211723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
17221723b4a3SAtsushi Nemoto
17231723b4a3SAtsushi Nemotoconfig HZ
17241723b4a3SAtsushi Nemoto	int
17251723b4a3SAtsushi Nemoto	default 48 if HZ_48
17261723b4a3SAtsushi Nemoto	default 100 if HZ_100
17271723b4a3SAtsushi Nemoto	default 128 if HZ_128
17281723b4a3SAtsushi Nemoto	default 250 if HZ_250
17291723b4a3SAtsushi Nemoto	default 256 if HZ_256
17301723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
17311723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
17321723b4a3SAtsushi Nemoto
1733e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
17341da177e4SLinus Torvalds
17351da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
17361da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1737875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
17381da177e4SLinus Torvalds	help
17391da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
17401da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
17411da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
17421da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
17431da177e4SLinus Torvalds	  recommended for normal users.
17441da177e4SLinus Torvalds
1745ea6e942bSAtsushi Nemotoconfig KEXEC
1746ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1747ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1748ea6e942bSAtsushi Nemoto	help
1749ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1750ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
17513dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1752ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1753ea6e942bSAtsushi Nemoto
1754ea6e942bSAtsushi Nemoto	  The name comes from the similiarity to the exec system call.
1755ea6e942bSAtsushi Nemoto
1756ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1757ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1758ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1759ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1760ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1761ea6e942bSAtsushi Nemoto
1762ea6e942bSAtsushi Nemotoconfig SECCOMP
1763ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1764ea6e942bSAtsushi Nemoto	depends on PROC_FS && BROKEN
1765ea6e942bSAtsushi Nemoto	default y
1766ea6e942bSAtsushi Nemoto	help
1767ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1768ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1769ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1770ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1771ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1772ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1773ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1774ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1775ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1776ea6e942bSAtsushi Nemoto
1777ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1778ea6e942bSAtsushi Nemoto
17795e83d430SRalf Baechleendmenu
17805e83d430SRalf Baechle
17811da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
17821da177e4SLinus Torvalds	bool
17831da177e4SLinus Torvalds	default y
17841da177e4SLinus Torvalds
17851df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
17861df0f0ffSAtsushi Nemoto	bool
17871df0f0ffSAtsushi Nemoto	default y
17881df0f0ffSAtsushi Nemoto
17891df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
17901df0f0ffSAtsushi Nemoto	bool
17911df0f0ffSAtsushi Nemoto	default y
17921df0f0ffSAtsushi Nemoto
1793b6c3539bSRalf Baechlesource "init/Kconfig"
1794b6c3539bSRalf Baechle
17951da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
17961da177e4SLinus Torvalds
17975e83d430SRalf Baechleconfig HW_HAS_EISA
17985e83d430SRalf Baechle	bool
17991da177e4SLinus Torvaldsconfig HW_HAS_PCI
18001da177e4SLinus Torvalds	bool
18011da177e4SLinus Torvalds
18021da177e4SLinus Torvaldsconfig PCI
18031da177e4SLinus Torvalds	bool "Support for PCI controller"
18041da177e4SLinus Torvalds	depends on HW_HAS_PCI
18051da177e4SLinus Torvalds	help
18061da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
18071da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
18081da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
18091da177e4SLinus Torvalds	  say Y, otherwise N.
18101da177e4SLinus Torvalds
18111da177e4SLinus Torvalds	  The PCI-HOWTO, available from
18121da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
18131da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
18141da177e4SLinus Torvalds	  doesn't.
18151da177e4SLinus Torvalds
18161da177e4SLinus Torvaldsconfig PCI_DOMAINS
18171da177e4SLinus Torvalds	bool
18181da177e4SLinus Torvalds	depends on PCI
18191da177e4SLinus Torvalds
18201da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
18211da177e4SLinus Torvalds
18221da177e4SLinus Torvalds#
18231da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
18241da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
18251da177e4SLinus Torvalds# users to choose the right thing ...
18261da177e4SLinus Torvalds#
18271da177e4SLinus Torvaldsconfig ISA
18281da177e4SLinus Torvalds	bool
18291da177e4SLinus Torvalds
18301da177e4SLinus Torvaldsconfig EISA
18311da177e4SLinus Torvalds	bool "EISA support"
18325e83d430SRalf Baechle	depends on HW_HAS_EISA
18331da177e4SLinus Torvalds	select ISA
1834aa414dffSRalf Baechle	select GENERIC_ISA_DMA
18351da177e4SLinus Torvalds	---help---
18361da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
18371da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
18381da177e4SLinus Torvalds
18391da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
18401da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
18411da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
18421da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
18431da177e4SLinus Torvalds
18441da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
18451da177e4SLinus Torvalds
18461da177e4SLinus Torvalds	  Otherwise, say N.
18471da177e4SLinus Torvalds
18481da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
18491da177e4SLinus Torvalds
18501da177e4SLinus Torvaldsconfig TC
18511da177e4SLinus Torvalds	bool "TURBOchannel support"
18521da177e4SLinus Torvalds	depends on MACH_DECSTATION
18531da177e4SLinus Torvalds	help
18541da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
18551da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
18561da177e4SLinus Torvalds	  is available at:
18571da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
18581da177e4SLinus Torvalds
18591da177e4SLinus Torvalds#config ACCESSBUS
18601da177e4SLinus Torvalds#	bool "Access.Bus support"
18611da177e4SLinus Torvalds#	depends on TC
18621da177e4SLinus Torvalds
18631da177e4SLinus Torvaldsconfig MMU
18641da177e4SLinus Torvalds	bool
18651da177e4SLinus Torvalds	default y
18661da177e4SLinus Torvalds
1867*de61b542SRalf Baechleconfig PCSPEAKER
1868e5c6c8e4SMichael Neuling	bool
1869e5c6c8e4SMichael Neuling
18701da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
18711da177e4SLinus Torvalds
18721da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
18731da177e4SLinus Torvalds
18741da177e4SLinus Torvaldsendmenu
18751da177e4SLinus Torvalds
18761da177e4SLinus Torvaldsmenu "Executable file formats"
18771da177e4SLinus Torvalds
18781da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
18791da177e4SLinus Torvalds
18801da177e4SLinus Torvaldsconfig TRAD_SIGNALS
18811da177e4SLinus Torvalds	bool
18821da177e4SLinus Torvalds
18831da177e4SLinus Torvaldsconfig BUILD_ELF64
18841da177e4SLinus Torvalds	bool "Use 64-bit ELF format for building"
1885875d43e7SRalf Baechle	depends on 64BIT
18861da177e4SLinus Torvalds	help
18871da177e4SLinus Torvalds	  A 64-bit kernel is usually built using the 64-bit ELF binary object
18881da177e4SLinus Torvalds	  format as it's one that allows arbitrary 64-bit constructs.  For
18891da177e4SLinus Torvalds	  kernels that are loaded within the KSEG compatibility segments the
18901da177e4SLinus Torvalds	  32-bit ELF format can optionally be used resulting in a somewhat
18911da177e4SLinus Torvalds	  smaller binary, but this option is not explicitly supported by the
18921da177e4SLinus Torvalds	  toolchain and since binutils 2.14 it does not even work at all.
18931da177e4SLinus Torvalds
18941da177e4SLinus Torvalds	  Say Y to use the 64-bit format or N to use the 32-bit one.
18951da177e4SLinus Torvalds
18961da177e4SLinus Torvalds	  If unsure say Y.
18971da177e4SLinus Torvalds
18981da177e4SLinus Torvaldsconfig BINFMT_IRIX
18991da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
19005e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
19011da177e4SLinus Torvalds
19021da177e4SLinus Torvaldsconfig MIPS32_COMPAT
19031da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1904875d43e7SRalf Baechle	depends on 64BIT
19051da177e4SLinus Torvalds	help
19061da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
19071da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
19081da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
19091da177e4SLinus Torvalds
19101da177e4SLinus Torvaldsconfig COMPAT
19111da177e4SLinus Torvalds	bool
19121da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19131da177e4SLinus Torvalds	default y
19141da177e4SLinus Torvalds
191505e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
191605e43966SAtsushi Nemoto	bool
191705e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
191805e43966SAtsushi Nemoto	default y
191905e43966SAtsushi Nemoto
19201da177e4SLinus Torvaldsconfig MIPS32_O32
19211da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
19221da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19231da177e4SLinus Torvalds	help
19241da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
19251da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
19261da177e4SLinus Torvalds	  existing binaries are in this format.
19271da177e4SLinus Torvalds
19281da177e4SLinus Torvalds	  If unsure, say Y.
19291da177e4SLinus Torvalds
19301da177e4SLinus Torvaldsconfig MIPS32_N32
19311da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
19321da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19331da177e4SLinus Torvalds	help
19341da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
19351da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
19361da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
19371da177e4SLinus Torvalds	  cases.
19381da177e4SLinus Torvalds
19391da177e4SLinus Torvalds	  If unsure, say N.
19401da177e4SLinus Torvalds
19411da177e4SLinus Torvaldsconfig BINFMT_ELF32
19421da177e4SLinus Torvalds	bool
19431da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
19441da177e4SLinus Torvalds
19452116245eSRalf Baechleendmenu
19461da177e4SLinus Torvalds
19472116245eSRalf Baechlemenu "Power management options"
1948952fa954SRodolfo Giometti
19492116245eSRalf Baechlesource "kernel/power/Kconfig"
1950952fa954SRodolfo Giometti
19511da177e4SLinus Torvaldsendmenu
19521da177e4SLinus Torvalds
1953d5950b43SSam Ravnborgsource "net/Kconfig"
1954d5950b43SSam Ravnborg
19551da177e4SLinus Torvaldssource "drivers/Kconfig"
19561da177e4SLinus Torvalds
19571da177e4SLinus Torvaldssource "fs/Kconfig"
19581da177e4SLinus Torvalds
19595e83d430SRalf Baechlesource "arch/mips/oprofile/Kconfig"
19605e83d430SRalf Baechle
19611da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
19621da177e4SLinus Torvalds
19631da177e4SLinus Torvaldssource "security/Kconfig"
19641da177e4SLinus Torvalds
19651da177e4SLinus Torvaldssource "crypto/Kconfig"
19661da177e4SLinus Torvalds
19671da177e4SLinus Torvaldssource "lib/Kconfig"
1968