xref: /linux/arch/mips/Kconfig (revision 42d226c7248a28ff8c478c06b7e9bd9ef5d73574)
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
18*42d226c7SSongmao Tianconfig LEMOTE_FULONG
19*42d226c7SSongmao Tian	bool "Lemote Fulong mini-PC"
20*42d226c7SSongmao Tian	select ARCH_SPARSEMEM_ENABLE
21*42d226c7SSongmao Tian	select SYS_HAS_CPU_LOONGSON2
22*42d226c7SSongmao Tian	select DMA_NONCOHERENT
23*42d226c7SSongmao Tian	select BOOT_ELF32
24*42d226c7SSongmao Tian	select BOARD_SCACHE
25*42d226c7SSongmao Tian	select HAVE_STD_PC_SERIAL_PORT
26*42d226c7SSongmao Tian	select HW_HAS_PCI
27*42d226c7SSongmao Tian	select I8259
28*42d226c7SSongmao Tian	select ISA
29*42d226c7SSongmao Tian	select IRQ_CPU
30*42d226c7SSongmao Tian	select SYS_SUPPORTS_32BIT_KERNEL
31*42d226c7SSongmao Tian	select SYS_SUPPORTS_64BIT_KERNEL
32*42d226c7SSongmao Tian	select SYS_SUPPORTS_LITTLE_ENDIAN
33*42d226c7SSongmao Tian	select SYS_SUPPORTS_HIGHMEM
34*42d226c7SSongmao Tian	select SYS_HAS_EARLY_PRINTK
35*42d226c7SSongmao Tian	select GENERIC_HARDIRQS_NO__DO_IRQ
36*42d226c7SSongmao Tian	select CPU_HAS_WB
37*42d226c7SSongmao Tian	help
38*42d226c7SSongmao Tian	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
39*42d226c7SSongmao Tian	  an FPGA northbridge
40*42d226c7SSongmao 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
2537cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2547cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
25536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
256c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
257c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
258f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
259c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
260c78cbf49SRalf Baechle	help
261c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
262c78cbf49SRalf Baechle	  emulator.
263c78cbf49SRalf Baechle
2645e83d430SRalf Baechleconfig MOMENCO_OCELOT
2653fa986faSMartin Michlmayr	bool "Momentum Ocelot board"
2665e83d430SRalf Baechle	select DMA_NONCOHERENT
2671da177e4SLinus Torvalds	select HW_HAS_PCI
2681da177e4SLinus Torvalds	select IRQ_CPU
2691da177e4SLinus Torvalds	select IRQ_CPU_RM7K
270252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2715e83d430SRalf Baechle	select RM7000_CPU_SCACHE
2721da177e4SLinus Torvalds	select SWAP_IO_SPACE
2737cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
274ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
275ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2765e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
277cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
2781da177e4SLinus Torvalds	help
2795e83d430SRalf Baechle	  The Ocelot is a MIPS-based Single Board Computer (SBC) made by
2805e83d430SRalf Baechle	  Momentum Computer <http://www.momenco.com/>.
2811da177e4SLinus Torvalds
2825e83d430SRalf Baechleconfig MOMENCO_OCELOT_3
2833fa986faSMartin Michlmayr	bool "Momentum Ocelot-3 board"
2845e83d430SRalf Baechle	select BOOT_ELF32
2855e83d430SRalf Baechle	select DMA_NONCOHERENT
2865e83d430SRalf Baechle	select HW_HAS_PCI
2875e83d430SRalf Baechle	select IRQ_CPU
2885e83d430SRalf Baechle	select IRQ_CPU_RM7K
2895e83d430SRalf Baechle	select IRQ_MV64340
2905e83d430SRalf Baechle	select PCI_MARVELL
2915e83d430SRalf Baechle	select RM7000_CPU_SCACHE
2925e83d430SRalf Baechle	select SWAP_IO_SPACE
2937cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
2945e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
2955e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
2965e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2975e83d430SRalf Baechle	help
2985e83d430SRalf Baechle	  The Ocelot-3 is based off Discovery III System Controller and
2995e83d430SRalf Baechle	  PMC-Sierra Rm79000 core.
3005e83d430SRalf Baechle
301bdf21b18SPete Popovconfig PNX8550_JBS
3023fa986faSMartin Michlmayr	bool "Philips PNX8550 based JBS board"
303bdf21b18SPete Popov	select PNX8550
304bdf21b18SPete Popov	select SYS_SUPPORTS_LITTLE_ENDIAN
305bdf21b18SPete Popov
306f0647a52SVitaly Woolconfig PNX8550_STB810
307e460b73cSYoichi Yuasa	bool "Philips PNX8550 based STB810 board"
308f0647a52SVitaly Wool	select PNX8550
309f0647a52SVitaly Wool	select SYS_SUPPORTS_LITTLE_ENDIAN
310f0647a52SVitaly Wool
3111da177e4SLinus Torvaldsconfig DDB5477
3123fa986faSMartin Michlmayr	bool "NEC DDB Vrc-5477"
3135e83d430SRalf Baechle	select DDB5XXX_COMMON
3141da177e4SLinus Torvalds	select DMA_NONCOHERENT
3151da177e4SLinus Torvalds	select HW_HAS_PCI
3161da177e4SLinus Torvalds	select I8259
3171da177e4SLinus Torvalds	select IRQ_CPU
3187cf8053bSRalf Baechle	select SYS_HAS_CPU_R5432
319ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
320ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
321cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
322cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3235e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
3241da177e4SLinus Torvalds	help
3251da177e4SLinus Torvalds	  This enables support for the R5432-based NEC DDB Vrc-5477,
3261da177e4SLinus Torvalds	  or Rockhopper/SolutionGear boards with R5432/R5500 CPUs.
3271da177e4SLinus Torvalds
3281da177e4SLinus Torvalds	  Features : kernel debugging, serial terminal, NFS root fs, on-board
3291da177e4SLinus Torvalds	  ether port USB, AC97, PCI, etc.
3301da177e4SLinus Torvalds
3315e83d430SRalf Baechleconfig MACH_VR41XX
33274142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
3337cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
3349fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
3355e83d430SRalf Baechle
3365e83d430SRalf Baechleconfig PMC_YOSEMITE
3373fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
3385e83d430SRalf Baechle	select DMA_COHERENT
3395e83d430SRalf Baechle	select HW_HAS_PCI
3405e83d430SRalf Baechle	select IRQ_CPU
3415e83d430SRalf Baechle	select IRQ_CPU_RM7K
3425e83d430SRalf Baechle	select IRQ_CPU_RM9K
3435e83d430SRalf Baechle	select SWAP_IO_SPACE
3447cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
34536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3465e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3475e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3485e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3495e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
350cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
351e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3525e83d430SRalf Baechle	help
3535e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3545e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3551da177e4SLinus Torvalds
35607119621SRalf Baechleconfig QEMU
3573fa986faSMartin Michlmayr	bool "Qemu"
35807119621SRalf Baechle	select DMA_COHERENT
35907119621SRalf Baechle	select GENERIC_ISA_DMA
36007119621SRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
361e5c6c8e4SMichael Neuling	select I8253
36207119621SRalf Baechle	select I8259
36307119621SRalf Baechle	select ISA
36407119621SRalf Baechle	select SWAP_IO_SPACE
3657cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
36607119621SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
36707119621SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
368c8cc9618SAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
369b1c6cd42SAtsushi Nemoto	select ARCH_SPARSEMEM_ENABLE
3709fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
37172ede9b1SAtsushi Nemoto	select NR_CPUS_DEFAULT_1
37272ede9b1SAtsushi Nemoto	select SYS_SUPPORTS_SMP
37307119621SRalf Baechle	help
37407119621SRalf Baechle	  Qemu is a software emulator which among other architectures also
37507119621SRalf Baechle	  can simulate a MIPS32 4Kc system.  This patch adds support for the
37607119621SRalf Baechle	  system architecture that currently is being simulated by Qemu.  It
37707119621SRalf Baechle	  will eventually be removed again when Qemu has the capability to
37807119621SRalf Baechle	  simulate actual MIPS hardware platforms.  More information on Qemu
37907119621SRalf Baechle	  can be found at http://www.linux-mips.org/wiki/Qemu.
38007119621SRalf Baechle
381355c471fSdmitry pervushinconfig MARKEINS
382e460b73cSYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
383355c471fSdmitry pervushin	select DMA_NONCOHERENT
384355c471fSdmitry pervushin	select HW_HAS_PCI
385355c471fSdmitry pervushin	select IRQ_CPU
386355c471fSdmitry pervushin	select SWAP_IO_SPACE
387355c471fSdmitry pervushin	select SYS_SUPPORTS_32BIT_KERNEL
388355c471fSdmitry pervushin	select SYS_SUPPORTS_BIG_ENDIAN
389355c471fSdmitry pervushin	select SYS_SUPPORTS_LITTLE_ENDIAN
390355c471fSdmitry pervushin	select SYS_HAS_CPU_R5000
391355c471fSdmitry pervushin	help
392355c471fSdmitry pervushin	  This enables support for the R5432-based NEC Mark-eins
393355c471fSdmitry pervushin	  boards with R5500 CPU.
394355c471fSdmitry pervushin
3951da177e4SLinus Torvaldsconfig SGI_IP22
3963fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3971da177e4SLinus Torvalds	select ARC
3981da177e4SLinus Torvalds	select ARC32
3991da177e4SLinus Torvalds	select BOOT_ELF32
4001da177e4SLinus Torvalds	select DMA_NONCOHERENT
4015e83d430SRalf Baechle	select HW_HAS_EISA
4021da177e4SLinus Torvalds	select IP22_CPU_SCACHE
4031da177e4SLinus Torvalds	select IRQ_CPU
404aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
4051da177e4SLinus Torvalds	select SWAP_IO_SPACE
4067cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
4077cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
40836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
409ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
410ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4115e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4121da177e4SLinus Torvalds	help
4131da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4141da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4151da177e4SLinus Torvalds	  that runs on these, say Y here.
4161da177e4SLinus Torvalds
4171da177e4SLinus Torvaldsconfig SGI_IP27
4183fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4191da177e4SLinus Torvalds	select ARC
4201da177e4SLinus Torvalds	select ARC64
4215e83d430SRalf Baechle	select BOOT_ELF64
4221da177e4SLinus Torvalds	select DMA_IP27
42336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4241da177e4SLinus Torvalds	select HW_HAS_PCI
425130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4261da177e4SLinus Torvalds	select PCI_DOMAINS
4277cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
428ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4295e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
430cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
431d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4321a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
433e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
4341da177e4SLinus Torvalds	help
4351da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4361da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4371da177e4SLinus Torvalds	  here.
4381da177e4SLinus Torvalds
4391da177e4SLinus Torvaldsconfig SGI_IP32
440cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4411da177e4SLinus Torvalds	select ARC
4421da177e4SLinus Torvalds	select ARC32
4431da177e4SLinus Torvalds	select BOOT_ELF32
4441da177e4SLinus Torvalds	select DMA_NONCOHERENT
4451da177e4SLinus Torvalds	select HW_HAS_PCI
4461da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4471da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4487cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4497cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4507cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
451dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
452ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4535e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4541da177e4SLinus Torvalds	help
4551da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4561da177e4SLinus Torvalds
4579a6dcea1SAndrew Isaacsonconfig SIBYTE_BIGSUR
4583fa986faSMartin Michlmayr	bool "Sibyte BCM91480B-BigSur"
4599a6dcea1SAndrew Isaacson	select BOOT_ELF32
4609a6dcea1SAndrew Isaacson	select DMA_COHERENT
461130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_4
4627cf8053bSRalf Baechle	select PCI_DOMAINS
4639a6dcea1SAndrew Isaacson	select SIBYTE_BCM1x80
4649a6dcea1SAndrew Isaacson	select SWAP_IO_SPACE
4657cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4669a6dcea1SAndrew Isaacson	select SYS_SUPPORTS_BIG_ENDIAN
4679a6dcea1SAndrew Isaacson	select SYS_SUPPORTS_LITTLE_ENDIAN
4689a6dcea1SAndrew Isaacson
4695e83d430SRalf Baechleconfig SIBYTE_SWARM
4703fa986faSMartin Michlmayr	bool "Sibyte BCM91250A-SWARM"
4715e83d430SRalf Baechle	select BOOT_ELF32
4725e83d430SRalf Baechle	select DMA_COHERENT
473130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
4745e83d430SRalf Baechle	select SIBYTE_SB1250
4755e83d430SRalf Baechle	select SWAP_IO_SPACE
4767cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4775e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4785e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
479cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
4805e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
481e3ad1c23SPete Popov
4825e83d430SRalf Baechleconfig SIBYTE_SENTOSA
4833fa986faSMartin Michlmayr	bool "Sibyte BCM91250E-Sentosa"
4845e83d430SRalf Baechle	depends on EXPERIMENTAL
4855e83d430SRalf Baechle	select BOOT_ELF32
4865e83d430SRalf Baechle	select DMA_COHERENT
487130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
4885e83d430SRalf Baechle	select SIBYTE_SB1250
4895e83d430SRalf Baechle	select SWAP_IO_SPACE
4907cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4915e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4925e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4935e83d430SRalf Baechle
4945e83d430SRalf Baechleconfig SIBYTE_RHONE
4953fa986faSMartin Michlmayr	bool "Sibyte BCM91125E-Rhone"
4965e83d430SRalf Baechle	depends on EXPERIMENTAL
4975e83d430SRalf Baechle	select BOOT_ELF32
4985e83d430SRalf Baechle	select DMA_COHERENT
4995e83d430SRalf Baechle	select SIBYTE_BCM1125H
5005e83d430SRalf Baechle	select SWAP_IO_SPACE
5017cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5025e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5035e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5045e83d430SRalf Baechle
5055e83d430SRalf Baechleconfig SIBYTE_CARMEL
5063fa986faSMartin Michlmayr	bool "Sibyte BCM91120x-Carmel"
5075e83d430SRalf Baechle	depends on EXPERIMENTAL
5085e83d430SRalf Baechle	select BOOT_ELF32
5095e83d430SRalf Baechle	select DMA_COHERENT
5105e83d430SRalf Baechle	select SIBYTE_BCM1120
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_PTSWARM
5173fa986faSMartin Michlmayr	bool "Sibyte BCM91250PT-PTSWARM"
5185e83d430SRalf Baechle	depends on EXPERIMENTAL
5195e83d430SRalf Baechle	select BOOT_ELF32
5205e83d430SRalf Baechle	select DMA_COHERENT
521130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
5225e83d430SRalf Baechle	select SIBYTE_SB1250
5235e83d430SRalf Baechle	select SWAP_IO_SPACE
5247cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5255e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5265e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5275e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5285e83d430SRalf Baechle
5295e83d430SRalf Baechleconfig SIBYTE_LITTLESUR
5303fa986faSMartin Michlmayr	bool "Sibyte BCM91250C2-LittleSur"
5315e83d430SRalf Baechle	depends on EXPERIMENTAL
5325e83d430SRalf Baechle	select BOOT_ELF32
5335e83d430SRalf Baechle	select DMA_COHERENT
534130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_2
5355e83d430SRalf Baechle	select SIBYTE_SB1250
5365e83d430SRalf Baechle	select SWAP_IO_SPACE
5377cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5385e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5395e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5405e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5415e83d430SRalf Baechle
5425e83d430SRalf Baechleconfig SIBYTE_CRHINE
5433fa986faSMartin Michlmayr	bool "Sibyte BCM91120C-CRhine"
5445e83d430SRalf Baechle	depends on EXPERIMENTAL
5455e83d430SRalf Baechle	select BOOT_ELF32
5465e83d430SRalf Baechle	select DMA_COHERENT
5475e83d430SRalf Baechle	select SIBYTE_BCM1120
5485e83d430SRalf Baechle	select SWAP_IO_SPACE
5497cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5505e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5515e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5525e83d430SRalf Baechle
5535e83d430SRalf Baechleconfig SIBYTE_CRHONE
5543fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
5555e83d430SRalf Baechle	depends on EXPERIMENTAL
5565e83d430SRalf Baechle	select BOOT_ELF32
5575e83d430SRalf Baechle	select DMA_COHERENT
5585e83d430SRalf Baechle	select SIBYTE_BCM1125
5595e83d430SRalf Baechle	select SWAP_IO_SPACE
5607cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5615e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5625e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5635e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5645e83d430SRalf Baechle
56514b36af4SThomas Bogendoerferconfig SNI_RM
56614b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5674a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5684a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
5695e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5705e83d430SRalf Baechle	select BOOT_ELF32
5715e83d430SRalf Baechle	select DMA_NONCOHERENT
5725e83d430SRalf Baechle	select GENERIC_ISA_DMA
5735e83d430SRalf Baechle	select HW_HAS_EISA
5745e83d430SRalf Baechle	select HW_HAS_PCI
575c066a32aSThomas Bogendoerfer	select IRQ_CPU
576e5c6c8e4SMichael Neuling	select I8253
5775e83d430SRalf Baechle	select I8259
5785e83d430SRalf Baechle	select ISA
5794a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5807cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5814a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
582c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5834a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
58436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
585ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5865e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5874a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5885e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5895e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5901da177e4SLinus Torvalds	help
59114b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
59214b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5935e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5945e83d430SRalf Baechle	  support this machine type.
5951da177e4SLinus Torvalds
5965e83d430SRalf Baechleconfig TOSHIBA_JMR3927
5973fa986faSMartin Michlmayr	bool "Toshiba JMR-TX3927 board"
5985e83d430SRalf Baechle	select DMA_NONCOHERENT
5995e83d430SRalf Baechle	select HW_HAS_PCI
6005e83d430SRalf Baechle	select MIPS_TX3927
6015e83d430SRalf Baechle	select SWAP_IO_SPACE
6027cf8053bSRalf Baechle	select SYS_HAS_CPU_TX39XX
6035e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6046a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6055e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6062127435eSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6075e83d430SRalf Baechle
6085e83d430SRalf Baechleconfig TOSHIBA_RBTX4927
6093fa986faSMartin Michlmayr	bool "Toshiba TBTX49[23]7 board"
6105e83d430SRalf Baechle	select DMA_NONCOHERENT
6115e83d430SRalf Baechle	select HAS_TXX9_SERIAL
6125e83d430SRalf Baechle	select HW_HAS_PCI
6135e83d430SRalf Baechle	select I8259
6145e83d430SRalf Baechle	select SWAP_IO_SPACE
6157cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
6165e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6175e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
6186a2603a2SSergei Shtylyov	select SYS_SUPPORTS_LITTLE_ENDIAN
6195e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
620cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6219fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
6225e83d430SRalf Baechle	help
6235e83d430SRalf Baechle	  This Toshiba board is based on the TX4927 processor. Say Y here to
6245e83d430SRalf Baechle	  support this machine type
6251da177e4SLinus Torvalds
62623fbee9dSRalf Baechleconfig TOSHIBA_RBTX4938
6273fa986faSMartin Michlmayr	bool "Toshiba RBTX4938 board"
62823fbee9dSRalf Baechle	select HAVE_STD_PC_SERIAL_PORT
62923fbee9dSRalf Baechle	select DMA_NONCOHERENT
63023fbee9dSRalf Baechle	select GENERIC_ISA_DMA
63123fbee9dSRalf Baechle	select HAS_TXX9_SERIAL
63223fbee9dSRalf Baechle	select HW_HAS_PCI
63323fbee9dSRalf Baechle	select I8259
63423fbee9dSRalf Baechle	select SWAP_IO_SPACE
6357cf8053bSRalf Baechle	select SYS_HAS_CPU_TX49XX
63623fbee9dSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
63723fbee9dSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
63823fbee9dSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
639cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
6409fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
64123fbee9dSRalf Baechle	help
64223fbee9dSRalf Baechle	  This Toshiba board is based on the TX4938 processor. Say Y here to
64323fbee9dSRalf Baechle	  support this machine type
64423fbee9dSRalf Baechle
6451da177e4SLinus Torvaldsendchoice
6461da177e4SLinus Torvalds
647c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
6485e83d430SRalf Baechlesource "arch/mips/ddb5xxx/Kconfig"
6495e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6505e83d430SRalf Baechlesource "arch/mips/lasat/Kconfig"
6515e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
65229c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
65338b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
6545e83d430SRalf Baechlesource "arch/mips/tx4927/Kconfig"
65523fbee9dSRalf Baechlesource "arch/mips/tx4938/Kconfig"
6565e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
657bdf21b18SPete Popovsource "arch/mips/philips/pnx8550/common/Kconfig"
65838b18f72SRalf Baechle
6595e83d430SRalf Baechleendmenu
6605e83d430SRalf Baechle
6611da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6621da177e4SLinus Torvalds	bool
6631da177e4SLinus Torvalds	default y
6641da177e4SLinus Torvalds
6651da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6661da177e4SLinus Torvalds	bool
6671da177e4SLinus Torvalds
668f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
669f0d1b0b3SDavid Howells	bool
670f0d1b0b3SDavid Howells	default n
671f0d1b0b3SDavid Howells
672f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
673f0d1b0b3SDavid Howells	bool
674f0d1b0b3SDavid Howells	default n
675f0d1b0b3SDavid Howells
6763c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6773c9ee7efSAkinobu Mita	bool
6783c9ee7efSAkinobu Mita	default y
6793c9ee7efSAkinobu Mita
6803c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6813c9ee7efSAkinobu Mita	bool
6823c9ee7efSAkinobu Mita	default y
6833c9ee7efSAkinobu Mita
6841da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
6851da177e4SLinus Torvalds	bool
6861da177e4SLinus Torvalds	default y
6871da177e4SLinus Torvalds
6888db02010SRalf Baechleconfig GENERIC_TIME
6898db02010SRalf Baechle	bool
6908db02010SRalf Baechle	default y
6918db02010SRalf Baechle
6921cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
6931cc89038SAtsushi Nemoto	bool
6941cc89038SAtsushi Nemoto	default y
6951cc89038SAtsushi Nemoto
696e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
697e77c232cSFranck Bui-Huu	bool
698e77c232cSFranck Bui-Huu	default n
699e77c232cSFranck Bui-Huu
7001da177e4SLinus Torvalds#
7011da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7021da177e4SLinus Torvalds#
7031da177e4SLinus Torvaldsconfig ARC
7041da177e4SLinus Torvalds	bool
7051da177e4SLinus Torvalds
70661ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
70761ed242dSRalf Baechle	bool
70861ed242dSRalf Baechle
7091da177e4SLinus Torvaldsconfig DMA_COHERENT
7101da177e4SLinus Torvalds	bool
7111da177e4SLinus Torvalds
7121da177e4SLinus Torvaldsconfig DMA_IP27
7131da177e4SLinus Torvalds	bool
7141da177e4SLinus Torvalds
7154ce588cdSRalf Baechleconfig DMA_IP32
7164ce588cdSRalf Baechle	bool
7174ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7184ce588cdSRalf Baechle
7191da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7201da177e4SLinus Torvalds	bool
7214ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7224ce588cdSRalf Baechle
7234ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7244ce588cdSRalf Baechle	bool
7251da177e4SLinus Torvalds
7261da177e4SLinus Torvaldsconfig EARLY_PRINTK
72736a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
72836a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
72936a88530SRalf Baechle	default y
73036a88530SRalf Baechle	help
73136a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
73236a88530SRalf Baechle	  to print messages very early in the bootup process.
73336a88530SRalf Baechle
73436a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
735490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
736490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
737490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
73836a88530SRalf Baechle	  unless you want to debug such a crash.
73936a88530SRalf Baechle
74036a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7411da177e4SLinus Torvalds	bool
7421da177e4SLinus Torvalds
7431da177e4SLinus Torvaldsconfig GENERIC_ISA_DMA
7441da177e4SLinus Torvalds	bool
74505502339SAtsushi Nemoto	select ZONE_DMA
7461da177e4SLinus Torvalds
7471da177e4SLinus Torvaldsconfig I8259
7481da177e4SLinus Torvalds	bool
7491da177e4SLinus Torvalds
7501da177e4SLinus Torvaldsconfig MIPS_BONITO64
7511da177e4SLinus Torvalds	bool
7521da177e4SLinus Torvalds
7531da177e4SLinus Torvaldsconfig MIPS_MSC
7541da177e4SLinus Torvalds	bool
7551da177e4SLinus Torvalds
7561da177e4SLinus Torvaldsconfig MIPS_NILE4
7571da177e4SLinus Torvalds	bool
7581da177e4SLinus Torvalds
7591da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7601da177e4SLinus Torvalds	bool
7611da177e4SLinus Torvalds
762d388d685SMaciej W. Rozyckiconfig NO_IOPORT
763d388d685SMaciej W. Rozycki	def_bool n
764d388d685SMaciej W. Rozycki
765aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
766aa414dffSRalf Baechle	bool
76705502339SAtsushi Nemoto	select ZONE_DMA
768aa414dffSRalf Baechle
76909663335SYoichi Yuasaconfig GENERIC_GPIO
77009663335SYoichi Yuasa	bool
77109663335SYoichi Yuasa
7725e83d430SRalf Baechle#
7733cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
7745e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
7755e83d430SRalf Baechle# choice statement should be more obvious to the user.
7765e83d430SRalf Baechle#
7775e83d430SRalf Baechlechoice
7785e83d430SRalf Baechle	prompt "Endianess selection"
7791da177e4SLinus Torvalds	help
7801da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
7815e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
7823cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
7835e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
7843dde6ad8SDavid Sterba	  one or the other endianness.
7855e83d430SRalf Baechle
7865e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
7875e83d430SRalf Baechle	bool "Big endian"
7885e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
7895e83d430SRalf Baechle
7905e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
7915e83d430SRalf Baechle	bool "Little endian"
7925e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
7935e83d430SRalf Baechle	help
7945e83d430SRalf Baechle
7955e83d430SRalf Baechleendchoice
7965e83d430SRalf Baechle
7972116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
7982116245eSRalf Baechle	bool
7992116245eSRalf Baechle
8005e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8015e83d430SRalf Baechle	bool
8025e83d430SRalf Baechle
8035e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8045e83d430SRalf Baechle	bool
8051da177e4SLinus Torvalds
8061da177e4SLinus Torvaldsconfig IRQ_CPU
8071da177e4SLinus Torvalds	bool
8081da177e4SLinus Torvalds
8091da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8101da177e4SLinus Torvalds	bool
8111da177e4SLinus Torvalds
8125e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8135e83d430SRalf Baechle	bool
8145e83d430SRalf Baechle
8151da177e4SLinus Torvaldsconfig IRQ_MV64340
8161da177e4SLinus Torvalds	bool
8171da177e4SLinus Torvalds
8181da177e4SLinus Torvaldsconfig DDB5XXX_COMMON
8191da177e4SLinus Torvalds	bool
820cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8211da177e4SLinus Torvalds
8221da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8231da177e4SLinus Torvalds	bool
8241da177e4SLinus Torvalds
825252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8261da177e4SLinus Torvalds	bool
8271da177e4SLinus Torvalds
8281da177e4SLinus Torvaldsconfig MIPS_TX3927
8291da177e4SLinus Torvalds	bool
8301da177e4SLinus Torvalds	select HAS_TXX9_SERIAL
8311da177e4SLinus Torvalds
832663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
833663c3d90Sthomas@koeller.dyndns.org	bool
834663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
835663c3d90Sthomas@koeller.dyndns.org
8361da177e4SLinus Torvaldsconfig PCI_MARVELL
8371da177e4SLinus Torvalds	bool
8381da177e4SLinus Torvalds
839bdf21b18SPete Popovconfig PNX8550
840bdf21b18SPete Popov	bool
841bdf21b18SPete Popov	select SOC_PNX8550
842bdf21b18SPete Popov
843bdf21b18SPete Popovconfig SOC_PNX8550
844bdf21b18SPete Popov	bool
845bdf21b18SPete Popov	select DMA_NONCOHERENT
846bdf21b18SPete Popov	select HW_HAS_PCI
847b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
84836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8497cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
850e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
851cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8524ead1681SFlorian Fainelli	select GENERIC_GPIO
853bdf21b18SPete Popov
8541da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8551da177e4SLinus Torvalds	bool
8561da177e4SLinus Torvalds
857355c471fSdmitry pervushinconfig EMMA2RH
858355c471fSdmitry pervushin	bool
859355c471fSdmitry pervushin	depends on MARKEINS
860355c471fSdmitry pervushin	default y
861355c471fSdmitry pervushin
862663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
863663c3d90Sthomas@koeller.dyndns.org	bool
864663c3d90Sthomas@koeller.dyndns.org
8651da177e4SLinus Torvalds#
8661da177e4SLinus Torvalds# Unfortunately not all GT64120 systems run the chip at the same clock.
8671da177e4SLinus Torvalds# As the user for the clock rate and try to minimize the available options.
8681da177e4SLinus Torvalds#
8691da177e4SLinus Torvaldschoice
8701da177e4SLinus Torvalds	prompt "Galileo Chip Clock"
8716b5bf509SYoichi Yuasa	depends on MOMENCO_OCELOT
8721e54f778SFranck Bui-Huu	default SYSCLK_100 if MOMENCO_OCELOT
8731da177e4SLinus Torvalds
8741da177e4SLinus Torvaldsconfig SYSCLK_100
8756b5bf509SYoichi Yuasa	bool "100" if MOMENCO_OCELOT
8761da177e4SLinus Torvalds
8771da177e4SLinus Torvaldsendchoice
8781da177e4SLinus Torvalds
8795e83d430SRalf Baechleconfig ARC32
8805e83d430SRalf Baechle	bool
8815e83d430SRalf Baechle
8821da177e4SLinus Torvaldsconfig BOOT_ELF32
8831da177e4SLinus Torvalds	bool
8841da177e4SLinus Torvalds
8851da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
8861da177e4SLinus Torvalds	int
887c066a32aSThomas Bogendoerfer	default "4" if MACH_DECSTATION || SNI_RM
8881da177e4SLinus Torvalds	default "7" if SGI_IP27
8891da177e4SLinus Torvalds	default "5"
8901da177e4SLinus Torvalds
8911da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
8921da177e4SLinus Torvalds	bool
8931da177e4SLinus Torvalds
8941da177e4SLinus Torvaldsconfig ARC_CONSOLE
8951da177e4SLinus Torvalds	bool "ARC console support"
89636a88530SRalf Baechle	depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
8971da177e4SLinus Torvalds
8981da177e4SLinus Torvaldsconfig ARC_MEMORY
8991da177e4SLinus Torvalds	bool
90014b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9011da177e4SLinus Torvalds	default y
9021da177e4SLinus Torvalds
9031da177e4SLinus Torvaldsconfig ARC_PROMLIB
9041da177e4SLinus Torvalds	bool
90514b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
9061da177e4SLinus Torvalds	default y
9071da177e4SLinus Torvalds
9081da177e4SLinus Torvaldsconfig ARC64
9091da177e4SLinus Torvalds	bool
9101da177e4SLinus Torvalds
9111da177e4SLinus Torvaldsconfig BOOT_ELF64
9121da177e4SLinus Torvalds	bool
9131da177e4SLinus Torvalds
9141da177e4SLinus Torvaldsmenu "CPU selection"
9151da177e4SLinus Torvalds
9161da177e4SLinus Torvaldschoice
9171da177e4SLinus Torvalds	prompt "CPU type"
9181da177e4SLinus Torvalds	default CPU_R4X00
9191da177e4SLinus Torvalds
9202a21c730SFuxin Zhangconfig CPU_LOONGSON2
9212a21c730SFuxin Zhang	bool "Loongson 2"
9222a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
9232a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
9242a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
9252a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
9262a21c730SFuxin Zhang	help
9272a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
9282a21c730SFuxin Zhang	  with many extensions.
9292a21c730SFuxin Zhang
9306e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9316e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9327cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
933f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9346e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
935797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
936ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9376e760c8dSRalf Baechle	help
9385e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9391e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9401e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9411e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9421e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9431e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9441e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9451e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9461e5f1caaSRalf Baechle	  performance.
9471e5f1caaSRalf Baechle
9481e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9491e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9507cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
951f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9521e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
953797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
954ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9551e5f1caaSRalf Baechle	help
9565e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9576e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9586e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9596e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9606e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9611da177e4SLinus Torvalds
9626e760c8dSRalf Baechleconfig CPU_MIPS64_R1
9636e760c8dSRalf Baechle	bool "MIPS64 Release 1"
9647cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
965f7062ddbSRalf Baechle	select CPU_HAS_LLSC
966797798c1SRalf Baechle	select CPU_HAS_PREFETCH
967ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
968ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
969ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9706e760c8dSRalf Baechle	help
9716e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9726e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9736e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9746e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9756e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9761e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
9771e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
9781e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
9791e5f1caaSRalf Baechle	  performance.
9801e5f1caaSRalf Baechle
9811e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
9821e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
9837cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
984f7062ddbSRalf Baechle	select CPU_HAS_LLSC
985797798c1SRalf Baechle	select CPU_HAS_PREFETCH
9861e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
9871e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
988ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9891e5f1caaSRalf Baechle	help
9901e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9911e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9921e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9931e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9941e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9951da177e4SLinus Torvalds
9961da177e4SLinus Torvaldsconfig CPU_R3000
9971da177e4SLinus Torvalds	bool "R3000"
9987cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
999f7062ddbSRalf Baechle	select CPU_HAS_WB
1000ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1001797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10021da177e4SLinus Torvalds	help
10031da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
10041da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
10051da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
10061da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
10071da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
10081da177e4SLinus Torvalds	  try to recompile with R3000.
10091da177e4SLinus Torvalds
10101da177e4SLinus Torvaldsconfig CPU_TX39XX
10111da177e4SLinus Torvalds	bool "R39XX"
10127cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1013ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10141da177e4SLinus Torvalds
10151da177e4SLinus Torvaldsconfig CPU_VR41XX
10161da177e4SLinus Torvalds	bool "R41xx"
10177cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1018ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1019ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10201da177e4SLinus Torvalds	help
10215e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
10221da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
10231da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10241da177e4SLinus Torvalds	  processor or vice versa.
10251da177e4SLinus Torvalds
10261da177e4SLinus Torvaldsconfig CPU_R4300
10271da177e4SLinus Torvalds	bool "R4300"
10287cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1029f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1030ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1031ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10321da177e4SLinus Torvalds	help
10331da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10341da177e4SLinus Torvalds
10351da177e4SLinus Torvaldsconfig CPU_R4X00
10361da177e4SLinus Torvalds	bool "R4x00"
10377cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1038f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1039ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1040ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10411da177e4SLinus Torvalds	help
10421da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10431da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10441da177e4SLinus Torvalds
10451da177e4SLinus Torvaldsconfig CPU_TX49XX
10461da177e4SLinus Torvalds	bool "R49XX"
10477cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1048f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1049de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1050ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1051ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10521da177e4SLinus Torvalds
10531da177e4SLinus Torvaldsconfig CPU_R5000
10541da177e4SLinus Torvalds	bool "R5000"
10557cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1056f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1057ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1058ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10591da177e4SLinus Torvalds	help
10601da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
10611da177e4SLinus Torvalds
10621da177e4SLinus Torvaldsconfig CPU_R5432
10631da177e4SLinus Torvalds	bool "R5432"
10647cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1065f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10665e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10675e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
10681da177e4SLinus Torvalds
10691da177e4SLinus Torvaldsconfig CPU_R6000
10701da177e4SLinus Torvalds	bool "R6000"
1071ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1072f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10737cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1074ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10751da177e4SLinus Torvalds	help
10761da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1077c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
10781da177e4SLinus Torvalds
10791da177e4SLinus Torvaldsconfig CPU_NEVADA
10801da177e4SLinus Torvalds	bool "RM52xx"
10817cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1082f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1083ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1084ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10851da177e4SLinus Torvalds	help
10861da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
10871da177e4SLinus Torvalds
10881da177e4SLinus Torvaldsconfig CPU_R8000
10891da177e4SLinus Torvalds	bool "R8000"
1090ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
10917cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1092f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10935e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1094ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10951da177e4SLinus Torvalds	help
10961da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
10971da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
10981da177e4SLinus Torvalds
10991da177e4SLinus Torvaldsconfig CPU_R10000
11001da177e4SLinus Torvalds	bool "R10000"
11017cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1102f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11035e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1104ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1105ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1106797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11071da177e4SLinus Torvalds	help
11081da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
11091da177e4SLinus Torvalds
11101da177e4SLinus Torvaldsconfig CPU_RM7000
11111da177e4SLinus Torvalds	bool "RM7000"
11127cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1113f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11145e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1115ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1116ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1117797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11181da177e4SLinus Torvalds
11191da177e4SLinus Torvaldsconfig CPU_RM9000
11201da177e4SLinus Torvalds	bool "RM9000"
11217cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1122f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11235e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1124ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1125ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1126797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11270004a9dfSRalf Baechle	select WEAK_ORDERING
11281da177e4SLinus Torvalds
11291da177e4SLinus Torvaldsconfig CPU_SB1
11301da177e4SLinus Torvalds	bool "SB1"
11317cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1132f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1133ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1134ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1135797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11360004a9dfSRalf Baechle	select WEAK_ORDERING
11371da177e4SLinus Torvalds
11381da177e4SLinus Torvaldsendchoice
11391da177e4SLinus Torvalds
11402a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
11412a21c730SFuxin Zhang	bool
11422a21c730SFuxin Zhang
11437cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11447cf8053bSRalf Baechle	bool
11457cf8053bSRalf Baechle
11467cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11477cf8053bSRalf Baechle	bool
11487cf8053bSRalf Baechle
11497cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11507cf8053bSRalf Baechle	bool
11517cf8053bSRalf Baechle
11527cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
11537cf8053bSRalf Baechle	bool
11547cf8053bSRalf Baechle
11557cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
11567cf8053bSRalf Baechle	bool
11577cf8053bSRalf Baechle
11587cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
11597cf8053bSRalf Baechle	bool
11607cf8053bSRalf Baechle
11617cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
11627cf8053bSRalf Baechle	bool
11637cf8053bSRalf Baechle
11647cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
11657cf8053bSRalf Baechle	bool
11667cf8053bSRalf Baechle
11677cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
11687cf8053bSRalf Baechle	bool
11697cf8053bSRalf Baechle
11707cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
11717cf8053bSRalf Baechle	bool
11727cf8053bSRalf Baechle
11737cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
11747cf8053bSRalf Baechle	bool
11757cf8053bSRalf Baechle
11767cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
11777cf8053bSRalf Baechle	bool
11787cf8053bSRalf Baechle
11797cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
11807cf8053bSRalf Baechle	bool
11817cf8053bSRalf Baechle
11827cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
11837cf8053bSRalf Baechle	bool
11847cf8053bSRalf Baechle
11857cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
11867cf8053bSRalf Baechle	bool
11877cf8053bSRalf Baechle
11887cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
11897cf8053bSRalf Baechle	bool
11907cf8053bSRalf Baechle
11917cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
11927cf8053bSRalf Baechle	bool
11937cf8053bSRalf Baechle
11947cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
11957cf8053bSRalf Baechle	bool
11967cf8053bSRalf Baechle
11977cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
11987cf8053bSRalf Baechle	bool
11997cf8053bSRalf Baechle
12000004a9dfSRalf Baechleconfig WEAK_ORDERING
12010004a9dfSRalf Baechle	bool
12025e83d430SRalf Baechleendmenu
12035e83d430SRalf Baechle
12045e83d430SRalf Baechle#
12055e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
12065e83d430SRalf Baechle#
12075e83d430SRalf Baechleconfig CPU_MIPS32
12085e83d430SRalf Baechle	bool
12095e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
12105e83d430SRalf Baechle
12115e83d430SRalf Baechleconfig CPU_MIPS64
12125e83d430SRalf Baechle	bool
12135e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
12145e83d430SRalf Baechle
12155e83d430SRalf Baechle#
1216c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
12175e83d430SRalf Baechle#
12185e83d430SRalf Baechleconfig CPU_MIPSR1
12195e83d430SRalf Baechle	bool
12205e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
12215e83d430SRalf Baechle
12225e83d430SRalf Baechleconfig CPU_MIPSR2
12235e83d430SRalf Baechle	bool
12245e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
12255e83d430SRalf Baechle
12265e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
12275e83d430SRalf Baechle	bool
12285e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12295e83d430SRalf Baechle	bool
12305e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12315e83d430SRalf Baechle	bool
12325e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12335e83d430SRalf Baechle	bool
12345e83d430SRalf Baechle
12355e83d430SRalf Baechlemenu "Kernel type"
12365e83d430SRalf Baechle
12375e83d430SRalf Baechlechoice
12385e83d430SRalf Baechle
12395e83d430SRalf Baechle	prompt "Kernel code model"
12405e83d430SRalf Baechle	help
12415e83d430SRalf Baechle	  You should only select this option if you have a workload that
12425e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
12435e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
12445e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
12455e83d430SRalf Baechle
12465e83d430SRalf Baechleconfig 32BIT
12475e83d430SRalf Baechle	bool "32-bit kernel"
12485e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
12495e83d430SRalf Baechle	select TRAD_SIGNALS
12505e83d430SRalf Baechle	help
12515e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
12525e83d430SRalf Baechleconfig 64BIT
12535e83d430SRalf Baechle	bool "64-bit kernel"
12545e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
12555e83d430SRalf Baechle	help
12565e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
12575e83d430SRalf Baechle
12585e83d430SRalf Baechleendchoice
12595e83d430SRalf Baechle
12601da177e4SLinus Torvaldschoice
12611da177e4SLinus Torvalds	prompt "Kernel page size"
12621da177e4SLinus Torvalds	default PAGE_SIZE_4KB
12631da177e4SLinus Torvalds
12641da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
12651da177e4SLinus Torvalds	bool "4kB"
12661da177e4SLinus Torvalds	help
12671da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
12681da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
12691da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
12701da177e4SLinus Torvalds	 recommended for low memory systems.
12711da177e4SLinus Torvalds
12721da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
12731da177e4SLinus Torvalds	bool "8kB"
12741da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
12751da177e4SLinus Torvalds	help
12761da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
12771da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
12781da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
12791da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
12801da177e4SLinus Torvalds	  compatibility of user applications.
12811da177e4SLinus Torvalds
12821da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
12831da177e4SLinus Torvalds	bool "16kB"
1284714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
12851da177e4SLinus Torvalds	help
12861da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
12871da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1288714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1289714bfad6SRalf Baechle	  Linux distribution to support this.
12901da177e4SLinus Torvalds
12911da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
12921da177e4SLinus Torvalds	bool "64kB"
12931da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
12941da177e4SLinus Torvalds	help
12951da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
12961da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
12971da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1298714bfad6SRalf Baechle	  writing this option is still high experimental.
12991da177e4SLinus Torvalds
13001da177e4SLinus Torvaldsendchoice
13011da177e4SLinus Torvalds
13021da177e4SLinus Torvaldsconfig BOARD_SCACHE
13031da177e4SLinus Torvalds	bool
13041da177e4SLinus Torvalds
13051da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
13061da177e4SLinus Torvalds	bool
13071da177e4SLinus Torvalds	select BOARD_SCACHE
13081da177e4SLinus Torvalds
13099318c51aSChris Dearman#
13109318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
13119318c51aSChris Dearman#
13129318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
13139318c51aSChris Dearman	bool
13149318c51aSChris Dearman	select BOARD_SCACHE
13159318c51aSChris Dearman
13161da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
13171da177e4SLinus Torvalds	bool
13181da177e4SLinus Torvalds	select BOARD_SCACHE
13191da177e4SLinus Torvalds
13201da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
13211da177e4SLinus Torvalds	bool
13221da177e4SLinus Torvalds	select BOARD_SCACHE
13231da177e4SLinus Torvalds
13241da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
13251da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
13261da177e4SLinus Torvalds	depends on CPU_SB1
13271da177e4SLinus Torvalds	help
13281da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13291da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13301da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13311da177e4SLinus Torvalds
13321da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1333c8094b53SRalf Baechle	bool
13341da177e4SLinus Torvalds
1335340ee4b9SRalf Baechlechoice
1336340ee4b9SRalf Baechle	prompt "MIPS MT options"
1337f41ae0b2SRalf Baechle
1338f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1339f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1340f41ae0b2SRalf Baechle	help
1341f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1342f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1343f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1344f41ae0b2SRalf Baechle	  option in this menu.
1345340ee4b9SRalf Baechle
134659d6ab86SRalf Baechleconfig MIPS_MT_SMP
134759d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
134859d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
134959d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1350d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
135159d6ab86SRalf Baechle	select CPU_MIPSR2_SRS
135259d6ab86SRalf Baechle	select MIPS_MT
1353f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
135459d6ab86SRalf Baechle	select SMP
135559d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
135659d6ab86SRalf Baechle	help
135759d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
135859d6ab86SRalf Baechle	  has been marketesed into SMVP.
135959d6ab86SRalf Baechle
136041c594abSRalf Baechleconfig MIPS_MT_SMTC
136141c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1362f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1363f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1364f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1365f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1366d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1367f7062ddbSRalf Baechle	select CPU_MIPSR2_SRS
1368f41ae0b2SRalf Baechle	select MIPS_MT
1369130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
137041c594abSRalf Baechle	select SMP
137173b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
1372f41ae0b2SRalf Baechle	help
1373f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1374f41ae0b2SRalf Baechle	  marketesed into SMVP.
137541c594abSRalf Baechle
1376e01402b1SRalf Baechleconfig MIPS_VPE_LOADER
1377e01402b1SRalf Baechle	bool "VPE loader support."
1378f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1379d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_VI
1380d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1381b0c10b9fSRalf Baechle	select CPU_MIPSR2_SRS
1382f41ae0b2SRalf Baechle	select MIPS_MT
1383e01402b1SRalf Baechle	help
1384e01402b1SRalf Baechle	  Includes a loader for loading an elf relocatable object
1385e01402b1SRalf Baechle	  onto another VPE and running it.
1386e01402b1SRalf Baechle
1387340ee4b9SRalf Baechleendchoice
1388340ee4b9SRalf Baechle
1389f41ae0b2SRalf Baechleconfig MIPS_MT
1390f41ae0b2SRalf Baechle	bool
1391f41ae0b2SRalf Baechle
1392f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1393f41ae0b2SRalf Baechle	bool
1394f41ae0b2SRalf Baechle
1395f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1396f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1397f088fc84SRalf Baechle	depends on MIPS_MT
1398f088fc84SRalf Baechle	default y
1399f088fc84SRalf Baechle
1400ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1401ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1402619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1403ac8be955SRalf Baechle	default y
1404ac8be955SRalf Baechle	help
1405ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1406ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1407ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1408ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1409ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1410ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1411ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1412ac8be955SRalf Baechle	  heavy I/O interrupt load.
1413ac8be955SRalf Baechle
1414e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1415e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1416e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1417e01402b1SRalf Baechle	default y
1418e01402b1SRalf Baechle	help
1419e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1420e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1421e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1422e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1423e01402b1SRalf Baechle
1424e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1425e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1426e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1427e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
14285e83d430SRalf Baechle	help
1429e01402b1SRalf Baechle
14302600990eSRalf Baechleconfig MIPS_APSP_KSPD
14312600990eSRalf Baechle	bool "Enable KSPD"
14322600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
14332600990eSRalf Baechle	default y
14342600990eSRalf Baechle	help
14352600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
14362600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
14372600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
14382600990eSRalf Baechle	  exiting.  You probably want to say yes here.
14392600990eSRalf Baechle
14401da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
14411da177e4SLinus Torvalds	bool
14421da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
14431da177e4SLinus Torvalds	default y
14441da177e4SLinus Torvalds
14451da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
14461da177e4SLinus Torvalds	bool
14471da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
14481da177e4SLinus Torvalds	default y
14491da177e4SLinus Torvalds
14501da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
14511da177e4SLinus Torvalds	bool
14521da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
14531da177e4SLinus Torvalds	default y
14541da177e4SLinus Torvalds
14551da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
14561da177e4SLinus Torvalds	bool "Support for 64-bit physical address space"
1457948928adSRalf Baechle	depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT
14581da177e4SLinus Torvalds
14591da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1460f7062ddbSRalf Baechle	bool
14611da177e4SLinus Torvalds
14629693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
14639693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
14649693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
14659693a853SFranck Bui-Huu	help
14669693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
14679693a853SFranck Bui-Huu	  increased security at both hardware and software level for
14689693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
14699693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
14709693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
14719693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
14729693a853SFranck Bui-Huu	  here.
14739693a853SFranck Bui-Huu
14741da177e4SLinus Torvaldsconfig CPU_HAS_WB
1475f7062ddbSRalf Baechle	bool
1476e01402b1SRalf Baechle
14772a21c730SFuxin Zhangconfig 64BIT_CONTEXT
14782a21c730SFuxin Zhang	bool "Save 64bit integer registers"
14792a21c730SFuxin Zhang	depends on 32BIT && CPU_LOONGSON2
14802a21c730SFuxin Zhang	help
14812a21c730SFuxin Zhang	  Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
14822a21c730SFuxin Zhang	  registers can still be accessed as 64bit, mainly for multimedia
14832a21c730SFuxin Zhang	  instructions. We must have all 64bit save/restored to make sure
14842a21c730SFuxin Zhang	  those instructions to get correct result.
14852a21c730SFuxin Zhang
1486f41ae0b2SRalf Baechle#
1487f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1488f41ae0b2SRalf Baechle#
1489e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1490f41ae0b2SRalf Baechle	bool
1491e01402b1SRalf Baechle
1492f41ae0b2SRalf Baechle#
1493f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1494f41ae0b2SRalf Baechle#
1495e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1496f41ae0b2SRalf Baechle	bool
1497e01402b1SRalf Baechle
1498f41ae0b2SRalf Baechle#
1499f41ae0b2SRalf Baechle# Shadow registers are an R2 feature
1500f41ae0b2SRalf Baechle#
1501e01402b1SRalf Baechleconfig CPU_MIPSR2_SRS
1502f41ae0b2SRalf Baechle	bool
1503e01402b1SRalf Baechle
15041da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
15051da177e4SLinus Torvalds	bool
15061da177e4SLinus Torvalds	depends on !CPU_R3000
15071da177e4SLinus Torvalds	default y
15081da177e4SLinus Torvalds
15091da177e4SLinus Torvalds#
1510797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1511797798c1SRalf Baechle#
1512797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1513797798c1SRalf Baechle	bool
1514797798c1SRalf Baechle	default y
1515797798c1SRalf Baechle
1516797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1517797798c1SRalf Baechle	bool
1518797798c1SRalf Baechle	default y
1519797798c1SRalf Baechle
15200d7012a9SIngo Molnarconfig IRQ_PER_CPU
15210d7012a9SIngo Molnar	bool
15220d7012a9SIngo Molnar
1523797798c1SRalf Baechle#
15241da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
15251da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
15261da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
15271da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
15281da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
15291da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
15301da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
15311da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1532797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1533797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1534797798c1SRalf Baechle#   support.
15351da177e4SLinus Torvalds#
15361da177e4SLinus Torvaldsconfig HIGHMEM
15371da177e4SLinus Torvalds	bool "High Memory Support"
1538797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1539797798c1SRalf Baechle
1540797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1541797798c1SRalf Baechle	bool
1542797798c1SRalf Baechle
1543797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1544797798c1SRalf Baechle	bool
15451da177e4SLinus Torvalds
15469693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
15479693a853SFranck Bui-Huu	bool
15489693a853SFranck Bui-Huu
1549b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1550b4819b59SYoichi Yuasa	def_bool y
1551b4819b59SYoichi Yuasa	depends on !NUMA
1552b4819b59SYoichi Yuasa
1553d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1554d8cb4e11SRalf Baechle	bool
1555d8cb4e11SRalf Baechle	default y if SGI_IP27
1556d8cb4e11SRalf Baechle	help
15573dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1558d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1559d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1560d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1561d8cb4e11SRalf Baechle
1562b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1563b1c6cd42SAtsushi Nemoto	bool
15647de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
156531473747SAtsushi Nemoto
1566d8cb4e11SRalf Baechleconfig NUMA
1567d8cb4e11SRalf Baechle	bool "NUMA Support"
1568d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1569d8cb4e11SRalf Baechle	help
1570d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1571d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1572d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1573d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1574d8cb4e11SRalf Baechle	  disabled.
1575d8cb4e11SRalf Baechle
1576d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1577d8cb4e11SRalf Baechle	bool
1578d8cb4e11SRalf Baechle
1579c80d79d7SYasunori Gotoconfig NODES_SHIFT
1580c80d79d7SYasunori Goto	int
1581c80d79d7SYasunori Goto	default "6"
1582c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1583c80d79d7SYasunori Goto
1584b4819b59SYoichi Yuasasource "mm/Kconfig"
1585b4819b59SYoichi Yuasa
15861da177e4SLinus Torvaldsconfig SMP
15871da177e4SLinus Torvalds	bool "Multi-Processing support"
1588e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1589b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1590e73ea273SRalf Baechle	help
15911da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
15921da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
15931da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
15941da177e4SLinus Torvalds
15951da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
15961da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
15971da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
15981da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
15991da177e4SLinus Torvalds	  will run faster if you say N here.
16001da177e4SLinus Torvalds
16011da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
16021da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
16031da177e4SLinus Torvalds
16041da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
16051da177e4SLinus Torvalds	  available at <http://www.tldp.org/docs.html#howto>.
16061da177e4SLinus Torvalds
16071da177e4SLinus Torvalds	  If you don't know what to do here, say N.
16081da177e4SLinus Torvalds
1609e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1610e73ea273SRalf Baechle	bool
1611e73ea273SRalf Baechle
161272ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
161372ede9b1SAtsushi Nemoto	bool
161472ede9b1SAtsushi Nemoto
1615130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1616130e2fb7SRalf Baechle	bool
1617130e2fb7SRalf Baechle
1618130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1619130e2fb7SRalf Baechle	bool
1620130e2fb7SRalf Baechle
1621130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1622130e2fb7SRalf Baechle	bool
1623130e2fb7SRalf Baechle
1624130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1625130e2fb7SRalf Baechle	bool
1626130e2fb7SRalf Baechle
1627130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1628130e2fb7SRalf Baechle	bool
1629130e2fb7SRalf Baechle
1630130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1631130e2fb7SRalf Baechle	bool
1632130e2fb7SRalf Baechle
16331da177e4SLinus Torvaldsconfig NR_CPUS
16341da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
163572ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
16361da177e4SLinus Torvalds	depends on SMP
163772ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1638130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1639130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1640130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1641130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1642130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1643130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
16441da177e4SLinus Torvalds	help
16451da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
16461da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
16471da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
164872ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
164972ede9b1SAtsushi Nemoto	  and 2 for all others.
16501da177e4SLinus Torvalds
16511da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
165272ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
165372ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
165472ede9b1SAtsushi Nemoto	  power of two.
16551da177e4SLinus Torvalds
16561723b4a3SAtsushi Nemoto#
16571723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
16581723b4a3SAtsushi Nemoto#
16591723b4a3SAtsushi Nemoto
16601723b4a3SAtsushi Nemotochoice
16611723b4a3SAtsushi Nemoto	prompt "Timer frequency"
16621723b4a3SAtsushi Nemoto	default HZ_250
16631723b4a3SAtsushi Nemoto	help
16641723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
16651723b4a3SAtsushi Nemoto
16661723b4a3SAtsushi Nemoto	config HZ_48
16671723b4a3SAtsushi Nemoto		bool "48 HZ" if SYS_SUPPORTS_48HZ
16681723b4a3SAtsushi Nemoto
16691723b4a3SAtsushi Nemoto	config HZ_100
16701723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
16711723b4a3SAtsushi Nemoto
16721723b4a3SAtsushi Nemoto	config HZ_128
16731723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
16741723b4a3SAtsushi Nemoto
16751723b4a3SAtsushi Nemoto	config HZ_250
16761723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
16771723b4a3SAtsushi Nemoto
16781723b4a3SAtsushi Nemoto	config HZ_256
16791723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
16801723b4a3SAtsushi Nemoto
16811723b4a3SAtsushi Nemoto	config HZ_1000
16821723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
16831723b4a3SAtsushi Nemoto
16841723b4a3SAtsushi Nemoto	config HZ_1024
16851723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
16861723b4a3SAtsushi Nemoto
16871723b4a3SAtsushi Nemotoendchoice
16881723b4a3SAtsushi Nemoto
16891723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
16901723b4a3SAtsushi Nemoto	bool
16911723b4a3SAtsushi Nemoto
16921723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
16931723b4a3SAtsushi Nemoto	bool
16941723b4a3SAtsushi Nemoto
16951723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
16961723b4a3SAtsushi Nemoto	bool
16971723b4a3SAtsushi Nemoto
16981723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
16991723b4a3SAtsushi Nemoto	bool
17001723b4a3SAtsushi Nemoto
17011723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
17021723b4a3SAtsushi Nemoto	bool
17031723b4a3SAtsushi Nemoto
17041723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
17051723b4a3SAtsushi Nemoto	bool
17061723b4a3SAtsushi Nemoto
17071723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
17081723b4a3SAtsushi Nemoto	bool
17091723b4a3SAtsushi Nemoto
17101723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
17111723b4a3SAtsushi Nemoto	bool
17121723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
17131723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
17141723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
17151723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
17161723b4a3SAtsushi Nemoto
17171723b4a3SAtsushi Nemotoconfig HZ
17181723b4a3SAtsushi Nemoto	int
17191723b4a3SAtsushi Nemoto	default 48 if HZ_48
17201723b4a3SAtsushi Nemoto	default 100 if HZ_100
17211723b4a3SAtsushi Nemoto	default 128 if HZ_128
17221723b4a3SAtsushi Nemoto	default 250 if HZ_250
17231723b4a3SAtsushi Nemoto	default 256 if HZ_256
17241723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
17251723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
17261723b4a3SAtsushi Nemoto
1727e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
17281da177e4SLinus Torvalds
17291da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
17301da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1731875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
17321da177e4SLinus Torvalds	help
17331da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
17341da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
17351da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
17361da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
17371da177e4SLinus Torvalds	  recommended for normal users.
17381da177e4SLinus Torvalds
1739ea6e942bSAtsushi Nemotoconfig KEXEC
1740ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1741ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1742ea6e942bSAtsushi Nemoto	help
1743ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1744ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
17453dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1746ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1747ea6e942bSAtsushi Nemoto
1748ea6e942bSAtsushi Nemoto	  The name comes from the similiarity to the exec system call.
1749ea6e942bSAtsushi Nemoto
1750ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1751ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1752ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1753ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1754ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1755ea6e942bSAtsushi Nemoto
1756ea6e942bSAtsushi Nemotoconfig SECCOMP
1757ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1758ea6e942bSAtsushi Nemoto	depends on PROC_FS && BROKEN
1759ea6e942bSAtsushi Nemoto	default y
1760ea6e942bSAtsushi Nemoto	help
1761ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1762ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1763ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1764ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1765ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1766ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1767ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1768ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1769ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1770ea6e942bSAtsushi Nemoto
1771ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1772ea6e942bSAtsushi Nemoto
17735e83d430SRalf Baechleendmenu
17745e83d430SRalf Baechle
17751da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
17761da177e4SLinus Torvalds	bool
17771da177e4SLinus Torvalds	default y
17781da177e4SLinus Torvalds
17791df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
17801df0f0ffSAtsushi Nemoto	bool
17811df0f0ffSAtsushi Nemoto	default y
17821df0f0ffSAtsushi Nemoto
17831df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
17841df0f0ffSAtsushi Nemoto	bool
17851df0f0ffSAtsushi Nemoto	default y
17861df0f0ffSAtsushi Nemoto
1787b6c3539bSRalf Baechlesource "init/Kconfig"
1788b6c3539bSRalf Baechle
17891da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
17901da177e4SLinus Torvalds
17915e83d430SRalf Baechleconfig HW_HAS_EISA
17925e83d430SRalf Baechle	bool
17931da177e4SLinus Torvaldsconfig HW_HAS_PCI
17941da177e4SLinus Torvalds	bool
17951da177e4SLinus Torvalds
17961da177e4SLinus Torvaldsconfig PCI
17971da177e4SLinus Torvalds	bool "Support for PCI controller"
17981da177e4SLinus Torvalds	depends on HW_HAS_PCI
17991da177e4SLinus Torvalds	help
18001da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
18011da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
18021da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
18031da177e4SLinus Torvalds	  say Y, otherwise N.
18041da177e4SLinus Torvalds
18051da177e4SLinus Torvalds	  The PCI-HOWTO, available from
18061da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>, contains valuable
18071da177e4SLinus Torvalds	  information about which PCI hardware does work under Linux and which
18081da177e4SLinus Torvalds	  doesn't.
18091da177e4SLinus Torvalds
18101da177e4SLinus Torvaldsconfig PCI_DOMAINS
18111da177e4SLinus Torvalds	bool
18121da177e4SLinus Torvalds	depends on PCI
18131da177e4SLinus Torvalds
18141da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
18151da177e4SLinus Torvalds
18161da177e4SLinus Torvalds#
18171da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
18181da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
18191da177e4SLinus Torvalds# users to choose the right thing ...
18201da177e4SLinus Torvalds#
18211da177e4SLinus Torvaldsconfig ISA
18221da177e4SLinus Torvalds	bool
18231da177e4SLinus Torvalds
18241da177e4SLinus Torvaldsconfig EISA
18251da177e4SLinus Torvalds	bool "EISA support"
18265e83d430SRalf Baechle	depends on HW_HAS_EISA
18271da177e4SLinus Torvalds	select ISA
1828aa414dffSRalf Baechle	select GENERIC_ISA_DMA
18291da177e4SLinus Torvalds	---help---
18301da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
18311da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
18321da177e4SLinus Torvalds
18331da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
18341da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
18351da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
18361da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
18371da177e4SLinus Torvalds
18381da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
18391da177e4SLinus Torvalds
18401da177e4SLinus Torvalds	  Otherwise, say N.
18411da177e4SLinus Torvalds
18421da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
18431da177e4SLinus Torvalds
18441da177e4SLinus Torvaldsconfig TC
18451da177e4SLinus Torvalds	bool "TURBOchannel support"
18461da177e4SLinus Torvalds	depends on MACH_DECSTATION
18471da177e4SLinus Torvalds	help
18481da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
18491da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
18501da177e4SLinus Torvalds	  is available at:
18511da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
18521da177e4SLinus Torvalds
18531da177e4SLinus Torvalds#config ACCESSBUS
18541da177e4SLinus Torvalds#	bool "Access.Bus support"
18551da177e4SLinus Torvalds#	depends on TC
18561da177e4SLinus Torvalds
18571da177e4SLinus Torvaldsconfig MMU
18581da177e4SLinus Torvalds	bool
18591da177e4SLinus Torvalds	default y
18601da177e4SLinus Torvalds
1861e5c6c8e4SMichael Neulingconfig I8253
1862e5c6c8e4SMichael Neuling	bool
1863e5c6c8e4SMichael Neuling
18641da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
18651da177e4SLinus Torvalds
18661da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
18671da177e4SLinus Torvalds
18681da177e4SLinus Torvaldsendmenu
18691da177e4SLinus Torvalds
18701da177e4SLinus Torvaldsmenu "Executable file formats"
18711da177e4SLinus Torvalds
18721da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
18731da177e4SLinus Torvalds
18741da177e4SLinus Torvaldsconfig TRAD_SIGNALS
18751da177e4SLinus Torvalds	bool
18761da177e4SLinus Torvalds
18771da177e4SLinus Torvaldsconfig BUILD_ELF64
18781da177e4SLinus Torvalds	bool "Use 64-bit ELF format for building"
1879875d43e7SRalf Baechle	depends on 64BIT
18801da177e4SLinus Torvalds	help
18811da177e4SLinus Torvalds	  A 64-bit kernel is usually built using the 64-bit ELF binary object
18821da177e4SLinus Torvalds	  format as it's one that allows arbitrary 64-bit constructs.  For
18831da177e4SLinus Torvalds	  kernels that are loaded within the KSEG compatibility segments the
18841da177e4SLinus Torvalds	  32-bit ELF format can optionally be used resulting in a somewhat
18851da177e4SLinus Torvalds	  smaller binary, but this option is not explicitly supported by the
18861da177e4SLinus Torvalds	  toolchain and since binutils 2.14 it does not even work at all.
18871da177e4SLinus Torvalds
18881da177e4SLinus Torvalds	  Say Y to use the 64-bit format or N to use the 32-bit one.
18891da177e4SLinus Torvalds
18901da177e4SLinus Torvalds	  If unsure say Y.
18911da177e4SLinus Torvalds
18921da177e4SLinus Torvaldsconfig BINFMT_IRIX
18931da177e4SLinus Torvalds	bool "Include IRIX binary compatibility"
18945e83d430SRalf Baechle	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
18951da177e4SLinus Torvalds
18961da177e4SLinus Torvaldsconfig MIPS32_COMPAT
18971da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1898875d43e7SRalf Baechle	depends on 64BIT
18991da177e4SLinus Torvalds	help
19001da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
19011da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
19021da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
19031da177e4SLinus Torvalds
19041da177e4SLinus Torvaldsconfig COMPAT
19051da177e4SLinus Torvalds	bool
19061da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19071da177e4SLinus Torvalds	default y
19081da177e4SLinus Torvalds
190905e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
191005e43966SAtsushi Nemoto	bool
191105e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
191205e43966SAtsushi Nemoto	default y
191305e43966SAtsushi Nemoto
19141da177e4SLinus Torvaldsconfig MIPS32_O32
19151da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
19161da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19171da177e4SLinus Torvalds	help
19181da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
19191da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
19201da177e4SLinus Torvalds	  existing binaries are in this format.
19211da177e4SLinus Torvalds
19221da177e4SLinus Torvalds	  If unsure, say Y.
19231da177e4SLinus Torvalds
19241da177e4SLinus Torvaldsconfig MIPS32_N32
19251da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
19261da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19271da177e4SLinus Torvalds	help
19281da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
19291da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
19301da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
19311da177e4SLinus Torvalds	  cases.
19321da177e4SLinus Torvalds
19331da177e4SLinus Torvalds	  If unsure, say N.
19341da177e4SLinus Torvalds
19351da177e4SLinus Torvaldsconfig BINFMT_ELF32
19361da177e4SLinus Torvalds	bool
19371da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
19381da177e4SLinus Torvalds
19392116245eSRalf Baechleendmenu
19401da177e4SLinus Torvalds
19412116245eSRalf Baechlemenu "Power management options"
1942952fa954SRodolfo Giometti
19432116245eSRalf Baechlesource "kernel/power/Kconfig"
1944952fa954SRodolfo Giometti
19451da177e4SLinus Torvaldsendmenu
19461da177e4SLinus Torvalds
1947d5950b43SSam Ravnborgsource "net/Kconfig"
1948d5950b43SSam Ravnborg
19491da177e4SLinus Torvaldssource "drivers/Kconfig"
19501da177e4SLinus Torvalds
19511da177e4SLinus Torvaldssource "fs/Kconfig"
19521da177e4SLinus Torvalds
19535e83d430SRalf Baechlesource "arch/mips/oprofile/Kconfig"
19545e83d430SRalf Baechle
19551da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
19561da177e4SLinus Torvalds
19571da177e4SLinus Torvaldssource "security/Kconfig"
19581da177e4SLinus Torvalds
19591da177e4SLinus Torvaldssource "crypto/Kconfig"
19601da177e4SLinus Torvalds
19611da177e4SLinus Torvaldssource "lib/Kconfig"
1962