xref: /linux/arch/mips/Kconfig (revision e6ce1324e4f08b0d984340201a125806dae0e9a6)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
4f8ac0425SYoichi Yuasa	select HAVE_GENERIC_DMA_COHERENT
5ec7748b5SSam Ravnborg	select HAVE_IDE
642d4b839SMathieu Desnoyers	select HAVE_OPROFILE
77f788d2dSDeng-Cheng Zhu	select HAVE_PERF_EVENTS
87f788d2dSDeng-Cheng Zhu	select PERF_USE_VMALLOC
988547001SJason Wessel	select HAVE_ARCH_KGDB
10d2bb0762SWu Zhangjin	select HAVE_FUNCTION_TRACER
1169a7d1b3SWu Zhangjin	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
12538f1952SWu Zhangjin	select HAVE_DYNAMIC_FTRACE
13538f1952SWu Zhangjin	select HAVE_FTRACE_MCOUNT_RECORD
1464575f91SWu Zhangjin	select HAVE_C_RECORDMCOUNT
1529c5d346SWu Zhangjin	select HAVE_FUNCTION_GRAPH_TRACER
16c1bf207dSDavid Daney	select HAVE_KPROBES
17c1bf207dSDavid Daney	select HAVE_KRETPROBES
1821a41faaSWu Zhangjin	select RTC_LIB if !MACH_LOONGSON
192b78920dSDeng-Cheng Zhu	select GENERIC_ATOMIC64 if !64BIT
2048e1fd5aSDavid Daney	select HAVE_DMA_ATTRS
2148e1fd5aSDavid Daney	select HAVE_DMA_API_DEBUG
223bd27e32SDavid Daney	select HAVE_GENERIC_HARDIRQS
233bd27e32SDavid Daney	select GENERIC_IRQ_PROBE
241da177e4SLinus Torvalds
251da177e4SLinus Torvaldsmenu "Machine selection"
261da177e4SLinus Torvalds
275ac6da66SChristoph Lameterconfig ZONE_DMA
285ac6da66SChristoph Lameter	bool
295ac6da66SChristoph Lameter
305e83d430SRalf Baechlechoice
315e83d430SRalf Baechle	prompt "System type"
325e83d430SRalf Baechle	default SGI_IP22
331da177e4SLinus Torvalds
3442a4f17dSManuel Laussconfig MIPS_ALCHEMY
35c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
3642a4f17dSManuel Lauss	select 64BIT_PHYS_ADDR
3742a4f17dSManuel Lauss	select CEVT_R4K_LIB
3842a4f17dSManuel Lauss	select CSRC_R4K_LIB
3942a4f17dSManuel Lauss	select IRQ_CPU
4042a4f17dSManuel Lauss	select SYS_HAS_CPU_MIPS32_R1
4142a4f17dSManuel Lauss	select SYS_SUPPORTS_32BIT_KERNEL
4242a4f17dSManuel Lauss	select SYS_SUPPORTS_APM_EMULATION
4342a4f17dSManuel Lauss	select GENERIC_GPIO
4442a4f17dSManuel Lauss	select ARCH_WANT_OPTIONAL_GPIOLIB
451b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
461da177e4SLinus Torvalds
477ca5dc14SFlorian Fainelliconfig AR7
487ca5dc14SFlorian Fainelli	bool "Texas Instruments AR7"
497ca5dc14SFlorian Fainelli	select BOOT_ELF32
507ca5dc14SFlorian Fainelli	select DMA_NONCOHERENT
517ca5dc14SFlorian Fainelli	select CEVT_R4K
527ca5dc14SFlorian Fainelli	select CSRC_R4K
537ca5dc14SFlorian Fainelli	select IRQ_CPU
547ca5dc14SFlorian Fainelli	select NO_EXCEPT_FILL
557ca5dc14SFlorian Fainelli	select SWAP_IO_SPACE
567ca5dc14SFlorian Fainelli	select SYS_HAS_CPU_MIPS32_R1
577ca5dc14SFlorian Fainelli	select SYS_HAS_EARLY_PRINTK
587ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_32BIT_KERNEL
597ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_LITTLE_ENDIAN
601b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT_UART16550
615f3c9098SFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
627ca5dc14SFlorian Fainelli	select GCD
637ca5dc14SFlorian Fainelli	select VLYNQ
647ca5dc14SFlorian Fainelli	help
657ca5dc14SFlorian Fainelli	  Support for the Texas Instruments AR7 System-on-a-Chip
667ca5dc14SFlorian Fainelli	  family: TNETD7100, 7200 and 7300.
677ca5dc14SFlorian Fainelli
681c0c13ebSAurelien Jarnoconfig BCM47XX
69c619366eSFlorian Fainelli	bool "Broadcom BCM47XX based boards"
7042f77542SRalf Baechle	select CEVT_R4K
71940f6b48SRalf Baechle	select CSRC_R4K
721c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
731c0c13ebSAurelien Jarno	select HW_HAS_PCI
741c0c13ebSAurelien Jarno	select IRQ_CPU
751c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
761c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
771c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
781c0c13ebSAurelien Jarno	select SSB
791c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
802f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
81b06f3e19SAurelien Jarno	select SSB_EMBEDDED
82220937b1SHauke Mehrtens	select SSB_B43_PCI_BRIDGE if PCI
832f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
841c0c13ebSAurelien Jarno	select GENERIC_GPIO
8525e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
8625e5fb97SAurelien Jarno	select CFE
871c0c13ebSAurelien Jarno	help
881c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
891c0c13ebSAurelien Jarno
90e7300d04SMaxime Bizonconfig BCM63XX
91e7300d04SMaxime Bizon	bool "Broadcom BCM63XX based boards"
92e7300d04SMaxime Bizon	select CEVT_R4K
93e7300d04SMaxime Bizon	select CSRC_R4K
94e7300d04SMaxime Bizon	select DMA_NONCOHERENT
95e7300d04SMaxime Bizon	select IRQ_CPU
96e7300d04SMaxime Bizon	select SYS_HAS_CPU_MIPS32_R1
97e7300d04SMaxime Bizon	select SYS_SUPPORTS_32BIT_KERNEL
98e7300d04SMaxime Bizon	select SYS_SUPPORTS_BIG_ENDIAN
99e7300d04SMaxime Bizon	select SYS_HAS_EARLY_PRINTK
100e7300d04SMaxime Bizon	select SWAP_IO_SPACE
101e7300d04SMaxime Bizon	select ARCH_REQUIRE_GPIOLIB
102e7300d04SMaxime Bizon	help
103e7300d04SMaxime Bizon	 Support for BCM63XX based boards
104e7300d04SMaxime Bizon
1051da177e4SLinus Torvaldsconfig MIPS_COBALT
1063fa986faSMartin Michlmayr	bool "Cobalt Server"
10742f77542SRalf Baechle	select CEVT_R4K
108940f6b48SRalf Baechle	select CSRC_R4K
1091097c6acSYoichi Yuasa	select CEVT_GT641XX
1101da177e4SLinus Torvalds	select DMA_NONCOHERENT
1111da177e4SLinus Torvalds	select HW_HAS_PCI
112d865bea4SRalf Baechle	select I8253
1131da177e4SLinus Torvalds	select I8259
1141da177e4SLinus Torvalds	select IRQ_CPU
115d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
116252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
117e25bfc92SYoichi Yuasa	select PCI
1187cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1190a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
120ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
1210e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
1225e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1231da177e4SLinus Torvalds
1241da177e4SLinus Torvaldsconfig MACH_DECSTATION
1253fa986faSMartin Michlmayr	bool "DECstations"
1261da177e4SLinus Torvalds	select BOOT_ELF32
1276457d9fcSYoichi Yuasa	select CEVT_DS1287
12842f77542SRalf Baechle	select CEVT_R4K
1294247417dSYoichi Yuasa	select CSRC_IOASIC
130940f6b48SRalf Baechle	select CSRC_R4K
13120d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
13220d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
13320d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
1341da177e4SLinus Torvalds	select DMA_NONCOHERENT
135d388d685SMaciej W. Rozycki	select NO_IOPORT
1361da177e4SLinus Torvalds	select IRQ_CPU
1377cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
1387cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
139ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
140ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1415e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1421723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
1431723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
1441723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1455e83d430SRalf Baechle	help
1461da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1471da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1481da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1491da177e4SLinus Torvalds
1501da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1511da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1521da177e4SLinus Torvalds
1531da177e4SLinus Torvalds		DECstation 5000/50
1541da177e4SLinus Torvalds		DECstation 5000/150
1551da177e4SLinus Torvalds		DECstation 5000/260
1561da177e4SLinus Torvalds		DECsystem 5900/260
1571da177e4SLinus Torvalds
1581da177e4SLinus Torvalds	  otherwise choose R3000.
1591da177e4SLinus Torvalds
1605e83d430SRalf Baechleconfig MACH_JAZZ
1613fa986faSMartin Michlmayr	bool "Jazz family of machines"
1625e83d430SRalf Baechle	select ARC
1635e83d430SRalf Baechle	select ARC32
1645e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
16542f77542SRalf Baechle	select CEVT_R4K
166940f6b48SRalf Baechle	select CSRC_R4K
167e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1685e83d430SRalf Baechle	select GENERIC_ISA_DMA
169ea202c63SThomas Bogendoerfer	select IRQ_CPU
170d865bea4SRalf Baechle	select I8253
1715e83d430SRalf Baechle	select I8259
1725e83d430SRalf Baechle	select ISA
1737cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1745e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1755e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1761723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1771da177e4SLinus Torvalds	help
1785e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1795e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
180692105b8SMatt LaPlante	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
1815e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1825e83d430SRalf Baechle
1835ebabe59SLars-Peter Clausenconfig MACH_JZ4740
1845ebabe59SLars-Peter Clausen	bool "Ingenic JZ4740 based machines"
1855ebabe59SLars-Peter Clausen	select SYS_HAS_CPU_MIPS32_R1
1865ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_32BIT_KERNEL
1875ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_LITTLE_ENDIAN
1885ebabe59SLars-Peter Clausen	select DMA_NONCOHERENT
1895ebabe59SLars-Peter Clausen	select IRQ_CPU
1905ebabe59SLars-Peter Clausen	select GENERIC_GPIO
1915ebabe59SLars-Peter Clausen	select ARCH_REQUIRE_GPIOLIB
1925ebabe59SLars-Peter Clausen	select SYS_HAS_EARLY_PRINTK
1935ebabe59SLars-Peter Clausen	select HAVE_PWM
1945ebabe59SLars-Peter Clausen
1951f21d2bdSBrian Murphyconfig LASAT
1961f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
19742f77542SRalf Baechle	select CEVT_R4K
198940f6b48SRalf Baechle	select CSRC_R4K
1991f21d2bdSBrian Murphy	select DMA_NONCOHERENT
2001f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
2011f21d2bdSBrian Murphy	select HW_HAS_PCI
202a5ccfe5cSRalf Baechle	select IRQ_CPU
2031f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
2041f21d2bdSBrian Murphy	select MIPS_NILE4
2051f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
2061f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
2071f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
2081f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
2091f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
2101f21d2bdSBrian Murphy
21185749d24SWu Zhangjinconfig MACH_LOONGSON
21285749d24SWu Zhangjin	bool "Loongson family of machines"
213c7e8c668SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
214ade299d8SYoichi Yuasa	help
21585749d24SWu Zhangjin	  This enables the support of Loongson family of machines.
21685749d24SWu Zhangjin
21785749d24SWu Zhangjin	  Loongson is a family of general-purpose MIPS-compatible CPUs.
21885749d24SWu Zhangjin	  developed at Institute of Computing Technology (ICT),
21985749d24SWu Zhangjin	  Chinese Academy of Sciences (CAS) in the People's Republic
22085749d24SWu Zhangjin	  of China. The chief architect is Professor Weiwu Hu.
221ade299d8SYoichi Yuasa
2221da177e4SLinus Torvaldsconfig MIPS_MALTA
2233fa986faSMartin Michlmayr	bool "MIPS Malta board"
22461ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2251da177e4SLinus Torvalds	select BOOT_ELF32
226fa71c960SRalf Baechle	select BOOT_RAW
22742f77542SRalf Baechle	select CEVT_R4K
228940f6b48SRalf Baechle	select CSRC_R4K
2291da177e4SLinus Torvalds	select DMA_NONCOHERENT
2301da177e4SLinus Torvalds	select GENERIC_ISA_DMA
231aa414dffSRalf Baechle	select IRQ_CPU
23239b8d525SRalf Baechle	select IRQ_GIC
2331da177e4SLinus Torvalds	select HW_HAS_PCI
234d865bea4SRalf Baechle	select I8253
2351da177e4SLinus Torvalds	select I8259
2365e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2375e83d430SRalf Baechle	select MIPS_BONITO64
2389318c51aSChris Dearman	select MIPS_CPU_SCACHE
239252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2405e83d430SRalf Baechle	select MIPS_MSC
2411da177e4SLinus Torvalds	select SWAP_IO_SPACE
2427cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2437cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2447cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2457cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2467cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
24736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
248ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
249ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2505e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2515e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2520365070fSTim Anderson	select SYS_SUPPORTS_MIPS_CMP
253f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2549693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2551b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
2561da177e4SLinus Torvalds	help
257f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2581da177e4SLinus Torvalds	  board.
2591da177e4SLinus Torvalds
260c78cbf49SRalf Baechleconfig MIPS_SIM
2613fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
26242f77542SRalf Baechle	select CEVT_R4K
263940f6b48SRalf Baechle	select CSRC_R4K
264c78cbf49SRalf Baechle	select DMA_NONCOHERENT
26536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
266c78cbf49SRalf Baechle	select IRQ_CPU
2679267a30dSMarc St-Jean	select BOOT_RAW
2687cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2697cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
27036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
271c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
272c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
273f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
274c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
275c78cbf49SRalf Baechle	help
276c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
277c78cbf49SRalf Baechle	  emulator.
278c78cbf49SRalf Baechle
279a83860c2SRalf Baechleconfig NEC_MARKEINS
280a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
281a83860c2SRalf Baechle	select SOC_EMMA2RH
282a83860c2SRalf Baechle	select HW_HAS_PCI
283a83860c2SRalf Baechle	help
284a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
285ade299d8SYoichi Yuasa
2865e83d430SRalf Baechleconfig MACH_VR41XX
28774142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
28842f77542SRalf Baechle	select CEVT_R4K
289940f6b48SRalf Baechle	select CSRC_R4K
2907cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
29127fdd325SYoichi Yuasa	select ARCH_REQUIRE_GPIOLIB
2925e83d430SRalf Baechle
293edb6310aSDaniel Lairdconfig NXP_STB220
294edb6310aSDaniel Laird	bool "NXP STB220 board"
295edb6310aSDaniel Laird	select SOC_PNX833X
296edb6310aSDaniel Laird	help
297edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
298edb6310aSDaniel Laird
299edb6310aSDaniel Lairdconfig NXP_STB225
300edb6310aSDaniel Laird	bool "NXP 225 board"
301edb6310aSDaniel Laird	select SOC_PNX833X
302edb6310aSDaniel Laird	select SOC_PNX8335
303edb6310aSDaniel Laird	help
304edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
305edb6310aSDaniel Laird
306ade299d8SYoichi Yuasaconfig PNX8550_JBS
307a92b0588SDaniel Laird	bool "NXP PNX8550 based JBS board"
308ade299d8SYoichi Yuasa	select PNX8550
309ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
310ade299d8SYoichi Yuasa
311ade299d8SYoichi Yuasaconfig PNX8550_STB810
312a92b0588SDaniel Laird	bool "NXP PNX8550 based STB810 board"
313ade299d8SYoichi Yuasa	select PNX8550
314ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
315ade299d8SYoichi Yuasa
3169267a30dSMarc St-Jeanconfig PMC_MSP
3179267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3189267a30dSMarc St-Jean	depends on EXPERIMENTAL
3199267a30dSMarc St-Jean	select DMA_NONCOHERENT
3209267a30dSMarc St-Jean	select SWAP_IO_SPACE
3219267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3229267a30dSMarc St-Jean	select BOOT_RAW
3239267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3249267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3259267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3269267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3279267a30dSMarc St-Jean	select IRQ_CPU
3289267a30dSMarc St-Jean	select SERIAL_8250
3299267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3309267a30dSMarc St-Jean	help
3319267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3329267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3339267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3349267a30dSMarc St-Jean	  a variety of MIPS cores.
3359267a30dSMarc St-Jean
3365e83d430SRalf Baechleconfig PMC_YOSEMITE
3373fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
33842f77542SRalf Baechle	select CEVT_R4K
339940f6b48SRalf Baechle	select CSRC_R4K
3405e83d430SRalf Baechle	select DMA_COHERENT
3415e83d430SRalf Baechle	select HW_HAS_PCI
3425e83d430SRalf Baechle	select IRQ_CPU
3435e83d430SRalf Baechle	select IRQ_CPU_RM7K
3445e83d430SRalf Baechle	select IRQ_CPU_RM9K
3455e83d430SRalf Baechle	select SWAP_IO_SPACE
3467cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
34736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3485e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3495e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3505e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3515e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
352e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3535e83d430SRalf Baechle	help
3545e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3555e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3561da177e4SLinus Torvalds
357a3a0f8c8SDavid VomLehnconfig POWERTV
358a3a0f8c8SDavid VomLehn	bool "Cisco PowerTV"
359a3a0f8c8SDavid VomLehn	select BOOT_ELF32
360a3a0f8c8SDavid VomLehn	select CEVT_R4K
361a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_VI
362a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_EI
363a3a0f8c8SDavid VomLehn	select CSRC_POWERTV
364a3a0f8c8SDavid VomLehn	select DMA_NONCOHERENT
365a3a0f8c8SDavid VomLehn	select HW_HAS_PCI
366a3a0f8c8SDavid VomLehn	select SYS_HAS_EARLY_PRINTK
367a3a0f8c8SDavid VomLehn	select SYS_HAS_CPU_MIPS32_R2
368a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_32BIT_KERNEL
369a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_BIG_ENDIAN
370a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_HIGHMEM
371a3a0f8c8SDavid VomLehn	select USB_OHCI_LITTLE_ENDIAN
372a3a0f8c8SDavid VomLehn	help
373a3a0f8c8SDavid VomLehn	  This enables support for the Cisco PowerTV Platform.
374a3a0f8c8SDavid VomLehn
3751da177e4SLinus Torvaldsconfig SGI_IP22
3763fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3771da177e4SLinus Torvalds	select ARC
3781da177e4SLinus Torvalds	select ARC32
3791da177e4SLinus Torvalds	select BOOT_ELF32
38042f77542SRalf Baechle	select CEVT_R4K
381940f6b48SRalf Baechle	select CSRC_R4K
382e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3831da177e4SLinus Torvalds	select DMA_NONCOHERENT
3845e83d430SRalf Baechle	select HW_HAS_EISA
385d865bea4SRalf Baechle	select I8253
38668de4803SThomas Bogendoerfer	select I8259
3871da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3881da177e4SLinus Torvalds	select IRQ_CPU
389aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
390e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
391e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
39236e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
393e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
394e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
395e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3961da177e4SLinus Torvalds	select SWAP_IO_SPACE
3977cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3987cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
3992b5e63f6SMartin Michlmayr	#
4002b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
4012b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
4022b5e63f6SMartin Michlmayr	#
4032b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
4042b5e63f6SMartin Michlmayr	# for a more details discussion
4052b5e63f6SMartin Michlmayr	#
4062b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
407ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
408ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4095e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4101da177e4SLinus Torvalds	help
4111da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4121da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4131da177e4SLinus Torvalds	  that runs on these, say Y here.
4141da177e4SLinus Torvalds
4151da177e4SLinus Torvaldsconfig SGI_IP27
4163fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4171da177e4SLinus Torvalds	select ARC
4181da177e4SLinus Torvalds	select ARC64
4195e83d430SRalf Baechle	select BOOT_ELF64
420e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
421634286f1SRalf Baechle	select DMA_COHERENT
42236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4231da177e4SLinus Torvalds	select HW_HAS_PCI
424130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4257cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
426ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4275e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
428d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4291a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
4301da177e4SLinus Torvalds	help
4311da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4321da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4331da177e4SLinus Torvalds	  here.
4341da177e4SLinus Torvalds
435e2defae5SThomas Bogendoerferconfig SGI_IP28
436e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
437e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
438e2defae5SThomas Bogendoerfer	select ARC
439e2defae5SThomas Bogendoerfer	select ARC64
440e2defae5SThomas Bogendoerfer	select BOOT_ELF64
441e2defae5SThomas Bogendoerfer	select CEVT_R4K
442e2defae5SThomas Bogendoerfer	select CSRC_R4K
443e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
444e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
445e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
446e2defae5SThomas Bogendoerfer	select IRQ_CPU
447e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
448e2defae5SThomas Bogendoerfer	select I8253
449e2defae5SThomas Bogendoerfer	select I8259
450e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
451e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
4525b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
453e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
454e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
455e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
456e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
457e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
4582b5e63f6SMartin Michlmayr	#
4592b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
4602b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
4612b5e63f6SMartin Michlmayr	#
4622b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
4632b5e63f6SMartin Michlmayr	# for a more details discussion
4642b5e63f6SMartin Michlmayr	#
4652b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
466e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
467e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
468e2defae5SThomas Bogendoerfer      help
469e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
470e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
471e2defae5SThomas Bogendoerfer
4721da177e4SLinus Torvaldsconfig SGI_IP32
473cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4741da177e4SLinus Torvalds	select ARC
4751da177e4SLinus Torvalds	select ARC32
4761da177e4SLinus Torvalds	select BOOT_ELF32
47742f77542SRalf Baechle	select CEVT_R4K
478940f6b48SRalf Baechle	select CSRC_R4K
4791da177e4SLinus Torvalds	select DMA_NONCOHERENT
4801da177e4SLinus Torvalds	select HW_HAS_PCI
481dd67b155SRalf Baechle	select IRQ_CPU
4821da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4831da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4847cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4857cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4867cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
487dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
488ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4895e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4901da177e4SLinus Torvalds	help
4911da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4921da177e4SLinus Torvalds
493ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
494ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4955e83d430SRalf Baechle	depends on EXPERIMENTAL
4965e83d430SRalf Baechle	select BOOT_ELF32
4975e83d430SRalf Baechle	select DMA_COHERENT
4985e83d430SRalf Baechle	select SIBYTE_BCM1120
4995e83d430SRalf Baechle	select SWAP_IO_SPACE
5007cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5015e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5025e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5035e83d430SRalf Baechle
504ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
505ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
5065e83d430SRalf Baechle	depends on EXPERIMENTAL
5075e83d430SRalf Baechle	select BOOT_ELF32
5085e83d430SRalf Baechle	select DMA_COHERENT
5095e83d430SRalf Baechle	select SIBYTE_BCM1120
5105e83d430SRalf Baechle	select SWAP_IO_SPACE
5117cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5125e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5135e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5145e83d430SRalf Baechle
5155e83d430SRalf Baechleconfig SIBYTE_CRHONE
5163fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
5175e83d430SRalf Baechle	depends on EXPERIMENTAL
5185e83d430SRalf Baechle	select BOOT_ELF32
5195e83d430SRalf Baechle	select DMA_COHERENT
5205e83d430SRalf Baechle	select SIBYTE_BCM1125
5215e83d430SRalf Baechle	select SWAP_IO_SPACE
5227cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5235e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5245e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5255e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5265e83d430SRalf Baechle
527ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
528ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
529ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
530ade299d8SYoichi Yuasa	select BOOT_ELF32
531ade299d8SYoichi Yuasa	select DMA_COHERENT
532ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
533ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
534ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
535ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
536ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
537ade299d8SYoichi Yuasa
538ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
539ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
540ade299d8SYoichi Yuasa	select BOOT_ELF32
541ade299d8SYoichi Yuasa	select DMA_COHERENT
542fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
543ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
544ade299d8SYoichi Yuasa	select SIBYTE_SB1250
545ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
546ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
547ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
548ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
549ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
550cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
551ade299d8SYoichi Yuasa
552ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
553ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
554ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
555ade299d8SYoichi Yuasa	select BOOT_ELF32
556ade299d8SYoichi Yuasa	select DMA_COHERENT
557fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
558ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
559ade299d8SYoichi Yuasa	select SIBYTE_SB1250
560ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
561ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
562ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
563ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
564ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
565ade299d8SYoichi Yuasa
566ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
567ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
568ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
569ade299d8SYoichi Yuasa	select BOOT_ELF32
570ade299d8SYoichi Yuasa	select DMA_COHERENT
571ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
572ade299d8SYoichi Yuasa	select SIBYTE_SB1250
573ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
574ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
575ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
576ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
577ade299d8SYoichi Yuasa
578ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
579ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
580ade299d8SYoichi Yuasa	select BOOT_ELF32
581ade299d8SYoichi Yuasa	select DMA_COHERENT
582ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
583ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
584ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
585ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
586ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
587651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
588ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
589cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
590ade299d8SYoichi Yuasa
59114b36af4SThomas Bogendoerferconfig SNI_RM
59214b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5934a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5944a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
595231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5965e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5975e83d430SRalf Baechle	select BOOT_ELF32
59842f77542SRalf Baechle	select CEVT_R4K
599940f6b48SRalf Baechle	select CSRC_R4K
600e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
6015e83d430SRalf Baechle	select DMA_NONCOHERENT
6025e83d430SRalf Baechle	select GENERIC_ISA_DMA
6035e83d430SRalf Baechle	select HW_HAS_EISA
6045e83d430SRalf Baechle	select HW_HAS_PCI
605c066a32aSThomas Bogendoerfer	select IRQ_CPU
606d865bea4SRalf Baechle	select I8253
6075e83d430SRalf Baechle	select I8259
6085e83d430SRalf Baechle	select ISA
6094a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
6107cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
6114a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
612c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
6134a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
61436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
615ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
6165e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
6174a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
6185e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6195e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6201da177e4SLinus Torvalds	help
62114b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
62214b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
6235e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
6245e83d430SRalf Baechle	  support this machine type.
6251da177e4SLinus Torvalds
626edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
627edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
6285e83d430SRalf Baechle
629edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
630edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
63123fbee9dSRalf Baechle
63273b4390fSRalf Baechleconfig MIKROTIK_RB532
63373b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
63473b4390fSRalf Baechle	select CEVT_R4K
63573b4390fSRalf Baechle	select CSRC_R4K
63673b4390fSRalf Baechle	select DMA_NONCOHERENT
63773b4390fSRalf Baechle	select HW_HAS_PCI
63873b4390fSRalf Baechle	select IRQ_CPU
63973b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
64073b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
64173b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
64273b4390fSRalf Baechle	select SWAP_IO_SPACE
64373b4390fSRalf Baechle	select BOOT_RAW
644d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
64573b4390fSRalf Baechle	help
64673b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
64773b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
64873b4390fSRalf Baechle
649ade299d8SYoichi Yuasaconfig WR_PPMC
650ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
65142f77542SRalf Baechle	select CEVT_R4K
652940f6b48SRalf Baechle	select CSRC_R4K
653ade299d8SYoichi Yuasa	select IRQ_CPU
654ade299d8SYoichi Yuasa	select BOOT_ELF32
655ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
656ade299d8SYoichi Yuasa	select HW_HAS_PCI
657ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
658ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
659ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
660ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
661ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
662ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
663ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
664ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
665ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
666ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
667ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
668ade299d8SYoichi Yuasa	help
669ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
670ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
671ade299d8SYoichi Yuasa
672a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_SIMULATOR
673c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon Simulator"
674a86c7f72SDavid Daney	select CEVT_R4K
675a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
676a86c7f72SDavid Daney	select DMA_COHERENT
677a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
678a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
679a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
680773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
6815e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
682a86c7f72SDavid Daney	help
683a86c7f72SDavid Daney	  The Octeon simulator is software performance model of the Cavium
684a86c7f72SDavid Daney	  Octeon Processor. It supports simulating Octeon processors on x86
685a86c7f72SDavid Daney	  hardware.
686a86c7f72SDavid Daney
687a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_REFERENCE_BOARD
688c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon reference board"
689a86c7f72SDavid Daney	select CEVT_R4K
690a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
691a86c7f72SDavid Daney	select DMA_COHERENT
692a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
693a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
694a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
695773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
696a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
6975e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
698a86c7f72SDavid Daney	select SWAP_IO_SPACE
699e8635b48SDavid Daney	select HW_HAS_PCI
700e8635b48SDavid Daney	select ARCH_SUPPORTS_MSI
701f00e001eSDavid Daney	select ZONE_DMA32
702340fbb8bSDavid Daney	select USB_ARCH_HAS_OHCI
703340fbb8bSDavid Daney	select USB_ARCH_HAS_EHCI
704a86c7f72SDavid Daney	help
705a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
706a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
707a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
708a86c7f72SDavid Daney	  Some of the supported boards are:
709a86c7f72SDavid Daney		EBT3000
710a86c7f72SDavid Daney		EBH3000
711a86c7f72SDavid Daney		EBH3100
712a86c7f72SDavid Daney		Thunder
713a86c7f72SDavid Daney		Kodama
714a86c7f72SDavid Daney		Hikari
715a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
716a86c7f72SDavid Daney
7171da177e4SLinus Torvaldsendchoice
7181da177e4SLinus Torvalds
719e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
720e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig"
7215e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
7225ebabe59SLars-Peter Clausensource "arch/mips/jz4740/Kconfig"
7231f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
7245e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
725a3a0f8c8SDavid VomLehnsource "arch/mips/powertv/Kconfig"
72629c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
72738b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
72822b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
7295e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
730a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
73185749d24SWu Zhangjinsource "arch/mips/loongson/Kconfig"
73238b18f72SRalf Baechle
7335e83d430SRalf Baechleendmenu
7345e83d430SRalf Baechle
7351da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
7361da177e4SLinus Torvalds	bool
7371da177e4SLinus Torvalds	default y
7381da177e4SLinus Torvalds
7391da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
7401da177e4SLinus Torvalds	bool
7411da177e4SLinus Torvalds
742f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
743f0d1b0b3SDavid Howells	bool
744f0d1b0b3SDavid Howells	default n
745f0d1b0b3SDavid Howells
746f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
747f0d1b0b3SDavid Howells	bool
748f0d1b0b3SDavid Howells	default n
749f0d1b0b3SDavid Howells
75000a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
75100a58253SRalf Baechle	bool
75200a58253SRalf Baechle	default y if !MIPS_MT_SMTC
75300a58253SRalf Baechle
7543c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7553c9ee7efSAkinobu Mita	bool
7563c9ee7efSAkinobu Mita	default y
7573c9ee7efSAkinobu Mita
7583c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7593c9ee7efSAkinobu Mita	bool
7603c9ee7efSAkinobu Mita	default y
7613c9ee7efSAkinobu Mita
7621da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7631da177e4SLinus Torvalds	bool
7641da177e4SLinus Torvalds	default y
7651da177e4SLinus Torvalds
7667bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7677bcf7717SRalf Baechle	bool
7687bcf7717SRalf Baechle	default y
7697bcf7717SRalf Baechle
770f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
771f5ff0a28SRalf Baechle	bool
772f5ff0a28SRalf Baechle	default y
773f5ff0a28SRalf Baechle
774ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
7751cc89038SAtsushi Nemoto	bool
7761cc89038SAtsushi Nemoto	default y
7771cc89038SAtsushi Nemoto
778e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
779c87e0909SRalf Baechle	def_bool y
780e77c232cSFranck Bui-Huu
7811da177e4SLinus Torvalds#
7821da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7831da177e4SLinus Torvalds#
7841da177e4SLinus Torvaldsconfig ARC
7851da177e4SLinus Torvalds	bool
7861da177e4SLinus Torvalds
78761ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
78861ed242dSRalf Baechle	bool
78961ed242dSRalf Baechle
7909267a30dSMarc St-Jeanconfig BOOT_RAW
7919267a30dSMarc St-Jean	bool
7929267a30dSMarc St-Jean
793217dd11eSRalf Baechleconfig CEVT_BCM1480
794217dd11eSRalf Baechle	bool
795217dd11eSRalf Baechle
7966457d9fcSYoichi Yuasaconfig CEVT_DS1287
7976457d9fcSYoichi Yuasa	bool
7986457d9fcSYoichi Yuasa
7991097c6acSYoichi Yuasaconfig CEVT_GT641XX
8001097c6acSYoichi Yuasa	bool
8011097c6acSYoichi Yuasa
802779e7d41SManuel Laussconfig CEVT_R4K_LIB
803779e7d41SManuel Lauss	bool
804779e7d41SManuel Lauss
80542f77542SRalf Baechleconfig CEVT_R4K
806779e7d41SManuel Lauss	select CEVT_R4K_LIB
80742f77542SRalf Baechle	bool
80842f77542SRalf Baechle
809217dd11eSRalf Baechleconfig CEVT_SB1250
810217dd11eSRalf Baechle	bool
811217dd11eSRalf Baechle
812229f773eSAtsushi Nemotoconfig CEVT_TXX9
813229f773eSAtsushi Nemoto	bool
814229f773eSAtsushi Nemoto
815217dd11eSRalf Baechleconfig CSRC_BCM1480
816217dd11eSRalf Baechle	bool
817217dd11eSRalf Baechle
8184247417dSYoichi Yuasaconfig CSRC_IOASIC
8194247417dSYoichi Yuasa	bool
8204247417dSYoichi Yuasa
821a3a0f8c8SDavid VomLehnconfig CSRC_POWERTV
822a3a0f8c8SDavid VomLehn	bool
823a3a0f8c8SDavid VomLehn
824779e7d41SManuel Laussconfig CSRC_R4K_LIB
825779e7d41SManuel Lauss	bool
826779e7d41SManuel Lauss
827940f6b48SRalf Baechleconfig CSRC_R4K
828779e7d41SManuel Lauss	select CSRC_R4K_LIB
829940f6b48SRalf Baechle	bool
830940f6b48SRalf Baechle
831217dd11eSRalf Baechleconfig CSRC_SB1250
832217dd11eSRalf Baechle	bool
833217dd11eSRalf Baechle
834a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
835a9aec7feSAtsushi Nemoto	select GENERIC_GPIO
8367444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
837a9aec7feSAtsushi Nemoto	bool
838a9aec7feSAtsushi Nemoto
839df78b5c8SAurelien Jarnoconfig CFE
840df78b5c8SAurelien Jarno	bool
841df78b5c8SAurelien Jarno
8421da177e4SLinus Torvaldsconfig DMA_COHERENT
8431da177e4SLinus Torvalds	bool
8441da177e4SLinus Torvalds
8451da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
8461da177e4SLinus Torvalds	bool
847e1e02b32SFUJITA Tomonori	select NEED_DMA_MAP_STATE
8484ce588cdSRalf Baechle
849e1e02b32SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
8504ce588cdSRalf Baechle	bool
8511da177e4SLinus Torvalds
85236a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
8531da177e4SLinus Torvalds	bool
8541da177e4SLinus Torvalds
855dbb74540SRalf Baechleconfig HOTPLUG_CPU
8561b2bc75cSRalf Baechle	bool "Support for hot-pluggable CPUs"
8571b2bc75cSRalf Baechle	depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
8581b2bc75cSRalf Baechle	help
8591b2bc75cSRalf Baechle	  Say Y here to allow turning CPUs off and on. CPUs can be
8601b2bc75cSRalf Baechle	  controlled through /sys/devices/system/cpu.
8611b2bc75cSRalf Baechle	  (Note: power management support will enable this option
8621b2bc75cSRalf Baechle	    automatically on SMP systems. )
8631b2bc75cSRalf Baechle	  Say N if you want to disable CPU hotplug.
8641b2bc75cSRalf Baechle
8651b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU
866dbb74540SRalf Baechle	bool
867dbb74540SRalf Baechle
8681da177e4SLinus Torvaldsconfig I8259
8691da177e4SLinus Torvalds	bool
8701da177e4SLinus Torvalds
8711da177e4SLinus Torvaldsconfig MIPS_BONITO64
8721da177e4SLinus Torvalds	bool
8731da177e4SLinus Torvalds
8741da177e4SLinus Torvaldsconfig MIPS_MSC
8751da177e4SLinus Torvalds	bool
8761da177e4SLinus Torvalds
8771f21d2bdSBrian Murphyconfig MIPS_NILE4
8781f21d2bdSBrian Murphy	bool
8791f21d2bdSBrian Murphy
8801da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8811da177e4SLinus Torvalds	bool
8821da177e4SLinus Torvalds
88339b8d525SRalf Baechleconfig SYNC_R4K
88439b8d525SRalf Baechle	bool
88539b8d525SRalf Baechle
886d388d685SMaciej W. Rozyckiconfig NO_IOPORT
887d388d685SMaciej W. Rozycki	def_bool n
888d388d685SMaciej W. Rozycki
8898313da30SRalf Baechleconfig GENERIC_ISA_DMA
8908313da30SRalf Baechle	bool
8918313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
892a35bee8aSNamhyung Kim	select ISA_DMA_API
8938313da30SRalf Baechle
894aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
895aa414dffSRalf Baechle	bool
8968313da30SRalf Baechle	select GENERIC_ISA_DMA
897aa414dffSRalf Baechle
898a35bee8aSNamhyung Kimconfig ISA_DMA_API
899a35bee8aSNamhyung Kim	bool
900a35bee8aSNamhyung Kim
90109663335SYoichi Yuasaconfig GENERIC_GPIO
90209663335SYoichi Yuasa	bool
90309663335SYoichi Yuasa
9045e83d430SRalf Baechle#
9053cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
9065e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
9075e83d430SRalf Baechle# choice statement should be more obvious to the user.
9085e83d430SRalf Baechle#
9095e83d430SRalf Baechlechoice
9105e83d430SRalf Baechle	prompt "Endianess selection"
9111da177e4SLinus Torvalds	help
9121da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
9135e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
9143cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
9155e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
9163dde6ad8SDavid Sterba	  one or the other endianness.
9175e83d430SRalf Baechle
9185e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
9195e83d430SRalf Baechle	bool "Big endian"
9205e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
9215e83d430SRalf Baechle
9225e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
9235e83d430SRalf Baechle	bool "Little endian"
9245e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
9255e83d430SRalf Baechle	help
9265e83d430SRalf Baechle
9275e83d430SRalf Baechleendchoice
9285e83d430SRalf Baechle
92922b0763aSDavid Daneyconfig EXPORT_UASM
93022b0763aSDavid Daney	bool
93122b0763aSDavid Daney
9322116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
9332116245eSRalf Baechle	bool
9342116245eSRalf Baechle
9355e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
9365e83d430SRalf Baechle	bool
9375e83d430SRalf Baechle
9385e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
9395e83d430SRalf Baechle	bool
9401da177e4SLinus Torvalds
9419cffd154SDavid Daneyconfig SYS_SUPPORTS_HUGETLBFS
9429cffd154SDavid Daney	bool
9439cffd154SDavid Daney	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
9449cffd154SDavid Daney	default y
9459cffd154SDavid Daney
9461da177e4SLinus Torvaldsconfig IRQ_CPU
9471da177e4SLinus Torvalds	bool
9481da177e4SLinus Torvalds
9491da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
9501da177e4SLinus Torvalds	bool
9511da177e4SLinus Torvalds
9525e83d430SRalf Baechleconfig IRQ_CPU_RM9K
9535e83d430SRalf Baechle	bool
9545e83d430SRalf Baechle
9559267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
9569267a30dSMarc St-Jean	bool
9579267a30dSMarc St-Jean
9589267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
9599267a30dSMarc St-Jean	bool
9609267a30dSMarc St-Jean
9618420fd00SAtsushi Nemotoconfig IRQ_TXX9
9628420fd00SAtsushi Nemoto	bool
9638420fd00SAtsushi Nemoto
964d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
965d5ab1a69SYoichi Yuasa	bool
966d5ab1a69SYoichi Yuasa
96739b8d525SRalf Baechleconfig IRQ_GIC
96839b8d525SRalf Baechle	bool
96939b8d525SRalf Baechle
970a86c7f72SDavid Daneyconfig IRQ_CPU_OCTEON
971a86c7f72SDavid Daney	bool
972a86c7f72SDavid Daney
9731da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
9741da177e4SLinus Torvalds	bool
9751da177e4SLinus Torvalds
976252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
9771da177e4SLinus Torvalds	bool
9781da177e4SLinus Torvalds
9799267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
9809267a30dSMarc St-Jean	bool
9819267a30dSMarc St-Jean
982663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
983663c3d90Sthomas@koeller.dyndns.org	bool
984663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
985663c3d90Sthomas@koeller.dyndns.org
986a83860c2SRalf Baechleconfig SOC_EMMA2RH
987a83860c2SRalf Baechle	bool
988a83860c2SRalf Baechle	select CEVT_R4K
989a83860c2SRalf Baechle	select CSRC_R4K
990a83860c2SRalf Baechle	select DMA_NONCOHERENT
991a83860c2SRalf Baechle	select IRQ_CPU
992a83860c2SRalf Baechle	select SWAP_IO_SPACE
993a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
994a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
995a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
996a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
997a83860c2SRalf Baechle
998edb6310aSDaniel Lairdconfig SOC_PNX833X
999edb6310aSDaniel Laird	bool
1000edb6310aSDaniel Laird	select CEVT_R4K
1001edb6310aSDaniel Laird	select CSRC_R4K
1002edb6310aSDaniel Laird	select IRQ_CPU
1003edb6310aSDaniel Laird	select DMA_NONCOHERENT
1004edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
1005edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
1006edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
1007edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
1008edb6310aSDaniel Laird	select GENERIC_GPIO
1009edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
1010edb6310aSDaniel Laird
1011edb6310aSDaniel Lairdconfig SOC_PNX8335
1012edb6310aSDaniel Laird	bool
1013edb6310aSDaniel Laird	select SOC_PNX833X
1014edb6310aSDaniel Laird
1015bdf21b18SPete Popovconfig PNX8550
1016bdf21b18SPete Popov	bool
1017bdf21b18SPete Popov	select SOC_PNX8550
1018bdf21b18SPete Popov
1019bdf21b18SPete Popovconfig SOC_PNX8550
1020bdf21b18SPete Popov	bool
1021bdf21b18SPete Popov	select DMA_NONCOHERENT
1022bdf21b18SPete Popov	select HW_HAS_PCI
1023b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
102436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
10257cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
10264ead1681SFlorian Fainelli	select GENERIC_GPIO
1027bdf21b18SPete Popov
10281da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
10291da177e4SLinus Torvalds	bool
10301da177e4SLinus Torvalds
1031663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
1032663c3d90Sthomas@koeller.dyndns.org	bool
1033663c3d90Sthomas@koeller.dyndns.org
1034e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
1035e2defae5SThomas Bogendoerfer	bool
1036e2defae5SThomas Bogendoerfer
10375b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
10385b438c44SThomas Bogendoerfer	bool
10395b438c44SThomas Bogendoerfer
1040e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
1041e2defae5SThomas Bogendoerfer	bool
1042e2defae5SThomas Bogendoerfer
1043e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
1044e2defae5SThomas Bogendoerfer	bool
1045e2defae5SThomas Bogendoerfer
1046e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
1047e2defae5SThomas Bogendoerfer	bool
1048e2defae5SThomas Bogendoerfer
1049e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1050e2defae5SThomas Bogendoerfer	bool
1051e2defae5SThomas Bogendoerfer
1052e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1053e2defae5SThomas Bogendoerfer	bool
1054e2defae5SThomas Bogendoerfer
10555e83d430SRalf Baechleconfig ARC32
10565e83d430SRalf Baechle	bool
10575e83d430SRalf Baechle
1058231a35d3SThomas Bogendoerferconfig SNIPROM
1059231a35d3SThomas Bogendoerfer	bool
1060231a35d3SThomas Bogendoerfer
10611da177e4SLinus Torvaldsconfig BOOT_ELF32
10621da177e4SLinus Torvalds	bool
10631da177e4SLinus Torvalds
10641da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
10651da177e4SLinus Torvalds	int
1066c7088755SRalf Baechle	default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
10670db2b74eSRalf Baechle	default "6" if MIPS_CPU_SCACHE
1068a86c7f72SDavid Daney	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
10691da177e4SLinus Torvalds	default "5"
10701da177e4SLinus Torvalds
10711da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
10721da177e4SLinus Torvalds	bool
10731da177e4SLinus Torvalds
10741da177e4SLinus Torvaldsconfig ARC_CONSOLE
10751da177e4SLinus Torvalds	bool "ARC console support"
1076e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
10771da177e4SLinus Torvalds
10781da177e4SLinus Torvaldsconfig ARC_MEMORY
10791da177e4SLinus Torvalds	bool
108014b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
10811da177e4SLinus Torvalds	default y
10821da177e4SLinus Torvalds
10831da177e4SLinus Torvaldsconfig ARC_PROMLIB
10841da177e4SLinus Torvalds	bool
1085e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
10861da177e4SLinus Torvalds	default y
10871da177e4SLinus Torvalds
10881da177e4SLinus Torvaldsconfig ARC64
10891da177e4SLinus Torvalds	bool
10901da177e4SLinus Torvalds
10911da177e4SLinus Torvaldsconfig BOOT_ELF64
10921da177e4SLinus Torvalds	bool
10931da177e4SLinus Torvalds
10941da177e4SLinus Torvaldsmenu "CPU selection"
10951da177e4SLinus Torvalds
10961da177e4SLinus Torvaldschoice
10971da177e4SLinus Torvalds	prompt "CPU type"
10981da177e4SLinus Torvalds	default CPU_R4X00
10991da177e4SLinus Torvalds
11003702bba5SWu Zhangjinconfig CPU_LOONGSON2E
11013702bba5SWu Zhangjin	bool "Loongson 2E"
11023702bba5SWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2E
11033702bba5SWu Zhangjin	select CPU_LOONGSON2
11042a21c730SFuxin Zhang	help
11052a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
11062a21c730SFuxin Zhang	  with many extensions.
11072a21c730SFuxin Zhang
11086f7a251aSWu Zhangjin	  It has an internal FPGA northbridge, which is compatiable to
11096f7a251aSWu Zhangjin	  bonito64.
11106f7a251aSWu Zhangjin
11116f7a251aSWu Zhangjinconfig CPU_LOONGSON2F
11126f7a251aSWu Zhangjin	bool "Loongson 2F"
11136f7a251aSWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2F
11146f7a251aSWu Zhangjin	select CPU_LOONGSON2
1115c197da91SArnaud Patard	select GENERIC_GPIO
1116c197da91SArnaud Patard	select ARCH_REQUIRE_GPIOLIB
11176f7a251aSWu Zhangjin	help
11186f7a251aSWu Zhangjin	  The Loongson 2F processor implements the MIPS III instruction set
11196f7a251aSWu Zhangjin	  with many extensions.
11206f7a251aSWu Zhangjin
11216f7a251aSWu Zhangjin	  Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
11226f7a251aSWu Zhangjin	  have a similar programming interface with FPGA northbridge used in
11236f7a251aSWu Zhangjin	  Loongson2E.
11246f7a251aSWu Zhangjin
11256e760c8dSRalf Baechleconfig CPU_MIPS32_R1
11266e760c8dSRalf Baechle	bool "MIPS32 Release 1"
11277cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
11286e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1129797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1130ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11316e760c8dSRalf Baechle	help
11325e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11331e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11341e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11351e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11361e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11371e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
11381e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
11391e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
11401e5f1caaSRalf Baechle	  performance.
11411e5f1caaSRalf Baechle
11421e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
11431e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
11447cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
11451e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1146797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1147ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11481e5f1caaSRalf Baechle	help
11495e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11506e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11516e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11526e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11536e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11541da177e4SLinus Torvalds
11556e760c8dSRalf Baechleconfig CPU_MIPS64_R1
11566e760c8dSRalf Baechle	bool "MIPS64 Release 1"
11577cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1158797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1159ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1160ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1161ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11629cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11636e760c8dSRalf Baechle	help
11646e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11656e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11666e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11676e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11686e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11691e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
11701e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
11711e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
11721e5f1caaSRalf Baechle	  performance.
11731e5f1caaSRalf Baechle
11741e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
11751e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
11767cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1177797798c1SRalf Baechle	select CPU_HAS_PREFETCH
11781e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11791e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1180ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11819cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11821e5f1caaSRalf Baechle	help
11831e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11841e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11851e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11861e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11871e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11881da177e4SLinus Torvalds
11891da177e4SLinus Torvaldsconfig CPU_R3000
11901da177e4SLinus Torvalds	bool "R3000"
11917cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1192f7062ddbSRalf Baechle	select CPU_HAS_WB
1193ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1194797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11951da177e4SLinus Torvalds	help
11961da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
11971da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
11981da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
11991da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
12001da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
12011da177e4SLinus Torvalds	  try to recompile with R3000.
12021da177e4SLinus Torvalds
12031da177e4SLinus Torvaldsconfig CPU_TX39XX
12041da177e4SLinus Torvalds	bool "R39XX"
12057cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1206ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12071da177e4SLinus Torvalds
12081da177e4SLinus Torvaldsconfig CPU_VR41XX
12091da177e4SLinus Torvalds	bool "R41xx"
12107cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1211ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1212ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12131da177e4SLinus Torvalds	help
12145e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
12151da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
12161da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
12171da177e4SLinus Torvalds	  processor or vice versa.
12181da177e4SLinus Torvalds
12191da177e4SLinus Torvaldsconfig CPU_R4300
12201da177e4SLinus Torvalds	bool "R4300"
12217cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1222ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1223ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12241da177e4SLinus Torvalds	help
12251da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
12261da177e4SLinus Torvalds
12271da177e4SLinus Torvaldsconfig CPU_R4X00
12281da177e4SLinus Torvalds	bool "R4x00"
12297cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1230ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1231ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12321da177e4SLinus Torvalds	help
12331da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
12341da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
12351da177e4SLinus Torvalds
12361da177e4SLinus Torvaldsconfig CPU_TX49XX
12371da177e4SLinus Torvalds	bool "R49XX"
12387cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1239de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1240ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1241ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12421da177e4SLinus Torvalds
12431da177e4SLinus Torvaldsconfig CPU_R5000
12441da177e4SLinus Torvalds	bool "R5000"
12457cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1246ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1247ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12481da177e4SLinus Torvalds	help
12491da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
12501da177e4SLinus Torvalds
12511da177e4SLinus Torvaldsconfig CPU_R5432
12521da177e4SLinus Torvalds	bool "R5432"
12537cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
12545e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
12555e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
12561da177e4SLinus Torvalds
1257542c1020SShinya Kuribayashiconfig CPU_R5500
1258542c1020SShinya Kuribayashi	bool "R5500"
1259542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1260542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1261542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
12629cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1263542c1020SShinya Kuribayashi	help
1264542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1265542c1020SShinya Kuribayashi	  instruction set.
1266542c1020SShinya Kuribayashi
12671da177e4SLinus Torvaldsconfig CPU_R6000
12681da177e4SLinus Torvalds	bool "R6000"
1269ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12707cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1271ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12721da177e4SLinus Torvalds	help
12731da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1274c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
12751da177e4SLinus Torvalds
12761da177e4SLinus Torvaldsconfig CPU_NEVADA
12771da177e4SLinus Torvalds	bool "RM52xx"
12787cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1279ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1280ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12811da177e4SLinus Torvalds	help
12821da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
12831da177e4SLinus Torvalds
12841da177e4SLinus Torvaldsconfig CPU_R8000
12851da177e4SLinus Torvalds	bool "R8000"
1286ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12877cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
12885e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1289ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12901da177e4SLinus Torvalds	help
12911da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
12921da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
12931da177e4SLinus Torvalds
12941da177e4SLinus Torvaldsconfig CPU_R10000
12951da177e4SLinus Torvalds	bool "R10000"
12967cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
12975e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1298ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1299ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1300797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13011da177e4SLinus Torvalds	help
13021da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
13031da177e4SLinus Torvalds
13041da177e4SLinus Torvaldsconfig CPU_RM7000
13051da177e4SLinus Torvalds	bool "RM7000"
13067cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
13075e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1308ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1309ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1310797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13111da177e4SLinus Torvalds
13121da177e4SLinus Torvaldsconfig CPU_RM9000
13131da177e4SLinus Torvalds	bool "RM9000"
13147cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
13155e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1316ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1317ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1318797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13190004a9dfSRalf Baechle	select WEAK_ORDERING
13201da177e4SLinus Torvalds
13211da177e4SLinus Torvaldsconfig CPU_SB1
13221da177e4SLinus Torvalds	bool "SB1"
13237cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1324ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1325ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1326797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13270004a9dfSRalf Baechle	select WEAK_ORDERING
13281da177e4SLinus Torvalds
1329a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1330a86c7f72SDavid Daney	bool "Cavium Octeon processor"
13315e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1332a86c7f72SDavid Daney	select IRQ_CPU
1333a86c7f72SDavid Daney	select IRQ_CPU_OCTEON
1334a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1335a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1336a86c7f72SDavid Daney	select SYS_SUPPORTS_SMP
1337a86c7f72SDavid Daney	select NR_CPUS_DEFAULT_16
1338a86c7f72SDavid Daney	select WEAK_ORDERING
1339a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
13409cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1341a86c7f72SDavid Daney	help
1342a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1343a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1344a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1345a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1346a86c7f72SDavid Daney
1347c1c0c461SKevin Cernekeeconfig CPU_BMIPS3300
1348c1c0c461SKevin Cernekee	bool "BMIPS3300"
1349c1c0c461SKevin Cernekee	depends on SYS_HAS_CPU_BMIPS3300
1350c1c0c461SKevin Cernekee	select DMA_NONCOHERENT
1351c1c0c461SKevin Cernekee	select IRQ_CPU
1352c1c0c461SKevin Cernekee	select SWAP_IO_SPACE
1353c1c0c461SKevin Cernekee	select SYS_SUPPORTS_32BIT_KERNEL
1354c1c0c461SKevin Cernekee	select WEAK_ORDERING
1355c1c0c461SKevin Cernekee	help
1356c1c0c461SKevin Cernekee	  Broadcom BMIPS3300 processors.
1357c1c0c461SKevin Cernekee
1358c1c0c461SKevin Cernekeeconfig CPU_BMIPS4350
1359c1c0c461SKevin Cernekee	bool "BMIPS4350"
1360c1c0c461SKevin Cernekee	depends on SYS_HAS_CPU_BMIPS4350
1361c1c0c461SKevin Cernekee	select CPU_SUPPORTS_32BIT_KERNEL
1362c1c0c461SKevin Cernekee	select DMA_NONCOHERENT
1363c1c0c461SKevin Cernekee	select IRQ_CPU
1364c1c0c461SKevin Cernekee	select SWAP_IO_SPACE
1365c1c0c461SKevin Cernekee	select SYS_SUPPORTS_SMP
1366c1c0c461SKevin Cernekee	select SYS_SUPPORTS_HOTPLUG_CPU
1367c1c0c461SKevin Cernekee	select WEAK_ORDERING
1368c1c0c461SKevin Cernekee	help
1369c1c0c461SKevin Cernekee	  Broadcom BMIPS4350 ("VIPER") processors.
1370c1c0c461SKevin Cernekee
1371c1c0c461SKevin Cernekeeconfig CPU_BMIPS4380
1372c1c0c461SKevin Cernekee	bool "BMIPS4380"
1373c1c0c461SKevin Cernekee	depends on SYS_HAS_CPU_BMIPS4380
1374c1c0c461SKevin Cernekee	select CPU_SUPPORTS_32BIT_KERNEL
1375c1c0c461SKevin Cernekee	select DMA_NONCOHERENT
1376c1c0c461SKevin Cernekee	select IRQ_CPU
1377c1c0c461SKevin Cernekee	select SWAP_IO_SPACE
1378c1c0c461SKevin Cernekee	select SYS_SUPPORTS_SMP
1379c1c0c461SKevin Cernekee	select SYS_SUPPORTS_HOTPLUG_CPU
1380c1c0c461SKevin Cernekee	select WEAK_ORDERING
1381c1c0c461SKevin Cernekee	help
1382c1c0c461SKevin Cernekee	  Broadcom BMIPS4380 processors.
1383c1c0c461SKevin Cernekee
1384c1c0c461SKevin Cernekeeconfig CPU_BMIPS5000
1385c1c0c461SKevin Cernekee	bool "BMIPS5000"
1386c1c0c461SKevin Cernekee	depends on SYS_HAS_CPU_BMIPS5000
1387c1c0c461SKevin Cernekee	select CPU_SUPPORTS_32BIT_KERNEL
1388c1c0c461SKevin Cernekee	select CPU_SUPPORTS_HIGHMEM
1389c1c0c461SKevin Cernekee	select DMA_NONCOHERENT
1390c1c0c461SKevin Cernekee	select IRQ_CPU
1391c1c0c461SKevin Cernekee	select SWAP_IO_SPACE
1392c1c0c461SKevin Cernekee	select SYS_SUPPORTS_SMP
1393c1c0c461SKevin Cernekee	select SYS_SUPPORTS_HOTPLUG_CPU
1394c1c0c461SKevin Cernekee	select WEAK_ORDERING
1395c1c0c461SKevin Cernekee	help
1396c1c0c461SKevin Cernekee	  Broadcom BMIPS5000 processors.
1397c1c0c461SKevin Cernekee
13981da177e4SLinus Torvaldsendchoice
13991da177e4SLinus Torvalds
1400622844bfSWu Zhangjinif CPU_LOONGSON2F
1401622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS
1402622844bfSWu Zhangjin	bool
1403622844bfSWu Zhangjin
1404622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS
1405622844bfSWu Zhangjin	bool
1406622844bfSWu Zhangjin
1407622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS
1408622844bfSWu Zhangjin	bool "Loongson 2F Workarounds"
1409622844bfSWu Zhangjin	default y
1410622844bfSWu Zhangjin	select CPU_NOP_WORKAROUNDS
1411622844bfSWu Zhangjin	select CPU_JUMP_WORKAROUNDS
1412622844bfSWu Zhangjin	help
1413622844bfSWu Zhangjin	  Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1414622844bfSWu Zhangjin	  require workarounds.  Without workarounds the system may hang
1415622844bfSWu Zhangjin	  unexpectedly.  For more information please refer to the gas
1416622844bfSWu Zhangjin	  -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1417622844bfSWu Zhangjin
1418622844bfSWu Zhangjin	  Loongson 2F03 and later have fixed these issues and no workarounds
1419622844bfSWu Zhangjin	  are needed.  The workarounds have no significant side effect on them
1420622844bfSWu Zhangjin	  but may decrease the performance of the system so this option should
1421622844bfSWu Zhangjin	  be disabled unless the kernel is intended to be run on 2F01 or 2F02
1422622844bfSWu Zhangjin	  systems.
1423622844bfSWu Zhangjin
1424622844bfSWu Zhangjin	  If unsure, please say Y.
1425622844bfSWu Zhangjinendif # CPU_LOONGSON2F
1426622844bfSWu Zhangjin
14271b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT
14281b93b3c3SWu Zhangjin	bool
14291b93b3c3SWu Zhangjin	select HAVE_KERNEL_GZIP
14301b93b3c3SWu Zhangjin	select HAVE_KERNEL_BZIP2
14311b93b3c3SWu Zhangjin	select HAVE_KERNEL_LZMA
1432fe1d45e0SWu Zhangjin	select HAVE_KERNEL_LZO
14331b93b3c3SWu Zhangjin
14341b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550
14351b93b3c3SWu Zhangjin	bool
14361b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
14371b93b3c3SWu Zhangjin
14383702bba5SWu Zhangjinconfig CPU_LOONGSON2
14393702bba5SWu Zhangjin	bool
14403702bba5SWu Zhangjin	select CPU_SUPPORTS_32BIT_KERNEL
14413702bba5SWu Zhangjin	select CPU_SUPPORTS_64BIT_KERNEL
14423702bba5SWu Zhangjin	select CPU_SUPPORTS_HIGHMEM
14433702bba5SWu Zhangjin
14443702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E
14452a21c730SFuxin Zhang	bool
14462a21c730SFuxin Zhang
14476f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F
14486f7a251aSWu Zhangjin	bool
144955045ff5SWu Zhangjin	select CPU_SUPPORTS_CPUFREQ
145055045ff5SWu Zhangjin	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
145122f1fdfdSWu Zhangjin	select CPU_SUPPORTS_UNCACHED_ACCELERATED
14526f7a251aSWu Zhangjin
14537cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
14547cf8053bSRalf Baechle	bool
14557cf8053bSRalf Baechle
14567cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
14577cf8053bSRalf Baechle	bool
14587cf8053bSRalf Baechle
14597cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
14607cf8053bSRalf Baechle	bool
14617cf8053bSRalf Baechle
14627cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
14637cf8053bSRalf Baechle	bool
14647cf8053bSRalf Baechle
14657cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
14667cf8053bSRalf Baechle	bool
14677cf8053bSRalf Baechle
14687cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
14697cf8053bSRalf Baechle	bool
14707cf8053bSRalf Baechle
14717cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
14727cf8053bSRalf Baechle	bool
14737cf8053bSRalf Baechle
14747cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
14757cf8053bSRalf Baechle	bool
14767cf8053bSRalf Baechle
14777cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
14787cf8053bSRalf Baechle	bool
14797cf8053bSRalf Baechle
14807cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
14817cf8053bSRalf Baechle	bool
14827cf8053bSRalf Baechle
14837cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
14847cf8053bSRalf Baechle	bool
14857cf8053bSRalf Baechle
14867cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
14877cf8053bSRalf Baechle	bool
14887cf8053bSRalf Baechle
1489542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1490542c1020SShinya Kuribayashi	bool
1491542c1020SShinya Kuribayashi
14927cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
14937cf8053bSRalf Baechle	bool
14947cf8053bSRalf Baechle
14957cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
14967cf8053bSRalf Baechle	bool
14977cf8053bSRalf Baechle
14987cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
14997cf8053bSRalf Baechle	bool
15007cf8053bSRalf Baechle
15017cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
15027cf8053bSRalf Baechle	bool
15037cf8053bSRalf Baechle
15047cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
15057cf8053bSRalf Baechle	bool
15067cf8053bSRalf Baechle
15077cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
15087cf8053bSRalf Baechle	bool
15097cf8053bSRalf Baechle
15107cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
15117cf8053bSRalf Baechle	bool
15127cf8053bSRalf Baechle
15135e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
15145e683389SDavid Daney	bool
15155e683389SDavid Daney
1516c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS3300
1517c1c0c461SKevin Cernekee	bool
1518c1c0c461SKevin Cernekee
1519c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4350
1520c1c0c461SKevin Cernekee	bool
1521c1c0c461SKevin Cernekee
1522c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4380
1523c1c0c461SKevin Cernekee	bool
1524c1c0c461SKevin Cernekee
1525c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS5000
1526c1c0c461SKevin Cernekee	bool
1527c1c0c461SKevin Cernekee
152817099b11SRalf Baechle#
152917099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
153017099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
153117099b11SRalf Baechle#
15320004a9dfSRalf Baechleconfig WEAK_ORDERING
15330004a9dfSRalf Baechle	bool
153417099b11SRalf Baechle
153517099b11SRalf Baechle#
153617099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
153717099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
153817099b11SRalf Baechle#
153917099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
154017099b11SRalf Baechle	bool
15415e83d430SRalf Baechleendmenu
15425e83d430SRalf Baechle
15435e83d430SRalf Baechle#
15445e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
15455e83d430SRalf Baechle#
15465e83d430SRalf Baechleconfig CPU_MIPS32
15475e83d430SRalf Baechle	bool
15485e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
15495e83d430SRalf Baechle
15505e83d430SRalf Baechleconfig CPU_MIPS64
15515e83d430SRalf Baechle	bool
15525e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
15535e83d430SRalf Baechle
15545e83d430SRalf Baechle#
1555c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
15565e83d430SRalf Baechle#
15575e83d430SRalf Baechleconfig CPU_MIPSR1
15585e83d430SRalf Baechle	bool
15595e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
15605e83d430SRalf Baechle
15615e83d430SRalf Baechleconfig CPU_MIPSR2
15625e83d430SRalf Baechle	bool
1563a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
15645e83d430SRalf Baechle
15655e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
15665e83d430SRalf Baechle	bool
15675e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
15685e83d430SRalf Baechle	bool
15695e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
15705e83d430SRalf Baechle	bool
15715e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
15725e83d430SRalf Baechle	bool
157355045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ
157455045ff5SWu Zhangjin	bool
157555045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG
157655045ff5SWu Zhangjin	bool
15779cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES
15789cffd154SDavid Daney	bool
157922f1fdfdSWu Zhangjinconfig CPU_SUPPORTS_UNCACHED_ACCELERATED
158022f1fdfdSWu Zhangjin	bool
158182622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT
158282622284SDavid Daney	bool
158382622284SDavid Daney	default y if 64BIT && CPU_MIPSR2
15845e83d430SRalf Baechle
15858192c9eaSDavid Daney#
15868192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
15878192c9eaSDavid Daney#
15888192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
15898192c9eaSDavid Daney       bool
1590f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
15918192c9eaSDavid Daney
15925e83d430SRalf Baechlemenu "Kernel type"
15935e83d430SRalf Baechle
15945e83d430SRalf Baechlechoice
15955e83d430SRalf Baechle
15965e83d430SRalf Baechle	prompt "Kernel code model"
15975e83d430SRalf Baechle	help
15985e83d430SRalf Baechle	  You should only select this option if you have a workload that
15995e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
16005e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
16015e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
16025e83d430SRalf Baechle
16035e83d430SRalf Baechleconfig 32BIT
16045e83d430SRalf Baechle	bool "32-bit kernel"
16055e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
16065e83d430SRalf Baechle	select TRAD_SIGNALS
16075e83d430SRalf Baechle	help
16085e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
16095e83d430SRalf Baechleconfig 64BIT
16105e83d430SRalf Baechle	bool "64-bit kernel"
16115e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1612dbda6ac0SRalf Baechle	select HAVE_SYSCALL_WRAPPERS
16135e83d430SRalf Baechle	help
16145e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
16155e83d430SRalf Baechle
16165e83d430SRalf Baechleendchoice
16175e83d430SRalf Baechle
16181da177e4SLinus Torvaldschoice
16191da177e4SLinus Torvalds	prompt "Kernel page size"
16201da177e4SLinus Torvalds	default PAGE_SIZE_4KB
16211da177e4SLinus Torvalds
16221da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
16231da177e4SLinus Torvalds	bool "4kB"
1624315fe625SWu Zhangjin	depends on !CPU_LOONGSON2
16251da177e4SLinus Torvalds	help
16261da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
16271da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
16281da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
16291da177e4SLinus Torvalds	 recommended for low memory systems.
16301da177e4SLinus Torvalds
16311da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
16321da177e4SLinus Torvalds	bool "8kB"
1633c52399beSRalf Baechle	depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
16341da177e4SLinus Torvalds	help
16351da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
16361da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
1637c52399beSRalf Baechle	  only on R8000 and cnMIPS processors.  Note that you will need a
1638c52399beSRalf Baechle	  suitable Linux distribution to support this.
16391da177e4SLinus Torvalds
16401da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
16411da177e4SLinus Torvalds	bool "16kB"
1642714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
16431da177e4SLinus Torvalds	help
16441da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
16451da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1646714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1647714bfad6SRalf Baechle	  Linux distribution to support this.
16481da177e4SLinus Torvalds
1649c52399beSRalf Baechleconfig PAGE_SIZE_32KB
1650c52399beSRalf Baechle	bool "32kB"
1651c52399beSRalf Baechle	depends on CPU_CAVIUM_OCTEON
1652c52399beSRalf Baechle	help
1653c52399beSRalf Baechle	  Using 32kB page size will result in higher performance kernel at
1654c52399beSRalf Baechle	  the price of higher memory consumption.  This option is available
1655c52399beSRalf Baechle	  only on cnMIPS cores.  Note that you will need a suitable Linux
1656c52399beSRalf Baechle	  distribution to support this.
1657c52399beSRalf Baechle
16581da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
16591da177e4SLinus Torvalds	bool "64kB"
16601da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
16611da177e4SLinus Torvalds	help
16621da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
16631da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
16641da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1665714bfad6SRalf Baechle	  writing this option is still high experimental.
16661da177e4SLinus Torvalds
16671da177e4SLinus Torvaldsendchoice
16681da177e4SLinus Torvalds
1669c9bace7cSDavid Daneyconfig FORCE_MAX_ZONEORDER
1670c9bace7cSDavid Daney	int "Maximum zone order"
1671c9bace7cSDavid Daney	range 13 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
1672c9bace7cSDavid Daney	default "13" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
1673c9bace7cSDavid Daney	range 12 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
1674c9bace7cSDavid Daney	default "12" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
1675c9bace7cSDavid Daney	range 11 64
1676c9bace7cSDavid Daney	default "11"
1677c9bace7cSDavid Daney	help
1678c9bace7cSDavid Daney	  The kernel memory allocator divides physically contiguous memory
1679c9bace7cSDavid Daney	  blocks into "zones", where each zone is a power of two number of
1680c9bace7cSDavid Daney	  pages.  This option selects the largest power of two that the kernel
1681c9bace7cSDavid Daney	  keeps in the memory allocator.  If you need to allocate very large
1682c9bace7cSDavid Daney	  blocks of physically contiguous memory, then you may need to
1683c9bace7cSDavid Daney	  increase this value.
1684c9bace7cSDavid Daney
1685c9bace7cSDavid Daney	  This config option is actually maximum order plus one. For example,
1686c9bace7cSDavid Daney	  a value of 11 means that the largest free memory block is 2^10 pages.
1687c9bace7cSDavid Daney
1688c9bace7cSDavid Daney	  The page size is not necessarily 4KB.  Keep this in mind
1689c9bace7cSDavid Daney	  when choosing a value for this option.
1690c9bace7cSDavid Daney
16911da177e4SLinus Torvaldsconfig BOARD_SCACHE
16921da177e4SLinus Torvalds	bool
16931da177e4SLinus Torvalds
16941da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
16951da177e4SLinus Torvalds	bool
16961da177e4SLinus Torvalds	select BOARD_SCACHE
16971da177e4SLinus Torvalds
16989318c51aSChris Dearman#
16999318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
17009318c51aSChris Dearman#
17019318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
17029318c51aSChris Dearman	bool
17039318c51aSChris Dearman	select BOARD_SCACHE
17049318c51aSChris Dearman
17051da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
17061da177e4SLinus Torvalds	bool
17071da177e4SLinus Torvalds	select BOARD_SCACHE
17081da177e4SLinus Torvalds
17091da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
17101da177e4SLinus Torvalds	bool
17111da177e4SLinus Torvalds	select BOARD_SCACHE
17121da177e4SLinus Torvalds
17131da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
17141da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
17151da177e4SLinus Torvalds	depends on CPU_SB1
17161da177e4SLinus Torvalds	help
17171da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
17181da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
17191da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
17201da177e4SLinus Torvalds
17211da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1722c8094b53SRalf Baechle	bool
17231da177e4SLinus Torvalds
1724340ee4b9SRalf Baechlechoice
1725340ee4b9SRalf Baechle	prompt "MIPS MT options"
1726f41ae0b2SRalf Baechle
1727f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1728f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1729f41ae0b2SRalf Baechle	help
1730f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1731f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1732f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1733f41ae0b2SRalf Baechle	  option in this menu.
1734340ee4b9SRalf Baechle
173559d6ab86SRalf Baechleconfig MIPS_MT_SMP
173659d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
173759d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
173859d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1739d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
174059d6ab86SRalf Baechle	select MIPS_MT
1741f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
174259d6ab86SRalf Baechle	select SMP
17430ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
174459d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
174587353d8aSRalf Baechle	select SMP_UP
174659d6ab86SRalf Baechle	help
174725f12b33SRalf Baechle	  This is a kernel model which is known a VSMP but lately has been
174825f12b33SRalf Baechle	  marketesed into SMVP.
174925f12b33SRalf Baechle	  Virtual SMP uses the processor's VPEs  to implement virtual
175025f12b33SRalf Baechle	  processors. In currently available configuration of the 34K processor
175125f12b33SRalf Baechle	  this allows for a dual processor. Both processors will share the same
175225f12b33SRalf Baechle	  primary caches; each will obtain the half of the TLB for it's own
175325f12b33SRalf Baechle	  exclusive use. For a layman this model can be described as similar to
175425f12b33SRalf Baechle	  what Intel calls Hyperthreading.
175525f12b33SRalf Baechle
175625f12b33SRalf Baechle	  For further information see http://www.linux-mips.org/wiki/34K#VSMP
175759d6ab86SRalf Baechle
175841c594abSRalf Baechleconfig MIPS_MT_SMTC
175941c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1760f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1761f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1762f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1763f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1764d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1765f41ae0b2SRalf Baechle	select MIPS_MT
1766130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
176741c594abSRalf Baechle	select SMP
176873b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
176987353d8aSRalf Baechle	select SMP_UP
1770f41ae0b2SRalf Baechle	help
1771f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1772f41ae0b2SRalf Baechle	  marketesed into SMVP.
177325f12b33SRalf Baechle	  is presenting the available TC's of the core as processors to Linux.
177425f12b33SRalf Baechle	  On currently available 34K processors this means a Linux system will
177525f12b33SRalf Baechle	  see up to 5 processors. The implementation of the SMTC kernel differs
177625f12b33SRalf Baechle	  significantly from VSMP and cannot efficiently coexist in the same
177725f12b33SRalf Baechle	  kernel binary so the choice between VSMP and SMTC is a compile time
177825f12b33SRalf Baechle	  decision.
177925f12b33SRalf Baechle
178025f12b33SRalf Baechle	  For further information see http://www.linux-mips.org/wiki/34K#SMTC
178141c594abSRalf Baechle
1782340ee4b9SRalf Baechleendchoice
1783340ee4b9SRalf Baechle
1784f41ae0b2SRalf Baechleconfig MIPS_MT
1785f41ae0b2SRalf Baechle	bool
1786f41ae0b2SRalf Baechle
17870ab7aefcSRalf Baechleconfig SCHED_SMT
17880ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
17890ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
17900ab7aefcSRalf Baechle	default n
17910ab7aefcSRalf Baechle	help
17920ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
17930ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
17940ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
17950ab7aefcSRalf Baechle
17960ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
17970ab7aefcSRalf Baechle	bool
17980ab7aefcSRalf Baechle
17990ab7aefcSRalf Baechle
1800f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1801f41ae0b2SRalf Baechle	bool
1802f41ae0b2SRalf Baechle
1803f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1804f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1805f088fc84SRalf Baechle	default y
180607cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
180707cc0c9eSRalf Baechle
180807cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
180907cc0c9eSRalf Baechle	bool "VPE loader support."
181007cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
181107cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
181207cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
181307cc0c9eSRalf Baechle	select MIPS_MT
181407cc0c9eSRalf Baechle	help
181507cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
181607cc0c9eSRalf Baechle	  onto another VPE and running it.
1817f088fc84SRalf Baechle
18180db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
18190db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
18200db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
18218531a35eSKevin D. Kissell	default n
18220db34215SKevin D. Kissell	help
18230db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
18240db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
18250db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
18260db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
18270db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
18288531a35eSKevin D. Kissell	  impact on interrupt service overhead.
18290db34215SKevin D. Kissell
1830f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1831f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1832f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1833f571eff0SKevin D. Kissell	default n
1834f571eff0SKevin D. Kissell	help
1835f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1836f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1837f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
18388531a35eSKevin D. Kissell	  platform code.  Adds some overhead to interrupt dispatch, and
18398531a35eSKevin D. Kissell	  should be used only if you know what you are doing.
1840f571eff0SKevin D. Kissell
1841e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1842e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1843e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1844e01402b1SRalf Baechle	default y
1845e01402b1SRalf Baechle	help
1846e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1847e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1848e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1849e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1850e01402b1SRalf Baechle
1851e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1852e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1853e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1854e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
18555e83d430SRalf Baechle	help
1856e01402b1SRalf Baechle
18572600990eSRalf Baechleconfig MIPS_APSP_KSPD
18582600990eSRalf Baechle	bool "Enable KSPD"
18592600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
18602600990eSRalf Baechle	default y
18612600990eSRalf Baechle	help
18622600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
18632600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
18642600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
18652600990eSRalf Baechle	  exiting.  You probably want to say yes here.
18662600990eSRalf Baechle
18674a16ff4cSRalf Baechleconfig MIPS_CMP
18684a16ff4cSRalf Baechle	bool "MIPS CMP framework support"
18694a16ff4cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
1870eb9b5141STim Anderson	select SYNC_R4K
18714a16ff4cSRalf Baechle	select SYS_SUPPORTS_SMP
18724a16ff4cSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
18734a16ff4cSRalf Baechle	select WEAK_ORDERING
18744a16ff4cSRalf Baechle	default n
18754a16ff4cSRalf Baechle	help
18764a16ff4cSRalf Baechle	  This is a placeholder option for the GCMP work. It will need to
18774a16ff4cSRalf Baechle	  be handled differently...
18784a16ff4cSRalf Baechle
18791da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
18801da177e4SLinus Torvalds	bool
18811da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
18821da177e4SLinus Torvalds	default y
18831da177e4SLinus Torvalds
18841da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
18851da177e4SLinus Torvalds	bool
18861da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
18871da177e4SLinus Torvalds	default y
18881da177e4SLinus Torvalds
18891da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
18901da177e4SLinus Torvalds	bool
18911da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
18921da177e4SLinus Torvalds	default y
18931da177e4SLinus Torvalds
18941da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1895d806cb2bSRalf Baechle	bool
18961da177e4SLinus Torvalds
189760ec6571Spascal@pabr.orgconfig ARCH_PHYS_ADDR_T_64BIT
189860ec6571Spascal@pabr.org       def_bool 64BIT_PHYS_ADDR
189960ec6571Spascal@pabr.org
19009693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
19019693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
19029693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
19039693a853SFranck Bui-Huu	help
19049693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
19059693a853SFranck Bui-Huu	  increased security at both hardware and software level for
19069693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
19079693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
19089693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
19099693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
19109693a853SFranck Bui-Huu	  here.
19119693a853SFranck Bui-Huu
19121da177e4SLinus Torvaldsconfig CPU_HAS_WB
1913f7062ddbSRalf Baechle	bool
1914e01402b1SRalf Baechle
1915f41ae0b2SRalf Baechle#
1916f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1917f41ae0b2SRalf Baechle#
1918e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1919f41ae0b2SRalf Baechle	bool
1920e01402b1SRalf Baechle
1921f41ae0b2SRalf Baechle#
1922f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1923f41ae0b2SRalf Baechle#
1924e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1925f41ae0b2SRalf Baechle	bool
1926e01402b1SRalf Baechle
19271da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
19281da177e4SLinus Torvalds	bool
19291da177e4SLinus Torvalds	depends on !CPU_R3000
19301da177e4SLinus Torvalds	default y
19311da177e4SLinus Torvalds
1932ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1933ea580401SRalf Baechle	bool
1934ea580401SRalf Baechle
19351da177e4SLinus Torvalds#
193620d60d99SMaciej W. Rozycki# CPU non-features
193720d60d99SMaciej W. Rozycki#
193820d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
193920d60d99SMaciej W. Rozycki	bool
194020d60d99SMaciej W. Rozycki
194120d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
194220d60d99SMaciej W. Rozycki	bool
194320d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
194420d60d99SMaciej W. Rozycki
194520d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
194620d60d99SMaciej W. Rozycki	bool
194720d60d99SMaciej W. Rozycki
194820d60d99SMaciej W. Rozycki#
19491da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
19501da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
19511da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
19521da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
19531da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
19541da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
19551da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
19561da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1957797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1958797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1959797798c1SRalf Baechle#   support.
19601da177e4SLinus Torvalds#
19611da177e4SLinus Torvaldsconfig HIGHMEM
19621da177e4SLinus Torvalds	bool "High Memory Support"
1963797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1964797798c1SRalf Baechle
1965797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1966797798c1SRalf Baechle	bool
1967797798c1SRalf Baechle
1968797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1969797798c1SRalf Baechle	bool
19701da177e4SLinus Torvalds
19719693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
19729693a853SFranck Bui-Huu	bool
19739693a853SFranck Bui-Huu
1974b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1975b4819b59SYoichi Yuasa	def_bool y
1976f133f22dSWu Zhangjin	depends on !NUMA && !CPU_LOONGSON2
1977b4819b59SYoichi Yuasa
1978d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1979d8cb4e11SRalf Baechle	bool
1980d8cb4e11SRalf Baechle	default y if SGI_IP27
1981d8cb4e11SRalf Baechle	help
19823dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1983d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1984d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1985d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1986d8cb4e11SRalf Baechle
1987cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1988cce335aeSRalf Baechle	def_bool y
1989cce335aeSRalf Baechle
1990b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1991b1c6cd42SAtsushi Nemoto	bool
19927de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
199331473747SAtsushi Nemoto
1994d8cb4e11SRalf Baechleconfig NUMA
1995d8cb4e11SRalf Baechle	bool "NUMA Support"
1996d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1997d8cb4e11SRalf Baechle	help
1998d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1999d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
2000d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
2001d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
2002d8cb4e11SRalf Baechle	  disabled.
2003d8cb4e11SRalf Baechle
2004d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
2005d8cb4e11SRalf Baechle	bool
2006d8cb4e11SRalf Baechle
2007c80d79d7SYasunori Gotoconfig NODES_SHIFT
2008c80d79d7SYasunori Goto	int
2009c80d79d7SYasunori Goto	default "6"
2010c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
2011c80d79d7SYasunori Goto
201214f70012SDeng-Cheng Zhuconfig HW_PERF_EVENTS
201314f70012SDeng-Cheng Zhu	bool "Enable hardware performance counter support for perf events"
201414f70012SDeng-Cheng Zhu	depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && CPU_MIPS32
201514f70012SDeng-Cheng Zhu	default y
201614f70012SDeng-Cheng Zhu	help
201714f70012SDeng-Cheng Zhu	  Enable hardware performance counter support for perf events. If
201814f70012SDeng-Cheng Zhu	  disabled, perf events will use software events only.
201914f70012SDeng-Cheng Zhu
2020b4819b59SYoichi Yuasasource "mm/Kconfig"
2021b4819b59SYoichi Yuasa
20221da177e4SLinus Torvaldsconfig SMP
20231da177e4SLinus Torvalds	bool "Multi-Processing support"
2024e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
2025b4b30a5aSRalf Baechle	select IRQ_PER_CPU
20262f304c0aSJens Axboe	select USE_GENERIC_SMP_HELPERS
2027e73ea273SRalf Baechle	help
20281da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
20291da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
20301da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
20311da177e4SLinus Torvalds
20321da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
20331da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
20341da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
20351da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
20361da177e4SLinus Torvalds	  will run faster if you say N here.
20371da177e4SLinus Torvalds
20381da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
20391da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
20401da177e4SLinus Torvalds
204103502faaSAdrian Bunk	  See also the SMP-HOWTO available at
204203502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
20431da177e4SLinus Torvalds
20441da177e4SLinus Torvalds	  If you don't know what to do here, say N.
20451da177e4SLinus Torvalds
204687353d8aSRalf Baechleconfig SMP_UP
204787353d8aSRalf Baechle	bool
204887353d8aSRalf Baechle
20494a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
20504a16ff4cSRalf Baechle	bool
20514a16ff4cSRalf Baechle
2052e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
2053e73ea273SRalf Baechle	bool
2054e73ea273SRalf Baechle
205572ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
205672ede9b1SAtsushi Nemoto	bool
205772ede9b1SAtsushi Nemoto
2058130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
2059130e2fb7SRalf Baechle	bool
2060130e2fb7SRalf Baechle
2061130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
2062130e2fb7SRalf Baechle	bool
2063130e2fb7SRalf Baechle
2064130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
2065130e2fb7SRalf Baechle	bool
2066130e2fb7SRalf Baechle
2067130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
2068130e2fb7SRalf Baechle	bool
2069130e2fb7SRalf Baechle
2070130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
2071130e2fb7SRalf Baechle	bool
2072130e2fb7SRalf Baechle
2073130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
2074130e2fb7SRalf Baechle	bool
2075130e2fb7SRalf Baechle
20761da177e4SLinus Torvaldsconfig NR_CPUS
20771da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
207872ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
20791da177e4SLinus Torvalds	depends on SMP
208072ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
2081130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
2082130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
2083130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
2084130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
2085130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
2086130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
20871da177e4SLinus Torvalds	help
20881da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
20891da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
20901da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
209172ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
209272ede9b1SAtsushi Nemoto	  and 2 for all others.
20931da177e4SLinus Torvalds
20941da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
209572ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
209672ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
209772ede9b1SAtsushi Nemoto	  power of two.
20981da177e4SLinus Torvalds
2099c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
2100c4eee283SAtsushi Nemoto
21011723b4a3SAtsushi Nemoto#
21021723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
21031723b4a3SAtsushi Nemoto#
21041723b4a3SAtsushi Nemoto
21051723b4a3SAtsushi Nemotochoice
21061723b4a3SAtsushi Nemoto	prompt "Timer frequency"
21071723b4a3SAtsushi Nemoto	default HZ_250
21081723b4a3SAtsushi Nemoto	help
21091723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
21101723b4a3SAtsushi Nemoto
21111723b4a3SAtsushi Nemoto	config HZ_48
21120f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
21131723b4a3SAtsushi Nemoto
21141723b4a3SAtsushi Nemoto	config HZ_100
21151723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
21161723b4a3SAtsushi Nemoto
21171723b4a3SAtsushi Nemoto	config HZ_128
21181723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
21191723b4a3SAtsushi Nemoto
21201723b4a3SAtsushi Nemoto	config HZ_250
21211723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
21221723b4a3SAtsushi Nemoto
21231723b4a3SAtsushi Nemoto	config HZ_256
21241723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
21251723b4a3SAtsushi Nemoto
21261723b4a3SAtsushi Nemoto	config HZ_1000
21271723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
21281723b4a3SAtsushi Nemoto
21291723b4a3SAtsushi Nemoto	config HZ_1024
21301723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
21311723b4a3SAtsushi Nemoto
21321723b4a3SAtsushi Nemotoendchoice
21331723b4a3SAtsushi Nemoto
21341723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
21351723b4a3SAtsushi Nemoto	bool
21361723b4a3SAtsushi Nemoto
21371723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
21381723b4a3SAtsushi Nemoto	bool
21391723b4a3SAtsushi Nemoto
21401723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
21411723b4a3SAtsushi Nemoto	bool
21421723b4a3SAtsushi Nemoto
21431723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
21441723b4a3SAtsushi Nemoto	bool
21451723b4a3SAtsushi Nemoto
21461723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
21471723b4a3SAtsushi Nemoto	bool
21481723b4a3SAtsushi Nemoto
21491723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
21501723b4a3SAtsushi Nemoto	bool
21511723b4a3SAtsushi Nemoto
21521723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
21531723b4a3SAtsushi Nemoto	bool
21541723b4a3SAtsushi Nemoto
21551723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
21561723b4a3SAtsushi Nemoto	bool
21571723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
21581723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
21591723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
21601723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
21611723b4a3SAtsushi Nemoto
21621723b4a3SAtsushi Nemotoconfig HZ
21631723b4a3SAtsushi Nemoto	int
21641723b4a3SAtsushi Nemoto	default 48 if HZ_48
21651723b4a3SAtsushi Nemoto	default 100 if HZ_100
21661723b4a3SAtsushi Nemoto	default 128 if HZ_128
21671723b4a3SAtsushi Nemoto	default 250 if HZ_250
21681723b4a3SAtsushi Nemoto	default 256 if HZ_256
21691723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
21701723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
21711723b4a3SAtsushi Nemoto
2172e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
21731da177e4SLinus Torvalds
21741da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
21751da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
2176875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
21771da177e4SLinus Torvalds	help
21781da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
21791da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
21801da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
21811da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
21821da177e4SLinus Torvalds	  recommended for normal users.
21831da177e4SLinus Torvalds
2184ea6e942bSAtsushi Nemotoconfig KEXEC
2185ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
2186ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
2187ea6e942bSAtsushi Nemoto	help
2188ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
2189ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
21903dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
2191ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
2192ea6e942bSAtsushi Nemoto
219301dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
2194ea6e942bSAtsushi Nemoto
2195ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
2196ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
2197ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
2198ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
2199ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
2200ea6e942bSAtsushi Nemoto
2201ea6e942bSAtsushi Nemotoconfig SECCOMP
2202ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
2203293c5bd1SRalf Baechle	depends on PROC_FS
2204ea6e942bSAtsushi Nemoto	default y
2205ea6e942bSAtsushi Nemoto	help
2206ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
2207ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
2208ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
2209ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
2210ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
2211ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
2212ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
2213ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
2214ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
2215ea6e942bSAtsushi Nemoto
2216ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
2217ea6e942bSAtsushi Nemoto
2218f2ffa5abSDezhong Diaoconfig USE_OF
2219f2ffa5abSDezhong Diao	bool "Flattened Device Tree support"
2220f2ffa5abSDezhong Diao	select OF
2221*e6ce1324SStephen Neuendorffer	select OF_EARLY_FLATTREE
2222f2ffa5abSDezhong Diao	help
2223f2ffa5abSDezhong Diao	  Include support for flattened device tree machine descriptions.
2224f2ffa5abSDezhong Diao
22255e83d430SRalf Baechleendmenu
22265e83d430SRalf Baechle
22271df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
22281df0f0ffSAtsushi Nemoto	bool
22291df0f0ffSAtsushi Nemoto	default y
22301df0f0ffSAtsushi Nemoto
22311df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
22321df0f0ffSAtsushi Nemoto	bool
22331df0f0ffSAtsushi Nemoto	default y
22341df0f0ffSAtsushi Nemoto
2235b6c3539bSRalf Baechlesource "init/Kconfig"
2236b6c3539bSRalf Baechle
2237dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
2238dc52ddc0SMatt Helsley
22391da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
22401da177e4SLinus Torvalds
22415e83d430SRalf Baechleconfig HW_HAS_EISA
22425e83d430SRalf Baechle	bool
22431da177e4SLinus Torvaldsconfig HW_HAS_PCI
22441da177e4SLinus Torvalds	bool
22451da177e4SLinus Torvalds
22461da177e4SLinus Torvaldsconfig PCI
22471da177e4SLinus Torvalds	bool "Support for PCI controller"
22481da177e4SLinus Torvalds	depends on HW_HAS_PCI
2249abb4ae46SRalf Baechle	select PCI_DOMAINS
22501da177e4SLinus Torvalds	help
22511da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
22521da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
22531da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
22541da177e4SLinus Torvalds	  say Y, otherwise N.
22551da177e4SLinus Torvalds
22561da177e4SLinus Torvaldsconfig PCI_DOMAINS
22571da177e4SLinus Torvalds	bool
22581da177e4SLinus Torvalds
22591da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
22601da177e4SLinus Torvalds
22611da177e4SLinus Torvalds#
22621da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
22631da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
22641da177e4SLinus Torvalds# users to choose the right thing ...
22651da177e4SLinus Torvalds#
22661da177e4SLinus Torvaldsconfig ISA
22671da177e4SLinus Torvalds	bool
22681da177e4SLinus Torvalds
22691da177e4SLinus Torvaldsconfig EISA
22701da177e4SLinus Torvalds	bool "EISA support"
22715e83d430SRalf Baechle	depends on HW_HAS_EISA
22721da177e4SLinus Torvalds	select ISA
2273aa414dffSRalf Baechle	select GENERIC_ISA_DMA
22741da177e4SLinus Torvalds	---help---
22751da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
22761da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
22771da177e4SLinus Torvalds
22781da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
22791da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
22801da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
22811da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
22821da177e4SLinus Torvalds
22831da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
22841da177e4SLinus Torvalds
22851da177e4SLinus Torvalds	  Otherwise, say N.
22861da177e4SLinus Torvalds
22871da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
22881da177e4SLinus Torvalds
22891da177e4SLinus Torvaldsconfig TC
22901da177e4SLinus Torvalds	bool "TURBOchannel support"
22911da177e4SLinus Torvalds	depends on MACH_DECSTATION
22921da177e4SLinus Torvalds	help
229350a23e6eSJustin P. Mattock	  TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
229450a23e6eSJustin P. Mattock	  processors.  TURBOchannel programming specifications are available
229550a23e6eSJustin P. Mattock	  at:
229650a23e6eSJustin P. Mattock	  <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
229750a23e6eSJustin P. Mattock	  and:
229850a23e6eSJustin P. Mattock	  <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
229950a23e6eSJustin P. Mattock	  Linux driver support status is documented at:
230050a23e6eSJustin P. Mattock	  <http://www.linux-mips.org/wiki/DECstation>
23011da177e4SLinus Torvalds
23021da177e4SLinus Torvalds#config ACCESSBUS
23031da177e4SLinus Torvalds#	bool "Access.Bus support"
23041da177e4SLinus Torvalds#	depends on TC
23051da177e4SLinus Torvalds
23061da177e4SLinus Torvaldsconfig MMU
23071da177e4SLinus Torvalds	bool
23081da177e4SLinus Torvalds	default y
23091da177e4SLinus Torvalds
2310d865bea4SRalf Baechleconfig I8253
2311d865bea4SRalf Baechle	bool
23129726b43aSWu Zhangjin	select MIPS_EXTERNAL_TIMER
2313d865bea4SRalf Baechle
2314cce335aeSRalf Baechleconfig ZONE_DMA32
2315cce335aeSRalf Baechle	bool
2316cce335aeSRalf Baechle
23171da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
23181da177e4SLinus Torvalds
23191da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
23201da177e4SLinus Torvalds
23211da177e4SLinus Torvaldsendmenu
23221da177e4SLinus Torvalds
23231da177e4SLinus Torvaldsmenu "Executable file formats"
23241da177e4SLinus Torvalds
23251da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
23261da177e4SLinus Torvalds
23271da177e4SLinus Torvaldsconfig TRAD_SIGNALS
23281da177e4SLinus Torvalds	bool
23291da177e4SLinus Torvalds
23301da177e4SLinus Torvaldsconfig MIPS32_COMPAT
23311da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2332875d43e7SRalf Baechle	depends on 64BIT
23331da177e4SLinus Torvalds	help
23341da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
23351da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
23361da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
23371da177e4SLinus Torvalds
23381da177e4SLinus Torvaldsconfig COMPAT
23391da177e4SLinus Torvalds	bool
23401da177e4SLinus Torvalds	depends on MIPS32_COMPAT
23411da177e4SLinus Torvalds	default y
23421da177e4SLinus Torvalds
234305e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
234405e43966SAtsushi Nemoto	bool
234505e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
234605e43966SAtsushi Nemoto	default y
234705e43966SAtsushi Nemoto
23481da177e4SLinus Torvaldsconfig MIPS32_O32
23491da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
23501da177e4SLinus Torvalds	depends on MIPS32_COMPAT
23511da177e4SLinus Torvalds	help
23521da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
23531da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
23541da177e4SLinus Torvalds	  existing binaries are in this format.
23551da177e4SLinus Torvalds
23561da177e4SLinus Torvalds	  If unsure, say Y.
23571da177e4SLinus Torvalds
23581da177e4SLinus Torvaldsconfig MIPS32_N32
23591da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
23601da177e4SLinus Torvalds	depends on MIPS32_COMPAT
23611da177e4SLinus Torvalds	help
23621da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
23631da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
23641da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
23651da177e4SLinus Torvalds	  cases.
23661da177e4SLinus Torvalds
23671da177e4SLinus Torvalds	  If unsure, say N.
23681da177e4SLinus Torvalds
23691da177e4SLinus Torvaldsconfig BINFMT_ELF32
23701da177e4SLinus Torvalds	bool
23711da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
23721da177e4SLinus Torvalds
23732116245eSRalf Baechleendmenu
23741da177e4SLinus Torvalds
23752116245eSRalf Baechlemenu "Power management options"
2376952fa954SRodolfo Giometti
2377363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE
2378363c55caSWu Zhangjin	def_bool y
23793f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2380363c55caSWu Zhangjin
2381f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2382f4cb5700SJohannes Berg	def_bool y
23833f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2384f4cb5700SJohannes Berg
23852116245eSRalf Baechlesource "kernel/power/Kconfig"
2386952fa954SRodolfo Giometti
23871da177e4SLinus Torvaldsendmenu
23881da177e4SLinus Torvalds
23899726b43aSWu Zhangjinsource "arch/mips/kernel/cpufreq/Kconfig"
23909726b43aSWu Zhangjin
2391d5950b43SSam Ravnborgsource "net/Kconfig"
2392d5950b43SSam Ravnborg
23931da177e4SLinus Torvaldssource "drivers/Kconfig"
23941da177e4SLinus Torvalds
23951da177e4SLinus Torvaldssource "fs/Kconfig"
23961da177e4SLinus Torvalds
23971da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
23981da177e4SLinus Torvalds
23991da177e4SLinus Torvaldssource "security/Kconfig"
24001da177e4SLinus Torvalds
24011da177e4SLinus Torvaldssource "crypto/Kconfig"
24021da177e4SLinus Torvalds
24031da177e4SLinus Torvaldssource "lib/Kconfig"
2404