xref: /linux/arch/mips/Kconfig (revision 2a21c7300b53b744d16903256a172d9cbcfdd03e)
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
18c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
19c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
201da177e4SLinus Torvalds
2135189fadSRalf Baechleconfig BASLER_EXCITE
22be91589eSThomas Koeller	bool "Basler eXcite smart camera"
2335189fadSRalf Baechle	select DMA_COHERENT
2435189fadSRalf Baechle	select HW_HAS_PCI
2535189fadSRalf Baechle	select IRQ_CPU
2635189fadSRalf Baechle	select IRQ_CPU_RM7K
2735189fadSRalf Baechle	select IRQ_CPU_RM9K
28663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
2935189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
3035189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3135189fadSRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3235189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
33cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3435189fadSRalf Baechle	help
3535189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
36be91589eSThomas Koeller	  Basler Vision Technologies AG.
3735189fadSRalf Baechle
3835189fadSRalf Baechleconfig BASLER_EXCITE_PROTOTYPE
3935189fadSRalf Baechle	bool "Support for pre-release units"
4035189fadSRalf Baechle	depends on BASLER_EXCITE
4135189fadSRalf Baechle	default n
4235189fadSRalf Baechle	help
4335189fadSRalf Baechle	  Pre-series (prototype) units are different from later ones in
4435189fadSRalf Baechle	  some ways. Select this option if you have one of these. Please
4535189fadSRalf Baechle	  note that a kernel built with this option selected will not be
4635189fadSRalf Baechle	  able to run on normal units.
4735189fadSRalf Baechle
481da177e4SLinus Torvaldsconfig MIPS_COBALT
493fa986faSMartin Michlmayr	bool "Cobalt Server"
501da177e4SLinus Torvalds	select DMA_NONCOHERENT
511da177e4SLinus Torvalds	select HW_HAS_PCI
521da177e4SLinus Torvalds	select I8259
531da177e4SLinus Torvalds	select IRQ_CPU
54252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
557cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
560a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
57ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
58ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
595e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
609fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
611da177e4SLinus Torvalds
621da177e4SLinus Torvaldsconfig MACH_DECSTATION
633fa986faSMartin Michlmayr	bool "DECstations"
641da177e4SLinus Torvalds	select BOOT_ELF32
651da177e4SLinus Torvalds	select DMA_NONCOHERENT
66d388d685SMaciej W. Rozycki	select NO_IOPORT
671da177e4SLinus Torvalds	select IRQ_CPU
687cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
697cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
70ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
71ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
725e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
731723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
741723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
751723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
765e83d430SRalf Baechle	help
771da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
781da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
791da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
801da177e4SLinus Torvalds
811da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
821da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
831da177e4SLinus Torvalds
841da177e4SLinus Torvalds	  	DECstation 5000/50
851da177e4SLinus Torvalds	  	DECstation 5000/150
861da177e4SLinus Torvalds	  	DECstation 5000/260
871da177e4SLinus Torvalds	  	DECsystem 5900/260
881da177e4SLinus Torvalds
891da177e4SLinus Torvalds	  otherwise choose R3000.
901da177e4SLinus Torvalds
915e83d430SRalf Baechleconfig MACH_JAZZ
923fa986faSMartin Michlmayr	bool "Jazz family of machines"
935e83d430SRalf Baechle	select ARC
945e83d430SRalf Baechle	select ARC32
955e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
965e83d430SRalf Baechle	select GENERIC_ISA_DMA
97e5c6c8e4SMichael Neuling	select I8253
985e83d430SRalf Baechle	select I8259
995e83d430SRalf Baechle	select ISA
1007cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1015e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1025e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1031723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1049fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1051da177e4SLinus Torvalds	help
1065e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1075e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1085e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1095e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1105e83d430SRalf Baechle
1115e83d430SRalf Baechleconfig LASAT
1123fa986faSMartin Michlmayr	bool "LASAT Networks platforms"
1135e83d430SRalf Baechle	select DMA_NONCOHERENT
11436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1155e83d430SRalf Baechle	select HW_HAS_PCI
116252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1175e83d430SRalf Baechle	select MIPS_NILE4
1185e83d430SRalf Baechle	select R5000_CPU_SCACHE
1197cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
1205e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
121080e948cSRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1225e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
123e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
1241da177e4SLinus Torvalds
1251da177e4SLinus Torvaldsconfig MIPS_ATLAS
1263fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1271da177e4SLinus Torvalds	select BOOT_ELF32
1281da177e4SLinus Torvalds	select DMA_NONCOHERENT
12936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1305e83d430SRalf Baechle	select IRQ_CPU
1311da177e4SLinus Torvalds	select HW_HAS_PCI
1325e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1335e83d430SRalf Baechle	select MIPS_BONITO64
134252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1355e83d430SRalf Baechle	select MIPS_MSC
136f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1371da177e4SLinus Torvalds	select SWAP_IO_SPACE
1387cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1397cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1407cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1417cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1427cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
143ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
144ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1455e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1465e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
147f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
1489693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
149e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
1501da177e4SLinus Torvalds	help
151f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
1521da177e4SLinus Torvalds	  board.
1531da177e4SLinus Torvalds
1541da177e4SLinus Torvaldsconfig MIPS_MALTA
1553fa986faSMartin Michlmayr	bool "MIPS Malta board"
15661ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1571da177e4SLinus Torvalds	select BOOT_ELF32
1581da177e4SLinus Torvalds	select DMA_NONCOHERENT
1591da177e4SLinus Torvalds	select GENERIC_ISA_DMA
160aa414dffSRalf Baechle	select IRQ_CPU
1611da177e4SLinus Torvalds	select HW_HAS_PCI
1621da177e4SLinus Torvalds	select I8259
1635e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1645e83d430SRalf Baechle	select MIPS_BONITO64
1659318c51aSChris Dearman	select MIPS_CPU_SCACHE
166252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1675e83d430SRalf Baechle	select MIPS_MSC
1681da177e4SLinus Torvalds	select SWAP_IO_SPACE
1697cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1707cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1717cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1727cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1737cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
17436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
175ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
176ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1775e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1785e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
179f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
1809693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
1811da177e4SLinus Torvalds	help
182f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
1831da177e4SLinus Torvalds	  board.
1841da177e4SLinus Torvalds
1851da177e4SLinus Torvaldsconfig MIPS_SEAD
1863fa986faSMartin Michlmayr	bool "MIPS SEAD board (EXPERIMENTAL)"
1871da177e4SLinus Torvalds	depends on EXPERIMENTAL
1881da177e4SLinus Torvalds	select IRQ_CPU
1891da177e4SLinus Torvalds	select DMA_NONCOHERENT
19036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1915e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1927cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1937cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1947cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
195ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
1965e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1975e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1985e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1999693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
200f638d197SMaciej W. Rozycki	help
201f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
202f638d197SMaciej W. Rozycki	  board.
2031da177e4SLinus Torvalds
204a240a469SMark.Zhanconfig WR_PPMC
2059247857fSMark.Zhan	bool "Wind River PPMC board"
206a240a469SMark.Zhan	select IRQ_CPU
207a240a469SMark.Zhan	select BOOT_ELF32
208a240a469SMark.Zhan	select DMA_NONCOHERENT
209a240a469SMark.Zhan	select HW_HAS_PCI
210252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
211a240a469SMark.Zhan	select SWAP_IO_SPACE
212a240a469SMark.Zhan	select SYS_HAS_CPU_MIPS32_R1
213a240a469SMark.Zhan	select SYS_HAS_CPU_MIPS32_R2
214a240a469SMark.Zhan	select SYS_HAS_CPU_MIPS64_R1
215a240a469SMark.Zhan	select SYS_HAS_CPU_NEVADA
216a240a469SMark.Zhan	select SYS_HAS_CPU_RM7000
217a240a469SMark.Zhan	select SYS_SUPPORTS_32BIT_KERNEL
218a240a469SMark.Zhan	select SYS_SUPPORTS_64BIT_KERNEL
219a240a469SMark.Zhan	select SYS_SUPPORTS_BIG_ENDIAN
220a240a469SMark.Zhan	select SYS_SUPPORTS_LITTLE_ENDIAN
221a240a469SMark.Zhan	help
222a240a469SMark.Zhan	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
223a240a469SMark.Zhan	  board, which is based on GT64120 bridge chip.
224a240a469SMark.Zhan
225c78cbf49SRalf Baechleconfig MIPS_SIM
2263fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
227c78cbf49SRalf Baechle	select DMA_NONCOHERENT
22836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
229c78cbf49SRalf Baechle	select IRQ_CPU
2307cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2317cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
23236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
233c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
234c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
235f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
236c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
237c78cbf49SRalf Baechle	help
238c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
239c78cbf49SRalf Baechle	  emulator.
240c78cbf49SRalf Baechle
2415e83d430SRalf Baechleconfig MOMENCO_OCELOT
2423fa986faSMartin Michlmayr	bool "Momentum Ocelot board"
2435e83d430SRalf Baechle	select DMA_NONCOHERENT
2441da177e4SLinus Torvalds	select HW_HAS_PCI
2451da177e4SLinus Torvalds	select IRQ_CPU
2461da177e4SLinus Torvalds	select IRQ_CPU_RM7K
247252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2485e83d430SRalf Baechle	select RM7000_CPU_SCACHE
2491da177e4SLinus Torvalds	select SWAP_IO_SPACE
2507cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
251ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
252ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2535e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
254cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
2551da177e4SLinus Torvalds	help
2565e83d430SRalf Baechle	  The Ocelot is a MIPS-based Single Board Computer (SBC) made by
2575e83d430SRalf Baechle	  Momentum Computer <http://www.momenco.com/>.
2581da177e4SLinus Torvalds
2595e83d430SRalf Baechleconfig MOMENCO_OCELOT_3
2603fa986faSMartin Michlmayr	bool "Momentum Ocelot-3 board"
2615e83d430SRalf Baechle	select BOOT_ELF32
2625e83d430SRalf Baechle	select DMA_NONCOHERENT
2635e83d430SRalf Baechle	select HW_HAS_PCI
2645e83d430SRalf Baechle	select IRQ_CPU
2655e83d430SRalf Baechle	select IRQ_CPU_RM7K
2665e83d430SRalf Baechle	select IRQ_MV64340
2675e83d430SRalf Baechle	select PCI_MARVELL
2685e83d430SRalf Baechle	select RM7000_CPU_SCACHE
2695e83d430SRalf Baechle	select SWAP_IO_SPACE
2707cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
2715e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
2725e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
2735e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2745e83d430SRalf Baechle	help
2755e83d430SRalf Baechle	  The Ocelot-3 is based off Discovery III System Controller and
2765e83d430SRalf Baechle	  PMC-Sierra Rm79000 core.
2775e83d430SRalf Baechle
278bdf21b18SPete Popovconfig PNX8550_JBS
2793fa986faSMartin Michlmayr	bool "Philips PNX8550 based JBS board"
280bdf21b18SPete Popov	select PNX8550
281bdf21b18SPete Popov	select SYS_SUPPORTS_LITTLE_ENDIAN
282bdf21b18SPete Popov
283f0647a52SVitaly Woolconfig PNX8550_STB810
284e460b73cSYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
285f0647a52SVitaly Wool	select PNX8550
286f0647a52SVitaly Wool	select SYS_SUPPORTS_LITTLE_ENDIAN
287f0647a52SVitaly Wool
2881da177e4SLinus Torvaldsconfig DDB5477
2893fa986faSMartin Michlmayr	bool "NEC DDB Vrc-5477"
2905e83d430SRalf Baechle	select DDB5XXX_COMMON
2911da177e4SLinus Torvalds	select DMA_NONCOHERENT
2921da177e4SLinus Torvalds	select HW_HAS_PCI
2931da177e4SLinus Torvalds	select I8259
2941da177e4SLinus Torvalds	select IRQ_CPU
2957cf8053bSRalf Baechle	select SYS_HAS_CPU_R5432
296ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
297ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
298cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
299cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3005e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
3011da177e4SLinus Torvalds	help
3021da177e4SLinus Torvalds	  This enables support for the R5432-based NEC DDB Vrc-5477,
3031da177e4SLinus Torvalds	  or Rockhopper/SolutionGear boards with R5432/R5500 CPUs.
3041da177e4SLinus Torvalds
3051da177e4SLinus Torvalds	  Features : kernel debugging, serial terminal, NFS root fs, on-board
3061da177e4SLinus Torvalds	  ether port USB, AC97, PCI, etc.
3071da177e4SLinus Torvalds
3085e83d430SRalf Baechleconfig MACH_VR41XX
30974142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
3107cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
3119fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
3125e83d430SRalf Baechle
3135e83d430SRalf Baechleconfig PMC_YOSEMITE
3143fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
3155e83d430SRalf Baechle	select DMA_COHERENT
3165e83d430SRalf Baechle	select HW_HAS_PCI
3175e83d430SRalf Baechle	select IRQ_CPU
3185e83d430SRalf Baechle	select IRQ_CPU_RM7K
3195e83d430SRalf Baechle	select IRQ_CPU_RM9K
3205e83d430SRalf Baechle	select SWAP_IO_SPACE
3217cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
32236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3235e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3245e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3255e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3265e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
327cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
328e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3295e83d430SRalf Baechle	help
3305e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3315e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3321da177e4SLinus Torvalds
33307119621SRalf Baechleconfig QEMU
3343fa986faSMartin Michlmayr	bool "Qemu"
33507119621SRalf Baechle	select DMA_COHERENT
33607119621SRalf Baechle	select GENERIC_ISA_DMA
33707119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
338e5c6c8e4SMichael Neuling	select I8253
33907119621SRalf Baechle	select I8259
34007119621SRalf Baechle	select ISA
34107119621SRalf Baechle	select SWAP_IO_SPACE
3427cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
34307119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
34407119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
345c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
346b1c6cd42SAtsushi Nemoto	select ARCH_SPARSEMEM_ENABLE
3479fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
34872ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
34972ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
35007119621SRalf Baechle	help
35107119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
35207119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
35307119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
35407119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
35507119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
35607119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
35707119621SRalf Baechle
358355c471fSdmitry pervushinconfig MARKEINS
359e460b73cSYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
360355c471fSdmitry pervushin	select DMA_NONCOHERENT
361355c471fSdmitry pervushin	select HW_HAS_PCI
362355c471fSdmitry pervushin	select IRQ_CPU
363355c471fSdmitry pervushin	select SWAP_IO_SPACE
364355c471fSdmitry pervushin	select SYS_SUPPORTS_32BIT_KERNEL
365355c471fSdmitry pervushin	select SYS_SUPPORTS_BIG_ENDIAN
366355c471fSdmitry pervushin	select SYS_SUPPORTS_LITTLE_ENDIAN
367355c471fSdmitry pervushin	select SYS_HAS_CPU_R5000
368355c471fSdmitry pervushin	help
369355c471fSdmitry pervushin	  This enables support for the R5432-based NEC Mark-eins
370355c471fSdmitry pervushin	  boards with R5500 CPU.
371355c471fSdmitry pervushin
3721da177e4SLinus Torvaldsconfig SGI_IP22
3733fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3741da177e4SLinus Torvalds	select ARC
3751da177e4SLinus Torvalds	select ARC32
3761da177e4SLinus Torvalds	select BOOT_ELF32
3771da177e4SLinus Torvalds	select DMA_NONCOHERENT
3785e83d430SRalf Baechle	select HW_HAS_EISA
3791da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3801da177e4SLinus Torvalds	select IRQ_CPU
381aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
3821da177e4SLinus Torvalds	select SWAP_IO_SPACE
3837cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3847cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
38536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
386ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
387ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3885e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3891da177e4SLinus Torvalds	help
3901da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3911da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3921da177e4SLinus Torvalds	  that runs on these, say Y here.
3931da177e4SLinus Torvalds
3941da177e4SLinus Torvaldsconfig SGI_IP27
3953fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3961da177e4SLinus Torvalds	select ARC
3971da177e4SLinus Torvalds	select ARC64
3985e83d430SRalf Baechle	select BOOT_ELF64
3991da177e4SLinus Torvalds	select DMA_IP27
40036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4011da177e4SLinus Torvalds	select HW_HAS_PCI
402130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4031da177e4SLinus Torvalds	select PCI_DOMAINS
4047cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
405ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4065e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
407cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
408d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4091a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
410e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
4111da177e4SLinus Torvalds	help
4121da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4131da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4141da177e4SLinus Torvalds	  here.
4151da177e4SLinus Torvalds
4161da177e4SLinus Torvaldsconfig SGI_IP32
417cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4181da177e4SLinus Torvalds	select ARC
4191da177e4SLinus Torvalds	select ARC32
4201da177e4SLinus Torvalds	select BOOT_ELF32
4211da177e4SLinus Torvalds	select DMA_NONCOHERENT
4221da177e4SLinus Torvalds	select HW_HAS_PCI
4231da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4241da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4257cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4267cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4277cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
428dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
429ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4305e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4311da177e4SLinus Torvalds	help
4321da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4331da177e4SLinus Torvalds
4349a6dcea1SAndrew Isaacsonconfig SIBYTE_BIGSUR
4353fa986faSMartin Michlmayr	bool "Sibyte BCM91480B-BigSur"
4369a6dcea1SAndrew Isaacson	select BOOT_ELF32
4379a6dcea1SAndrew Isaacson	select DMA_COHERENT
438130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_4
4397cf8053bSRalf Baechle	select PCI_DOMAINS
4409a6dcea1SAndrew Isaacson	select SIBYTE_BCM1x80
4419a6dcea1SAndrew Isaacson	select SWAP_IO_SPACE
4427cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4439a6dcea1SAndrew Isaacson	select SYS_SUPPORTS_BIG_ENDIAN
4449a6dcea1SAndrew Isaacson	select SYS_SUPPORTS_LITTLE_ENDIAN
4459a6dcea1SAndrew Isaacson
4465e83d430SRalf Baechleconfig SIBYTE_SWARM
4473fa986faSMartin Michlmayr	bool "Sibyte BCM91250A-SWARM"
4485e83d430SRalf Baechle	select BOOT_ELF32
4495e83d430SRalf Baechle	select DMA_COHERENT
450130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
4515e83d430SRalf Baechle	select SIBYTE_SB1250
4525e83d430SRalf Baechle	select SWAP_IO_SPACE
4537cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4545e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4555e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
456cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
4575e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
458e3ad1c23SPete Popov
4595e83d430SRalf Baechleconfig SIBYTE_SENTOSA
4603fa986faSMartin Michlmayr	bool "Sibyte BCM91250E-Sentosa"
4615e83d430SRalf Baechle	depends on EXPERIMENTAL
4625e83d430SRalf Baechle	select BOOT_ELF32
4635e83d430SRalf Baechle	select DMA_COHERENT
464130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
4655e83d430SRalf Baechle	select SIBYTE_SB1250
4665e83d430SRalf Baechle	select SWAP_IO_SPACE
4677cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4685e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4695e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4705e83d430SRalf Baechle
4715e83d430SRalf Baechleconfig SIBYTE_RHONE
4723fa986faSMartin Michlmayr	bool "Sibyte BCM91125E-Rhone"
4735e83d430SRalf Baechle	depends on EXPERIMENTAL
4745e83d430SRalf Baechle	select BOOT_ELF32
4755e83d430SRalf Baechle	select DMA_COHERENT
4765e83d430SRalf Baechle	select SIBYTE_BCM1125H
4775e83d430SRalf Baechle	select SWAP_IO_SPACE
4787cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4795e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4805e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4815e83d430SRalf Baechle
4825e83d430SRalf Baechleconfig SIBYTE_CARMEL
4833fa986faSMartin Michlmayr	bool "Sibyte BCM91120x-Carmel"
4845e83d430SRalf Baechle	depends on EXPERIMENTAL
4855e83d430SRalf Baechle	select BOOT_ELF32
4865e83d430SRalf Baechle	select DMA_COHERENT
4875e83d430SRalf Baechle	select SIBYTE_BCM1120
4885e83d430SRalf Baechle	select SWAP_IO_SPACE
4897cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4905e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4915e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4925e83d430SRalf Baechle
4935e83d430SRalf Baechleconfig SIBYTE_PTSWARM
4943fa986faSMartin Michlmayr	bool "Sibyte BCM91250PT-PTSWARM"
4955e83d430SRalf Baechle	depends on EXPERIMENTAL
4965e83d430SRalf Baechle	select BOOT_ELF32
4975e83d430SRalf Baechle	select DMA_COHERENT
498130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
4995e83d430SRalf Baechle	select SIBYTE_SB1250
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_HIGHMEM
5045e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5055e83d430SRalf Baechle
5065e83d430SRalf Baechleconfig SIBYTE_LITTLESUR
5073fa986faSMartin Michlmayr	bool "Sibyte BCM91250C2-LittleSur"
5085e83d430SRalf Baechle	depends on EXPERIMENTAL
5095e83d430SRalf Baechle	select BOOT_ELF32
5105e83d430SRalf Baechle	select DMA_COHERENT
511130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
5125e83d430SRalf Baechle	select SIBYTE_SB1250
5135e83d430SRalf Baechle	select SWAP_IO_SPACE
5147cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5155e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5165e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5175e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5185e83d430SRalf Baechle
5195e83d430SRalf Baechleconfig SIBYTE_CRHINE
5203fa986faSMartin Michlmayr	bool "Sibyte BCM91120C-CRhine"
5215e83d430SRalf Baechle	depends on EXPERIMENTAL
5225e83d430SRalf Baechle	select BOOT_ELF32
5235e83d430SRalf Baechle	select DMA_COHERENT
5245e83d430SRalf Baechle	select SIBYTE_BCM1120
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_LITTLE_ENDIAN
5295e83d430SRalf Baechle
5305e83d430SRalf Baechleconfig SIBYTE_CRHONE
5313fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
5325e83d430SRalf Baechle	depends on EXPERIMENTAL
5335e83d430SRalf Baechle	select BOOT_ELF32
5345e83d430SRalf Baechle	select DMA_COHERENT
5355e83d430SRalf Baechle	select SIBYTE_BCM1125
5365e83d430SRalf Baechle	select SWAP_IO_SPACE
5377cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5385e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5395e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5405e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5415e83d430SRalf Baechle
54214b36af4SThomas Bogendoerferconfig SNI_RM
54314b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5444a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5454a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
5465e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5475e83d430SRalf Baechle	select BOOT_ELF32
5485e83d430SRalf Baechle	select DMA_NONCOHERENT
5495e83d430SRalf Baechle	select GENERIC_ISA_DMA
5505e83d430SRalf Baechle	select HW_HAS_EISA
5515e83d430SRalf Baechle	select HW_HAS_PCI
552c066a32aSThomas Bogendoerfer	select IRQ_CPU
553e5c6c8e4SMichael Neuling	select I8253
5545e83d430SRalf Baechle	select I8259
5555e83d430SRalf Baechle	select ISA
5564a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5577cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5584a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
559c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5604a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
56136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
562ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5635e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5644a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5655e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5665e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5671da177e4SLinus Torvalds	help
56814b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
56914b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5705e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5715e83d430SRalf Baechle	  support this machine type.
5721da177e4SLinus Torvalds
5735e83d430SRalf Baechleconfig TOSHIBA_JMR3927
5743fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
5755e83d430SRalf Baechle	select DMA_NONCOHERENT
5765e83d430SRalf Baechle	select HW_HAS_PCI
5775e83d430SRalf Baechle	select MIPS_TX3927
5785e83d430SRalf Baechle	select SWAP_IO_SPACE
5797cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
5805e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5816a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5825e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5832127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5845e83d430SRalf Baechle
5855e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
5863fa986faSMartin Michlmayr	bool "Toshiba TBTX49[23]7 board"
5875e83d430SRalf Baechle	select DMA_NONCOHERENT
5885e83d430SRalf Baechle	select HAS_TXX9_SERIAL
5895e83d430SRalf Baechle	select HW_HAS_PCI
5905e83d430SRalf Baechle	select I8259
5915e83d430SRalf Baechle	select SWAP_IO_SPACE
5927cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
5935e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5945e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
5956a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
5965e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
597cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
5989fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
5995e83d430SRalf Baechle	help
6005e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
6015e83d430SRalf Baechle	  support this machine type
6021da177e4SLinus Torvalds
60323fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
6043fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
60523fbee9dSRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
60623fbee9dSRalf Baechle	select DMA_NONCOHERENT
60723fbee9dSRalf Baechle	select GENERIC_ISA_DMA
60823fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
60923fbee9dSRalf Baechle	select HW_HAS_PCI
61023fbee9dSRalf Baechle	select I8259
61123fbee9dSRalf Baechle	select SWAP_IO_SPACE
6127cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
61323fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
61423fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
61523fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
616cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6179fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
61823fbee9dSRalf Baechle	help
61923fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
62023fbee9dSRalf Baechle	  support this machine type
62123fbee9dSRalf Baechle
6221da177e4SLinus Torvaldsendchoice
6231da177e4SLinus Torvalds
624c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6255e83d430SRalf Baechlesource "arch/mips/ddb5xxx/Kconfig"
6265e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6275e83d430SRalf Baechlesource "arch/mips/lasat/Kconfig"
6285e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
62929c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
63038b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6315e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
63223fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6335e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
634bdf21b18SPete Popovsource "arch/mips/philips/pnx8550/common/Kconfig"
63538b18f72SRalf Baechle
6365e83d430SRalf Baechleendmenu
6375e83d430SRalf Baechle
6381da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6391da177e4SLinus Torvalds	bool
6401da177e4SLinus Torvalds	default y
6411da177e4SLinus Torvalds
6421da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6431da177e4SLinus Torvalds	bool
6441da177e4SLinus Torvalds
645f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
646f0d1b0b3SDavid Howells	bool
647f0d1b0b3SDavid Howells	default n
648f0d1b0b3SDavid Howells
649f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
650f0d1b0b3SDavid Howells	bool
651f0d1b0b3SDavid Howells	default n
652f0d1b0b3SDavid Howells
6533c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6543c9ee7efSAkinobu Mita	bool
6553c9ee7efSAkinobu Mita	default y
6563c9ee7efSAkinobu Mita
6573c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6583c9ee7efSAkinobu Mita	bool
6593c9ee7efSAkinobu Mita	default y
6603c9ee7efSAkinobu Mita
6611da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
6621da177e4SLinus Torvalds	bool
6631da177e4SLinus Torvalds	default y
6641da177e4SLinus Torvalds
6658db02010SRalf Baechleconfig GENERIC_TIME
6668db02010SRalf Baechle	bool
6678db02010SRalf Baechle	default y
6688db02010SRalf Baechle
6691cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
6701cc89038SAtsushi Nemoto	bool
6711cc89038SAtsushi Nemoto	default y
6721cc89038SAtsushi Nemoto
673e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
674e77c232cSFranck Bui-Huu	bool
675e77c232cSFranck Bui-Huu	default n
676e77c232cSFranck Bui-Huu
6771da177e4SLinus Torvalds#
6781da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
6791da177e4SLinus Torvalds#
6801da177e4SLinus Torvaldsconfig ARC
6811da177e4SLinus Torvalds	bool
6821da177e4SLinus Torvalds
68361ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
68461ed242dSRalf Baechle	bool
68561ed242dSRalf Baechle
6861da177e4SLinus Torvaldsconfig DMA_COHERENT
6871da177e4SLinus Torvalds	bool
6881da177e4SLinus Torvalds
6891da177e4SLinus Torvaldsconfig DMA_IP27
6901da177e4SLinus Torvalds	bool
6911da177e4SLinus Torvalds
6924ce588cdSRalf Baechleconfig DMA_IP32
6934ce588cdSRalf Baechle	bool
6944ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
6954ce588cdSRalf Baechle
6961da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
6971da177e4SLinus Torvalds	bool
6984ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
6994ce588cdSRalf Baechle
7004ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7014ce588cdSRalf Baechle	bool
7021da177e4SLinus Torvalds
7031da177e4SLinus Torvaldsconfig EARLY_PRINTK
70436a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
70536a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
70636a88530SRalf Baechle	default y
70736a88530SRalf Baechle	help
70836a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
70936a88530SRalf Baechle	  to print messages very early in the bootup process.
71036a88530SRalf Baechle
71136a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
712490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
713490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
714490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
71536a88530SRalf Baechle	  unless you want to debug such a crash.
71636a88530SRalf Baechle
71736a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7181da177e4SLinus Torvalds	bool
7191da177e4SLinus Torvalds
7201da177e4SLinus Torvaldsconfig GENERIC_ISA_DMA
7211da177e4SLinus Torvalds	bool
72205502339SAtsushi Nemoto	select ZONE_DMA
7231da177e4SLinus Torvalds
7241da177e4SLinus Torvaldsconfig I8259
7251da177e4SLinus Torvalds	bool
7261da177e4SLinus Torvalds
7271da177e4SLinus Torvaldsconfig MIPS_BONITO64
7281da177e4SLinus Torvalds	bool
7291da177e4SLinus Torvalds
7301da177e4SLinus Torvaldsconfig MIPS_MSC
7311da177e4SLinus Torvalds	bool
7321da177e4SLinus Torvalds
7331da177e4SLinus Torvaldsconfig MIPS_NILE4
7341da177e4SLinus Torvalds	bool
7351da177e4SLinus Torvalds
7361da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7371da177e4SLinus Torvalds	bool
7381da177e4SLinus Torvalds
739d388d685SMaciej W. Rozyckiconfig NO_IOPORT
740d388d685SMaciej W. Rozycki	def_bool n
741d388d685SMaciej W. Rozycki
742aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
743aa414dffSRalf Baechle	bool
74405502339SAtsushi Nemoto	select ZONE_DMA
745aa414dffSRalf Baechle
74609663335SYoichi Yuasaconfig GENERIC_GPIO
74709663335SYoichi Yuasa	bool
74809663335SYoichi Yuasa
7495e83d430SRalf Baechle#
7503cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
7515e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
7525e83d430SRalf Baechle# choice statement should be more obvious to the user.
7535e83d430SRalf Baechle#
7545e83d430SRalf Baechlechoice
7555e83d430SRalf Baechle	prompt "Endianess selection"
7561da177e4SLinus Torvalds	help
7571da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
7585e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
7593cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
7605e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
7613dde6ad8SDavid Sterba	  one or the other endianness.
7625e83d430SRalf Baechle
7635e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
7645e83d430SRalf Baechle	bool "Big endian"
7655e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
7665e83d430SRalf Baechle
7675e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
7685e83d430SRalf Baechle	bool "Little endian"
7695e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
7705e83d430SRalf Baechle	help
7715e83d430SRalf Baechle
7725e83d430SRalf Baechleendchoice
7735e83d430SRalf Baechle
7742116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
7752116245eSRalf Baechle	bool
7762116245eSRalf Baechle
7775e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
7785e83d430SRalf Baechle	bool
7795e83d430SRalf Baechle
7805e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
7815e83d430SRalf Baechle	bool
7821da177e4SLinus Torvalds
7831da177e4SLinus Torvaldsconfig IRQ_CPU
7841da177e4SLinus Torvalds	bool
7851da177e4SLinus Torvalds
7861da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
7871da177e4SLinus Torvalds	bool
7881da177e4SLinus Torvalds
7895e83d430SRalf Baechleconfig IRQ_CPU_RM9K
7905e83d430SRalf Baechle	bool
7915e83d430SRalf Baechle
7921da177e4SLinus Torvaldsconfig IRQ_MV64340
7931da177e4SLinus Torvalds	bool
7941da177e4SLinus Torvalds
7951da177e4SLinus Torvaldsconfig DDB5XXX_COMMON
7961da177e4SLinus Torvalds	bool
797cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
7981da177e4SLinus Torvalds
7991da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8001da177e4SLinus Torvalds	bool
8011da177e4SLinus Torvalds
802252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8031da177e4SLinus Torvalds	bool
8041da177e4SLinus Torvalds
8051da177e4SLinus Torvaldsconfig MIPS_TX3927
8061da177e4SLinus Torvalds	bool
8071da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
8081da177e4SLinus Torvalds
809663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
810663c3d90Sthomas@koeller.dyndns.org	bool
811663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
812663c3d90Sthomas@koeller.dyndns.org
8131da177e4SLinus Torvaldsconfig PCI_MARVELL
8141da177e4SLinus Torvalds	bool
8151da177e4SLinus Torvalds
816bdf21b18SPete Popovconfig PNX8550
817bdf21b18SPete Popov	bool
818bdf21b18SPete Popov	select SOC_PNX8550
819bdf21b18SPete Popov
820bdf21b18SPete Popovconfig SOC_PNX8550
821bdf21b18SPete Popov	bool
822bdf21b18SPete Popov	select DMA_NONCOHERENT
823bdf21b18SPete Popov	select HW_HAS_PCI
824b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
82536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8267cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
827e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
828cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8294ead1681SFlorian Fainelli	select GENERIC_GPIO
830bdf21b18SPete Popov
8311da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8321da177e4SLinus Torvalds	bool
8331da177e4SLinus Torvalds
834355c471fSdmitry pervushinconfig EMMA2RH
835355c471fSdmitry pervushin	bool
836355c471fSdmitry pervushin	depends on MARKEINS
837355c471fSdmitry pervushin	default y
838355c471fSdmitry pervushin
839663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
840663c3d90Sthomas@koeller.dyndns.org	bool
841663c3d90Sthomas@koeller.dyndns.org
8421da177e4SLinus Torvalds#
8431da177e4SLinus Torvalds# Unfortunately not all GT64120 systems run the chip at the same clock.
8441da177e4SLinus Torvalds# As the user for the clock rate and try to minimize the available options.
8451da177e4SLinus Torvalds#
8461da177e4SLinus Torvaldschoice
8471da177e4SLinus Torvalds	prompt "Galileo Chip Clock"
8486b5bf509SYoichi Yuasa	depends on MOMENCO_OCELOT
8491e54f778SFranck Bui-Huu	default SYSCLK_100 if MOMENCO_OCELOT
8501da177e4SLinus Torvalds
8511da177e4SLinus Torvaldsconfig SYSCLK_100
8526b5bf509SYoichi Yuasa	bool "100" if MOMENCO_OCELOT
8531da177e4SLinus Torvalds
8541da177e4SLinus Torvaldsendchoice
8551da177e4SLinus Torvalds
8565e83d430SRalf Baechleconfig ARC32
8575e83d430SRalf Baechle	bool
8585e83d430SRalf Baechle
8591da177e4SLinus Torvaldsconfig BOOT_ELF32
8601da177e4SLinus Torvalds	bool
8611da177e4SLinus Torvalds
8621da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
8631da177e4SLinus Torvalds	int
864c066a32aSThomas Bogendoerfer	default "4" if MACH_DECSTATION || SNI_RM
8651da177e4SLinus Torvalds	default "7" if SGI_IP27
8661da177e4SLinus Torvalds	default "5"
8671da177e4SLinus Torvalds
8681da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
8691da177e4SLinus Torvalds	bool
8701da177e4SLinus Torvalds
8711da177e4SLinus Torvaldsconfig ARC_CONSOLE
8721da177e4SLinus Torvalds	bool "ARC console support"
87336a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
8741da177e4SLinus Torvalds
8751da177e4SLinus Torvaldsconfig ARC_MEMORY
8761da177e4SLinus Torvalds	bool
87714b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
8781da177e4SLinus Torvalds	default y
8791da177e4SLinus Torvalds
8801da177e4SLinus Torvaldsconfig ARC_PROMLIB
8811da177e4SLinus Torvalds	bool
88214b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
8831da177e4SLinus Torvalds	default y
8841da177e4SLinus Torvalds
8851da177e4SLinus Torvaldsconfig ARC64
8861da177e4SLinus Torvalds	bool
8871da177e4SLinus Torvalds
8881da177e4SLinus Torvaldsconfig BOOT_ELF64
8891da177e4SLinus Torvalds	bool
8901da177e4SLinus Torvalds
8911da177e4SLinus Torvaldsmenu "CPU selection"
8921da177e4SLinus Torvalds
8931da177e4SLinus Torvaldschoice
8941da177e4SLinus Torvalds	prompt "CPU type"
8951da177e4SLinus Torvalds	default CPU_R4X00
8961da177e4SLinus Torvalds
897*2a21c730SFuxin Zhangconfig CPU_LOONGSON2
898*2a21c730SFuxin Zhang	bool "Loongson 2"
899*2a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
900*2a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
901*2a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
902*2a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
903*2a21c730SFuxin Zhang	help
904*2a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
905*2a21c730SFuxin Zhang	  with many extensions.
906*2a21c730SFuxin Zhang
9076e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9086e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9097cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
910f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9116e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
912797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
913ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9146e760c8dSRalf Baechle	help
9155e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9161e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9171e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9181e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9191e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9201e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9211e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9221e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9231e5f1caaSRalf Baechle	  performance.
9241e5f1caaSRalf Baechle
9251e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9261e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9277cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
928f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9291e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
930797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
931ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9321e5f1caaSRalf Baechle	help
9335e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9346e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9356e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9366e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9376e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9381da177e4SLinus Torvalds
9396e760c8dSRalf Baechleconfig CPU_MIPS64_R1
9406e760c8dSRalf Baechle	bool "MIPS64 Release 1"
9417cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
942f7062ddbSRalf Baechle	select CPU_HAS_LLSC
943797798c1SRalf Baechle	select CPU_HAS_PREFETCH
944ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
945ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
946ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9476e760c8dSRalf Baechle	help
9486e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9496e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9506e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9516e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9526e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9531e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
9541e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
9551e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
9561e5f1caaSRalf Baechle	  performance.
9571e5f1caaSRalf Baechle
9581e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
9591e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
9607cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
961f7062ddbSRalf Baechle	select CPU_HAS_LLSC
962797798c1SRalf Baechle	select CPU_HAS_PREFETCH
9631e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
9641e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
965ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9661e5f1caaSRalf Baechle	help
9671e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9681e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9691e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9701e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9711e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9721da177e4SLinus Torvalds
9731da177e4SLinus Torvaldsconfig CPU_R3000
9741da177e4SLinus Torvalds	bool "R3000"
9757cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
976f7062ddbSRalf Baechle	select CPU_HAS_WB
977ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
978797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9791da177e4SLinus Torvalds	help
9801da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
9811da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
9821da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
9831da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
9841da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
9851da177e4SLinus Torvalds	  try to recompile with R3000.
9861da177e4SLinus Torvalds
9871da177e4SLinus Torvaldsconfig CPU_TX39XX
9881da177e4SLinus Torvalds	bool "R39XX"
9897cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
990ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
9911da177e4SLinus Torvalds
9921da177e4SLinus Torvaldsconfig CPU_VR41XX
9931da177e4SLinus Torvalds	bool "R41xx"
9947cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
995ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
996ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
9971da177e4SLinus Torvalds	help
9985e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
9991da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
10001da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10011da177e4SLinus Torvalds	  processor or vice versa.
10021da177e4SLinus Torvalds
10031da177e4SLinus Torvaldsconfig CPU_R4300
10041da177e4SLinus Torvalds	bool "R4300"
10057cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1006f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1007ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1008ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10091da177e4SLinus Torvalds	help
10101da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10111da177e4SLinus Torvalds
10121da177e4SLinus Torvaldsconfig CPU_R4X00
10131da177e4SLinus Torvalds	bool "R4x00"
10147cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1015f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1016ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1017ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10181da177e4SLinus Torvalds	help
10191da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10201da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10211da177e4SLinus Torvalds
10221da177e4SLinus Torvaldsconfig CPU_TX49XX
10231da177e4SLinus Torvalds	bool "R49XX"
10247cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1025f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1026de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1027ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1028ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10291da177e4SLinus Torvalds
10301da177e4SLinus Torvaldsconfig CPU_R5000
10311da177e4SLinus Torvalds	bool "R5000"
10327cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1033f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1034ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1035ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10361da177e4SLinus Torvalds	help
10371da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
10381da177e4SLinus Torvalds
10391da177e4SLinus Torvaldsconfig CPU_R5432
10401da177e4SLinus Torvalds	bool "R5432"
10417cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1042f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10435e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10445e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
10451da177e4SLinus Torvalds
10461da177e4SLinus Torvaldsconfig CPU_R6000
10471da177e4SLinus Torvalds	bool "R6000"
1048ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1049f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10507cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1051ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10521da177e4SLinus Torvalds	help
10531da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1054c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
10551da177e4SLinus Torvalds
10561da177e4SLinus Torvaldsconfig CPU_NEVADA
10571da177e4SLinus Torvalds	bool "RM52xx"
10587cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1059f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1060ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1061ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10621da177e4SLinus Torvalds	help
10631da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
10641da177e4SLinus Torvalds
10651da177e4SLinus Torvaldsconfig CPU_R8000
10661da177e4SLinus Torvalds	bool "R8000"
1067ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
10687cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1069f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10705e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1071ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10721da177e4SLinus Torvalds	help
10731da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
10741da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
10751da177e4SLinus Torvalds
10761da177e4SLinus Torvaldsconfig CPU_R10000
10771da177e4SLinus Torvalds	bool "R10000"
10787cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1079f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10805e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1081ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1082ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1083797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10841da177e4SLinus Torvalds	help
10851da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
10861da177e4SLinus Torvalds
10871da177e4SLinus Torvaldsconfig CPU_RM7000
10881da177e4SLinus Torvalds	bool "RM7000"
10897cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1090f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10915e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1092ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1093ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1094797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10951da177e4SLinus Torvalds
10961da177e4SLinus Torvaldsconfig CPU_RM9000
10971da177e4SLinus Torvalds	bool "RM9000"
10987cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1099f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11005e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1101ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1102ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1103797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11040004a9dfSRalf Baechle	select WEAK_ORDERING
11051da177e4SLinus Torvalds
11061da177e4SLinus Torvaldsconfig CPU_SB1
11071da177e4SLinus Torvalds	bool "SB1"
11087cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1109f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1110ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1111ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1112797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11130004a9dfSRalf Baechle	select WEAK_ORDERING
11141da177e4SLinus Torvalds
11151da177e4SLinus Torvaldsendchoice
11161da177e4SLinus Torvalds
1117*2a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
1118*2a21c730SFuxin Zhang	bool
1119*2a21c730SFuxin Zhang
11207cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11217cf8053bSRalf Baechle	bool
11227cf8053bSRalf Baechle
11237cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11247cf8053bSRalf Baechle	bool
11257cf8053bSRalf Baechle
11267cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11277cf8053bSRalf Baechle	bool
11287cf8053bSRalf Baechle
11297cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
11307cf8053bSRalf Baechle	bool
11317cf8053bSRalf Baechle
11327cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
11337cf8053bSRalf Baechle	bool
11347cf8053bSRalf Baechle
11357cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
11367cf8053bSRalf Baechle	bool
11377cf8053bSRalf Baechle
11387cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
11397cf8053bSRalf Baechle	bool
11407cf8053bSRalf Baechle
11417cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
11427cf8053bSRalf Baechle	bool
11437cf8053bSRalf Baechle
11447cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
11457cf8053bSRalf Baechle	bool
11467cf8053bSRalf Baechle
11477cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
11487cf8053bSRalf Baechle	bool
11497cf8053bSRalf Baechle
11507cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
11517cf8053bSRalf Baechle	bool
11527cf8053bSRalf Baechle
11537cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
11547cf8053bSRalf Baechle	bool
11557cf8053bSRalf Baechle
11567cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
11577cf8053bSRalf Baechle	bool
11587cf8053bSRalf Baechle
11597cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
11607cf8053bSRalf Baechle	bool
11617cf8053bSRalf Baechle
11627cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
11637cf8053bSRalf Baechle	bool
11647cf8053bSRalf Baechle
11657cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
11667cf8053bSRalf Baechle	bool
11677cf8053bSRalf Baechle
11687cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
11697cf8053bSRalf Baechle	bool
11707cf8053bSRalf Baechle
11717cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
11727cf8053bSRalf Baechle	bool
11737cf8053bSRalf Baechle
11747cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
11757cf8053bSRalf Baechle	bool
11767cf8053bSRalf Baechle
11770004a9dfSRalf Baechleconfig WEAK_ORDERING
11780004a9dfSRalf Baechle	bool
11795e83d430SRalf Baechleendmenu
11805e83d430SRalf Baechle
11815e83d430SRalf Baechle#
11825e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
11835e83d430SRalf Baechle#
11845e83d430SRalf Baechleconfig CPU_MIPS32
11855e83d430SRalf Baechle	bool
11865e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
11875e83d430SRalf Baechle
11885e83d430SRalf Baechleconfig CPU_MIPS64
11895e83d430SRalf Baechle	bool
11905e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
11915e83d430SRalf Baechle
11925e83d430SRalf Baechle#
1193c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
11945e83d430SRalf Baechle#
11955e83d430SRalf Baechleconfig CPU_MIPSR1
11965e83d430SRalf Baechle	bool
11975e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
11985e83d430SRalf Baechle
11995e83d430SRalf Baechleconfig CPU_MIPSR2
12005e83d430SRalf Baechle	bool
12015e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
12025e83d430SRalf Baechle
12035e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
12045e83d430SRalf Baechle	bool
12055e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12065e83d430SRalf Baechle	bool
12075e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12085e83d430SRalf Baechle	bool
12095e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12105e83d430SRalf Baechle	bool
12115e83d430SRalf Baechle
12125e83d430SRalf Baechlemenu "Kernel type"
12135e83d430SRalf Baechle
12145e83d430SRalf Baechlechoice
12155e83d430SRalf Baechle
12165e83d430SRalf Baechle	prompt "Kernel code model"
12175e83d430SRalf Baechle	help
12185e83d430SRalf Baechle	  You should only select this option if you have a workload that
12195e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
12205e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
12215e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
12225e83d430SRalf Baechle
12235e83d430SRalf Baechleconfig 32BIT
12245e83d430SRalf Baechle	bool "32-bit kernel"
12255e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
12265e83d430SRalf Baechle	select TRAD_SIGNALS
12275e83d430SRalf Baechle	help
12285e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
12295e83d430SRalf Baechleconfig 64BIT
12305e83d430SRalf Baechle	bool "64-bit kernel"
12315e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
12325e83d430SRalf Baechle	help
12335e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
12345e83d430SRalf Baechle
12355e83d430SRalf Baechleendchoice
12365e83d430SRalf Baechle
12371da177e4SLinus Torvaldschoice
12381da177e4SLinus Torvalds	prompt "Kernel page size"
12391da177e4SLinus Torvalds	default PAGE_SIZE_4KB
12401da177e4SLinus Torvalds
12411da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
12421da177e4SLinus Torvalds	bool "4kB"
12431da177e4SLinus Torvalds	help
12441da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
12451da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
12461da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
12471da177e4SLinus Torvalds	 recommended for low memory systems.
12481da177e4SLinus Torvalds
12491da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
12501da177e4SLinus Torvalds	bool "8kB"
12511da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
12521da177e4SLinus Torvalds	help
12531da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
12541da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
12551da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
12561da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
12571da177e4SLinus Torvalds	  compatibility of user applications.
12581da177e4SLinus Torvalds
12591da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
12601da177e4SLinus Torvalds	bool "16kB"
1261714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
12621da177e4SLinus Torvalds	help
12631da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
12641da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1265714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1266714bfad6SRalf Baechle	  Linux distribution to support this.
12671da177e4SLinus Torvalds
12681da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
12691da177e4SLinus Torvalds	bool "64kB"
12701da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
12711da177e4SLinus Torvalds	help
12721da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
12731da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
12741da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1275714bfad6SRalf Baechle	  writing this option is still high experimental.
12761da177e4SLinus Torvalds
12771da177e4SLinus Torvaldsendchoice
12781da177e4SLinus Torvalds
12791da177e4SLinus Torvaldsconfig BOARD_SCACHE
12801da177e4SLinus Torvalds	bool
12811da177e4SLinus Torvalds
12821da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
12831da177e4SLinus Torvalds	bool
12841da177e4SLinus Torvalds	select BOARD_SCACHE
12851da177e4SLinus Torvalds
12869318c51aSChris Dearman#
12879318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
12889318c51aSChris Dearman#
12899318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
12909318c51aSChris Dearman	bool
12919318c51aSChris Dearman	select BOARD_SCACHE
12929318c51aSChris Dearman
12931da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
12941da177e4SLinus Torvalds	bool
12951da177e4SLinus Torvalds	select BOARD_SCACHE
12961da177e4SLinus Torvalds
12971da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
12981da177e4SLinus Torvalds	bool
12991da177e4SLinus Torvalds	select BOARD_SCACHE
13001da177e4SLinus Torvalds
13011da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
13021da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
13031da177e4SLinus Torvalds	depends on CPU_SB1
13041da177e4SLinus Torvalds	help
13051da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13061da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13071da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13081da177e4SLinus Torvalds
13091da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1310c8094b53SRalf Baechle	bool
13111da177e4SLinus Torvalds
1312340ee4b9SRalf Baechlechoice
1313340ee4b9SRalf Baechle	prompt "MIPS MT options"
1314f41ae0b2SRalf Baechle
1315f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1316f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1317f41ae0b2SRalf Baechle	help
1318f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1319f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1320f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1321f41ae0b2SRalf Baechle	  option in this menu.
1322340ee4b9SRalf Baechle
132359d6ab86SRalf Baechleconfig MIPS_MT_SMP
132459d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
132559d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
132659d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1327d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
132859d6ab86SRalf Baechle	select CPU_MIPSR2_SRS
132959d6ab86SRalf Baechle	select MIPS_MT
1330f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
133159d6ab86SRalf Baechle	select SMP
133259d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
133359d6ab86SRalf Baechle	help
133459d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
133559d6ab86SRalf Baechle	  has been marketesed into SMVP.
133659d6ab86SRalf Baechle
133741c594abSRalf Baechleconfig MIPS_MT_SMTC
133841c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1339f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1340f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1341f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1342f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1343d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1344f7062ddbSRalf Baechle	select CPU_MIPSR2_SRS
1345f41ae0b2SRalf Baechle	select MIPS_MT
1346130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
134741c594abSRalf Baechle	select SMP
134873b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1349f41ae0b2SRalf Baechle	help
1350f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1351f41ae0b2SRalf Baechle	  marketesed into SMVP.
135241c594abSRalf Baechle
1353e01402b1SRalf Baechleconfig MIPS_VPE_LOADER
1354e01402b1SRalf Baechle	bool "VPE loader support."
1355f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1356d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_VI
1357d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1358b0c10b9fSRalf Baechle	select CPU_MIPSR2_SRS
1359f41ae0b2SRalf Baechle	select MIPS_MT
1360e01402b1SRalf Baechle	help
1361e01402b1SRalf Baechle	  Includes a loader for loading an elf relocatable object
1362e01402b1SRalf Baechle	  onto another VPE and running it.
1363e01402b1SRalf Baechle
1364340ee4b9SRalf Baechleendchoice
1365340ee4b9SRalf Baechle
1366f41ae0b2SRalf Baechleconfig MIPS_MT
1367f41ae0b2SRalf Baechle	bool
1368f41ae0b2SRalf Baechle
1369f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1370f41ae0b2SRalf Baechle	bool
1371f41ae0b2SRalf Baechle
1372f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1373f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1374f088fc84SRalf Baechle	depends on MIPS_MT
1375f088fc84SRalf Baechle	default y
1376f088fc84SRalf Baechle
1377ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1378ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1379619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1380ac8be955SRalf Baechle	default y
1381ac8be955SRalf Baechle	help
1382ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1383ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1384ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1385ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1386ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1387ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1388ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1389ac8be955SRalf Baechle	  heavy I/O interrupt load.
1390ac8be955SRalf Baechle
1391e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1392e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1393e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1394e01402b1SRalf Baechle	default y
1395e01402b1SRalf Baechle	help
1396e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1397e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1398e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1399e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1400e01402b1SRalf Baechle
1401e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1402e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1403e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1404e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
14055e83d430SRalf Baechle	help
1406e01402b1SRalf Baechle
14072600990eSRalf Baechleconfig MIPS_APSP_KSPD
14082600990eSRalf Baechle	bool "Enable KSPD"
14092600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
14102600990eSRalf Baechle	default y
14112600990eSRalf Baechle	help
14122600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
14132600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
14142600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
14152600990eSRalf Baechle	  exiting.  You probably want to say yes here.
14162600990eSRalf Baechle
14171da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
14181da177e4SLinus Torvalds	bool
14191da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
14201da177e4SLinus Torvalds	default y
14211da177e4SLinus Torvalds
14221da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
14231da177e4SLinus Torvalds	bool
14241da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
14251da177e4SLinus Torvalds	default y
14261da177e4SLinus Torvalds
14271da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
14281da177e4SLinus Torvalds	bool
14291da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
14301da177e4SLinus Torvalds	default y
14311da177e4SLinus Torvalds
14321da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
14331da177e4SLinus Torvalds	bool "Support for 64-bit physical address space"
1434948928adSRalf Baechle	depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT
14351da177e4SLinus Torvalds
14361da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1437f7062ddbSRalf Baechle	bool
14381da177e4SLinus Torvalds
14399693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
14409693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
14419693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
14429693a853SFranck Bui-Huu	help
14439693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
14449693a853SFranck Bui-Huu	  increased security at both hardware and software level for
14459693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
14469693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
14479693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
14489693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
14499693a853SFranck Bui-Huu	  here.
14509693a853SFranck Bui-Huu
14511da177e4SLinus Torvaldsconfig CPU_HAS_WB
1452f7062ddbSRalf Baechle	bool
1453e01402b1SRalf Baechle
1454*2a21c730SFuxin Zhangconfig 64BIT_CONTEXT
1455*2a21c730SFuxin Zhang	bool "Save 64bit integer registers"
1456*2a21c730SFuxin Zhang	depends on 32BIT && CPU_LOONGSON2
1457*2a21c730SFuxin Zhang	help
1458*2a21c730SFuxin Zhang	  Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
1459*2a21c730SFuxin Zhang	  registers can still be accessed as 64bit, mainly for multimedia
1460*2a21c730SFuxin Zhang	  instructions. We must have all 64bit save/restored to make sure
1461*2a21c730SFuxin Zhang	  those instructions to get correct result.
1462*2a21c730SFuxin Zhang
1463f41ae0b2SRalf Baechle#
1464f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1465f41ae0b2SRalf Baechle#
1466e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1467f41ae0b2SRalf Baechle	bool
1468e01402b1SRalf Baechle
1469f41ae0b2SRalf Baechle#
1470f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1471f41ae0b2SRalf Baechle#
1472e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1473f41ae0b2SRalf Baechle	bool
1474e01402b1SRalf Baechle
1475f41ae0b2SRalf Baechle#
1476f41ae0b2SRalf Baechle# Shadow registers are an R2 feature
1477f41ae0b2SRalf Baechle#
1478e01402b1SRalf Baechleconfig CPU_MIPSR2_SRS
1479f41ae0b2SRalf Baechle	bool
1480e01402b1SRalf Baechle
14811da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
14821da177e4SLinus Torvalds	bool
14831da177e4SLinus Torvalds	depends on !CPU_R3000
14841da177e4SLinus Torvalds	default y
14851da177e4SLinus Torvalds
14861da177e4SLinus Torvalds#
1487797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1488797798c1SRalf Baechle#
1489797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1490797798c1SRalf Baechle	bool
1491797798c1SRalf Baechle	default y
1492797798c1SRalf Baechle
1493797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1494797798c1SRalf Baechle	bool
1495797798c1SRalf Baechle	default y
1496797798c1SRalf Baechle
14970d7012a9SIngo Molnarconfig IRQ_PER_CPU
14980d7012a9SIngo Molnar	bool
14990d7012a9SIngo Molnar
1500797798c1SRalf Baechle#
15011da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
15021da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
15031da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
15041da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
15051da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
15061da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
15071da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
15081da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1509797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1510797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1511797798c1SRalf Baechle#   support.
15121da177e4SLinus Torvalds#
15131da177e4SLinus Torvaldsconfig HIGHMEM
15141da177e4SLinus Torvalds	bool "High Memory Support"
1515797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1516797798c1SRalf Baechle
1517797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1518797798c1SRalf Baechle	bool
1519797798c1SRalf Baechle
1520797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1521797798c1SRalf Baechle	bool
15221da177e4SLinus Torvalds
15239693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
15249693a853SFranck Bui-Huu	bool
15259693a853SFranck Bui-Huu
1526b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1527b4819b59SYoichi Yuasa	def_bool y
1528b4819b59SYoichi Yuasa	depends on !NUMA
1529b4819b59SYoichi Yuasa
1530d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1531d8cb4e11SRalf Baechle	bool
1532d8cb4e11SRalf Baechle	default y if SGI_IP27
1533d8cb4e11SRalf Baechle	help
15343dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1535d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1536d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1537d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1538d8cb4e11SRalf Baechle
1539b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1540b1c6cd42SAtsushi Nemoto	bool
15417de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
154231473747SAtsushi Nemoto
1543d8cb4e11SRalf Baechleconfig NUMA
1544d8cb4e11SRalf Baechle	bool "NUMA Support"
1545d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1546d8cb4e11SRalf Baechle	help
1547d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1548d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1549d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1550d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1551d8cb4e11SRalf Baechle	  disabled.
1552d8cb4e11SRalf Baechle
1553d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1554d8cb4e11SRalf Baechle	bool
1555d8cb4e11SRalf Baechle
1556c80d79d7SYasunori Gotoconfig NODES_SHIFT
1557c80d79d7SYasunori Goto	int
1558c80d79d7SYasunori Goto	default "6"
1559c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1560c80d79d7SYasunori Goto
1561b4819b59SYoichi Yuasasource "mm/Kconfig"
1562b4819b59SYoichi Yuasa
15631da177e4SLinus Torvaldsconfig SMP
15641da177e4SLinus Torvalds	bool "Multi-Processing support"
1565e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1566b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1567e73ea273SRalf Baechle	help
15681da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
15691da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
15701da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
15711da177e4SLinus Torvalds
15721da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
15731da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
15741da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
15751da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
15761da177e4SLinus Torvalds	  will run faster if you say N here.
15771da177e4SLinus Torvalds
15781da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
15791da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
15801da177e4SLinus Torvalds
15811da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
15821da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
15831da177e4SLinus Torvalds
15841da177e4SLinus Torvalds	  If you don't know what to do here, say N.
15851da177e4SLinus Torvalds
1586e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1587e73ea273SRalf Baechle	bool
1588e73ea273SRalf Baechle
158972ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
159072ede9b1SAtsushi Nemoto	bool
159172ede9b1SAtsushi Nemoto
1592130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1593130e2fb7SRalf Baechle	bool
1594130e2fb7SRalf Baechle
1595130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1596130e2fb7SRalf Baechle	bool
1597130e2fb7SRalf Baechle
1598130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1599130e2fb7SRalf Baechle	bool
1600130e2fb7SRalf Baechle
1601130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1602130e2fb7SRalf Baechle	bool
1603130e2fb7SRalf Baechle
1604130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1605130e2fb7SRalf Baechle	bool
1606130e2fb7SRalf Baechle
1607130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1608130e2fb7SRalf Baechle	bool
1609130e2fb7SRalf Baechle
16101da177e4SLinus Torvaldsconfig NR_CPUS
16111da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
161272ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
16131da177e4SLinus Torvalds	depends on SMP
161472ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1615130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1616130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1617130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1618130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1619130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1620130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
16211da177e4SLinus Torvalds	help
16221da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
16231da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
16241da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
162572ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
162672ede9b1SAtsushi Nemoto	  and 2 for all others.
16271da177e4SLinus Torvalds
16281da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
162972ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
163072ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
163172ede9b1SAtsushi Nemoto	  power of two.
16321da177e4SLinus Torvalds
16331723b4a3SAtsushi Nemoto#
16341723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
16351723b4a3SAtsushi Nemoto#
16361723b4a3SAtsushi Nemoto
16371723b4a3SAtsushi Nemotochoice
16381723b4a3SAtsushi Nemoto	prompt "Timer frequency"
16391723b4a3SAtsushi Nemoto	default HZ_250
16401723b4a3SAtsushi Nemoto	help
16411723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
16421723b4a3SAtsushi Nemoto
16431723b4a3SAtsushi Nemoto	config HZ_48
16441723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
16451723b4a3SAtsushi Nemoto
16461723b4a3SAtsushi Nemoto	config HZ_100
16471723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
16481723b4a3SAtsushi Nemoto
16491723b4a3SAtsushi Nemoto	config HZ_128
16501723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
16511723b4a3SAtsushi Nemoto
16521723b4a3SAtsushi Nemoto	config HZ_250
16531723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
16541723b4a3SAtsushi Nemoto
16551723b4a3SAtsushi Nemoto	config HZ_256
16561723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
16571723b4a3SAtsushi Nemoto
16581723b4a3SAtsushi Nemoto	config HZ_1000
16591723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
16601723b4a3SAtsushi Nemoto
16611723b4a3SAtsushi Nemoto	config HZ_1024
16621723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
16631723b4a3SAtsushi Nemoto
16641723b4a3SAtsushi Nemotoendchoice
16651723b4a3SAtsushi Nemoto
16661723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
16671723b4a3SAtsushi Nemoto	bool
16681723b4a3SAtsushi Nemoto
16691723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
16701723b4a3SAtsushi Nemoto	bool
16711723b4a3SAtsushi Nemoto
16721723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
16731723b4a3SAtsushi Nemoto	bool
16741723b4a3SAtsushi Nemoto
16751723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
16761723b4a3SAtsushi Nemoto	bool
16771723b4a3SAtsushi Nemoto
16781723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
16791723b4a3SAtsushi Nemoto	bool
16801723b4a3SAtsushi Nemoto
16811723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
16821723b4a3SAtsushi Nemoto	bool
16831723b4a3SAtsushi Nemoto
16841723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
16851723b4a3SAtsushi Nemoto	bool
16861723b4a3SAtsushi Nemoto
16871723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
16881723b4a3SAtsushi Nemoto	bool
16891723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
16901723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
16911723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
16921723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
16931723b4a3SAtsushi Nemoto
16941723b4a3SAtsushi Nemotoconfig HZ
16951723b4a3SAtsushi Nemoto	int
16961723b4a3SAtsushi Nemoto	default 48 if HZ_48
16971723b4a3SAtsushi Nemoto	default 100 if HZ_100
16981723b4a3SAtsushi Nemoto	default 128 if HZ_128
16991723b4a3SAtsushi Nemoto	default 250 if HZ_250
17001723b4a3SAtsushi Nemoto	default 256 if HZ_256
17011723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
17021723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
17031723b4a3SAtsushi Nemoto
1704e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
17051da177e4SLinus Torvalds
17061da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
17071da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1708875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
17091da177e4SLinus Torvalds	help
17101da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
17111da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
17121da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
17131da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
17141da177e4SLinus Torvalds	  recommended for normal users.
17151da177e4SLinus Torvalds
1716ea6e942bSAtsushi Nemotoconfig KEXEC
1717ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1718ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1719ea6e942bSAtsushi Nemoto	help
1720ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1721ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
17223dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1723ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1724ea6e942bSAtsushi Nemoto
1725ea6e942bSAtsushi Nemoto	  The name comes from the similiarity to the exec system call.
1726ea6e942bSAtsushi Nemoto
1727ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1728ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1729ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1730ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1731ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1732ea6e942bSAtsushi Nemoto
1733ea6e942bSAtsushi Nemotoconfig SECCOMP
1734ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1735ea6e942bSAtsushi Nemoto	depends on PROC_FS && BROKEN
1736ea6e942bSAtsushi Nemoto	default y
1737ea6e942bSAtsushi Nemoto	help
1738ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1739ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1740ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1741ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1742ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1743ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1744ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1745ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1746ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1747ea6e942bSAtsushi Nemoto
1748ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1749ea6e942bSAtsushi Nemoto
17505e83d430SRalf Baechleendmenu
17515e83d430SRalf Baechle
17521da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
17531da177e4SLinus Torvalds	bool
17541da177e4SLinus Torvalds	default y
17551da177e4SLinus Torvalds
17561df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
17571df0f0ffSAtsushi Nemoto	bool
17581df0f0ffSAtsushi Nemoto	default y
17591df0f0ffSAtsushi Nemoto
17601df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
17611df0f0ffSAtsushi Nemoto	bool
17621df0f0ffSAtsushi Nemoto	default y
17631df0f0ffSAtsushi Nemoto
1764b6c3539bSRalf Baechlesource "init/Kconfig"
1765b6c3539bSRalf Baechle
17661da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
17671da177e4SLinus Torvalds
17685e83d430SRalf Baechleconfig HW_HAS_EISA
17695e83d430SRalf Baechle	bool
17701da177e4SLinus Torvaldsconfig HW_HAS_PCI
17711da177e4SLinus Torvalds	bool
17721da177e4SLinus Torvalds
17731da177e4SLinus Torvaldsconfig PCI
17741da177e4SLinus Torvalds	bool "Support for PCI controller"
17751da177e4SLinus Torvalds	depends on HW_HAS_PCI
17761da177e4SLinus Torvalds	help
17771da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
17781da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
17791da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
17801da177e4SLinus Torvalds	  say Y, otherwise N.
17811da177e4SLinus Torvalds
17821da177e4SLinus Torvalds	  The PCI-HOWTO, available from
17831da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
17841da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
17851da177e4SLinus Torvalds	  doesn't.
17861da177e4SLinus Torvalds
17871da177e4SLinus Torvaldsconfig PCI_DOMAINS
17881da177e4SLinus Torvalds	bool
17891da177e4SLinus Torvalds	depends on PCI
17901da177e4SLinus Torvalds
17911da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
17921da177e4SLinus Torvalds
17931da177e4SLinus Torvalds#
17941da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
17951da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
17961da177e4SLinus Torvalds# users to choose the right thing ...
17971da177e4SLinus Torvalds#
17981da177e4SLinus Torvaldsconfig ISA
17991da177e4SLinus Torvalds	bool
18001da177e4SLinus Torvalds
18011da177e4SLinus Torvaldsconfig EISA
18021da177e4SLinus Torvalds	bool "EISA support"
18035e83d430SRalf Baechle	depends on HW_HAS_EISA
18041da177e4SLinus Torvalds	select ISA
1805aa414dffSRalf Baechle	select GENERIC_ISA_DMA
18061da177e4SLinus Torvalds	---help---
18071da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
18081da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
18091da177e4SLinus Torvalds
18101da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
18111da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
18121da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
18131da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
18141da177e4SLinus Torvalds
18151da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
18161da177e4SLinus Torvalds
18171da177e4SLinus Torvalds	  Otherwise, say N.
18181da177e4SLinus Torvalds
18191da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
18201da177e4SLinus Torvalds
18211da177e4SLinus Torvaldsconfig TC
18221da177e4SLinus Torvalds	bool "TURBOchannel support"
18231da177e4SLinus Torvalds	depends on MACH_DECSTATION
18241da177e4SLinus Torvalds	help
18251da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
18261da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
18271da177e4SLinus Torvalds	  is available at:
18281da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
18291da177e4SLinus Torvalds
18301da177e4SLinus Torvalds#config ACCESSBUS
18311da177e4SLinus Torvalds#	bool "Access.Bus support"
18321da177e4SLinus Torvalds#	depends on TC
18331da177e4SLinus Torvalds
18341da177e4SLinus Torvaldsconfig MMU
18351da177e4SLinus Torvalds	bool
18361da177e4SLinus Torvalds	default y
18371da177e4SLinus Torvalds
1838e5c6c8e4SMichael Neulingconfig I8253
1839e5c6c8e4SMichael Neuling	bool
1840e5c6c8e4SMichael Neuling
18411da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
18421da177e4SLinus Torvalds
18431da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
18441da177e4SLinus Torvalds
18451da177e4SLinus Torvaldsendmenu
18461da177e4SLinus Torvalds
18471da177e4SLinus Torvaldsmenu "Executable file formats"
18481da177e4SLinus Torvalds
18491da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
18501da177e4SLinus Torvalds
18511da177e4SLinus Torvaldsconfig TRAD_SIGNALS
18521da177e4SLinus Torvalds	bool
18531da177e4SLinus Torvalds
18541da177e4SLinus Torvaldsconfig BUILD_ELF64
18551da177e4SLinus Torvalds	bool "Use 64-bit ELF format for building"
1856875d43e7SRalf Baechle	depends on 64BIT
18571da177e4SLinus Torvalds	help
18581da177e4SLinus Torvalds	  A 64-bit kernel is usually built using the 64-bit ELF binary object
18591da177e4SLinus Torvalds	  format as it's one that allows arbitrary 64-bit constructs.  For
18601da177e4SLinus Torvalds	  kernels that are loaded within the KSEG compatibility segments the
18611da177e4SLinus Torvalds	  32-bit ELF format can optionally be used resulting in a somewhat
18621da177e4SLinus Torvalds	  smaller binary, but this option is not explicitly supported by the
18631da177e4SLinus Torvalds	  toolchain and since binutils 2.14 it does not even work at all.
18641da177e4SLinus Torvalds
18651da177e4SLinus Torvalds	  Say Y to use the 64-bit format or N to use the 32-bit one.
18661da177e4SLinus Torvalds
18671da177e4SLinus Torvalds	  If unsure say Y.
18681da177e4SLinus Torvalds
18691da177e4SLinus Torvaldsconfig BINFMT_IRIX
18701da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
18715e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
18721da177e4SLinus Torvalds
18731da177e4SLinus Torvaldsconfig MIPS32_COMPAT
18741da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1875875d43e7SRalf Baechle	depends on 64BIT
18761da177e4SLinus Torvalds	help
18771da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
18781da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
18791da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
18801da177e4SLinus Torvalds
18811da177e4SLinus Torvaldsconfig COMPAT
18821da177e4SLinus Torvalds	bool
18831da177e4SLinus Torvalds	depends on MIPS32_COMPAT
18841da177e4SLinus Torvalds	default y
18851da177e4SLinus Torvalds
188605e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
188705e43966SAtsushi Nemoto	bool
188805e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
188905e43966SAtsushi Nemoto	default y
189005e43966SAtsushi Nemoto
18911da177e4SLinus Torvaldsconfig MIPS32_O32
18921da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
18931da177e4SLinus Torvalds	depends on MIPS32_COMPAT
18941da177e4SLinus Torvalds	help
18951da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
18961da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
18971da177e4SLinus Torvalds	  existing binaries are in this format.
18981da177e4SLinus Torvalds
18991da177e4SLinus Torvalds	  If unsure, say Y.
19001da177e4SLinus Torvalds
19011da177e4SLinus Torvaldsconfig MIPS32_N32
19021da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
19031da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19041da177e4SLinus Torvalds	help
19051da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
19061da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
19071da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
19081da177e4SLinus Torvalds	  cases.
19091da177e4SLinus Torvalds
19101da177e4SLinus Torvalds	  If unsure, say N.
19111da177e4SLinus Torvalds
19121da177e4SLinus Torvaldsconfig BINFMT_ELF32
19131da177e4SLinus Torvalds	bool
19141da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
19151da177e4SLinus Torvalds
19162116245eSRalf Baechleendmenu
19171da177e4SLinus Torvalds
19182116245eSRalf Baechlemenu "Power management options"
1919952fa954SRodolfo Giometti
19202116245eSRalf Baechlesource "kernel/power/Kconfig"
1921952fa954SRodolfo Giometti
19221da177e4SLinus Torvaldsendmenu
19231da177e4SLinus Torvalds
1924d5950b43SSam Ravnborgsource "net/Kconfig"
1925d5950b43SSam Ravnborg
19261da177e4SLinus Torvaldssource "drivers/Kconfig"
19271da177e4SLinus Torvalds
19281da177e4SLinus Torvaldssource "fs/Kconfig"
19291da177e4SLinus Torvalds
19305e83d430SRalf Baechlesource "arch/mips/oprofile/Kconfig"
19315e83d430SRalf Baechle
19321da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
19331da177e4SLinus Torvalds
19341da177e4SLinus Torvaldssource "security/Kconfig"
19351da177e4SLinus Torvalds
19361da177e4SLinus Torvaldssource "crypto/Kconfig"
19371da177e4SLinus Torvalds
19381da177e4SLinus Torvaldssource "lib/Kconfig"
1939