xref: /linux/arch/mips/Kconfig (revision 3896b05418b9b8548a678231db754206b3ebe56e)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
41da177e4SLinus Torvalds	# Horrible source of confusion.  Die, die, die ...
51da177e4SLinus Torvalds	select EMBEDDED
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
81da177e4SLinus Torvalds
91da177e4SLinus Torvaldsmenu "Machine selection"
101da177e4SLinus Torvalds
115ac6da66SChristoph Lameterconfig ZONE_DMA
125ac6da66SChristoph Lameter	bool
135ac6da66SChristoph Lameter
145e83d430SRalf Baechlechoice
155e83d430SRalf Baechle	prompt "System type"
165e83d430SRalf Baechle	default SGI_IP22
171da177e4SLinus Torvalds
1842d226c7SSongmao Tianconfig LEMOTE_FULONG
1942d226c7SSongmao Tian	bool "Lemote Fulong mini-PC"
2042d226c7SSongmao Tian	select ARCH_SPARSEMEM_ENABLE
2142d226c7SSongmao Tian	select SYS_HAS_CPU_LOONGSON2
2242d226c7SSongmao Tian	select DMA_NONCOHERENT
2342d226c7SSongmao Tian	select BOOT_ELF32
2442d226c7SSongmao Tian	select BOARD_SCACHE
2542d226c7SSongmao Tian	select HAVE_STD_PC_SERIAL_PORT
2642d226c7SSongmao Tian	select HW_HAS_PCI
2742d226c7SSongmao Tian	select I8259
2842d226c7SSongmao Tian	select ISA
2942d226c7SSongmao Tian	select IRQ_CPU
3042d226c7SSongmao Tian	select SYS_SUPPORTS_32BIT_KERNEL
3142d226c7SSongmao Tian	select SYS_SUPPORTS_64BIT_KERNEL
3242d226c7SSongmao Tian	select SYS_SUPPORTS_LITTLE_ENDIAN
3342d226c7SSongmao Tian	select SYS_SUPPORTS_HIGHMEM
3442d226c7SSongmao Tian	select SYS_HAS_EARLY_PRINTK
3542d226c7SSongmao Tian	select GENERIC_HARDIRQS_NO__DO_IRQ
3642d226c7SSongmao Tian	select CPU_HAS_WB
3742d226c7SSongmao Tian	help
3842d226c7SSongmao Tian	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
3942d226c7SSongmao Tian	  an FPGA northbridge
4042d226c7SSongmao Tian
41c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
42c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
431da177e4SLinus Torvalds
4435189fadSRalf Baechleconfig BASLER_EXCITE
45be91589eSThomas Koeller	bool "Basler eXcite smart camera"
4635189fadSRalf Baechle	select DMA_COHERENT
4735189fadSRalf Baechle	select HW_HAS_PCI
4835189fadSRalf Baechle	select IRQ_CPU
4935189fadSRalf Baechle	select IRQ_CPU_RM7K
5035189fadSRalf Baechle	select IRQ_CPU_RM9K
51663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
5235189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
5335189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5435189fadSRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
5535189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
56cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
5735189fadSRalf Baechle	help
5835189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
59be91589eSThomas Koeller	  Basler Vision Technologies AG.
6035189fadSRalf Baechle
6135189fadSRalf Baechleconfig BASLER_EXCITE_PROTOTYPE
6235189fadSRalf Baechle	bool "Support for pre-release units"
6335189fadSRalf Baechle	depends on BASLER_EXCITE
6435189fadSRalf Baechle	default n
6535189fadSRalf Baechle	help
6635189fadSRalf Baechle	  Pre-series (prototype) units are different from later ones in
6735189fadSRalf Baechle	  some ways. Select this option if you have one of these. Please
6835189fadSRalf Baechle	  note that a kernel built with this option selected will not be
6935189fadSRalf Baechle	  able to run on normal units.
7035189fadSRalf Baechle
711da177e4SLinus Torvaldsconfig MIPS_COBALT
723fa986faSMartin Michlmayr	bool "Cobalt Server"
731da177e4SLinus Torvalds	select DMA_NONCOHERENT
741da177e4SLinus Torvalds	select HW_HAS_PCI
751da177e4SLinus Torvalds	select I8259
761da177e4SLinus Torvalds	select IRQ_CPU
77252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
787cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
790a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
80ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
81ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
825e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
839fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
841da177e4SLinus Torvalds
851da177e4SLinus Torvaldsconfig MACH_DECSTATION
863fa986faSMartin Michlmayr	bool "DECstations"
871da177e4SLinus Torvalds	select BOOT_ELF32
881da177e4SLinus Torvalds	select DMA_NONCOHERENT
89d388d685SMaciej W. Rozycki	select NO_IOPORT
901da177e4SLinus Torvalds	select IRQ_CPU
917cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
927cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
93ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
94ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
955e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
961723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
971723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
981723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
995e83d430SRalf Baechle	help
1001da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1011da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1021da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1051da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds	  	DECstation 5000/50
1081da177e4SLinus Torvalds	  	DECstation 5000/150
1091da177e4SLinus Torvalds	  	DECstation 5000/260
1101da177e4SLinus Torvalds	  	DECsystem 5900/260
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvalds	  otherwise choose R3000.
1131da177e4SLinus Torvalds
1145e83d430SRalf Baechleconfig MACH_JAZZ
1153fa986faSMartin Michlmayr	bool "Jazz family of machines"
1165e83d430SRalf Baechle	select ARC
1175e83d430SRalf Baechle	select ARC32
1185e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1195e83d430SRalf Baechle	select GENERIC_ISA_DMA
120e5c6c8e4SMichael Neuling	select I8253
1215e83d430SRalf Baechle	select I8259
1225e83d430SRalf Baechle	select ISA
1237cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1245e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1255e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1261723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1279fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1281da177e4SLinus Torvalds	help
1295e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1305e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1315e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1325e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1335e83d430SRalf Baechle
1345e83d430SRalf Baechleconfig LASAT
1353fa986faSMartin Michlmayr	bool "LASAT Networks platforms"
1365e83d430SRalf Baechle	select DMA_NONCOHERENT
13736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1385e83d430SRalf Baechle	select HW_HAS_PCI
139252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1405e83d430SRalf Baechle	select MIPS_NILE4
1415e83d430SRalf Baechle	select R5000_CPU_SCACHE
1427cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
1435e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
144080e948cSRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1455e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
146e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvaldsconfig MIPS_ATLAS
1493fa986faSMartin Michlmayr	bool "MIPS Atlas board"
1501da177e4SLinus Torvalds	select BOOT_ELF32
1511da177e4SLinus Torvalds	select DMA_NONCOHERENT
15236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
1535e83d430SRalf Baechle	select IRQ_CPU
1541da177e4SLinus Torvalds	select HW_HAS_PCI
1555e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1565e83d430SRalf Baechle	select MIPS_BONITO64
157252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1585e83d430SRalf Baechle	select MIPS_MSC
159f4b7cdb4SMaciej W. Rozycki	select RM7000_CPU_SCACHE
1601da177e4SLinus Torvalds	select SWAP_IO_SPACE
1617cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1627cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1637cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1647cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1657cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
166ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
167ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
1685e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1695e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
170f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
1719693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
172e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
1731da177e4SLinus Torvalds	help
174f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Atlas evaluation
1751da177e4SLinus Torvalds	  board.
1761da177e4SLinus Torvalds
1771da177e4SLinus Torvaldsconfig MIPS_MALTA
1783fa986faSMartin Michlmayr	bool "MIPS Malta board"
17961ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1801da177e4SLinus Torvalds	select BOOT_ELF32
1811da177e4SLinus Torvalds	select DMA_NONCOHERENT
1821da177e4SLinus Torvalds	select GENERIC_ISA_DMA
183aa414dffSRalf Baechle	select IRQ_CPU
1841da177e4SLinus Torvalds	select HW_HAS_PCI
1851da177e4SLinus Torvalds	select I8259
1865e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1875e83d430SRalf Baechle	select MIPS_BONITO64
1889318c51aSChris Dearman	select MIPS_CPU_SCACHE
189252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
1905e83d430SRalf Baechle	select MIPS_MSC
1911da177e4SLinus Torvalds	select SWAP_IO_SPACE
1927cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
1937cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
1947cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
1957cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1967cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
19736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
198ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
199ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2005e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2015e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
202f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2039693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2041da177e4SLinus Torvalds	help
205f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2061da177e4SLinus Torvalds	  board.
2071da177e4SLinus Torvalds
2081da177e4SLinus Torvaldsconfig MIPS_SEAD
2093fa986faSMartin Michlmayr	bool "MIPS SEAD board (EXPERIMENTAL)"
2101da177e4SLinus Torvalds	depends on EXPERIMENTAL
2111da177e4SLinus Torvalds	select IRQ_CPU
2121da177e4SLinus Torvalds	select DMA_NONCOHERENT
21336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
2145e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2157cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2167cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2177cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
218ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2195e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
2205e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2215e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2229693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
223f638d197SMaciej W. Rozycki	help
224f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies SEAD evaluation
225f638d197SMaciej W. Rozycki	  board.
2261da177e4SLinus Torvalds
227a240a469SMark.Zhanconfig WR_PPMC
2289247857fSMark.Zhan	bool "Wind River PPMC board"
229a240a469SMark.Zhan	select IRQ_CPU
230a240a469SMark.Zhan	select BOOT_ELF32
231a240a469SMark.Zhan	select DMA_NONCOHERENT
232a240a469SMark.Zhan	select HW_HAS_PCI
233252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
234a240a469SMark.Zhan	select SWAP_IO_SPACE
235a240a469SMark.Zhan	select SYS_HAS_CPU_MIPS32_R1
236a240a469SMark.Zhan	select SYS_HAS_CPU_MIPS32_R2
237a240a469SMark.Zhan	select SYS_HAS_CPU_MIPS64_R1
238a240a469SMark.Zhan	select SYS_HAS_CPU_NEVADA
239a240a469SMark.Zhan	select SYS_HAS_CPU_RM7000
240a240a469SMark.Zhan	select SYS_SUPPORTS_32BIT_KERNEL
241a240a469SMark.Zhan	select SYS_SUPPORTS_64BIT_KERNEL
242a240a469SMark.Zhan	select SYS_SUPPORTS_BIG_ENDIAN
243a240a469SMark.Zhan	select SYS_SUPPORTS_LITTLE_ENDIAN
244a240a469SMark.Zhan	help
245a240a469SMark.Zhan	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
246a240a469SMark.Zhan	  board, which is based on GT64120 bridge chip.
247a240a469SMark.Zhan
248c78cbf49SRalf Baechleconfig MIPS_SIM
2493fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
250c78cbf49SRalf Baechle	select DMA_NONCOHERENT
25136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
252c78cbf49SRalf Baechle	select IRQ_CPU
2539267a30dSMarc St-Jean	select BOOT_RAW
2547cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2557cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
25636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
257c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
258c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
259f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
260c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
261c78cbf49SRalf Baechle	help
262c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
263c78cbf49SRalf Baechle	  emulator.
264c78cbf49SRalf Baechle
2655e83d430SRalf Baechleconfig MOMENCO_OCELOT
2663fa986faSMartin Michlmayr	bool "Momentum Ocelot board"
2675e83d430SRalf Baechle	select DMA_NONCOHERENT
2681da177e4SLinus Torvalds	select HW_HAS_PCI
2691da177e4SLinus Torvalds	select IRQ_CPU
2701da177e4SLinus Torvalds	select IRQ_CPU_RM7K
271252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2725e83d430SRalf Baechle	select RM7000_CPU_SCACHE
2731da177e4SLinus Torvalds	select SWAP_IO_SPACE
2747cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
275ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
276ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2775e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
278cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
2791da177e4SLinus Torvalds	help
2805e83d430SRalf Baechle	  The Ocelot is a MIPS-based Single Board Computer (SBC) made by
2815e83d430SRalf Baechle	  Momentum Computer <http://www.momenco.com/>.
2821da177e4SLinus Torvalds
2835e83d430SRalf Baechleconfig MOMENCO_OCELOT_3
2843fa986faSMartin Michlmayr	bool "Momentum Ocelot-3 board"
2855e83d430SRalf Baechle	select BOOT_ELF32
2865e83d430SRalf Baechle	select DMA_NONCOHERENT
2875e83d430SRalf Baechle	select HW_HAS_PCI
2885e83d430SRalf Baechle	select IRQ_CPU
2895e83d430SRalf Baechle	select IRQ_CPU_RM7K
2905e83d430SRalf Baechle	select IRQ_MV64340
2915e83d430SRalf Baechle	select PCI_MARVELL
2925e83d430SRalf Baechle	select RM7000_CPU_SCACHE
2935e83d430SRalf Baechle	select SWAP_IO_SPACE
2947cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
2955e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
2965e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
2975e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2985e83d430SRalf Baechle	help
2995e83d430SRalf Baechle	  The Ocelot-3 is based off Discovery III System Controller and
3005e83d430SRalf Baechle	  PMC-Sierra Rm79000 core.
3015e83d430SRalf Baechle
302bdf21b18SPete Popovconfig PNX8550_JBS
3033fa986faSMartin Michlmayr	bool "Philips PNX8550 based JBS board"
304bdf21b18SPete Popov	select PNX8550
305bdf21b18SPete Popov	select SYS_SUPPORTS_LITTLE_ENDIAN
306bdf21b18SPete Popov
307f0647a52SVitaly Woolconfig PNX8550_STB810
308e460b73cSYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
309f0647a52SVitaly Wool	select PNX8550
310f0647a52SVitaly Wool	select SYS_SUPPORTS_LITTLE_ENDIAN
311f0647a52SVitaly Wool
3121da177e4SLinus Torvaldsconfig DDB5477
3133fa986faSMartin Michlmayr	bool "NEC DDB Vrc-5477"
3145e83d430SRalf Baechle	select DDB5XXX_COMMON
3151da177e4SLinus Torvalds	select DMA_NONCOHERENT
3161da177e4SLinus Torvalds	select HW_HAS_PCI
3171da177e4SLinus Torvalds	select I8259
3181da177e4SLinus Torvalds	select IRQ_CPU
3197cf8053bSRalf Baechle	select SYS_HAS_CPU_R5432
320ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
321ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
322cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
323cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3245e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
3251da177e4SLinus Torvalds	help
3261da177e4SLinus Torvalds	  This enables support for the R5432-based NEC DDB Vrc-5477,
3271da177e4SLinus Torvalds	  or Rockhopper/SolutionGear boards with R5432/R5500 CPUs.
3281da177e4SLinus Torvalds
3291da177e4SLinus Torvalds	  Features : kernel debugging, serial terminal, NFS root fs, on-board
3301da177e4SLinus Torvalds	  ether port USB, AC97, PCI, etc.
3311da177e4SLinus Torvalds
3325e83d430SRalf Baechleconfig MACH_VR41XX
33374142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
3347cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
3359fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
3365e83d430SRalf Baechle
3379267a30dSMarc St-Jeanconfig PMC_MSP
3389267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3399267a30dSMarc St-Jean	depends on EXPERIMENTAL
3409267a30dSMarc St-Jean	select DMA_NONCOHERENT
3419267a30dSMarc St-Jean	select SWAP_IO_SPACE
3429267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3439267a30dSMarc St-Jean	select BOOT_RAW
3449267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3459267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3469267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3479267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3489267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
3499267a30dSMarc St-Jean	select IRQ_CPU
3509267a30dSMarc St-Jean	select SERIAL_8250
3519267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3529267a30dSMarc St-Jean	help
3539267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3549267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3559267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3569267a30dSMarc St-Jean	  a variety of MIPS cores.
3579267a30dSMarc St-Jean
3585e83d430SRalf Baechleconfig PMC_YOSEMITE
3593fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
3605e83d430SRalf Baechle	select DMA_COHERENT
3615e83d430SRalf Baechle	select HW_HAS_PCI
3625e83d430SRalf Baechle	select IRQ_CPU
3635e83d430SRalf Baechle	select IRQ_CPU_RM7K
3645e83d430SRalf Baechle	select IRQ_CPU_RM9K
3655e83d430SRalf Baechle	select SWAP_IO_SPACE
3667cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
36736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3685e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3695e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3705e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3715e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
372cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
373e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3745e83d430SRalf Baechle	help
3755e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3765e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3771da177e4SLinus Torvalds
37807119621SRalf Baechleconfig QEMU
3793fa986faSMartin Michlmayr	bool "Qemu"
38007119621SRalf Baechle	select DMA_COHERENT
38107119621SRalf Baechle	select GENERIC_ISA_DMA
38207119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
383e5c6c8e4SMichael Neuling	select I8253
38407119621SRalf Baechle	select I8259
38507119621SRalf Baechle	select ISA
38607119621SRalf Baechle	select SWAP_IO_SPACE
3877cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
38807119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
38907119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
390c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
391b1c6cd42SAtsushi Nemoto	select ARCH_SPARSEMEM_ENABLE
3929fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
39372ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
39472ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
39507119621SRalf Baechle	help
39607119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
39707119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
39807119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
39907119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
40007119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
40107119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
40207119621SRalf Baechle
403355c471fSdmitry pervushinconfig MARKEINS
404e460b73cSYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
405355c471fSdmitry pervushin	select DMA_NONCOHERENT
406355c471fSdmitry pervushin	select HW_HAS_PCI
407355c471fSdmitry pervushin	select IRQ_CPU
408355c471fSdmitry pervushin	select SWAP_IO_SPACE
409355c471fSdmitry pervushin	select SYS_SUPPORTS_32BIT_KERNEL
410355c471fSdmitry pervushin	select SYS_SUPPORTS_BIG_ENDIAN
411355c471fSdmitry pervushin	select SYS_SUPPORTS_LITTLE_ENDIAN
412355c471fSdmitry pervushin	select SYS_HAS_CPU_R5000
413355c471fSdmitry pervushin	help
414355c471fSdmitry pervushin	  This enables support for the R5432-based NEC Mark-eins
415355c471fSdmitry pervushin	  boards with R5500 CPU.
416355c471fSdmitry pervushin
4171da177e4SLinus Torvaldsconfig SGI_IP22
4183fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
4191da177e4SLinus Torvalds	select ARC
4201da177e4SLinus Torvalds	select ARC32
4211da177e4SLinus Torvalds	select BOOT_ELF32
4221da177e4SLinus Torvalds	select DMA_NONCOHERENT
4235e83d430SRalf Baechle	select HW_HAS_EISA
4241da177e4SLinus Torvalds	select IP22_CPU_SCACHE
4251da177e4SLinus Torvalds	select IRQ_CPU
426aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
4271da177e4SLinus Torvalds	select SWAP_IO_SPACE
4287cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
4297cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
43036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
431ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
432ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4335e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4341da177e4SLinus Torvalds	help
4351da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4361da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4371da177e4SLinus Torvalds	  that runs on these, say Y here.
4381da177e4SLinus Torvalds
4391da177e4SLinus Torvaldsconfig SGI_IP27
4403fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4411da177e4SLinus Torvalds	select ARC
4421da177e4SLinus Torvalds	select ARC64
4435e83d430SRalf Baechle	select BOOT_ELF64
4441da177e4SLinus Torvalds	select DMA_IP27
44536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4461da177e4SLinus Torvalds	select HW_HAS_PCI
447130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4481da177e4SLinus Torvalds	select PCI_DOMAINS
4497cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
450ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4515e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
452cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
453d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4541a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
455e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
4561da177e4SLinus Torvalds	help
4571da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4581da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4591da177e4SLinus Torvalds	  here.
4601da177e4SLinus Torvalds
4611da177e4SLinus Torvaldsconfig SGI_IP32
462cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4631da177e4SLinus Torvalds	select ARC
4641da177e4SLinus Torvalds	select ARC32
4651da177e4SLinus Torvalds	select BOOT_ELF32
4661da177e4SLinus Torvalds	select DMA_NONCOHERENT
4671da177e4SLinus Torvalds	select HW_HAS_PCI
4681da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4691da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4707cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4717cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4727cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
473dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
474ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4755e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4761da177e4SLinus Torvalds	help
4771da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4781da177e4SLinus Torvalds
4799a6dcea1SAndrew Isaacsonconfig SIBYTE_BIGSUR
4803fa986faSMartin Michlmayr	bool "Sibyte BCM91480B-BigSur"
4819a6dcea1SAndrew Isaacson	select BOOT_ELF32
4829a6dcea1SAndrew Isaacson	select DMA_COHERENT
483130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_4
4847cf8053bSRalf Baechle	select PCI_DOMAINS
4859a6dcea1SAndrew Isaacson	select SIBYTE_BCM1x80
4869a6dcea1SAndrew Isaacson	select SWAP_IO_SPACE
4877cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4889a6dcea1SAndrew Isaacson	select SYS_SUPPORTS_BIG_ENDIAN
4899a6dcea1SAndrew Isaacson	select SYS_SUPPORTS_LITTLE_ENDIAN
4909a6dcea1SAndrew Isaacson
4915e83d430SRalf Baechleconfig SIBYTE_SWARM
4923fa986faSMartin Michlmayr	bool "Sibyte BCM91250A-SWARM"
4935e83d430SRalf Baechle	select BOOT_ELF32
4945e83d430SRalf Baechle	select DMA_COHERENT
495130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
4965e83d430SRalf Baechle	select SIBYTE_SB1250
4975e83d430SRalf Baechle	select SWAP_IO_SPACE
4987cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4995e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5005e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
501cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
5025e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
503e3ad1c23SPete Popov
5045e83d430SRalf Baechleconfig SIBYTE_SENTOSA
5053fa986faSMartin Michlmayr	bool "Sibyte BCM91250E-Sentosa"
5065e83d430SRalf Baechle	depends on EXPERIMENTAL
5075e83d430SRalf Baechle	select BOOT_ELF32
5085e83d430SRalf Baechle	select DMA_COHERENT
509130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
5105e83d430SRalf Baechle	select SIBYTE_SB1250
5115e83d430SRalf Baechle	select SWAP_IO_SPACE
5127cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5135e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5145e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5155e83d430SRalf Baechle
5165e83d430SRalf Baechleconfig SIBYTE_RHONE
5173fa986faSMartin Michlmayr	bool "Sibyte BCM91125E-Rhone"
5185e83d430SRalf Baechle	depends on EXPERIMENTAL
5195e83d430SRalf Baechle	select BOOT_ELF32
5205e83d430SRalf Baechle	select DMA_COHERENT
5215e83d430SRalf Baechle	select SIBYTE_BCM1125H
5225e83d430SRalf Baechle	select SWAP_IO_SPACE
5237cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5245e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5255e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5265e83d430SRalf Baechle
5275e83d430SRalf Baechleconfig SIBYTE_CARMEL
5283fa986faSMartin Michlmayr	bool "Sibyte BCM91120x-Carmel"
5295e83d430SRalf Baechle	depends on EXPERIMENTAL
5305e83d430SRalf Baechle	select BOOT_ELF32
5315e83d430SRalf Baechle	select DMA_COHERENT
5325e83d430SRalf Baechle	select SIBYTE_BCM1120
5335e83d430SRalf Baechle	select SWAP_IO_SPACE
5347cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5355e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5365e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5375e83d430SRalf Baechle
5385e83d430SRalf Baechleconfig SIBYTE_PTSWARM
5393fa986faSMartin Michlmayr	bool "Sibyte BCM91250PT-PTSWARM"
5405e83d430SRalf Baechle	depends on EXPERIMENTAL
5415e83d430SRalf Baechle	select BOOT_ELF32
5425e83d430SRalf Baechle	select DMA_COHERENT
543130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
5445e83d430SRalf Baechle	select SIBYTE_SB1250
5455e83d430SRalf Baechle	select SWAP_IO_SPACE
5467cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5475e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5485e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5495e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5505e83d430SRalf Baechle
5515e83d430SRalf Baechleconfig SIBYTE_LITTLESUR
5523fa986faSMartin Michlmayr	bool "Sibyte BCM91250C2-LittleSur"
5535e83d430SRalf Baechle	depends on EXPERIMENTAL
5545e83d430SRalf Baechle	select BOOT_ELF32
5555e83d430SRalf Baechle	select DMA_COHERENT
556130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
5575e83d430SRalf Baechle	select SIBYTE_SB1250
5585e83d430SRalf Baechle	select SWAP_IO_SPACE
5597cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5605e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5615e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5625e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5635e83d430SRalf Baechle
5645e83d430SRalf Baechleconfig SIBYTE_CRHINE
5653fa986faSMartin Michlmayr	bool "Sibyte BCM91120C-CRhine"
5665e83d430SRalf Baechle	depends on EXPERIMENTAL
5675e83d430SRalf Baechle	select BOOT_ELF32
5685e83d430SRalf Baechle	select DMA_COHERENT
5695e83d430SRalf Baechle	select SIBYTE_BCM1120
5705e83d430SRalf Baechle	select SWAP_IO_SPACE
5717cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5725e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5735e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5745e83d430SRalf Baechle
5755e83d430SRalf Baechleconfig SIBYTE_CRHONE
5763fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
5775e83d430SRalf Baechle	depends on EXPERIMENTAL
5785e83d430SRalf Baechle	select BOOT_ELF32
5795e83d430SRalf Baechle	select DMA_COHERENT
5805e83d430SRalf Baechle	select SIBYTE_BCM1125
5815e83d430SRalf Baechle	select SWAP_IO_SPACE
5827cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5835e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5845e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5855e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5865e83d430SRalf Baechle
58714b36af4SThomas Bogendoerferconfig SNI_RM
58814b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5894a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5904a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
5915e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5925e83d430SRalf Baechle	select BOOT_ELF32
5935e83d430SRalf Baechle	select DMA_NONCOHERENT
5945e83d430SRalf Baechle	select GENERIC_ISA_DMA
5955e83d430SRalf Baechle	select HW_HAS_EISA
5965e83d430SRalf Baechle	select HW_HAS_PCI
597c066a32aSThomas Bogendoerfer	select IRQ_CPU
598e5c6c8e4SMichael Neuling	select I8253
5995e83d430SRalf Baechle	select I8259
6005e83d430SRalf Baechle	select ISA
6014a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
6027cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
6034a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
604c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
6054a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
60636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
607ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
6085e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
6094a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
6105e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6115e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6121da177e4SLinus Torvalds	help
61314b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
61414b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
6155e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
6165e83d430SRalf Baechle	  support this machine type.
6171da177e4SLinus Torvalds
6185e83d430SRalf Baechleconfig TOSHIBA_JMR3927
6193fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
6205e83d430SRalf Baechle	select DMA_NONCOHERENT
6215e83d430SRalf Baechle	select HW_HAS_PCI
6225e83d430SRalf Baechle	select MIPS_TX3927
6235e83d430SRalf Baechle	select SWAP_IO_SPACE
6247cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
6255e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6266a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6275e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6282127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6295e83d430SRalf Baechle
6305e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
6313fa986faSMartin Michlmayr	bool "Toshiba TBTX49[23]7 board"
6325e83d430SRalf Baechle	select DMA_NONCOHERENT
6335e83d430SRalf Baechle	select HAS_TXX9_SERIAL
6345e83d430SRalf Baechle	select HW_HAS_PCI
6355e83d430SRalf Baechle	select I8259
6365e83d430SRalf Baechle	select SWAP_IO_SPACE
6377cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
6385e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6395e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
6406a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6415e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
642cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6439fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6445e83d430SRalf Baechle	help
6455e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
6465e83d430SRalf Baechle	  support this machine type
6471da177e4SLinus Torvalds
64823fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
6493fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
65023fbee9dSRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
65123fbee9dSRalf Baechle	select DMA_NONCOHERENT
65223fbee9dSRalf Baechle	select GENERIC_ISA_DMA
65323fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
65423fbee9dSRalf Baechle	select HW_HAS_PCI
65523fbee9dSRalf Baechle	select I8259
65623fbee9dSRalf Baechle	select SWAP_IO_SPACE
6577cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
65823fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
65923fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
66023fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
661cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6629fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
663*3896b054SAtsushi Nemoto	select GENERIC_GPIO
66423fbee9dSRalf Baechle	help
66523fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
66623fbee9dSRalf Baechle	  support this machine type
66723fbee9dSRalf Baechle
6681da177e4SLinus Torvaldsendchoice
6691da177e4SLinus Torvalds
670c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6715e83d430SRalf Baechlesource "arch/mips/ddb5xxx/Kconfig"
6725e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6735e83d430SRalf Baechlesource "arch/mips/lasat/Kconfig"
6745e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
67529c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
67638b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6775e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
67823fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6795e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
680bdf21b18SPete Popovsource "arch/mips/philips/pnx8550/common/Kconfig"
68138b18f72SRalf Baechle
6825e83d430SRalf Baechleendmenu
6835e83d430SRalf Baechle
6841da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6851da177e4SLinus Torvalds	bool
6861da177e4SLinus Torvalds	default y
6871da177e4SLinus Torvalds
6881da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6891da177e4SLinus Torvalds	bool
6901da177e4SLinus Torvalds
691f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
692f0d1b0b3SDavid Howells	bool
693f0d1b0b3SDavid Howells	default n
694f0d1b0b3SDavid Howells
695f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
696f0d1b0b3SDavid Howells	bool
697f0d1b0b3SDavid Howells	default n
698f0d1b0b3SDavid Howells
6993c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7003c9ee7efSAkinobu Mita	bool
7013c9ee7efSAkinobu Mita	default y
7023c9ee7efSAkinobu Mita
7033c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7043c9ee7efSAkinobu Mita	bool
7053c9ee7efSAkinobu Mita	default y
7063c9ee7efSAkinobu Mita
7071da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7081da177e4SLinus Torvalds	bool
7091da177e4SLinus Torvalds	default y
7101da177e4SLinus Torvalds
7118db02010SRalf Baechleconfig GENERIC_TIME
7128db02010SRalf Baechle	bool
7138db02010SRalf Baechle	default y
7148db02010SRalf Baechle
7151cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
7161cc89038SAtsushi Nemoto	bool
7171cc89038SAtsushi Nemoto	default y
7181cc89038SAtsushi Nemoto
719e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
720e77c232cSFranck Bui-Huu	bool
721e77c232cSFranck Bui-Huu	default n
722e77c232cSFranck Bui-Huu
7231da177e4SLinus Torvalds#
7241da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7251da177e4SLinus Torvalds#
7261da177e4SLinus Torvaldsconfig ARC
7271da177e4SLinus Torvalds	bool
7281da177e4SLinus Torvalds
72961ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
73061ed242dSRalf Baechle	bool
73161ed242dSRalf Baechle
7329267a30dSMarc St-Jeanconfig BOOT_RAW
7339267a30dSMarc St-Jean	bool
7349267a30dSMarc St-Jean
7351da177e4SLinus Torvaldsconfig DMA_COHERENT
7361da177e4SLinus Torvalds	bool
7371da177e4SLinus Torvalds
7381da177e4SLinus Torvaldsconfig DMA_IP27
7391da177e4SLinus Torvalds	bool
7401da177e4SLinus Torvalds
7414ce588cdSRalf Baechleconfig DMA_IP32
7424ce588cdSRalf Baechle	bool
7434ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7444ce588cdSRalf Baechle
7451da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7461da177e4SLinus Torvalds	bool
7474ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7484ce588cdSRalf Baechle
7494ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7504ce588cdSRalf Baechle	bool
7511da177e4SLinus Torvalds
7521da177e4SLinus Torvaldsconfig EARLY_PRINTK
75336a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
75436a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
75536a88530SRalf Baechle	default y
75636a88530SRalf Baechle	help
75736a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
75836a88530SRalf Baechle	  to print messages very early in the bootup process.
75936a88530SRalf Baechle
76036a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
761490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
762490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
763490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
76436a88530SRalf Baechle	  unless you want to debug such a crash.
76536a88530SRalf Baechle
76636a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7671da177e4SLinus Torvalds	bool
7681da177e4SLinus Torvalds
7691da177e4SLinus Torvaldsconfig GENERIC_ISA_DMA
7701da177e4SLinus Torvalds	bool
77105502339SAtsushi Nemoto	select ZONE_DMA
7721da177e4SLinus Torvalds
7731da177e4SLinus Torvaldsconfig I8259
7741da177e4SLinus Torvalds	bool
7751da177e4SLinus Torvalds
7761da177e4SLinus Torvaldsconfig MIPS_BONITO64
7771da177e4SLinus Torvalds	bool
7781da177e4SLinus Torvalds
7791da177e4SLinus Torvaldsconfig MIPS_MSC
7801da177e4SLinus Torvalds	bool
7811da177e4SLinus Torvalds
7821da177e4SLinus Torvaldsconfig MIPS_NILE4
7831da177e4SLinus Torvalds	bool
7841da177e4SLinus Torvalds
7851da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7861da177e4SLinus Torvalds	bool
7871da177e4SLinus Torvalds
788d388d685SMaciej W. Rozyckiconfig NO_IOPORT
789d388d685SMaciej W. Rozycki	def_bool n
790d388d685SMaciej W. Rozycki
791aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
792aa414dffSRalf Baechle	bool
79305502339SAtsushi Nemoto	select ZONE_DMA
794aa414dffSRalf Baechle
79509663335SYoichi Yuasaconfig GENERIC_GPIO
79609663335SYoichi Yuasa	bool
79709663335SYoichi Yuasa
7985e83d430SRalf Baechle#
7993cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
8005e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
8015e83d430SRalf Baechle# choice statement should be more obvious to the user.
8025e83d430SRalf Baechle#
8035e83d430SRalf Baechlechoice
8045e83d430SRalf Baechle	prompt "Endianess selection"
8051da177e4SLinus Torvalds	help
8061da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
8075e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
8083cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
8095e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
8103dde6ad8SDavid Sterba	  one or the other endianness.
8115e83d430SRalf Baechle
8125e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
8135e83d430SRalf Baechle	bool "Big endian"
8145e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
8155e83d430SRalf Baechle
8165e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8175e83d430SRalf Baechle	bool "Little endian"
8185e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8195e83d430SRalf Baechle	help
8205e83d430SRalf Baechle
8215e83d430SRalf Baechleendchoice
8225e83d430SRalf Baechle
8232116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8242116245eSRalf Baechle	bool
8252116245eSRalf Baechle
8265e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8275e83d430SRalf Baechle	bool
8285e83d430SRalf Baechle
8295e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8305e83d430SRalf Baechle	bool
8311da177e4SLinus Torvalds
8321da177e4SLinus Torvaldsconfig IRQ_CPU
8331da177e4SLinus Torvalds	bool
8341da177e4SLinus Torvalds
8351da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8361da177e4SLinus Torvalds	bool
8371da177e4SLinus Torvalds
8385e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8395e83d430SRalf Baechle	bool
8405e83d430SRalf Baechle
8419267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8429267a30dSMarc St-Jean	bool
8439267a30dSMarc St-Jean
8449267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
8459267a30dSMarc St-Jean	bool
8469267a30dSMarc St-Jean
8471da177e4SLinus Torvaldsconfig IRQ_MV64340
8481da177e4SLinus Torvalds	bool
8491da177e4SLinus Torvalds
8501da177e4SLinus Torvaldsconfig DDB5XXX_COMMON
8511da177e4SLinus Torvalds	bool
852cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8531da177e4SLinus Torvalds
8541da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8551da177e4SLinus Torvalds	bool
8561da177e4SLinus Torvalds
857252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8581da177e4SLinus Torvalds	bool
8591da177e4SLinus Torvalds
8609267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
8619267a30dSMarc St-Jean	bool
8629267a30dSMarc St-Jean
8631da177e4SLinus Torvaldsconfig MIPS_TX3927
8641da177e4SLinus Torvalds	bool
8651da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
8661da177e4SLinus Torvalds
867663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
868663c3d90Sthomas@koeller.dyndns.org	bool
869663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
870663c3d90Sthomas@koeller.dyndns.org
8711da177e4SLinus Torvaldsconfig PCI_MARVELL
8721da177e4SLinus Torvalds	bool
8731da177e4SLinus Torvalds
874bdf21b18SPete Popovconfig PNX8550
875bdf21b18SPete Popov	bool
876bdf21b18SPete Popov	select SOC_PNX8550
877bdf21b18SPete Popov
878bdf21b18SPete Popovconfig SOC_PNX8550
879bdf21b18SPete Popov	bool
880bdf21b18SPete Popov	select DMA_NONCOHERENT
881bdf21b18SPete Popov	select HW_HAS_PCI
882b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
88336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8847cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
885e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
886cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8874ead1681SFlorian Fainelli	select GENERIC_GPIO
888bdf21b18SPete Popov
8891da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8901da177e4SLinus Torvalds	bool
8911da177e4SLinus Torvalds
892355c471fSdmitry pervushinconfig EMMA2RH
893355c471fSdmitry pervushin	bool
894355c471fSdmitry pervushin	depends on MARKEINS
895355c471fSdmitry pervushin	default y
896355c471fSdmitry pervushin
897663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
898663c3d90Sthomas@koeller.dyndns.org	bool
899663c3d90Sthomas@koeller.dyndns.org
9001da177e4SLinus Torvalds#
9011da177e4SLinus Torvalds# Unfortunately not all GT64120 systems run the chip at the same clock.
9021da177e4SLinus Torvalds# As the user for the clock rate and try to minimize the available options.
9031da177e4SLinus Torvalds#
9041da177e4SLinus Torvaldschoice
9051da177e4SLinus Torvalds	prompt "Galileo Chip Clock"
9066b5bf509SYoichi Yuasa	depends on MOMENCO_OCELOT
9071e54f778SFranck Bui-Huu	default SYSCLK_100 if MOMENCO_OCELOT
9081da177e4SLinus Torvalds
9091da177e4SLinus Torvaldsconfig SYSCLK_100
9106b5bf509SYoichi Yuasa	bool "100" if MOMENCO_OCELOT
9111da177e4SLinus Torvalds
9121da177e4SLinus Torvaldsendchoice
9131da177e4SLinus Torvalds
9145e83d430SRalf Baechleconfig ARC32
9155e83d430SRalf Baechle	bool
9165e83d430SRalf Baechle
9171da177e4SLinus Torvaldsconfig BOOT_ELF32
9181da177e4SLinus Torvalds	bool
9191da177e4SLinus Torvalds
9201da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
9211da177e4SLinus Torvalds	int
92206cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
92306cf5583SThomas Bogendoerfer	default "7" if SGI_IP27 || SNI_RM
9249267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
9251da177e4SLinus Torvalds	default "5"
9261da177e4SLinus Torvalds
9271da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
9281da177e4SLinus Torvalds	bool
9291da177e4SLinus Torvalds
9301da177e4SLinus Torvaldsconfig ARC_CONSOLE
9311da177e4SLinus Torvalds	bool "ARC console support"
93236a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
9331da177e4SLinus Torvalds
9341da177e4SLinus Torvaldsconfig ARC_MEMORY
9351da177e4SLinus Torvalds	bool
93614b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9371da177e4SLinus Torvalds	default y
9381da177e4SLinus Torvalds
9391da177e4SLinus Torvaldsconfig ARC_PROMLIB
9401da177e4SLinus Torvalds	bool
94114b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
9421da177e4SLinus Torvalds	default y
9431da177e4SLinus Torvalds
9441da177e4SLinus Torvaldsconfig ARC64
9451da177e4SLinus Torvalds	bool
9461da177e4SLinus Torvalds
9471da177e4SLinus Torvaldsconfig BOOT_ELF64
9481da177e4SLinus Torvalds	bool
9491da177e4SLinus Torvalds
9501da177e4SLinus Torvaldsmenu "CPU selection"
9511da177e4SLinus Torvalds
9521da177e4SLinus Torvaldschoice
9531da177e4SLinus Torvalds	prompt "CPU type"
9541da177e4SLinus Torvalds	default CPU_R4X00
9551da177e4SLinus Torvalds
9562a21c730SFuxin Zhangconfig CPU_LOONGSON2
9572a21c730SFuxin Zhang	bool "Loongson 2"
9582a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
9592a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
9602a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
9612a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
9622a21c730SFuxin Zhang	help
9632a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
9642a21c730SFuxin Zhang	  with many extensions.
9652a21c730SFuxin Zhang
9666e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9676e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9687cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
969f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9706e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
971797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
972ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9736e760c8dSRalf Baechle	help
9745e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9751e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9761e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9771e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9781e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9791e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9801e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9811e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9821e5f1caaSRalf Baechle	  performance.
9831e5f1caaSRalf Baechle
9841e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9851e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9867cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
987f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9881e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
989797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
990ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9911e5f1caaSRalf Baechle	help
9925e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9936e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9946e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9956e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9966e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9971da177e4SLinus Torvalds
9986e760c8dSRalf Baechleconfig CPU_MIPS64_R1
9996e760c8dSRalf Baechle	bool "MIPS64 Release 1"
10007cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1001f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1002797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1003ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1004ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1005ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10066e760c8dSRalf Baechle	help
10076e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10086e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10096e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10106e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
10116e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10121e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
10131e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
10141e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
10151e5f1caaSRalf Baechle	  performance.
10161e5f1caaSRalf Baechle
10171e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
10181e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
10197cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1020f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1021797798c1SRalf Baechle	select CPU_HAS_PREFETCH
10221e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10231e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1024ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10251e5f1caaSRalf Baechle	help
10261e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10271e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10281e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10291e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10301e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10311da177e4SLinus Torvalds
10321da177e4SLinus Torvaldsconfig CPU_R3000
10331da177e4SLinus Torvalds	bool "R3000"
10347cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1035f7062ddbSRalf Baechle	select CPU_HAS_WB
1036ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1037797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10381da177e4SLinus Torvalds	help
10391da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
10401da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
10411da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
10421da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
10431da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
10441da177e4SLinus Torvalds	  try to recompile with R3000.
10451da177e4SLinus Torvalds
10461da177e4SLinus Torvaldsconfig CPU_TX39XX
10471da177e4SLinus Torvalds	bool "R39XX"
10487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1049ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10501da177e4SLinus Torvalds
10511da177e4SLinus Torvaldsconfig CPU_VR41XX
10521da177e4SLinus Torvalds	bool "R41xx"
10537cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1054ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1055ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10561da177e4SLinus Torvalds	help
10575e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
10581da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
10591da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10601da177e4SLinus Torvalds	  processor or vice versa.
10611da177e4SLinus Torvalds
10621da177e4SLinus Torvaldsconfig CPU_R4300
10631da177e4SLinus Torvalds	bool "R4300"
10647cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1065f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1066ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1067ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10681da177e4SLinus Torvalds	help
10691da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10701da177e4SLinus Torvalds
10711da177e4SLinus Torvaldsconfig CPU_R4X00
10721da177e4SLinus Torvalds	bool "R4x00"
10737cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1074f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1075ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1076ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10771da177e4SLinus Torvalds	help
10781da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10791da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10801da177e4SLinus Torvalds
10811da177e4SLinus Torvaldsconfig CPU_TX49XX
10821da177e4SLinus Torvalds	bool "R49XX"
10837cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1084f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1085de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1086ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1087ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10881da177e4SLinus Torvalds
10891da177e4SLinus Torvaldsconfig CPU_R5000
10901da177e4SLinus Torvalds	bool "R5000"
10917cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1092f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1093ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1094ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10951da177e4SLinus Torvalds	help
10961da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
10971da177e4SLinus Torvalds
10981da177e4SLinus Torvaldsconfig CPU_R5432
10991da177e4SLinus Torvalds	bool "R5432"
11007cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1101f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11025e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11035e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
11041da177e4SLinus Torvalds
11051da177e4SLinus Torvaldsconfig CPU_R6000
11061da177e4SLinus Torvalds	bool "R6000"
1107ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1108f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11097cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1110ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11111da177e4SLinus Torvalds	help
11121da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1113c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
11141da177e4SLinus Torvalds
11151da177e4SLinus Torvaldsconfig CPU_NEVADA
11161da177e4SLinus Torvalds	bool "RM52xx"
11177cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1118f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1119ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1120ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11211da177e4SLinus Torvalds	help
11221da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
11231da177e4SLinus Torvalds
11241da177e4SLinus Torvaldsconfig CPU_R8000
11251da177e4SLinus Torvalds	bool "R8000"
1126ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
11277cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1128f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11295e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1130ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11311da177e4SLinus Torvalds	help
11321da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
11331da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
11341da177e4SLinus Torvalds
11351da177e4SLinus Torvaldsconfig CPU_R10000
11361da177e4SLinus Torvalds	bool "R10000"
11377cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1138f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11395e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1140ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1141ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1142797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11431da177e4SLinus Torvalds	help
11441da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
11451da177e4SLinus Torvalds
11461da177e4SLinus Torvaldsconfig CPU_RM7000
11471da177e4SLinus Torvalds	bool "RM7000"
11487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1149f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11505e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1151ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1152ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1153797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11541da177e4SLinus Torvalds
11551da177e4SLinus Torvaldsconfig CPU_RM9000
11561da177e4SLinus Torvalds	bool "RM9000"
11577cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1158f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11595e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1160ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1161ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1162797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11630004a9dfSRalf Baechle	select WEAK_ORDERING
11641da177e4SLinus Torvalds
11651da177e4SLinus Torvaldsconfig CPU_SB1
11661da177e4SLinus Torvalds	bool "SB1"
11677cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1168f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1169ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1170ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1171797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11720004a9dfSRalf Baechle	select WEAK_ORDERING
11731da177e4SLinus Torvalds
11741da177e4SLinus Torvaldsendchoice
11751da177e4SLinus Torvalds
11762a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
11772a21c730SFuxin Zhang	bool
11782a21c730SFuxin Zhang
11797cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11807cf8053bSRalf Baechle	bool
11817cf8053bSRalf Baechle
11827cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11837cf8053bSRalf Baechle	bool
11847cf8053bSRalf Baechle
11857cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11867cf8053bSRalf Baechle	bool
11877cf8053bSRalf Baechle
11887cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
11897cf8053bSRalf Baechle	bool
11907cf8053bSRalf Baechle
11917cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
11927cf8053bSRalf Baechle	bool
11937cf8053bSRalf Baechle
11947cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
11957cf8053bSRalf Baechle	bool
11967cf8053bSRalf Baechle
11977cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
11987cf8053bSRalf Baechle	bool
11997cf8053bSRalf Baechle
12007cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
12017cf8053bSRalf Baechle	bool
12027cf8053bSRalf Baechle
12037cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
12047cf8053bSRalf Baechle	bool
12057cf8053bSRalf Baechle
12067cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
12077cf8053bSRalf Baechle	bool
12087cf8053bSRalf Baechle
12097cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
12107cf8053bSRalf Baechle	bool
12117cf8053bSRalf Baechle
12127cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
12137cf8053bSRalf Baechle	bool
12147cf8053bSRalf Baechle
12157cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
12167cf8053bSRalf Baechle	bool
12177cf8053bSRalf Baechle
12187cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
12197cf8053bSRalf Baechle	bool
12207cf8053bSRalf Baechle
12217cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
12227cf8053bSRalf Baechle	bool
12237cf8053bSRalf Baechle
12247cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
12257cf8053bSRalf Baechle	bool
12267cf8053bSRalf Baechle
12277cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
12287cf8053bSRalf Baechle	bool
12297cf8053bSRalf Baechle
12307cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
12317cf8053bSRalf Baechle	bool
12327cf8053bSRalf Baechle
12337cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
12347cf8053bSRalf Baechle	bool
12357cf8053bSRalf Baechle
12360004a9dfSRalf Baechleconfig WEAK_ORDERING
12370004a9dfSRalf Baechle	bool
12385e83d430SRalf Baechleendmenu
12395e83d430SRalf Baechle
12405e83d430SRalf Baechle#
12415e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
12425e83d430SRalf Baechle#
12435e83d430SRalf Baechleconfig CPU_MIPS32
12445e83d430SRalf Baechle	bool
12455e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
12465e83d430SRalf Baechle
12475e83d430SRalf Baechleconfig CPU_MIPS64
12485e83d430SRalf Baechle	bool
12495e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
12505e83d430SRalf Baechle
12515e83d430SRalf Baechle#
1252c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
12535e83d430SRalf Baechle#
12545e83d430SRalf Baechleconfig CPU_MIPSR1
12555e83d430SRalf Baechle	bool
12565e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
12575e83d430SRalf Baechle
12585e83d430SRalf Baechleconfig CPU_MIPSR2
12595e83d430SRalf Baechle	bool
12605e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
12615e83d430SRalf Baechle
12625e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
12635e83d430SRalf Baechle	bool
12645e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12655e83d430SRalf Baechle	bool
12665e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12675e83d430SRalf Baechle	bool
12685e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12695e83d430SRalf Baechle	bool
12705e83d430SRalf Baechle
12715e83d430SRalf Baechlemenu "Kernel type"
12725e83d430SRalf Baechle
12735e83d430SRalf Baechlechoice
12745e83d430SRalf Baechle
12755e83d430SRalf Baechle	prompt "Kernel code model"
12765e83d430SRalf Baechle	help
12775e83d430SRalf Baechle	  You should only select this option if you have a workload that
12785e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
12795e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
12805e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
12815e83d430SRalf Baechle
12825e83d430SRalf Baechleconfig 32BIT
12835e83d430SRalf Baechle	bool "32-bit kernel"
12845e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
12855e83d430SRalf Baechle	select TRAD_SIGNALS
12865e83d430SRalf Baechle	help
12875e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
12885e83d430SRalf Baechleconfig 64BIT
12895e83d430SRalf Baechle	bool "64-bit kernel"
12905e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
12915e83d430SRalf Baechle	help
12925e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
12935e83d430SRalf Baechle
12945e83d430SRalf Baechleendchoice
12955e83d430SRalf Baechle
12961da177e4SLinus Torvaldschoice
12971da177e4SLinus Torvalds	prompt "Kernel page size"
12981da177e4SLinus Torvalds	default PAGE_SIZE_4KB
12991da177e4SLinus Torvalds
13001da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
13011da177e4SLinus Torvalds	bool "4kB"
13021da177e4SLinus Torvalds	help
13031da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
13041da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
13051da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
13061da177e4SLinus Torvalds	 recommended for low memory systems.
13071da177e4SLinus Torvalds
13081da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
13091da177e4SLinus Torvalds	bool "8kB"
13101da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
13111da177e4SLinus Torvalds	help
13121da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
13131da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
13141da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
13151da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
13161da177e4SLinus Torvalds	  compatibility of user applications.
13171da177e4SLinus Torvalds
13181da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
13191da177e4SLinus Torvalds	bool "16kB"
1320714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
13211da177e4SLinus Torvalds	help
13221da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
13231da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1324714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1325714bfad6SRalf Baechle	  Linux distribution to support this.
13261da177e4SLinus Torvalds
13271da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
13281da177e4SLinus Torvalds	bool "64kB"
13291da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
13301da177e4SLinus Torvalds	help
13311da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
13321da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
13331da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1334714bfad6SRalf Baechle	  writing this option is still high experimental.
13351da177e4SLinus Torvalds
13361da177e4SLinus Torvaldsendchoice
13371da177e4SLinus Torvalds
13381da177e4SLinus Torvaldsconfig BOARD_SCACHE
13391da177e4SLinus Torvalds	bool
13401da177e4SLinus Torvalds
13411da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
13421da177e4SLinus Torvalds	bool
13431da177e4SLinus Torvalds	select BOARD_SCACHE
13441da177e4SLinus Torvalds
13459318c51aSChris Dearman#
13469318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
13479318c51aSChris Dearman#
13489318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
13499318c51aSChris Dearman	bool
13509318c51aSChris Dearman	select BOARD_SCACHE
13519318c51aSChris Dearman
13521da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
13531da177e4SLinus Torvalds	bool
13541da177e4SLinus Torvalds	select BOARD_SCACHE
13551da177e4SLinus Torvalds
13561da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
13571da177e4SLinus Torvalds	bool
13581da177e4SLinus Torvalds	select BOARD_SCACHE
13591da177e4SLinus Torvalds
13601da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
13611da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
13621da177e4SLinus Torvalds	depends on CPU_SB1
13631da177e4SLinus Torvalds	help
13641da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13651da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13661da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13671da177e4SLinus Torvalds
13681da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1369c8094b53SRalf Baechle	bool
13701da177e4SLinus Torvalds
1371340ee4b9SRalf Baechlechoice
1372340ee4b9SRalf Baechle	prompt "MIPS MT options"
1373f41ae0b2SRalf Baechle
1374f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1375f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1376f41ae0b2SRalf Baechle	help
1377f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1378f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1379f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1380f41ae0b2SRalf Baechle	  option in this menu.
1381340ee4b9SRalf Baechle
138259d6ab86SRalf Baechleconfig MIPS_MT_SMP
138359d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
138459d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
138559d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1386d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
138759d6ab86SRalf Baechle	select CPU_MIPSR2_SRS
138859d6ab86SRalf Baechle	select MIPS_MT
1389f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
139059d6ab86SRalf Baechle	select SMP
139159d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
139259d6ab86SRalf Baechle	help
139359d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
139459d6ab86SRalf Baechle	  has been marketesed into SMVP.
139559d6ab86SRalf Baechle
139641c594abSRalf Baechleconfig MIPS_MT_SMTC
139741c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1398f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1399f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1400f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1401f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1402d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1403f7062ddbSRalf Baechle	select CPU_MIPSR2_SRS
1404f41ae0b2SRalf Baechle	select MIPS_MT
1405130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
140641c594abSRalf Baechle	select SMP
140773b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1408f41ae0b2SRalf Baechle	help
1409f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1410f41ae0b2SRalf Baechle	  marketesed into SMVP.
141141c594abSRalf Baechle
1412e01402b1SRalf Baechleconfig MIPS_VPE_LOADER
1413e01402b1SRalf Baechle	bool "VPE loader support."
1414f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1415d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_VI
1416d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1417b0c10b9fSRalf Baechle	select CPU_MIPSR2_SRS
1418f41ae0b2SRalf Baechle	select MIPS_MT
1419e01402b1SRalf Baechle	help
1420e01402b1SRalf Baechle	  Includes a loader for loading an elf relocatable object
1421e01402b1SRalf Baechle	  onto another VPE and running it.
1422e01402b1SRalf Baechle
1423340ee4b9SRalf Baechleendchoice
1424340ee4b9SRalf Baechle
1425f41ae0b2SRalf Baechleconfig MIPS_MT
1426f41ae0b2SRalf Baechle	bool
1427f41ae0b2SRalf Baechle
1428f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1429f41ae0b2SRalf Baechle	bool
1430f41ae0b2SRalf Baechle
1431f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1432f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1433f088fc84SRalf Baechle	depends on MIPS_MT
1434f088fc84SRalf Baechle	default y
1435f088fc84SRalf Baechle
1436ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1437ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1438619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1439ac8be955SRalf Baechle	default y
1440ac8be955SRalf Baechle	help
1441ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1442ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1443ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1444ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1445ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1446ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1447ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1448ac8be955SRalf Baechle	  heavy I/O interrupt load.
1449ac8be955SRalf Baechle
1450e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1451e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1452e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1453e01402b1SRalf Baechle	default y
1454e01402b1SRalf Baechle	help
1455e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1456e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1457e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1458e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1459e01402b1SRalf Baechle
1460e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1461e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1462e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1463e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
14645e83d430SRalf Baechle	help
1465e01402b1SRalf Baechle
14662600990eSRalf Baechleconfig MIPS_APSP_KSPD
14672600990eSRalf Baechle	bool "Enable KSPD"
14682600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
14692600990eSRalf Baechle	default y
14702600990eSRalf Baechle	help
14712600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
14722600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
14732600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
14742600990eSRalf Baechle	  exiting.  You probably want to say yes here.
14752600990eSRalf Baechle
14761da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
14771da177e4SLinus Torvalds	bool
14781da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
14791da177e4SLinus Torvalds	default y
14801da177e4SLinus Torvalds
14811da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
14821da177e4SLinus Torvalds	bool
14831da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
14841da177e4SLinus Torvalds	default y
14851da177e4SLinus Torvalds
14861da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
14871da177e4SLinus Torvalds	bool
14881da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
14891da177e4SLinus Torvalds	default y
14901da177e4SLinus Torvalds
14911da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
14921da177e4SLinus Torvalds	bool "Support for 64-bit physical address space"
1493948928adSRalf Baechle	depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT
14941da177e4SLinus Torvalds
14951da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1496f7062ddbSRalf Baechle	bool
14971da177e4SLinus Torvalds
14989693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
14999693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
15009693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
15019693a853SFranck Bui-Huu	help
15029693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
15039693a853SFranck Bui-Huu	  increased security at both hardware and software level for
15049693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
15059693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
15069693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
15079693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
15089693a853SFranck Bui-Huu	  here.
15099693a853SFranck Bui-Huu
15101da177e4SLinus Torvaldsconfig CPU_HAS_WB
1511f7062ddbSRalf Baechle	bool
1512e01402b1SRalf Baechle
15132a21c730SFuxin Zhangconfig 64BIT_CONTEXT
15142a21c730SFuxin Zhang	bool "Save 64bit integer registers"
15152a21c730SFuxin Zhang	depends on 32BIT && CPU_LOONGSON2
15162a21c730SFuxin Zhang	help
15172a21c730SFuxin Zhang	  Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
15182a21c730SFuxin Zhang	  registers can still be accessed as 64bit, mainly for multimedia
15192a21c730SFuxin Zhang	  instructions. We must have all 64bit save/restored to make sure
15202a21c730SFuxin Zhang	  those instructions to get correct result.
15212a21c730SFuxin Zhang
1522f41ae0b2SRalf Baechle#
1523f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1524f41ae0b2SRalf Baechle#
1525e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1526f41ae0b2SRalf Baechle	bool
1527e01402b1SRalf Baechle
1528f41ae0b2SRalf Baechle#
1529f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1530f41ae0b2SRalf Baechle#
1531e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1532f41ae0b2SRalf Baechle	bool
1533e01402b1SRalf Baechle
1534f41ae0b2SRalf Baechle#
1535f41ae0b2SRalf Baechle# Shadow registers are an R2 feature
1536f41ae0b2SRalf Baechle#
1537e01402b1SRalf Baechleconfig CPU_MIPSR2_SRS
1538f41ae0b2SRalf Baechle	bool
1539e01402b1SRalf Baechle
15401da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
15411da177e4SLinus Torvalds	bool
15421da177e4SLinus Torvalds	depends on !CPU_R3000
15431da177e4SLinus Torvalds	default y
15441da177e4SLinus Torvalds
15451da177e4SLinus Torvalds#
1546797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1547797798c1SRalf Baechle#
1548797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1549797798c1SRalf Baechle	bool
1550797798c1SRalf Baechle	default y
1551797798c1SRalf Baechle
1552797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1553797798c1SRalf Baechle	bool
1554797798c1SRalf Baechle	default y
1555797798c1SRalf Baechle
15560d7012a9SIngo Molnarconfig IRQ_PER_CPU
15570d7012a9SIngo Molnar	bool
15580d7012a9SIngo Molnar
1559797798c1SRalf Baechle#
15601da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
15611da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
15621da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
15631da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
15641da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
15651da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
15661da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
15671da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1568797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1569797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1570797798c1SRalf Baechle#   support.
15711da177e4SLinus Torvalds#
15721da177e4SLinus Torvaldsconfig HIGHMEM
15731da177e4SLinus Torvalds	bool "High Memory Support"
1574797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1575797798c1SRalf Baechle
1576797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1577797798c1SRalf Baechle	bool
1578797798c1SRalf Baechle
1579797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1580797798c1SRalf Baechle	bool
15811da177e4SLinus Torvalds
15829693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
15839693a853SFranck Bui-Huu	bool
15849693a853SFranck Bui-Huu
1585b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1586b4819b59SYoichi Yuasa	def_bool y
1587b4819b59SYoichi Yuasa	depends on !NUMA
1588b4819b59SYoichi Yuasa
1589d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1590d8cb4e11SRalf Baechle	bool
1591d8cb4e11SRalf Baechle	default y if SGI_IP27
1592d8cb4e11SRalf Baechle	help
15933dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1594d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1595d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1596d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1597d8cb4e11SRalf Baechle
1598b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1599b1c6cd42SAtsushi Nemoto	bool
16007de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
160131473747SAtsushi Nemoto
1602d8cb4e11SRalf Baechleconfig NUMA
1603d8cb4e11SRalf Baechle	bool "NUMA Support"
1604d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1605d8cb4e11SRalf Baechle	help
1606d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1607d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1608d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1609d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1610d8cb4e11SRalf Baechle	  disabled.
1611d8cb4e11SRalf Baechle
1612d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1613d8cb4e11SRalf Baechle	bool
1614d8cb4e11SRalf Baechle
1615c80d79d7SYasunori Gotoconfig NODES_SHIFT
1616c80d79d7SYasunori Goto	int
1617c80d79d7SYasunori Goto	default "6"
1618c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1619c80d79d7SYasunori Goto
1620b4819b59SYoichi Yuasasource "mm/Kconfig"
1621b4819b59SYoichi Yuasa
16221da177e4SLinus Torvaldsconfig SMP
16231da177e4SLinus Torvalds	bool "Multi-Processing support"
1624e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1625b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1626e73ea273SRalf Baechle	help
16271da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
16281da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
16291da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
16301da177e4SLinus Torvalds
16311da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
16321da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
16331da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
16341da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
16351da177e4SLinus Torvalds	  will run faster if you say N here.
16361da177e4SLinus Torvalds
16371da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
16381da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
16391da177e4SLinus Torvalds
16401da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
16411da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
16421da177e4SLinus Torvalds
16431da177e4SLinus Torvalds	  If you don't know what to do here, say N.
16441da177e4SLinus Torvalds
1645e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1646e73ea273SRalf Baechle	bool
1647e73ea273SRalf Baechle
164872ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
164972ede9b1SAtsushi Nemoto	bool
165072ede9b1SAtsushi Nemoto
1651130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1652130e2fb7SRalf Baechle	bool
1653130e2fb7SRalf Baechle
1654130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1655130e2fb7SRalf Baechle	bool
1656130e2fb7SRalf Baechle
1657130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1658130e2fb7SRalf Baechle	bool
1659130e2fb7SRalf Baechle
1660130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1661130e2fb7SRalf Baechle	bool
1662130e2fb7SRalf Baechle
1663130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1664130e2fb7SRalf Baechle	bool
1665130e2fb7SRalf Baechle
1666130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1667130e2fb7SRalf Baechle	bool
1668130e2fb7SRalf Baechle
16691da177e4SLinus Torvaldsconfig NR_CPUS
16701da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
167172ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
16721da177e4SLinus Torvalds	depends on SMP
167372ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1674130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1675130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1676130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1677130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1678130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1679130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
16801da177e4SLinus Torvalds	help
16811da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
16821da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
16831da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
168472ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
168572ede9b1SAtsushi Nemoto	  and 2 for all others.
16861da177e4SLinus Torvalds
16871da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
168872ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
168972ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
169072ede9b1SAtsushi Nemoto	  power of two.
16911da177e4SLinus Torvalds
16921723b4a3SAtsushi Nemoto#
16931723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
16941723b4a3SAtsushi Nemoto#
16951723b4a3SAtsushi Nemoto
16961723b4a3SAtsushi Nemotochoice
16971723b4a3SAtsushi Nemoto	prompt "Timer frequency"
16981723b4a3SAtsushi Nemoto	default HZ_250
16991723b4a3SAtsushi Nemoto	help
17001723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
17011723b4a3SAtsushi Nemoto
17021723b4a3SAtsushi Nemoto	config HZ_48
17031723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
17041723b4a3SAtsushi Nemoto
17051723b4a3SAtsushi Nemoto	config HZ_100
17061723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
17071723b4a3SAtsushi Nemoto
17081723b4a3SAtsushi Nemoto	config HZ_128
17091723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
17101723b4a3SAtsushi Nemoto
17111723b4a3SAtsushi Nemoto	config HZ_250
17121723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
17131723b4a3SAtsushi Nemoto
17141723b4a3SAtsushi Nemoto	config HZ_256
17151723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
17161723b4a3SAtsushi Nemoto
17171723b4a3SAtsushi Nemoto	config HZ_1000
17181723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
17191723b4a3SAtsushi Nemoto
17201723b4a3SAtsushi Nemoto	config HZ_1024
17211723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
17221723b4a3SAtsushi Nemoto
17231723b4a3SAtsushi Nemotoendchoice
17241723b4a3SAtsushi Nemoto
17251723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
17261723b4a3SAtsushi Nemoto	bool
17271723b4a3SAtsushi Nemoto
17281723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
17291723b4a3SAtsushi Nemoto	bool
17301723b4a3SAtsushi Nemoto
17311723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
17321723b4a3SAtsushi Nemoto	bool
17331723b4a3SAtsushi Nemoto
17341723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
17351723b4a3SAtsushi Nemoto	bool
17361723b4a3SAtsushi Nemoto
17371723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
17381723b4a3SAtsushi Nemoto	bool
17391723b4a3SAtsushi Nemoto
17401723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
17411723b4a3SAtsushi Nemoto	bool
17421723b4a3SAtsushi Nemoto
17431723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
17441723b4a3SAtsushi Nemoto	bool
17451723b4a3SAtsushi Nemoto
17461723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
17471723b4a3SAtsushi Nemoto	bool
17481723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
17491723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
17501723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
17511723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
17521723b4a3SAtsushi Nemoto
17531723b4a3SAtsushi Nemotoconfig HZ
17541723b4a3SAtsushi Nemoto	int
17551723b4a3SAtsushi Nemoto	default 48 if HZ_48
17561723b4a3SAtsushi Nemoto	default 100 if HZ_100
17571723b4a3SAtsushi Nemoto	default 128 if HZ_128
17581723b4a3SAtsushi Nemoto	default 250 if HZ_250
17591723b4a3SAtsushi Nemoto	default 256 if HZ_256
17601723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
17611723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
17621723b4a3SAtsushi Nemoto
1763e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
17641da177e4SLinus Torvalds
17651da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
17661da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1767875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
17681da177e4SLinus Torvalds	help
17691da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
17701da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
17711da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
17721da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
17731da177e4SLinus Torvalds	  recommended for normal users.
17741da177e4SLinus Torvalds
1775ea6e942bSAtsushi Nemotoconfig KEXEC
1776ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1777ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1778ea6e942bSAtsushi Nemoto	help
1779ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1780ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
17813dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1782ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1783ea6e942bSAtsushi Nemoto
1784ea6e942bSAtsushi Nemoto	  The name comes from the similiarity to the exec system call.
1785ea6e942bSAtsushi Nemoto
1786ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1787ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1788ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1789ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1790ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1791ea6e942bSAtsushi Nemoto
1792ea6e942bSAtsushi Nemotoconfig SECCOMP
1793ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1794ea6e942bSAtsushi Nemoto	depends on PROC_FS && BROKEN
1795ea6e942bSAtsushi Nemoto	default y
1796ea6e942bSAtsushi Nemoto	help
1797ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1798ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1799ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1800ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1801ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1802ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1803ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1804ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1805ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1806ea6e942bSAtsushi Nemoto
1807ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1808ea6e942bSAtsushi Nemoto
18095e83d430SRalf Baechleendmenu
18105e83d430SRalf Baechle
18111da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
18121da177e4SLinus Torvalds	bool
18131da177e4SLinus Torvalds	default y
18141da177e4SLinus Torvalds
18151df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
18161df0f0ffSAtsushi Nemoto	bool
18171df0f0ffSAtsushi Nemoto	default y
18181df0f0ffSAtsushi Nemoto
18191df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
18201df0f0ffSAtsushi Nemoto	bool
18211df0f0ffSAtsushi Nemoto	default y
18221df0f0ffSAtsushi Nemoto
1823b6c3539bSRalf Baechlesource "init/Kconfig"
1824b6c3539bSRalf Baechle
18251da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
18261da177e4SLinus Torvalds
18275e83d430SRalf Baechleconfig HW_HAS_EISA
18285e83d430SRalf Baechle	bool
18291da177e4SLinus Torvaldsconfig HW_HAS_PCI
18301da177e4SLinus Torvalds	bool
18311da177e4SLinus Torvalds
18321da177e4SLinus Torvaldsconfig PCI
18331da177e4SLinus Torvalds	bool "Support for PCI controller"
18341da177e4SLinus Torvalds	depends on HW_HAS_PCI
18351da177e4SLinus Torvalds	help
18361da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
18371da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
18381da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
18391da177e4SLinus Torvalds	  say Y, otherwise N.
18401da177e4SLinus Torvalds
18411da177e4SLinus Torvalds	  The PCI-HOWTO, available from
18421da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
18431da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
18441da177e4SLinus Torvalds	  doesn't.
18451da177e4SLinus Torvalds
18461da177e4SLinus Torvaldsconfig PCI_DOMAINS
18471da177e4SLinus Torvalds	bool
18481da177e4SLinus Torvalds	depends on PCI
18491da177e4SLinus Torvalds
18501da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
18511da177e4SLinus Torvalds
18521da177e4SLinus Torvalds#
18531da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
18541da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
18551da177e4SLinus Torvalds# users to choose the right thing ...
18561da177e4SLinus Torvalds#
18571da177e4SLinus Torvaldsconfig ISA
18581da177e4SLinus Torvalds	bool
18591da177e4SLinus Torvalds
18601da177e4SLinus Torvaldsconfig EISA
18611da177e4SLinus Torvalds	bool "EISA support"
18625e83d430SRalf Baechle	depends on HW_HAS_EISA
18631da177e4SLinus Torvalds	select ISA
1864aa414dffSRalf Baechle	select GENERIC_ISA_DMA
18651da177e4SLinus Torvalds	---help---
18661da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
18671da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
18681da177e4SLinus Torvalds
18691da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
18701da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
18711da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
18721da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
18731da177e4SLinus Torvalds
18741da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
18751da177e4SLinus Torvalds
18761da177e4SLinus Torvalds	  Otherwise, say N.
18771da177e4SLinus Torvalds
18781da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
18791da177e4SLinus Torvalds
18801da177e4SLinus Torvaldsconfig TC
18811da177e4SLinus Torvalds	bool "TURBOchannel support"
18821da177e4SLinus Torvalds	depends on MACH_DECSTATION
18831da177e4SLinus Torvalds	help
18841da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
18851da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
18861da177e4SLinus Torvalds	  is available at:
18871da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
18881da177e4SLinus Torvalds
18891da177e4SLinus Torvalds#config ACCESSBUS
18901da177e4SLinus Torvalds#	bool "Access.Bus support"
18911da177e4SLinus Torvalds#	depends on TC
18921da177e4SLinus Torvalds
18931da177e4SLinus Torvaldsconfig MMU
18941da177e4SLinus Torvalds	bool
18951da177e4SLinus Torvalds	default y
18961da177e4SLinus Torvalds
1897e5c6c8e4SMichael Neulingconfig I8253
1898e5c6c8e4SMichael Neuling	bool
1899e5c6c8e4SMichael Neuling
19001da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
19011da177e4SLinus Torvalds
19021da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
19031da177e4SLinus Torvalds
19041da177e4SLinus Torvaldsendmenu
19051da177e4SLinus Torvalds
19061da177e4SLinus Torvaldsmenu "Executable file formats"
19071da177e4SLinus Torvalds
19081da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
19091da177e4SLinus Torvalds
19101da177e4SLinus Torvaldsconfig TRAD_SIGNALS
19111da177e4SLinus Torvalds	bool
19121da177e4SLinus Torvalds
19131da177e4SLinus Torvaldsconfig BUILD_ELF64
19141da177e4SLinus Torvalds	bool "Use 64-bit ELF format for building"
1915875d43e7SRalf Baechle	depends on 64BIT
19161da177e4SLinus Torvalds	help
19171da177e4SLinus Torvalds	  A 64-bit kernel is usually built using the 64-bit ELF binary object
19181da177e4SLinus Torvalds	  format as it's one that allows arbitrary 64-bit constructs.  For
19191da177e4SLinus Torvalds	  kernels that are loaded within the KSEG compatibility segments the
19201da177e4SLinus Torvalds	  32-bit ELF format can optionally be used resulting in a somewhat
19211da177e4SLinus Torvalds	  smaller binary, but this option is not explicitly supported by the
19221da177e4SLinus Torvalds	  toolchain and since binutils 2.14 it does not even work at all.
19231da177e4SLinus Torvalds
19241da177e4SLinus Torvalds	  Say Y to use the 64-bit format or N to use the 32-bit one.
19251da177e4SLinus Torvalds
19261da177e4SLinus Torvalds	  If unsure say Y.
19271da177e4SLinus Torvalds
19281da177e4SLinus Torvaldsconfig BINFMT_IRIX
19291da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
19305e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
19311da177e4SLinus Torvalds
19321da177e4SLinus Torvaldsconfig MIPS32_COMPAT
19331da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1934875d43e7SRalf Baechle	depends on 64BIT
19351da177e4SLinus Torvalds	help
19361da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
19371da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
19381da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
19391da177e4SLinus Torvalds
19401da177e4SLinus Torvaldsconfig COMPAT
19411da177e4SLinus Torvalds	bool
19421da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19431da177e4SLinus Torvalds	default y
19441da177e4SLinus Torvalds
194505e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
194605e43966SAtsushi Nemoto	bool
194705e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
194805e43966SAtsushi Nemoto	default y
194905e43966SAtsushi Nemoto
19501da177e4SLinus Torvaldsconfig MIPS32_O32
19511da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
19521da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19531da177e4SLinus Torvalds	help
19541da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
19551da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
19561da177e4SLinus Torvalds	  existing binaries are in this format.
19571da177e4SLinus Torvalds
19581da177e4SLinus Torvalds	  If unsure, say Y.
19591da177e4SLinus Torvalds
19601da177e4SLinus Torvaldsconfig MIPS32_N32
19611da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
19621da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19631da177e4SLinus Torvalds	help
19641da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
19651da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
19661da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
19671da177e4SLinus Torvalds	  cases.
19681da177e4SLinus Torvalds
19691da177e4SLinus Torvalds	  If unsure, say N.
19701da177e4SLinus Torvalds
19711da177e4SLinus Torvaldsconfig BINFMT_ELF32
19721da177e4SLinus Torvalds	bool
19731da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
19741da177e4SLinus Torvalds
19752116245eSRalf Baechleendmenu
19761da177e4SLinus Torvalds
19772116245eSRalf Baechlemenu "Power management options"
1978952fa954SRodolfo Giometti
19792116245eSRalf Baechlesource "kernel/power/Kconfig"
1980952fa954SRodolfo Giometti
19811da177e4SLinus Torvaldsendmenu
19821da177e4SLinus Torvalds
1983d5950b43SSam Ravnborgsource "net/Kconfig"
1984d5950b43SSam Ravnborg
19851da177e4SLinus Torvaldssource "drivers/Kconfig"
19861da177e4SLinus Torvalds
19871da177e4SLinus Torvaldssource "fs/Kconfig"
19881da177e4SLinus Torvalds
19895e83d430SRalf Baechlesource "arch/mips/oprofile/Kconfig"
19905e83d430SRalf Baechle
19911da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
19921da177e4SLinus Torvalds
19931da177e4SLinus Torvaldssource "security/Kconfig"
19941da177e4SLinus Torvalds
19951da177e4SLinus Torvaldssource "crypto/Kconfig"
19961da177e4SLinus Torvalds
19971da177e4SLinus Torvaldssource "lib/Kconfig"
1998