xref: /linux/arch/mips/Kconfig (revision f6e2373ad6148476464fc7bb2610c6450c18cd2a)
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
6636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
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
911da177e4SLinus Torvaldsconfig MIPS_EV64120
923fa986faSMartin Michlmayr	bool "Galileo EV64120 Evaluation board (EXPERIMENTAL)"
931da177e4SLinus Torvalds	depends on EXPERIMENTAL
941da177e4SLinus Torvalds	select DMA_NONCOHERENT
951da177e4SLinus Torvalds	select HW_HAS_PCI
96252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
977cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
98ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
99ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1005e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
101cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
1021da177e4SLinus Torvalds	help
1031da177e4SLinus Torvalds	  This is an evaluation board based on the Galileo GT-64120
1041da177e4SLinus Torvalds	  single-chip system controller that contains a MIPS R5000 compatible
1051da177e4SLinus Torvalds	  core running at 75/100MHz.  Their website is located at
1061da177e4SLinus Torvalds	  <http://www.marvell.com/>.  Say Y here if you wish to build a
1071da177e4SLinus Torvalds	  kernel for this platform.
1081da177e4SLinus Torvalds
1095e83d430SRalf Baechleconfig MACH_JAZZ
1103fa986faSMartin Michlmayr	bool "Jazz family of machines"
1115e83d430SRalf Baechle	select ARC
1125e83d430SRalf Baechle	select ARC32
1135e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1145e83d430SRalf Baechle	select GENERIC_ISA_DMA
115e5c6c8e4SMichael Neuling	select I8253
1165e83d430SRalf Baechle	select I8259
1175e83d430SRalf Baechle	select ISA
1187cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1195e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1205e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1211723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1229fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1231da177e4SLinus Torvalds	help
1245e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1255e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1265e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1275e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1285e83d430SRalf Baechle
1295e83d430SRalf Baechleconfig LASAT
1303fa986faSMartin Michlmayr	bool "LASAT Networks platforms"
1315e83d430SRalf Baechle	select DMA_NONCOHERENT
13236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1335e83d430SRalf Baechle	select HW_HAS_PCI
134252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1355e83d430SRalf Baechle	select MIPS_NILE4
1365e83d430SRalf Baechle	select R5000_CPU_SCACHE
1377cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
1385e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
139080e948cSRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1405e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
141e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
1421da177e4SLinus Torvalds
1431da177e4SLinus Torvaldsconfig MIPS_ATLAS
1443fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1451da177e4SLinus Torvalds	select BOOT_ELF32
1461da177e4SLinus Torvalds	select DMA_NONCOHERENT
14736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1485e83d430SRalf Baechle	select IRQ_CPU
1491da177e4SLinus Torvalds	select HW_HAS_PCI
1505e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1515e83d430SRalf Baechle	select MIPS_BONITO64
152252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1535e83d430SRalf Baechle	select MIPS_MSC
154f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1551da177e4SLinus Torvalds	select SWAP_IO_SPACE
1567cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1577cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1587cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1597cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1607cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
161ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
162ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1635e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1645e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
165f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
1669693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
167e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
1681da177e4SLinus Torvalds	help
169f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
1701da177e4SLinus Torvalds	  board.
1711da177e4SLinus Torvalds
1721da177e4SLinus Torvaldsconfig MIPS_MALTA
1733fa986faSMartin Michlmayr	bool "MIPS Malta board"
17461ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1751da177e4SLinus Torvalds	select BOOT_ELF32
1761da177e4SLinus Torvalds	select HAVE_STD_PC_SERIAL_PORT
1771da177e4SLinus Torvalds	select DMA_NONCOHERENT
1781da177e4SLinus Torvalds	select GENERIC_ISA_DMA
179aa414dffSRalf Baechle	select IRQ_CPU
1801da177e4SLinus Torvalds	select HW_HAS_PCI
1811da177e4SLinus Torvalds	select I8259
1825e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1835e83d430SRalf Baechle	select MIPS_BONITO64
1849318c51aSChris Dearman	select MIPS_CPU_SCACHE
185252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1865e83d430SRalf Baechle	select MIPS_MSC
1871da177e4SLinus Torvalds	select SWAP_IO_SPACE
1887cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1897cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1907cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1917cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1927cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
19336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
194ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
195ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1965e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1975e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
198f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
1999693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2001da177e4SLinus Torvalds	help
201f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2021da177e4SLinus Torvalds	  board.
2031da177e4SLinus Torvalds
2041da177e4SLinus Torvaldsconfig MIPS_SEAD
2053fa986faSMartin Michlmayr	bool "MIPS SEAD board (EXPERIMENTAL)"
2061da177e4SLinus Torvalds	depends on EXPERIMENTAL
2071da177e4SLinus Torvalds	select IRQ_CPU
2081da177e4SLinus Torvalds	select DMA_NONCOHERENT
20936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2105e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2117cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2127cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2137cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
214ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2155e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2165e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2175e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2189693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
219f638d197SMaciej W. Rozycki	help
220f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
221f638d197SMaciej W. Rozycki	  board.
2221da177e4SLinus Torvalds
223a240a469SMark.Zhanconfig WR_PPMC
2249247857fSMark.Zhan	bool "Wind River PPMC board"
225a240a469SMark.Zhan	select IRQ_CPU
226a240a469SMark.Zhan	select BOOT_ELF32
227a240a469SMark.Zhan	select DMA_NONCOHERENT
228a240a469SMark.Zhan	select HW_HAS_PCI
229252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
230a240a469SMark.Zhan	select SWAP_IO_SPACE
231a240a469SMark.Zhan	select SYS_HAS_CPU_MIPS32_R1
232a240a469SMark.Zhan	select SYS_HAS_CPU_MIPS32_R2
233a240a469SMark.Zhan	select SYS_HAS_CPU_MIPS64_R1
234a240a469SMark.Zhan	select SYS_HAS_CPU_NEVADA
235a240a469SMark.Zhan	select SYS_HAS_CPU_RM7000
236a240a469SMark.Zhan	select SYS_SUPPORTS_32BIT_KERNEL
237a240a469SMark.Zhan	select SYS_SUPPORTS_64BIT_KERNEL
238a240a469SMark.Zhan	select SYS_SUPPORTS_BIG_ENDIAN
239a240a469SMark.Zhan	select SYS_SUPPORTS_LITTLE_ENDIAN
240a240a469SMark.Zhan	help
241a240a469SMark.Zhan	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
242a240a469SMark.Zhan	  board, which is based on GT64120 bridge chip.
243a240a469SMark.Zhan
244c78cbf49SRalf Baechleconfig MIPS_SIM
2453fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
246c78cbf49SRalf Baechle	select DMA_NONCOHERENT
24736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
248c78cbf49SRalf Baechle	select IRQ_CPU
2497cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2507cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
25136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
252c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
253c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
254*f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
255c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
256c78cbf49SRalf Baechle	help
257c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
258c78cbf49SRalf Baechle	  emulator.
259c78cbf49SRalf Baechle
2605e83d430SRalf Baechleconfig MOMENCO_OCELOT
2613fa986faSMartin Michlmayr	bool "Momentum Ocelot board"
2625e83d430SRalf Baechle	select DMA_NONCOHERENT
2631da177e4SLinus Torvalds	select HW_HAS_PCI
2641da177e4SLinus Torvalds	select IRQ_CPU
2651da177e4SLinus Torvalds	select IRQ_CPU_RM7K
266252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2675e83d430SRalf Baechle	select RM7000_CPU_SCACHE
2681da177e4SLinus Torvalds	select SWAP_IO_SPACE
2697cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
270ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
271ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2725e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
273cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
2741da177e4SLinus Torvalds	help
2755e83d430SRalf Baechle	  The Ocelot is a MIPS-based Single Board Computer (SBC) made by
2765e83d430SRalf Baechle	  Momentum Computer <http://www.momenco.com/>.
2771da177e4SLinus Torvalds
2785e83d430SRalf Baechleconfig MOMENCO_OCELOT_3
2793fa986faSMartin Michlmayr	bool "Momentum Ocelot-3 board"
2805e83d430SRalf Baechle	select BOOT_ELF32
2815e83d430SRalf Baechle	select DMA_NONCOHERENT
2825e83d430SRalf Baechle	select HW_HAS_PCI
2835e83d430SRalf Baechle	select IRQ_CPU
2845e83d430SRalf Baechle	select IRQ_CPU_RM7K
2855e83d430SRalf Baechle	select IRQ_MV64340
2865e83d430SRalf Baechle	select PCI_MARVELL
2875e83d430SRalf Baechle	select RM7000_CPU_SCACHE
2885e83d430SRalf Baechle	select SWAP_IO_SPACE
2897cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
2905e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
2915e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
2925e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2935e83d430SRalf Baechle	help
2945e83d430SRalf Baechle	  The Ocelot-3 is based off Discovery III System Controller and
2955e83d430SRalf Baechle	  PMC-Sierra Rm79000 core.
2965e83d430SRalf Baechle
2975e83d430SRalf Baechleconfig MOMENCO_OCELOT_C
2983fa986faSMartin Michlmayr	bool "Momentum Ocelot-C board"
2995e83d430SRalf Baechle	select DMA_NONCOHERENT
3005e83d430SRalf Baechle	select HW_HAS_PCI
3015e83d430SRalf Baechle	select IRQ_CPU
3025e83d430SRalf Baechle	select IRQ_MV64340
3035e83d430SRalf Baechle	select PCI_MARVELL
3045e83d430SRalf Baechle	select RM7000_CPU_SCACHE
3055e83d430SRalf Baechle	select SWAP_IO_SPACE
3067cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
3075e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3088a88ca8fSRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3095e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
310e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
3115e83d430SRalf Baechle	help
3125e83d430SRalf Baechle	  The Ocelot is a MIPS-based Single Board Computer (SBC) made by
3135e83d430SRalf Baechle	  Momentum Computer <http://www.momenco.com/>.
3145e83d430SRalf Baechle
315bdf21b18SPete Popovconfig PNX8550_JBS
3163fa986faSMartin Michlmayr	bool "Philips PNX8550 based JBS board"
317bdf21b18SPete Popov	select PNX8550
318bdf21b18SPete Popov	select SYS_SUPPORTS_LITTLE_ENDIAN
319bdf21b18SPete Popov
320f0647a52SVitaly Woolconfig PNX8550_STB810
321e460b73cSYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
322f0647a52SVitaly Wool	select PNX8550
323f0647a52SVitaly Wool	select SYS_SUPPORTS_LITTLE_ENDIAN
324f0647a52SVitaly Wool
3251da177e4SLinus Torvaldsconfig DDB5477
3263fa986faSMartin Michlmayr	bool "NEC DDB Vrc-5477"
3275e83d430SRalf Baechle	select DDB5XXX_COMMON
3281da177e4SLinus Torvalds	select DMA_NONCOHERENT
3291da177e4SLinus Torvalds	select HW_HAS_PCI
3301da177e4SLinus Torvalds	select I8259
3311da177e4SLinus Torvalds	select IRQ_CPU
3327cf8053bSRalf Baechle	select SYS_HAS_CPU_R5432
333ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
334ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
335cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
336cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3375e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
3381da177e4SLinus Torvalds	help
3391da177e4SLinus Torvalds	  This enables support for the R5432-based NEC DDB Vrc-5477,
3401da177e4SLinus Torvalds	  or Rockhopper/SolutionGear boards with R5432/R5500 CPUs.
3411da177e4SLinus Torvalds
3421da177e4SLinus Torvalds	  Features : kernel debugging, serial terminal, NFS root fs, on-board
3431da177e4SLinus Torvalds	  ether port USB, AC97, PCI, etc.
3441da177e4SLinus Torvalds
3455e83d430SRalf Baechleconfig MACH_VR41XX
34674142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
3477cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
3489fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
3495e83d430SRalf Baechle
3505e83d430SRalf Baechleconfig PMC_YOSEMITE
3513fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
3525e83d430SRalf Baechle	select DMA_COHERENT
3535e83d430SRalf Baechle	select HW_HAS_PCI
3545e83d430SRalf Baechle	select IRQ_CPU
3555e83d430SRalf Baechle	select IRQ_CPU_RM7K
3565e83d430SRalf Baechle	select IRQ_CPU_RM9K
3575e83d430SRalf Baechle	select SWAP_IO_SPACE
3587cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
35936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3605e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3615e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3625e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3635e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
364cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
365e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3665e83d430SRalf Baechle	help
3675e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3685e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3691da177e4SLinus Torvalds
37007119621SRalf Baechleconfig QEMU
3713fa986faSMartin Michlmayr	bool "Qemu"
37207119621SRalf Baechle	select DMA_COHERENT
37307119621SRalf Baechle	select GENERIC_ISA_DMA
37407119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
375e5c6c8e4SMichael Neuling	select I8253
37607119621SRalf Baechle	select I8259
37707119621SRalf Baechle	select ISA
37807119621SRalf Baechle	select SWAP_IO_SPACE
3797cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
38007119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
38107119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
382c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
383b1c6cd42SAtsushi Nemoto	select ARCH_SPARSEMEM_ENABLE
3849fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
38572ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
38672ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
38707119621SRalf Baechle	help
38807119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
38907119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
39007119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
39107119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
39207119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
39307119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
39407119621SRalf Baechle
395355c471fSdmitry pervushinconfig MARKEINS
396e460b73cSYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
397355c471fSdmitry pervushin	select DMA_NONCOHERENT
398355c471fSdmitry pervushin	select HW_HAS_PCI
399355c471fSdmitry pervushin	select IRQ_CPU
400355c471fSdmitry pervushin	select SWAP_IO_SPACE
401355c471fSdmitry pervushin	select SYS_SUPPORTS_32BIT_KERNEL
402355c471fSdmitry pervushin	select SYS_SUPPORTS_BIG_ENDIAN
403355c471fSdmitry pervushin	select SYS_SUPPORTS_LITTLE_ENDIAN
404355c471fSdmitry pervushin	select SYS_HAS_CPU_R5000
405355c471fSdmitry pervushin	help
406355c471fSdmitry pervushin	  This enables support for the R5432-based NEC Mark-eins
407355c471fSdmitry pervushin	  boards with R5500 CPU.
408355c471fSdmitry pervushin
4091da177e4SLinus Torvaldsconfig SGI_IP22
4103fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
4111da177e4SLinus Torvalds	select ARC
4121da177e4SLinus Torvalds	select ARC32
4131da177e4SLinus Torvalds	select BOOT_ELF32
4141da177e4SLinus Torvalds	select DMA_NONCOHERENT
4155e83d430SRalf Baechle	select HW_HAS_EISA
4161da177e4SLinus Torvalds	select IP22_CPU_SCACHE
4171da177e4SLinus Torvalds	select IRQ_CPU
418aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
4191da177e4SLinus Torvalds	select SWAP_IO_SPACE
4207cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
4217cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
42236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
423ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
424ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4255e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4261da177e4SLinus Torvalds	help
4271da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4281da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4291da177e4SLinus Torvalds	  that runs on these, say Y here.
4301da177e4SLinus Torvalds
4311da177e4SLinus Torvaldsconfig SGI_IP27
4323fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4331da177e4SLinus Torvalds	select ARC
4341da177e4SLinus Torvalds	select ARC64
4355e83d430SRalf Baechle	select BOOT_ELF64
4361da177e4SLinus Torvalds	select DMA_IP27
43736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4381da177e4SLinus Torvalds	select HW_HAS_PCI
439130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4401da177e4SLinus Torvalds	select PCI_DOMAINS
4417cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
442ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4435e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
444cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
445d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4461a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
447e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
4481da177e4SLinus Torvalds	help
4491da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4501da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4511da177e4SLinus Torvalds	  here.
4521da177e4SLinus Torvalds
4531da177e4SLinus Torvaldsconfig SGI_IP32
4543fa986faSMartin Michlmayr	bool "SGI IP32 (O2) (EXPERIMENTAL)"
455ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
4561da177e4SLinus Torvalds	select ARC
4571da177e4SLinus Torvalds	select ARC32
4581da177e4SLinus Torvalds	select BOOT_ELF32
4591da177e4SLinus Torvalds	select DMA_NONCOHERENT
4601da177e4SLinus Torvalds	select HW_HAS_PCI
4611da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4621da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4637cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4647cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4657cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
466dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
467ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4685e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4691da177e4SLinus Torvalds	help
4701da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4711da177e4SLinus Torvalds
4729a6dcea1SAndrew Isaacsonconfig SIBYTE_BIGSUR
4733fa986faSMartin Michlmayr	bool "Sibyte BCM91480B-BigSur"
4749a6dcea1SAndrew Isaacson	select BOOT_ELF32
4759a6dcea1SAndrew Isaacson	select DMA_COHERENT
476130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_4
4777cf8053bSRalf Baechle	select PCI_DOMAINS
4789a6dcea1SAndrew Isaacson	select SIBYTE_BCM1x80
4799a6dcea1SAndrew Isaacson	select SWAP_IO_SPACE
4807cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4819a6dcea1SAndrew Isaacson	select SYS_SUPPORTS_BIG_ENDIAN
4829a6dcea1SAndrew Isaacson	select SYS_SUPPORTS_LITTLE_ENDIAN
4839a6dcea1SAndrew Isaacson
4845e83d430SRalf Baechleconfig SIBYTE_SWARM
4853fa986faSMartin Michlmayr	bool "Sibyte BCM91250A-SWARM"
4865e83d430SRalf Baechle	select BOOT_ELF32
4875e83d430SRalf Baechle	select DMA_COHERENT
488130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
4895e83d430SRalf Baechle	select SIBYTE_SB1250
4905e83d430SRalf Baechle	select SWAP_IO_SPACE
4917cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4925e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4935e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
494cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
4955e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
496e3ad1c23SPete Popov
4975e83d430SRalf Baechleconfig SIBYTE_SENTOSA
4983fa986faSMartin Michlmayr	bool "Sibyte BCM91250E-Sentosa"
4995e83d430SRalf Baechle	depends on EXPERIMENTAL
5005e83d430SRalf Baechle	select BOOT_ELF32
5015e83d430SRalf Baechle	select DMA_COHERENT
502130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
5035e83d430SRalf Baechle	select SIBYTE_SB1250
5045e83d430SRalf Baechle	select SWAP_IO_SPACE
5057cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5065e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5075e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5085e83d430SRalf Baechle
5095e83d430SRalf Baechleconfig SIBYTE_RHONE
5103fa986faSMartin Michlmayr	bool "Sibyte BCM91125E-Rhone"
5115e83d430SRalf Baechle	depends on EXPERIMENTAL
5125e83d430SRalf Baechle	select BOOT_ELF32
5135e83d430SRalf Baechle	select DMA_COHERENT
5145e83d430SRalf Baechle	select SIBYTE_BCM1125H
5155e83d430SRalf Baechle	select SWAP_IO_SPACE
5167cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5175e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5185e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5195e83d430SRalf Baechle
5205e83d430SRalf Baechleconfig SIBYTE_CARMEL
5213fa986faSMartin Michlmayr	bool "Sibyte BCM91120x-Carmel"
5225e83d430SRalf Baechle	depends on EXPERIMENTAL
5235e83d430SRalf Baechle	select BOOT_ELF32
5245e83d430SRalf Baechle	select DMA_COHERENT
5255e83d430SRalf Baechle	select SIBYTE_BCM1120
5265e83d430SRalf Baechle	select SWAP_IO_SPACE
5277cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5285e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5295e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5305e83d430SRalf Baechle
5315e83d430SRalf Baechleconfig SIBYTE_PTSWARM
5323fa986faSMartin Michlmayr	bool "Sibyte BCM91250PT-PTSWARM"
5335e83d430SRalf Baechle	depends on EXPERIMENTAL
5345e83d430SRalf Baechle	select BOOT_ELF32
5355e83d430SRalf Baechle	select DMA_COHERENT
536130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
5375e83d430SRalf Baechle	select SIBYTE_SB1250
5385e83d430SRalf Baechle	select SWAP_IO_SPACE
5397cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5405e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5415e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5425e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5435e83d430SRalf Baechle
5445e83d430SRalf Baechleconfig SIBYTE_LITTLESUR
5453fa986faSMartin Michlmayr	bool "Sibyte BCM91250C2-LittleSur"
5465e83d430SRalf Baechle	depends on EXPERIMENTAL
5475e83d430SRalf Baechle	select BOOT_ELF32
5485e83d430SRalf Baechle	select DMA_COHERENT
549130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
5505e83d430SRalf Baechle	select SIBYTE_SB1250
5515e83d430SRalf Baechle	select SWAP_IO_SPACE
5527cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5535e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5545e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5555e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5565e83d430SRalf Baechle
5575e83d430SRalf Baechleconfig SIBYTE_CRHINE
5583fa986faSMartin Michlmayr	bool "Sibyte BCM91120C-CRhine"
5595e83d430SRalf Baechle	depends on EXPERIMENTAL
5605e83d430SRalf Baechle	select BOOT_ELF32
5615e83d430SRalf Baechle	select DMA_COHERENT
5625e83d430SRalf Baechle	select SIBYTE_BCM1120
5635e83d430SRalf Baechle	select SWAP_IO_SPACE
5647cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5655e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5665e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5675e83d430SRalf Baechle
5685e83d430SRalf Baechleconfig SIBYTE_CRHONE
5693fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
5705e83d430SRalf Baechle	depends on EXPERIMENTAL
5715e83d430SRalf Baechle	select BOOT_ELF32
5725e83d430SRalf Baechle	select DMA_COHERENT
5735e83d430SRalf Baechle	select SIBYTE_BCM1125
5745e83d430SRalf Baechle	select SWAP_IO_SPACE
5757cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5765e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5775e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5785e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5795e83d430SRalf Baechle
58014b36af4SThomas Bogendoerferconfig SNI_RM
58114b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5824a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5834a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
5845e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5855e83d430SRalf Baechle	select BOOT_ELF32
5865e83d430SRalf Baechle	select DMA_NONCOHERENT
5875e83d430SRalf Baechle	select GENERIC_ISA_DMA
5885e83d430SRalf Baechle	select HW_HAS_EISA
5895e83d430SRalf Baechle	select HW_HAS_PCI
590c066a32aSThomas Bogendoerfer	select IRQ_CPU
591e5c6c8e4SMichael Neuling	select I8253
5925e83d430SRalf Baechle	select I8259
5935e83d430SRalf Baechle	select ISA
5944a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5957cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5964a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
597c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5984a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
59936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
600ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
6015e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
6024a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
6035e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6045e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6051da177e4SLinus Torvalds	help
60614b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
60714b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
6085e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
6095e83d430SRalf Baechle	  support this machine type.
6101da177e4SLinus Torvalds
6115e83d430SRalf Baechleconfig TOSHIBA_JMR3927
6123fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
6135e83d430SRalf Baechle	select DMA_NONCOHERENT
6145e83d430SRalf Baechle	select HW_HAS_PCI
6155e83d430SRalf Baechle	select MIPS_TX3927
6165e83d430SRalf Baechle	select SWAP_IO_SPACE
6177cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
6185e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6196a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6205e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6212127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6225e83d430SRalf Baechle
6235e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
6243fa986faSMartin Michlmayr	bool "Toshiba TBTX49[23]7 board"
6255e83d430SRalf Baechle	select DMA_NONCOHERENT
6265e83d430SRalf Baechle	select HAS_TXX9_SERIAL
6275e83d430SRalf Baechle	select HW_HAS_PCI
6285e83d430SRalf Baechle	select I8259
6295e83d430SRalf Baechle	select SWAP_IO_SPACE
6307cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
6315e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6325e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
6336a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6345e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
635cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6369fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6375e83d430SRalf Baechle	help
6385e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
6395e83d430SRalf Baechle	  support this machine type
6401da177e4SLinus Torvalds
64123fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
6423fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
64323fbee9dSRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
64423fbee9dSRalf Baechle	select DMA_NONCOHERENT
64523fbee9dSRalf Baechle	select GENERIC_ISA_DMA
64623fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
64723fbee9dSRalf Baechle	select HW_HAS_PCI
64823fbee9dSRalf Baechle	select I8259
64923fbee9dSRalf Baechle	select SWAP_IO_SPACE
6507cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
65123fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
65223fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
65323fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
654cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6559fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
65623fbee9dSRalf Baechle	help
65723fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
65823fbee9dSRalf Baechle	  support this machine type
65923fbee9dSRalf Baechle
6601da177e4SLinus Torvaldsendchoice
6611da177e4SLinus Torvalds
662c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6635e83d430SRalf Baechlesource "arch/mips/ddb5xxx/Kconfig"
6645e83d430SRalf Baechlesource "arch/mips/gt64120/ev64120/Kconfig"
6655e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6665e83d430SRalf Baechlesource "arch/mips/lasat/Kconfig"
6675e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
66829c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
66938b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6705e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
67123fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6725e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
673bdf21b18SPete Popovsource "arch/mips/philips/pnx8550/common/Kconfig"
67438b18f72SRalf Baechle
6755e83d430SRalf Baechleendmenu
6765e83d430SRalf Baechle
6771da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6781da177e4SLinus Torvalds	bool
6791da177e4SLinus Torvalds	default y
6801da177e4SLinus Torvalds
6811da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6821da177e4SLinus Torvalds	bool
6831da177e4SLinus Torvalds
684f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
685f0d1b0b3SDavid Howells	bool
686f0d1b0b3SDavid Howells	default n
687f0d1b0b3SDavid Howells
688f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
689f0d1b0b3SDavid Howells	bool
690f0d1b0b3SDavid Howells	default n
691f0d1b0b3SDavid Howells
6923c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6933c9ee7efSAkinobu Mita	bool
6943c9ee7efSAkinobu Mita	default y
6953c9ee7efSAkinobu Mita
6963c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6973c9ee7efSAkinobu Mita	bool
6983c9ee7efSAkinobu Mita	default y
6993c9ee7efSAkinobu Mita
7001da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7011da177e4SLinus Torvalds	bool
7021da177e4SLinus Torvalds	default y
7031da177e4SLinus Torvalds
7048db02010SRalf Baechleconfig GENERIC_TIME
7058db02010SRalf Baechle	bool
7068db02010SRalf Baechle	default y
7078db02010SRalf Baechle
7081cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
7091cc89038SAtsushi Nemoto	bool
7101cc89038SAtsushi Nemoto	default y
7111cc89038SAtsushi Nemoto
712e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
713e77c232cSFranck Bui-Huu	bool
714e77c232cSFranck Bui-Huu	default n
715e77c232cSFranck Bui-Huu
7161da177e4SLinus Torvalds#
7171da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7181da177e4SLinus Torvalds#
7191da177e4SLinus Torvaldsconfig ARC
7201da177e4SLinus Torvalds	bool
7211da177e4SLinus Torvalds
72261ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
72361ed242dSRalf Baechle	bool
72461ed242dSRalf Baechle
7251da177e4SLinus Torvaldsconfig DMA_COHERENT
7261da177e4SLinus Torvalds	bool
7271da177e4SLinus Torvalds
7281da177e4SLinus Torvaldsconfig DMA_IP27
7291da177e4SLinus Torvalds	bool
7301da177e4SLinus Torvalds
7314ce588cdSRalf Baechleconfig DMA_IP32
7324ce588cdSRalf Baechle	bool
7334ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7344ce588cdSRalf Baechle
7351da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7361da177e4SLinus Torvalds	bool
7374ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7384ce588cdSRalf Baechle
7394ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7404ce588cdSRalf Baechle	bool
7411da177e4SLinus Torvalds
7421da177e4SLinus Torvaldsconfig EARLY_PRINTK
74336a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
74436a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
74536a88530SRalf Baechle	default y
74636a88530SRalf Baechle	help
74736a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
74836a88530SRalf Baechle	  to print messages very early in the bootup process.
74936a88530SRalf Baechle
75036a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
751490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
752490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
753490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
75436a88530SRalf Baechle	  unless you want to debug such a crash.
75536a88530SRalf Baechle
75636a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7571da177e4SLinus Torvalds	bool
7581da177e4SLinus Torvalds
7591da177e4SLinus Torvaldsconfig GENERIC_ISA_DMA
7601da177e4SLinus Torvalds	bool
76105502339SAtsushi Nemoto	select ZONE_DMA
7621da177e4SLinus Torvalds
7631da177e4SLinus Torvaldsconfig I8259
7641da177e4SLinus Torvalds	bool
7651da177e4SLinus Torvalds
7661da177e4SLinus Torvaldsconfig MIPS_BONITO64
7671da177e4SLinus Torvalds	bool
7681da177e4SLinus Torvalds
7691da177e4SLinus Torvaldsconfig MIPS_MSC
7701da177e4SLinus Torvalds	bool
7711da177e4SLinus Torvalds
7721da177e4SLinus Torvaldsconfig MIPS_NILE4
7731da177e4SLinus Torvalds	bool
7741da177e4SLinus Torvalds
7751da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7761da177e4SLinus Torvalds	bool
7771da177e4SLinus Torvalds
778aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
779aa414dffSRalf Baechle	bool
78005502339SAtsushi Nemoto	select ZONE_DMA
781aa414dffSRalf Baechle
78209663335SYoichi Yuasaconfig GENERIC_GPIO
78309663335SYoichi Yuasa	bool
78409663335SYoichi Yuasa
7855e83d430SRalf Baechle#
7863cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
7875e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
7885e83d430SRalf Baechle# choice statement should be more obvious to the user.
7895e83d430SRalf Baechle#
7905e83d430SRalf Baechlechoice
7915e83d430SRalf Baechle	prompt "Endianess selection"
7921da177e4SLinus Torvalds	help
7931da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
7945e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
7953cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
7965e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
7973dde6ad8SDavid Sterba	  one or the other endianness.
7985e83d430SRalf Baechle
7995e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
8005e83d430SRalf Baechle	bool "Big endian"
8015e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
8025e83d430SRalf Baechle
8035e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8045e83d430SRalf Baechle	bool "Little endian"
8055e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8065e83d430SRalf Baechle	help
8075e83d430SRalf Baechle
8085e83d430SRalf Baechleendchoice
8095e83d430SRalf Baechle
8102116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8112116245eSRalf Baechle	bool
8122116245eSRalf Baechle
8135e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8145e83d430SRalf Baechle	bool
8155e83d430SRalf Baechle
8165e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8175e83d430SRalf Baechle	bool
8181da177e4SLinus Torvalds
8191da177e4SLinus Torvaldsconfig IRQ_CPU
8201da177e4SLinus Torvalds	bool
8211da177e4SLinus Torvalds
8221da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8231da177e4SLinus Torvalds	bool
8241da177e4SLinus Torvalds
8255e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8265e83d430SRalf Baechle	bool
8275e83d430SRalf Baechle
8281da177e4SLinus Torvaldsconfig IRQ_MV64340
8291da177e4SLinus Torvalds	bool
8301da177e4SLinus Torvalds
8311da177e4SLinus Torvaldsconfig DDB5XXX_COMMON
8321da177e4SLinus Torvalds	bool
833cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8341da177e4SLinus Torvalds
8351da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8361da177e4SLinus Torvalds	bool
8371da177e4SLinus Torvalds
838252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8391da177e4SLinus Torvalds	bool
8401da177e4SLinus Torvalds
8411da177e4SLinus Torvaldsconfig MIPS_TX3927
8421da177e4SLinus Torvalds	bool
8431da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
8441da177e4SLinus Torvalds
845663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
846663c3d90Sthomas@koeller.dyndns.org	bool
847663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
848663c3d90Sthomas@koeller.dyndns.org
8491da177e4SLinus Torvaldsconfig PCI_MARVELL
8501da177e4SLinus Torvalds	bool
8511da177e4SLinus Torvalds
852bdf21b18SPete Popovconfig PNX8550
853bdf21b18SPete Popov	bool
854bdf21b18SPete Popov	select SOC_PNX8550
855bdf21b18SPete Popov
856bdf21b18SPete Popovconfig SOC_PNX8550
857bdf21b18SPete Popov	bool
858bdf21b18SPete Popov	select DMA_NONCOHERENT
859bdf21b18SPete Popov	select HW_HAS_PCI
860b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
86136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8627cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
863e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
864cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8654ead1681SFlorian Fainelli	select GENERIC_GPIO
866bdf21b18SPete Popov
8671da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8681da177e4SLinus Torvalds	bool
8691da177e4SLinus Torvalds
870355c471fSdmitry pervushinconfig EMMA2RH
871355c471fSdmitry pervushin	bool
872355c471fSdmitry pervushin	depends on MARKEINS
873355c471fSdmitry pervushin	default y
874355c471fSdmitry pervushin
875663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
876663c3d90Sthomas@koeller.dyndns.org	bool
877663c3d90Sthomas@koeller.dyndns.org
8781da177e4SLinus Torvalds#
8791da177e4SLinus Torvalds# Unfortunately not all GT64120 systems run the chip at the same clock.
8801da177e4SLinus Torvalds# As the user for the clock rate and try to minimize the available options.
8811da177e4SLinus Torvalds#
8821da177e4SLinus Torvaldschoice
8831da177e4SLinus Torvalds	prompt "Galileo Chip Clock"
8841da177e4SLinus Torvalds	#default SYSCLK_83 if MIPS_EV64120
8851e54f778SFranck Bui-Huu	depends on MIPS_EV64120 || MOMENCO_OCELOT
8861da177e4SLinus Torvalds	default SYSCLK_83 if MIPS_EV64120
8871e54f778SFranck Bui-Huu	default SYSCLK_100 if MOMENCO_OCELOT
8881da177e4SLinus Torvalds
8891da177e4SLinus Torvaldsconfig SYSCLK_75
8901da177e4SLinus Torvalds	bool "75" if MIPS_EV64120
8911da177e4SLinus Torvalds
8921da177e4SLinus Torvaldsconfig SYSCLK_83
8931da177e4SLinus Torvalds	bool "83.3" if MIPS_EV64120
8941da177e4SLinus Torvalds
8951da177e4SLinus Torvaldsconfig SYSCLK_100
8961e54f778SFranck Bui-Huu	bool "100" if MIPS_EV64120 || MOMENCO_OCELOT
8971da177e4SLinus Torvalds
8981da177e4SLinus Torvaldsendchoice
8991da177e4SLinus Torvalds
9005e83d430SRalf Baechleconfig ARC32
9015e83d430SRalf Baechle	bool
9025e83d430SRalf Baechle
9031da177e4SLinus Torvaldsconfig BOOT_ELF32
9041da177e4SLinus Torvalds	bool
9051da177e4SLinus Torvalds
9061da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
9071da177e4SLinus Torvalds	int
908c066a32aSThomas Bogendoerfer	default "4" if MACH_DECSTATION || SNI_RM
9091da177e4SLinus Torvalds	default "7" if SGI_IP27
9101da177e4SLinus Torvalds	default "5"
9111da177e4SLinus Torvalds
9121da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
9131da177e4SLinus Torvalds	bool
9141da177e4SLinus Torvalds
9151da177e4SLinus Torvaldsconfig ARC_CONSOLE
9161da177e4SLinus Torvalds	bool "ARC console support"
91736a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
9181da177e4SLinus Torvalds
9191da177e4SLinus Torvaldsconfig ARC_MEMORY
9201da177e4SLinus Torvalds	bool
92114b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9221da177e4SLinus Torvalds	default y
9231da177e4SLinus Torvalds
9241da177e4SLinus Torvaldsconfig ARC_PROMLIB
9251da177e4SLinus Torvalds	bool
92614b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
9271da177e4SLinus Torvalds	default y
9281da177e4SLinus Torvalds
9291da177e4SLinus Torvaldsconfig ARC64
9301da177e4SLinus Torvalds	bool
9311da177e4SLinus Torvalds
9321da177e4SLinus Torvaldsconfig BOOT_ELF64
9331da177e4SLinus Torvalds	bool
9341da177e4SLinus Torvalds
9351da177e4SLinus Torvaldsmenu "CPU selection"
9361da177e4SLinus Torvalds
9371da177e4SLinus Torvaldschoice
9381da177e4SLinus Torvalds	prompt "CPU type"
9391da177e4SLinus Torvalds	default CPU_R4X00
9401da177e4SLinus Torvalds
9416e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9426e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9437cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
944f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9456e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
946797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
947ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9486e760c8dSRalf Baechle	help
9495e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9501e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9511e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9521e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9531e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9541e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9551e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9561e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9571e5f1caaSRalf Baechle	  performance.
9581e5f1caaSRalf Baechle
9591e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9601e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9617cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
962f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9631e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
964797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
965ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9661e5f1caaSRalf Baechle	help
9675e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9686e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9696e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9706e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9716e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9721da177e4SLinus Torvalds
9736e760c8dSRalf Baechleconfig CPU_MIPS64_R1
9746e760c8dSRalf Baechle	bool "MIPS64 Release 1"
9757cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
976f7062ddbSRalf Baechle	select CPU_HAS_LLSC
977797798c1SRalf Baechle	select CPU_HAS_PREFETCH
978ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
979ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
980ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9816e760c8dSRalf Baechle	help
9826e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9836e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9846e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9856e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9866e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9871e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
9881e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
9891e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
9901e5f1caaSRalf Baechle	  performance.
9911e5f1caaSRalf Baechle
9921e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
9931e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
9947cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
995f7062ddbSRalf Baechle	select CPU_HAS_LLSC
996797798c1SRalf Baechle	select CPU_HAS_PREFETCH
9971e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
9981e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
999ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10001e5f1caaSRalf Baechle	help
10011e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10021e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10031e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10041e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10051e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10061da177e4SLinus Torvalds
10071da177e4SLinus Torvaldsconfig CPU_R3000
10081da177e4SLinus Torvalds	bool "R3000"
10097cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1010f7062ddbSRalf Baechle	select CPU_HAS_WB
1011ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1012797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10131da177e4SLinus Torvalds	help
10141da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
10151da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
10161da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
10171da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
10181da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
10191da177e4SLinus Torvalds	  try to recompile with R3000.
10201da177e4SLinus Torvalds
10211da177e4SLinus Torvaldsconfig CPU_TX39XX
10221da177e4SLinus Torvalds	bool "R39XX"
10237cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1024ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10251da177e4SLinus Torvalds
10261da177e4SLinus Torvaldsconfig CPU_VR41XX
10271da177e4SLinus Torvalds	bool "R41xx"
10287cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1029ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1030ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10311da177e4SLinus Torvalds	help
10325e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
10331da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
10341da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10351da177e4SLinus Torvalds	  processor or vice versa.
10361da177e4SLinus Torvalds
10371da177e4SLinus Torvaldsconfig CPU_R4300
10381da177e4SLinus Torvalds	bool "R4300"
10397cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1040f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1041ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1042ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10431da177e4SLinus Torvalds	help
10441da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10451da177e4SLinus Torvalds
10461da177e4SLinus Torvaldsconfig CPU_R4X00
10471da177e4SLinus Torvalds	bool "R4x00"
10487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1049f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1050ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1051ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10521da177e4SLinus Torvalds	help
10531da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10541da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10551da177e4SLinus Torvalds
10561da177e4SLinus Torvaldsconfig CPU_TX49XX
10571da177e4SLinus Torvalds	bool "R49XX"
10587cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1059f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1060de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1061ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1062ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10631da177e4SLinus Torvalds
10641da177e4SLinus Torvaldsconfig CPU_R5000
10651da177e4SLinus Torvalds	bool "R5000"
10667cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1067f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1068ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1069ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10701da177e4SLinus Torvalds	help
10711da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
10721da177e4SLinus Torvalds
10731da177e4SLinus Torvaldsconfig CPU_R5432
10741da177e4SLinus Torvalds	bool "R5432"
10757cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1076f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10775e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10785e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
10791da177e4SLinus Torvalds
10801da177e4SLinus Torvaldsconfig CPU_R6000
10811da177e4SLinus Torvalds	bool "R6000"
1082ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1083f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10847cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1085ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10861da177e4SLinus Torvalds	help
10871da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1088c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
10891da177e4SLinus Torvalds
10901da177e4SLinus Torvaldsconfig CPU_NEVADA
10911da177e4SLinus Torvalds	bool "RM52xx"
10927cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1093f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1094ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1095ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10961da177e4SLinus Torvalds	help
10971da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
10981da177e4SLinus Torvalds
10991da177e4SLinus Torvaldsconfig CPU_R8000
11001da177e4SLinus Torvalds	bool "R8000"
1101ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
11027cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1103f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11045e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1105ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11061da177e4SLinus Torvalds	help
11071da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
11081da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
11091da177e4SLinus Torvalds
11101da177e4SLinus Torvaldsconfig CPU_R10000
11111da177e4SLinus Torvalds	bool "R10000"
11127cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1113f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11145e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1115ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1116ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1117797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11181da177e4SLinus Torvalds	help
11191da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
11201da177e4SLinus Torvalds
11211da177e4SLinus Torvaldsconfig CPU_RM7000
11221da177e4SLinus Torvalds	bool "RM7000"
11237cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1124f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11255e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1126ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1127ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1128797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11291da177e4SLinus Torvalds
11301da177e4SLinus Torvaldsconfig CPU_RM9000
11311da177e4SLinus Torvalds	bool "RM9000"
11327cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1133f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11345e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1135ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1136ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1137797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11380004a9dfSRalf Baechle	select WEAK_ORDERING
11391da177e4SLinus Torvalds
11401da177e4SLinus Torvaldsconfig CPU_SB1
11411da177e4SLinus Torvalds	bool "SB1"
11427cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1143f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1144ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1145ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1146797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11470004a9dfSRalf Baechle	select WEAK_ORDERING
11481da177e4SLinus Torvalds
11491da177e4SLinus Torvaldsendchoice
11501da177e4SLinus Torvalds
11517cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11527cf8053bSRalf Baechle	bool
11537cf8053bSRalf Baechle
11547cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11557cf8053bSRalf Baechle	bool
11567cf8053bSRalf Baechle
11577cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11587cf8053bSRalf Baechle	bool
11597cf8053bSRalf Baechle
11607cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
11617cf8053bSRalf Baechle	bool
11627cf8053bSRalf Baechle
11637cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
11647cf8053bSRalf Baechle	bool
11657cf8053bSRalf Baechle
11667cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
11677cf8053bSRalf Baechle	bool
11687cf8053bSRalf Baechle
11697cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
11707cf8053bSRalf Baechle	bool
11717cf8053bSRalf Baechle
11727cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
11737cf8053bSRalf Baechle	bool
11747cf8053bSRalf Baechle
11757cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
11767cf8053bSRalf Baechle	bool
11777cf8053bSRalf Baechle
11787cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
11797cf8053bSRalf Baechle	bool
11807cf8053bSRalf Baechle
11817cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
11827cf8053bSRalf Baechle	bool
11837cf8053bSRalf Baechle
11847cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
11857cf8053bSRalf Baechle	bool
11867cf8053bSRalf Baechle
11877cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
11887cf8053bSRalf Baechle	bool
11897cf8053bSRalf Baechle
11907cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
11917cf8053bSRalf Baechle	bool
11927cf8053bSRalf Baechle
11937cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
11947cf8053bSRalf Baechle	bool
11957cf8053bSRalf Baechle
11967cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
11977cf8053bSRalf Baechle	bool
11987cf8053bSRalf Baechle
11997cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
12007cf8053bSRalf Baechle	bool
12017cf8053bSRalf Baechle
12027cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
12037cf8053bSRalf Baechle	bool
12047cf8053bSRalf Baechle
12057cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
12067cf8053bSRalf Baechle	bool
12077cf8053bSRalf Baechle
12080004a9dfSRalf Baechleconfig WEAK_ORDERING
12090004a9dfSRalf Baechle	bool
12105e83d430SRalf Baechleendmenu
12115e83d430SRalf Baechle
12125e83d430SRalf Baechle#
12135e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
12145e83d430SRalf Baechle#
12155e83d430SRalf Baechleconfig CPU_MIPS32
12165e83d430SRalf Baechle	bool
12175e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
12185e83d430SRalf Baechle
12195e83d430SRalf Baechleconfig CPU_MIPS64
12205e83d430SRalf Baechle	bool
12215e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
12225e83d430SRalf Baechle
12235e83d430SRalf Baechle#
1224c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
12255e83d430SRalf Baechle#
12265e83d430SRalf Baechleconfig CPU_MIPSR1
12275e83d430SRalf Baechle	bool
12285e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
12295e83d430SRalf Baechle
12305e83d430SRalf Baechleconfig CPU_MIPSR2
12315e83d430SRalf Baechle	bool
12325e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
12335e83d430SRalf Baechle
12345e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
12355e83d430SRalf Baechle	bool
12365e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12375e83d430SRalf Baechle	bool
12385e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12395e83d430SRalf Baechle	bool
12405e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12415e83d430SRalf Baechle	bool
12425e83d430SRalf Baechle
12435e83d430SRalf Baechlemenu "Kernel type"
12445e83d430SRalf Baechle
12455e83d430SRalf Baechlechoice
12465e83d430SRalf Baechle
12475e83d430SRalf Baechle	prompt "Kernel code model"
12485e83d430SRalf Baechle	help
12495e83d430SRalf Baechle	  You should only select this option if you have a workload that
12505e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
12515e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
12525e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
12535e83d430SRalf Baechle
12545e83d430SRalf Baechleconfig 32BIT
12555e83d430SRalf Baechle	bool "32-bit kernel"
12565e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
12575e83d430SRalf Baechle	select TRAD_SIGNALS
12585e83d430SRalf Baechle	help
12595e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
12605e83d430SRalf Baechleconfig 64BIT
12615e83d430SRalf Baechle	bool "64-bit kernel"
12625e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
12635e83d430SRalf Baechle	help
12645e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
12655e83d430SRalf Baechle
12665e83d430SRalf Baechleendchoice
12675e83d430SRalf Baechle
12681da177e4SLinus Torvaldschoice
12691da177e4SLinus Torvalds	prompt "Kernel page size"
12701da177e4SLinus Torvalds	default PAGE_SIZE_4KB
12711da177e4SLinus Torvalds
12721da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
12731da177e4SLinus Torvalds	bool "4kB"
12741da177e4SLinus Torvalds	help
12751da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
12761da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
12771da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
12781da177e4SLinus Torvalds	 recommended for low memory systems.
12791da177e4SLinus Torvalds
12801da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
12811da177e4SLinus Torvalds	bool "8kB"
12821da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
12831da177e4SLinus Torvalds	help
12841da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
12851da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
12861da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
12871da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
12881da177e4SLinus Torvalds	  compatibility of user applications.
12891da177e4SLinus Torvalds
12901da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
12911da177e4SLinus Torvalds	bool "16kB"
1292714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
12931da177e4SLinus Torvalds	help
12941da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
12951da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1296714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1297714bfad6SRalf Baechle	  Linux distribution to support this.
12981da177e4SLinus Torvalds
12991da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
13001da177e4SLinus Torvalds	bool "64kB"
13011da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
13021da177e4SLinus Torvalds	help
13031da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
13041da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
13051da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1306714bfad6SRalf Baechle	  writing this option is still high experimental.
13071da177e4SLinus Torvalds
13081da177e4SLinus Torvaldsendchoice
13091da177e4SLinus Torvalds
13101da177e4SLinus Torvaldsconfig BOARD_SCACHE
13111da177e4SLinus Torvalds	bool
13121da177e4SLinus Torvalds
13131da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
13141da177e4SLinus Torvalds	bool
13151da177e4SLinus Torvalds	select BOARD_SCACHE
13161da177e4SLinus Torvalds
13179318c51aSChris Dearman#
13189318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
13199318c51aSChris Dearman#
13209318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
13219318c51aSChris Dearman	bool
13229318c51aSChris Dearman	select BOARD_SCACHE
13239318c51aSChris Dearman
13241da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
13251da177e4SLinus Torvalds	bool
13261da177e4SLinus Torvalds	select BOARD_SCACHE
13271da177e4SLinus Torvalds
13281da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
13291da177e4SLinus Torvalds	bool
13301da177e4SLinus Torvalds	select BOARD_SCACHE
13311da177e4SLinus Torvalds
13321da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
13331da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
13341da177e4SLinus Torvalds	depends on CPU_SB1
13351da177e4SLinus Torvalds	help
13361da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13371da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13381da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13391da177e4SLinus Torvalds
13401da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1341c8094b53SRalf Baechle	bool
13421da177e4SLinus Torvalds
1343340ee4b9SRalf Baechlechoice
1344340ee4b9SRalf Baechle	prompt "MIPS MT options"
1345f41ae0b2SRalf Baechle
1346f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1347f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1348f41ae0b2SRalf Baechle	help
1349f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1350f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1351f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1352f41ae0b2SRalf Baechle	  option in this menu.
1353340ee4b9SRalf Baechle
135459d6ab86SRalf Baechleconfig MIPS_MT_SMP
135559d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
135659d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
135759d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1358d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
135959d6ab86SRalf Baechle	select CPU_MIPSR2_SRS
136059d6ab86SRalf Baechle	select MIPS_MT
1361f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
136259d6ab86SRalf Baechle	select SMP
136359d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
136459d6ab86SRalf Baechle	help
136559d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
136659d6ab86SRalf Baechle	  has been marketesed into SMVP.
136759d6ab86SRalf Baechle
136841c594abSRalf Baechleconfig MIPS_MT_SMTC
136941c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1370f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1371f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1372f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1373f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1374d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1375f7062ddbSRalf Baechle	select CPU_MIPSR2_SRS
1376f41ae0b2SRalf Baechle	select MIPS_MT
1377130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
137841c594abSRalf Baechle	select SMP
137973b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1380f41ae0b2SRalf Baechle	help
1381f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1382f41ae0b2SRalf Baechle	  marketesed into SMVP.
138341c594abSRalf Baechle
1384e01402b1SRalf Baechleconfig MIPS_VPE_LOADER
1385e01402b1SRalf Baechle	bool "VPE loader support."
1386f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1387d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_VI
1388d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1389b0c10b9fSRalf Baechle	select CPU_MIPSR2_SRS
1390f41ae0b2SRalf Baechle	select MIPS_MT
1391e01402b1SRalf Baechle	help
1392e01402b1SRalf Baechle	  Includes a loader for loading an elf relocatable object
1393e01402b1SRalf Baechle	  onto another VPE and running it.
1394e01402b1SRalf Baechle
1395340ee4b9SRalf Baechleendchoice
1396340ee4b9SRalf Baechle
1397f41ae0b2SRalf Baechleconfig MIPS_MT
1398f41ae0b2SRalf Baechle	bool
1399f41ae0b2SRalf Baechle
1400f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1401f41ae0b2SRalf Baechle	bool
1402f41ae0b2SRalf Baechle
1403f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1404f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1405f088fc84SRalf Baechle	depends on MIPS_MT
1406f088fc84SRalf Baechle	default y
1407f088fc84SRalf Baechle
1408ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1409ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1410619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1411ac8be955SRalf Baechle	default y
1412ac8be955SRalf Baechle	help
1413ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1414ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1415ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1416ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1417ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1418ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1419ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1420ac8be955SRalf Baechle	  heavy I/O interrupt load.
1421ac8be955SRalf Baechle
1422e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1423e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1424e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1425e01402b1SRalf Baechle	default y
1426e01402b1SRalf Baechle	help
1427e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1428e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1429e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1430e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1431e01402b1SRalf Baechle
1432e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1433e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1434e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1435e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
14365e83d430SRalf Baechle	help
1437e01402b1SRalf Baechle
14382600990eSRalf Baechleconfig MIPS_APSP_KSPD
14392600990eSRalf Baechle	bool "Enable KSPD"
14402600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
14412600990eSRalf Baechle	default y
14422600990eSRalf Baechle	help
14432600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
14442600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
14452600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
14462600990eSRalf Baechle	  exiting.  You probably want to say yes here.
14472600990eSRalf Baechle
14481da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
14491da177e4SLinus Torvalds	bool
14501da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
14511da177e4SLinus Torvalds	default y
14521da177e4SLinus Torvalds
14531da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
14541da177e4SLinus Torvalds	bool
14551da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
14561da177e4SLinus Torvalds	default y
14571da177e4SLinus Torvalds
14581da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
14591da177e4SLinus Torvalds	bool
14601da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
14611da177e4SLinus Torvalds	default y
14621da177e4SLinus Torvalds
14631da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
14641da177e4SLinus Torvalds	bool "Support for 64-bit physical address space"
1465948928adSRalf Baechle	depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT
14661da177e4SLinus Torvalds
14671da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1468f7062ddbSRalf Baechle	bool
14691da177e4SLinus Torvalds
14709693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
14719693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
14729693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
14739693a853SFranck Bui-Huu	help
14749693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
14759693a853SFranck Bui-Huu	  increased security at both hardware and software level for
14769693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
14779693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
14789693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
14799693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
14809693a853SFranck Bui-Huu	  here.
14819693a853SFranck Bui-Huu
14821da177e4SLinus Torvaldsconfig CPU_HAS_WB
1483f7062ddbSRalf Baechle	bool
1484e01402b1SRalf Baechle
1485f41ae0b2SRalf Baechle#
1486f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1487f41ae0b2SRalf Baechle#
1488e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1489f41ae0b2SRalf Baechle	bool
1490e01402b1SRalf Baechle
1491f41ae0b2SRalf Baechle#
1492f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1493f41ae0b2SRalf Baechle#
1494e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1495f41ae0b2SRalf Baechle	bool
1496e01402b1SRalf Baechle
1497f41ae0b2SRalf Baechle#
1498f41ae0b2SRalf Baechle# Shadow registers are an R2 feature
1499f41ae0b2SRalf Baechle#
1500e01402b1SRalf Baechleconfig CPU_MIPSR2_SRS
1501f41ae0b2SRalf Baechle	bool
1502e01402b1SRalf Baechle
15031da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
15041da177e4SLinus Torvalds	bool
15051da177e4SLinus Torvalds	depends on !CPU_R3000
15061da177e4SLinus Torvalds	default y
15071da177e4SLinus Torvalds
15081da177e4SLinus Torvalds#
1509797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1510797798c1SRalf Baechle#
1511797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1512797798c1SRalf Baechle	bool
1513797798c1SRalf Baechle	default y
1514797798c1SRalf Baechle
1515797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1516797798c1SRalf Baechle	bool
1517797798c1SRalf Baechle	default y
1518797798c1SRalf Baechle
15190d7012a9SIngo Molnarconfig IRQ_PER_CPU
15200d7012a9SIngo Molnar	bool
15210d7012a9SIngo Molnar
1522797798c1SRalf Baechle#
15231da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
15241da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
15251da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
15261da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
15271da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
15281da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
15291da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
15301da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1531797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1532797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1533797798c1SRalf Baechle#   support.
15341da177e4SLinus Torvalds#
15351da177e4SLinus Torvaldsconfig HIGHMEM
15361da177e4SLinus Torvalds	bool "High Memory Support"
1537797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1538797798c1SRalf Baechle
1539797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1540797798c1SRalf Baechle	bool
1541797798c1SRalf Baechle
1542797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1543797798c1SRalf Baechle	bool
15441da177e4SLinus Torvalds
15459693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
15469693a853SFranck Bui-Huu	bool
15479693a853SFranck Bui-Huu
1548b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1549b4819b59SYoichi Yuasa	def_bool y
1550b4819b59SYoichi Yuasa	depends on !NUMA
1551b4819b59SYoichi Yuasa
1552d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1553d8cb4e11SRalf Baechle	bool
1554d8cb4e11SRalf Baechle	default y if SGI_IP27
1555d8cb4e11SRalf Baechle	help
15563dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1557d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1558d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1559d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1560d8cb4e11SRalf Baechle
1561b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1562b1c6cd42SAtsushi Nemoto	bool
15637de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
156431473747SAtsushi Nemoto
1565d8cb4e11SRalf Baechleconfig NUMA
1566d8cb4e11SRalf Baechle	bool "NUMA Support"
1567d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1568d8cb4e11SRalf Baechle	help
1569d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1570d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1571d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1572d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1573d8cb4e11SRalf Baechle	  disabled.
1574d8cb4e11SRalf Baechle
1575d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1576d8cb4e11SRalf Baechle	bool
1577d8cb4e11SRalf Baechle
1578c80d79d7SYasunori Gotoconfig NODES_SHIFT
1579c80d79d7SYasunori Goto	int
1580c80d79d7SYasunori Goto	default "6"
1581c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1582c80d79d7SYasunori Goto
1583b4819b59SYoichi Yuasasource "mm/Kconfig"
1584b4819b59SYoichi Yuasa
15851da177e4SLinus Torvaldsconfig SMP
15861da177e4SLinus Torvalds	bool "Multi-Processing support"
1587e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1588b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1589e73ea273SRalf Baechle	help
15901da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
15911da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
15921da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
15931da177e4SLinus Torvalds
15941da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
15951da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
15961da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
15971da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
15981da177e4SLinus Torvalds	  will run faster if you say N here.
15991da177e4SLinus Torvalds
16001da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
16011da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
16021da177e4SLinus Torvalds
16031da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
16041da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
16051da177e4SLinus Torvalds
16061da177e4SLinus Torvalds	  If you don't know what to do here, say N.
16071da177e4SLinus Torvalds
1608e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1609e73ea273SRalf Baechle	bool
1610e73ea273SRalf Baechle
161172ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
161272ede9b1SAtsushi Nemoto	bool
161372ede9b1SAtsushi Nemoto
1614130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1615130e2fb7SRalf Baechle	bool
1616130e2fb7SRalf Baechle
1617130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1618130e2fb7SRalf Baechle	bool
1619130e2fb7SRalf Baechle
1620130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1621130e2fb7SRalf Baechle	bool
1622130e2fb7SRalf Baechle
1623130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1624130e2fb7SRalf Baechle	bool
1625130e2fb7SRalf Baechle
1626130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1627130e2fb7SRalf Baechle	bool
1628130e2fb7SRalf Baechle
1629130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1630130e2fb7SRalf Baechle	bool
1631130e2fb7SRalf Baechle
16321da177e4SLinus Torvaldsconfig NR_CPUS
16331da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
163472ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
16351da177e4SLinus Torvalds	depends on SMP
163672ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1637130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1638130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1639130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1640130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1641130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1642130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
16431da177e4SLinus Torvalds	help
16441da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
16451da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
16461da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
164772ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
164872ede9b1SAtsushi Nemoto	  and 2 for all others.
16491da177e4SLinus Torvalds
16501da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
165172ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
165272ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
165372ede9b1SAtsushi Nemoto	  power of two.
16541da177e4SLinus Torvalds
16551723b4a3SAtsushi Nemoto#
16561723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
16571723b4a3SAtsushi Nemoto#
16581723b4a3SAtsushi Nemoto
16591723b4a3SAtsushi Nemotochoice
16601723b4a3SAtsushi Nemoto	prompt "Timer frequency"
16611723b4a3SAtsushi Nemoto	default HZ_250
16621723b4a3SAtsushi Nemoto	help
16631723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
16641723b4a3SAtsushi Nemoto
16651723b4a3SAtsushi Nemoto	config HZ_48
16661723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
16671723b4a3SAtsushi Nemoto
16681723b4a3SAtsushi Nemoto	config HZ_100
16691723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
16701723b4a3SAtsushi Nemoto
16711723b4a3SAtsushi Nemoto	config HZ_128
16721723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
16731723b4a3SAtsushi Nemoto
16741723b4a3SAtsushi Nemoto	config HZ_250
16751723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
16761723b4a3SAtsushi Nemoto
16771723b4a3SAtsushi Nemoto	config HZ_256
16781723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
16791723b4a3SAtsushi Nemoto
16801723b4a3SAtsushi Nemoto	config HZ_1000
16811723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
16821723b4a3SAtsushi Nemoto
16831723b4a3SAtsushi Nemoto	config HZ_1024
16841723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
16851723b4a3SAtsushi Nemoto
16861723b4a3SAtsushi Nemotoendchoice
16871723b4a3SAtsushi Nemoto
16881723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
16891723b4a3SAtsushi Nemoto	bool
16901723b4a3SAtsushi Nemoto
16911723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
16921723b4a3SAtsushi Nemoto	bool
16931723b4a3SAtsushi Nemoto
16941723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
16951723b4a3SAtsushi Nemoto	bool
16961723b4a3SAtsushi Nemoto
16971723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
16981723b4a3SAtsushi Nemoto	bool
16991723b4a3SAtsushi Nemoto
17001723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
17011723b4a3SAtsushi Nemoto	bool
17021723b4a3SAtsushi Nemoto
17031723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
17041723b4a3SAtsushi Nemoto	bool
17051723b4a3SAtsushi Nemoto
17061723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
17071723b4a3SAtsushi Nemoto	bool
17081723b4a3SAtsushi Nemoto
17091723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
17101723b4a3SAtsushi Nemoto	bool
17111723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
17121723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
17131723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
17141723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
17151723b4a3SAtsushi Nemoto
17161723b4a3SAtsushi Nemotoconfig HZ
17171723b4a3SAtsushi Nemoto	int
17181723b4a3SAtsushi Nemoto	default 48 if HZ_48
17191723b4a3SAtsushi Nemoto	default 100 if HZ_100
17201723b4a3SAtsushi Nemoto	default 128 if HZ_128
17211723b4a3SAtsushi Nemoto	default 250 if HZ_250
17221723b4a3SAtsushi Nemoto	default 256 if HZ_256
17231723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
17241723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
17251723b4a3SAtsushi Nemoto
1726e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
17271da177e4SLinus Torvalds
17281da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
17291da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1730875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
17311da177e4SLinus Torvalds	help
17321da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
17331da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
17341da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
17351da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
17361da177e4SLinus Torvalds	  recommended for normal users.
17371da177e4SLinus Torvalds
1738ea6e942bSAtsushi Nemotoconfig KEXEC
1739ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1740ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1741ea6e942bSAtsushi Nemoto	help
1742ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1743ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
17443dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1745ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1746ea6e942bSAtsushi Nemoto
1747ea6e942bSAtsushi Nemoto	  The name comes from the similiarity to the exec system call.
1748ea6e942bSAtsushi Nemoto
1749ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1750ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1751ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1752ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1753ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1754ea6e942bSAtsushi Nemoto
1755ea6e942bSAtsushi Nemotoconfig SECCOMP
1756ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1757ea6e942bSAtsushi Nemoto	depends on PROC_FS && BROKEN
1758ea6e942bSAtsushi Nemoto	default y
1759ea6e942bSAtsushi Nemoto	help
1760ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1761ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1762ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1763ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1764ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1765ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1766ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1767ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1768ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1769ea6e942bSAtsushi Nemoto
1770ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1771ea6e942bSAtsushi Nemoto
17725e83d430SRalf Baechleendmenu
17735e83d430SRalf Baechle
17741da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
17751da177e4SLinus Torvalds	bool
17761da177e4SLinus Torvalds	default y
17771da177e4SLinus Torvalds
17781df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
17791df0f0ffSAtsushi Nemoto	bool
17801df0f0ffSAtsushi Nemoto	default y
17811df0f0ffSAtsushi Nemoto
17821df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
17831df0f0ffSAtsushi Nemoto	bool
17841df0f0ffSAtsushi Nemoto	default y
17851df0f0ffSAtsushi Nemoto
1786b6c3539bSRalf Baechlesource "init/Kconfig"
1787b6c3539bSRalf Baechle
17881da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
17891da177e4SLinus Torvalds
17905e83d430SRalf Baechleconfig HW_HAS_EISA
17915e83d430SRalf Baechle	bool
17921da177e4SLinus Torvaldsconfig HW_HAS_PCI
17931da177e4SLinus Torvalds	bool
17941da177e4SLinus Torvalds
17951da177e4SLinus Torvaldsconfig PCI
17961da177e4SLinus Torvalds	bool "Support for PCI controller"
17971da177e4SLinus Torvalds	depends on HW_HAS_PCI
17981da177e4SLinus Torvalds	help
17991da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
18001da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
18011da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
18021da177e4SLinus Torvalds	  say Y, otherwise N.
18031da177e4SLinus Torvalds
18041da177e4SLinus Torvalds	  The PCI-HOWTO, available from
18051da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
18061da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
18071da177e4SLinus Torvalds	  doesn't.
18081da177e4SLinus Torvalds
18091da177e4SLinus Torvaldsconfig PCI_DOMAINS
18101da177e4SLinus Torvalds	bool
18111da177e4SLinus Torvalds	depends on PCI
18121da177e4SLinus Torvalds
18131da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
18141da177e4SLinus Torvalds
18151da177e4SLinus Torvalds#
18161da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
18171da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
18181da177e4SLinus Torvalds# users to choose the right thing ...
18191da177e4SLinus Torvalds#
18201da177e4SLinus Torvaldsconfig ISA
18211da177e4SLinus Torvalds	bool
18221da177e4SLinus Torvalds
18231da177e4SLinus Torvaldsconfig EISA
18241da177e4SLinus Torvalds	bool "EISA support"
18255e83d430SRalf Baechle	depends on HW_HAS_EISA
18261da177e4SLinus Torvalds	select ISA
1827aa414dffSRalf Baechle	select GENERIC_ISA_DMA
18281da177e4SLinus Torvalds	---help---
18291da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
18301da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
18311da177e4SLinus Torvalds
18321da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
18331da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
18341da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
18351da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
18361da177e4SLinus Torvalds
18371da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
18381da177e4SLinus Torvalds
18391da177e4SLinus Torvalds	  Otherwise, say N.
18401da177e4SLinus Torvalds
18411da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
18421da177e4SLinus Torvalds
18431da177e4SLinus Torvaldsconfig TC
18441da177e4SLinus Torvalds	bool "TURBOchannel support"
18451da177e4SLinus Torvalds	depends on MACH_DECSTATION
18461da177e4SLinus Torvalds	help
18471da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
18481da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
18491da177e4SLinus Torvalds	  is available at:
18501da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
18511da177e4SLinus Torvalds
18521da177e4SLinus Torvalds#config ACCESSBUS
18531da177e4SLinus Torvalds#	bool "Access.Bus support"
18541da177e4SLinus Torvalds#	depends on TC
18551da177e4SLinus Torvalds
18561da177e4SLinus Torvaldsconfig MMU
18571da177e4SLinus Torvalds	bool
18581da177e4SLinus Torvalds	default y
18591da177e4SLinus Torvalds
1860e5c6c8e4SMichael Neulingconfig I8253
1861e5c6c8e4SMichael Neuling	bool
1862e5c6c8e4SMichael Neuling
18631da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
18641da177e4SLinus Torvalds
18651da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
18661da177e4SLinus Torvalds
18671da177e4SLinus Torvaldsendmenu
18681da177e4SLinus Torvalds
18691da177e4SLinus Torvaldsmenu "Executable file formats"
18701da177e4SLinus Torvalds
18711da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
18721da177e4SLinus Torvalds
18731da177e4SLinus Torvaldsconfig TRAD_SIGNALS
18741da177e4SLinus Torvalds	bool
18751da177e4SLinus Torvalds
18761da177e4SLinus Torvaldsconfig BUILD_ELF64
18771da177e4SLinus Torvalds	bool "Use 64-bit ELF format for building"
1878875d43e7SRalf Baechle	depends on 64BIT
18791da177e4SLinus Torvalds	help
18801da177e4SLinus Torvalds	  A 64-bit kernel is usually built using the 64-bit ELF binary object
18811da177e4SLinus Torvalds	  format as it's one that allows arbitrary 64-bit constructs.  For
18821da177e4SLinus Torvalds	  kernels that are loaded within the KSEG compatibility segments the
18831da177e4SLinus Torvalds	  32-bit ELF format can optionally be used resulting in a somewhat
18841da177e4SLinus Torvalds	  smaller binary, but this option is not explicitly supported by the
18851da177e4SLinus Torvalds	  toolchain and since binutils 2.14 it does not even work at all.
18861da177e4SLinus Torvalds
18871da177e4SLinus Torvalds	  Say Y to use the 64-bit format or N to use the 32-bit one.
18881da177e4SLinus Torvalds
18891da177e4SLinus Torvalds	  If unsure say Y.
18901da177e4SLinus Torvalds
18911da177e4SLinus Torvaldsconfig BINFMT_IRIX
18921da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
18935e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
18941da177e4SLinus Torvalds
18951da177e4SLinus Torvaldsconfig MIPS32_COMPAT
18961da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1897875d43e7SRalf Baechle	depends on 64BIT
18981da177e4SLinus Torvalds	help
18991da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
19001da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
19011da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
19021da177e4SLinus Torvalds
19031da177e4SLinus Torvaldsconfig COMPAT
19041da177e4SLinus Torvalds	bool
19051da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19061da177e4SLinus Torvalds	default y
19071da177e4SLinus Torvalds
190805e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
190905e43966SAtsushi Nemoto	bool
191005e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
191105e43966SAtsushi Nemoto	default y
191205e43966SAtsushi Nemoto
19131da177e4SLinus Torvaldsconfig MIPS32_O32
19141da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
19151da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19161da177e4SLinus Torvalds	help
19171da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
19181da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
19191da177e4SLinus Torvalds	  existing binaries are in this format.
19201da177e4SLinus Torvalds
19211da177e4SLinus Torvalds	  If unsure, say Y.
19221da177e4SLinus Torvalds
19231da177e4SLinus Torvaldsconfig MIPS32_N32
19241da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
19251da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19261da177e4SLinus Torvalds	help
19271da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
19281da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
19291da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
19301da177e4SLinus Torvalds	  cases.
19311da177e4SLinus Torvalds
19321da177e4SLinus Torvalds	  If unsure, say N.
19331da177e4SLinus Torvalds
19341da177e4SLinus Torvaldsconfig BINFMT_ELF32
19351da177e4SLinus Torvalds	bool
19361da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
19371da177e4SLinus Torvalds
19382116245eSRalf Baechleendmenu
19391da177e4SLinus Torvalds
19402116245eSRalf Baechlemenu "Power management options"
1941952fa954SRodolfo Giometti
19422116245eSRalf Baechlesource "kernel/power/Kconfig"
1943952fa954SRodolfo Giometti
19441da177e4SLinus Torvaldsendmenu
19451da177e4SLinus Torvalds
1946d5950b43SSam Ravnborgsource "net/Kconfig"
1947d5950b43SSam Ravnborg
19481da177e4SLinus Torvaldssource "drivers/Kconfig"
19491da177e4SLinus Torvalds
19501da177e4SLinus Torvaldssource "fs/Kconfig"
19511da177e4SLinus Torvalds
19525e83d430SRalf Baechlesource "arch/mips/oprofile/Kconfig"
19535e83d430SRalf Baechle
19541da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
19551da177e4SLinus Torvalds
19561da177e4SLinus Torvaldssource "security/Kconfig"
19571da177e4SLinus Torvalds
19581da177e4SLinus Torvaldssource "crypto/Kconfig"
19591da177e4SLinus Torvalds
19601da177e4SLinus Torvaldssource "lib/Kconfig"
1961