xref: /linux/arch/mips/Kconfig (revision d4a67d9dc8a5a80c4ec1814791af8c0252c158b8)
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
2494bb0c1aSDavid Daney	select HAVE_ARCH_JUMP_LABEL
251da177e4SLinus Torvalds
261da177e4SLinus Torvaldsmenu "Machine selection"
271da177e4SLinus Torvalds
285ac6da66SChristoph Lameterconfig ZONE_DMA
295ac6da66SChristoph Lameter	bool
305ac6da66SChristoph Lameter
315e83d430SRalf Baechlechoice
325e83d430SRalf Baechle	prompt "System type"
335e83d430SRalf Baechle	default SGI_IP22
341da177e4SLinus Torvalds
3542a4f17dSManuel Laussconfig MIPS_ALCHEMY
36c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
3742a4f17dSManuel Lauss	select 64BIT_PHYS_ADDR
3842a4f17dSManuel Lauss	select CEVT_R4K_LIB
3942a4f17dSManuel Lauss	select CSRC_R4K_LIB
4042a4f17dSManuel Lauss	select IRQ_CPU
4142a4f17dSManuel Lauss	select SYS_HAS_CPU_MIPS32_R1
4242a4f17dSManuel Lauss	select SYS_SUPPORTS_32BIT_KERNEL
4342a4f17dSManuel Lauss	select SYS_SUPPORTS_APM_EMULATION
4442a4f17dSManuel Lauss	select GENERIC_GPIO
4542a4f17dSManuel Lauss	select ARCH_WANT_OPTIONAL_GPIOLIB
461b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
471da177e4SLinus Torvalds
487ca5dc14SFlorian Fainelliconfig AR7
497ca5dc14SFlorian Fainelli	bool "Texas Instruments AR7"
507ca5dc14SFlorian Fainelli	select BOOT_ELF32
517ca5dc14SFlorian Fainelli	select DMA_NONCOHERENT
527ca5dc14SFlorian Fainelli	select CEVT_R4K
537ca5dc14SFlorian Fainelli	select CSRC_R4K
547ca5dc14SFlorian Fainelli	select IRQ_CPU
557ca5dc14SFlorian Fainelli	select NO_EXCEPT_FILL
567ca5dc14SFlorian Fainelli	select SWAP_IO_SPACE
577ca5dc14SFlorian Fainelli	select SYS_HAS_CPU_MIPS32_R1
587ca5dc14SFlorian Fainelli	select SYS_HAS_EARLY_PRINTK
597ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_32BIT_KERNEL
607ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_LITTLE_ENDIAN
611b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT_UART16550
625f3c9098SFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
637ca5dc14SFlorian Fainelli	select GCD
647ca5dc14SFlorian Fainelli	select VLYNQ
657ca5dc14SFlorian Fainelli	help
667ca5dc14SFlorian Fainelli	  Support for the Texas Instruments AR7 System-on-a-Chip
677ca5dc14SFlorian Fainelli	  family: TNETD7100, 7200 and 7300.
687ca5dc14SFlorian Fainelli
69*d4a67d9dSGabor Juhosconfig ATH79
70*d4a67d9dSGabor Juhos	bool "Atheros AR71XX/AR724X/AR913X based boards"
71*d4a67d9dSGabor Juhos	select BOOT_RAW
72*d4a67d9dSGabor Juhos	select CEVT_R4K
73*d4a67d9dSGabor Juhos	select CSRC_R4K
74*d4a67d9dSGabor Juhos	select DMA_NONCOHERENT
75*d4a67d9dSGabor Juhos	select IRQ_CPU
76*d4a67d9dSGabor Juhos	select SYS_HAS_CPU_MIPS32_R2
77*d4a67d9dSGabor Juhos	select SYS_HAS_EARLY_PRINTK
78*d4a67d9dSGabor Juhos	select SYS_SUPPORTS_32BIT_KERNEL
79*d4a67d9dSGabor Juhos	select SYS_SUPPORTS_BIG_ENDIAN
80*d4a67d9dSGabor Juhos	help
81*d4a67d9dSGabor Juhos	  Support for the Atheros AR71XX/AR724X/AR913X SoCs.
82*d4a67d9dSGabor Juhos
831c0c13ebSAurelien Jarnoconfig BCM47XX
84c619366eSFlorian Fainelli	bool "Broadcom BCM47XX based boards"
8542f77542SRalf Baechle	select CEVT_R4K
86940f6b48SRalf Baechle	select CSRC_R4K
871c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
881c0c13ebSAurelien Jarno	select HW_HAS_PCI
891c0c13ebSAurelien Jarno	select IRQ_CPU
901c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
911c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
921c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
931c0c13ebSAurelien Jarno	select SSB
941c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
952f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
96b06f3e19SAurelien Jarno	select SSB_EMBEDDED
97220937b1SHauke Mehrtens	select SSB_B43_PCI_BRIDGE if PCI
982f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
991c0c13ebSAurelien Jarno	select GENERIC_GPIO
10025e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
10125e5fb97SAurelien Jarno	select CFE
1021c0c13ebSAurelien Jarno	help
1031c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
1041c0c13ebSAurelien Jarno
105e7300d04SMaxime Bizonconfig BCM63XX
106e7300d04SMaxime Bizon	bool "Broadcom BCM63XX based boards"
107e7300d04SMaxime Bizon	select CEVT_R4K
108e7300d04SMaxime Bizon	select CSRC_R4K
109e7300d04SMaxime Bizon	select DMA_NONCOHERENT
110e7300d04SMaxime Bizon	select IRQ_CPU
111e7300d04SMaxime Bizon	select SYS_HAS_CPU_MIPS32_R1
112e7300d04SMaxime Bizon	select SYS_SUPPORTS_32BIT_KERNEL
113e7300d04SMaxime Bizon	select SYS_SUPPORTS_BIG_ENDIAN
114e7300d04SMaxime Bizon	select SYS_HAS_EARLY_PRINTK
115e7300d04SMaxime Bizon	select SWAP_IO_SPACE
116e7300d04SMaxime Bizon	select ARCH_REQUIRE_GPIOLIB
117e7300d04SMaxime Bizon	help
118e7300d04SMaxime Bizon	 Support for BCM63XX based boards
119e7300d04SMaxime Bizon
1201da177e4SLinus Torvaldsconfig MIPS_COBALT
1213fa986faSMartin Michlmayr	bool "Cobalt Server"
12242f77542SRalf Baechle	select CEVT_R4K
123940f6b48SRalf Baechle	select CSRC_R4K
1241097c6acSYoichi Yuasa	select CEVT_GT641XX
1251da177e4SLinus Torvalds	select DMA_NONCOHERENT
1261da177e4SLinus Torvalds	select HW_HAS_PCI
127d865bea4SRalf Baechle	select I8253
1281da177e4SLinus Torvalds	select I8259
1291da177e4SLinus Torvalds	select IRQ_CPU
130d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
131252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
132e25bfc92SYoichi Yuasa	select PCI
1337cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1340a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
135ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
1360e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
1375e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1381da177e4SLinus Torvalds
1391da177e4SLinus Torvaldsconfig MACH_DECSTATION
1403fa986faSMartin Michlmayr	bool "DECstations"
1411da177e4SLinus Torvalds	select BOOT_ELF32
1426457d9fcSYoichi Yuasa	select CEVT_DS1287
14342f77542SRalf Baechle	select CEVT_R4K
1444247417dSYoichi Yuasa	select CSRC_IOASIC
145940f6b48SRalf Baechle	select CSRC_R4K
14620d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
14720d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
14820d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
1491da177e4SLinus Torvalds	select DMA_NONCOHERENT
150d388d685SMaciej W. Rozycki	select NO_IOPORT
1511da177e4SLinus Torvalds	select IRQ_CPU
1527cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
1537cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
154ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
155ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1565e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1571723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
1581723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
1591723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1605e83d430SRalf Baechle	help
1611da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1621da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1631da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1641da177e4SLinus Torvalds
1651da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1661da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1671da177e4SLinus Torvalds
1681da177e4SLinus Torvalds		DECstation 5000/50
1691da177e4SLinus Torvalds		DECstation 5000/150
1701da177e4SLinus Torvalds		DECstation 5000/260
1711da177e4SLinus Torvalds		DECsystem 5900/260
1721da177e4SLinus Torvalds
1731da177e4SLinus Torvalds	  otherwise choose R3000.
1741da177e4SLinus Torvalds
1755e83d430SRalf Baechleconfig MACH_JAZZ
1763fa986faSMartin Michlmayr	bool "Jazz family of machines"
1775e83d430SRalf Baechle	select ARC
1785e83d430SRalf Baechle	select ARC32
1795e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
18042f77542SRalf Baechle	select CEVT_R4K
181940f6b48SRalf Baechle	select CSRC_R4K
182e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1835e83d430SRalf Baechle	select GENERIC_ISA_DMA
184ea202c63SThomas Bogendoerfer	select IRQ_CPU
185d865bea4SRalf Baechle	select I8253
1865e83d430SRalf Baechle	select I8259
1875e83d430SRalf Baechle	select ISA
1887cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1895e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1905e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1911723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1921da177e4SLinus Torvalds	help
1935e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1945e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
195692105b8SMatt LaPlante	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
1965e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1975e83d430SRalf Baechle
1985ebabe59SLars-Peter Clausenconfig MACH_JZ4740
1995ebabe59SLars-Peter Clausen	bool "Ingenic JZ4740 based machines"
2005ebabe59SLars-Peter Clausen	select SYS_HAS_CPU_MIPS32_R1
2015ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_32BIT_KERNEL
2025ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_LITTLE_ENDIAN
2035ebabe59SLars-Peter Clausen	select DMA_NONCOHERENT
2045ebabe59SLars-Peter Clausen	select IRQ_CPU
2055ebabe59SLars-Peter Clausen	select GENERIC_GPIO
2065ebabe59SLars-Peter Clausen	select ARCH_REQUIRE_GPIOLIB
2075ebabe59SLars-Peter Clausen	select SYS_HAS_EARLY_PRINTK
2085ebabe59SLars-Peter Clausen	select HAVE_PWM
2095ebabe59SLars-Peter Clausen
2101f21d2bdSBrian Murphyconfig LASAT
2111f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
21242f77542SRalf Baechle	select CEVT_R4K
213940f6b48SRalf Baechle	select CSRC_R4K
2141f21d2bdSBrian Murphy	select DMA_NONCOHERENT
2151f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
2161f21d2bdSBrian Murphy	select HW_HAS_PCI
217a5ccfe5cSRalf Baechle	select IRQ_CPU
2181f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
2191f21d2bdSBrian Murphy	select MIPS_NILE4
2201f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
2211f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
2221f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
2231f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
2241f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
2251f21d2bdSBrian Murphy
22685749d24SWu Zhangjinconfig MACH_LOONGSON
22785749d24SWu Zhangjin	bool "Loongson family of machines"
228c7e8c668SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
229ade299d8SYoichi Yuasa	help
23085749d24SWu Zhangjin	  This enables the support of Loongson family of machines.
23185749d24SWu Zhangjin
23285749d24SWu Zhangjin	  Loongson is a family of general-purpose MIPS-compatible CPUs.
23385749d24SWu Zhangjin	  developed at Institute of Computing Technology (ICT),
23485749d24SWu Zhangjin	  Chinese Academy of Sciences (CAS) in the People's Republic
23585749d24SWu Zhangjin	  of China. The chief architect is Professor Weiwu Hu.
236ade299d8SYoichi Yuasa
2371da177e4SLinus Torvaldsconfig MIPS_MALTA
2383fa986faSMartin Michlmayr	bool "MIPS Malta board"
23961ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2401da177e4SLinus Torvalds	select BOOT_ELF32
241fa71c960SRalf Baechle	select BOOT_RAW
24242f77542SRalf Baechle	select CEVT_R4K
243940f6b48SRalf Baechle	select CSRC_R4K
2441da177e4SLinus Torvalds	select DMA_NONCOHERENT
2451da177e4SLinus Torvalds	select GENERIC_ISA_DMA
246aa414dffSRalf Baechle	select IRQ_CPU
24739b8d525SRalf Baechle	select IRQ_GIC
2481da177e4SLinus Torvalds	select HW_HAS_PCI
249d865bea4SRalf Baechle	select I8253
2501da177e4SLinus Torvalds	select I8259
2515e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2525e83d430SRalf Baechle	select MIPS_BONITO64
2539318c51aSChris Dearman	select MIPS_CPU_SCACHE
254252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2555e83d430SRalf Baechle	select MIPS_MSC
2561da177e4SLinus Torvalds	select SWAP_IO_SPACE
2577cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2587cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2597cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2607cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2617cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
26236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
263ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
264ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2655e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2665e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2670365070fSTim Anderson	select SYS_SUPPORTS_MIPS_CMP
268f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2699693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2701b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
2711da177e4SLinus Torvalds	help
272f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2731da177e4SLinus Torvalds	  board.
2741da177e4SLinus Torvalds
275c78cbf49SRalf Baechleconfig MIPS_SIM
2763fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
27742f77542SRalf Baechle	select CEVT_R4K
278940f6b48SRalf Baechle	select CSRC_R4K
279c78cbf49SRalf Baechle	select DMA_NONCOHERENT
28036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
281c78cbf49SRalf Baechle	select IRQ_CPU
2829267a30dSMarc St-Jean	select BOOT_RAW
2837cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2847cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
28536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
286c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
287c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
288f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
289c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
290c78cbf49SRalf Baechle	help
291c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
292c78cbf49SRalf Baechle	  emulator.
293c78cbf49SRalf Baechle
294a83860c2SRalf Baechleconfig NEC_MARKEINS
295a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
296a83860c2SRalf Baechle	select SOC_EMMA2RH
297a83860c2SRalf Baechle	select HW_HAS_PCI
298a83860c2SRalf Baechle	help
299a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
300ade299d8SYoichi Yuasa
3015e83d430SRalf Baechleconfig MACH_VR41XX
30274142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
30342f77542SRalf Baechle	select CEVT_R4K
304940f6b48SRalf Baechle	select CSRC_R4K
3057cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
30627fdd325SYoichi Yuasa	select ARCH_REQUIRE_GPIOLIB
3075e83d430SRalf Baechle
308edb6310aSDaniel Lairdconfig NXP_STB220
309edb6310aSDaniel Laird	bool "NXP STB220 board"
310edb6310aSDaniel Laird	select SOC_PNX833X
311edb6310aSDaniel Laird	help
312edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
313edb6310aSDaniel Laird
314edb6310aSDaniel Lairdconfig NXP_STB225
315edb6310aSDaniel Laird	bool "NXP 225 board"
316edb6310aSDaniel Laird	select SOC_PNX833X
317edb6310aSDaniel Laird	select SOC_PNX8335
318edb6310aSDaniel Laird	help
319edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
320edb6310aSDaniel Laird
321ade299d8SYoichi Yuasaconfig PNX8550_JBS
322a92b0588SDaniel Laird	bool "NXP PNX8550 based JBS board"
323ade299d8SYoichi Yuasa	select PNX8550
324ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
325ade299d8SYoichi Yuasa
326ade299d8SYoichi Yuasaconfig PNX8550_STB810
327a92b0588SDaniel Laird	bool "NXP PNX8550 based STB810 board"
328ade299d8SYoichi Yuasa	select PNX8550
329ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
330ade299d8SYoichi Yuasa
3319267a30dSMarc St-Jeanconfig PMC_MSP
3329267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3339267a30dSMarc St-Jean	depends on EXPERIMENTAL
3349267a30dSMarc St-Jean	select DMA_NONCOHERENT
3359267a30dSMarc St-Jean	select SWAP_IO_SPACE
3369267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3379267a30dSMarc St-Jean	select BOOT_RAW
3389267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3399267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3409267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3419267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3429267a30dSMarc St-Jean	select IRQ_CPU
3439267a30dSMarc St-Jean	select SERIAL_8250
3449267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3459267a30dSMarc St-Jean	help
3469267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3479267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3489267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3499267a30dSMarc St-Jean	  a variety of MIPS cores.
3509267a30dSMarc St-Jean
3515e83d430SRalf Baechleconfig PMC_YOSEMITE
3523fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
35342f77542SRalf Baechle	select CEVT_R4K
354940f6b48SRalf Baechle	select CSRC_R4K
3555e83d430SRalf Baechle	select DMA_COHERENT
3565e83d430SRalf Baechle	select HW_HAS_PCI
3575e83d430SRalf Baechle	select IRQ_CPU
3585e83d430SRalf Baechle	select IRQ_CPU_RM7K
3595e83d430SRalf Baechle	select IRQ_CPU_RM9K
3605e83d430SRalf Baechle	select SWAP_IO_SPACE
3617cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
36236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3635e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3645e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3655e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3665e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
367e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3685e83d430SRalf Baechle	help
3695e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3705e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3711da177e4SLinus Torvalds
372a3a0f8c8SDavid VomLehnconfig POWERTV
373a3a0f8c8SDavid VomLehn	bool "Cisco PowerTV"
374a3a0f8c8SDavid VomLehn	select BOOT_ELF32
375a3a0f8c8SDavid VomLehn	select CEVT_R4K
376a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_VI
377a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_EI
378a3a0f8c8SDavid VomLehn	select CSRC_POWERTV
379a3a0f8c8SDavid VomLehn	select DMA_NONCOHERENT
380a3a0f8c8SDavid VomLehn	select HW_HAS_PCI
381a3a0f8c8SDavid VomLehn	select SYS_HAS_EARLY_PRINTK
382a3a0f8c8SDavid VomLehn	select SYS_HAS_CPU_MIPS32_R2
383a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_32BIT_KERNEL
384a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_BIG_ENDIAN
385a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_HIGHMEM
386a3a0f8c8SDavid VomLehn	select USB_OHCI_LITTLE_ENDIAN
387a3a0f8c8SDavid VomLehn	help
388a3a0f8c8SDavid VomLehn	  This enables support for the Cisco PowerTV Platform.
389a3a0f8c8SDavid VomLehn
3901da177e4SLinus Torvaldsconfig SGI_IP22
3913fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3921da177e4SLinus Torvalds	select ARC
3931da177e4SLinus Torvalds	select ARC32
3941da177e4SLinus Torvalds	select BOOT_ELF32
39542f77542SRalf Baechle	select CEVT_R4K
396940f6b48SRalf Baechle	select CSRC_R4K
397e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3981da177e4SLinus Torvalds	select DMA_NONCOHERENT
3995e83d430SRalf Baechle	select HW_HAS_EISA
400d865bea4SRalf Baechle	select I8253
40168de4803SThomas Bogendoerfer	select I8259
4021da177e4SLinus Torvalds	select IP22_CPU_SCACHE
4031da177e4SLinus Torvalds	select IRQ_CPU
404aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
405e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
406e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
40736e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
408e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
409e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
410e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
4111da177e4SLinus Torvalds	select SWAP_IO_SPACE
4127cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
4137cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4142b5e63f6SMartin Michlmayr	#
4152b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
4162b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
4172b5e63f6SMartin Michlmayr	#
4182b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
4192b5e63f6SMartin Michlmayr	# for a more details discussion
4202b5e63f6SMartin Michlmayr	#
4212b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
422ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
423ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4245e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4251da177e4SLinus Torvalds	help
4261da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4271da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4281da177e4SLinus Torvalds	  that runs on these, say Y here.
4291da177e4SLinus Torvalds
4301da177e4SLinus Torvaldsconfig SGI_IP27
4313fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4321da177e4SLinus Torvalds	select ARC
4331da177e4SLinus Torvalds	select ARC64
4345e83d430SRalf Baechle	select BOOT_ELF64
435e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
436634286f1SRalf Baechle	select DMA_COHERENT
43736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4381da177e4SLinus Torvalds	select HW_HAS_PCI
439130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4407cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
441ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4425e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
443d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4441a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
4451da177e4SLinus Torvalds	help
4461da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4471da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4481da177e4SLinus Torvalds	  here.
4491da177e4SLinus Torvalds
450e2defae5SThomas Bogendoerferconfig SGI_IP28
451e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
452e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
453e2defae5SThomas Bogendoerfer	select ARC
454e2defae5SThomas Bogendoerfer	select ARC64
455e2defae5SThomas Bogendoerfer	select BOOT_ELF64
456e2defae5SThomas Bogendoerfer	select CEVT_R4K
457e2defae5SThomas Bogendoerfer	select CSRC_R4K
458e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
459e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
460e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
461e2defae5SThomas Bogendoerfer	select IRQ_CPU
462e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
463e2defae5SThomas Bogendoerfer	select I8253
464e2defae5SThomas Bogendoerfer	select I8259
465e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
466e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
4675b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
468e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
469e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
470e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
471e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
472e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
4732b5e63f6SMartin Michlmayr	#
4742b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
4752b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
4762b5e63f6SMartin Michlmayr	#
4772b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
4782b5e63f6SMartin Michlmayr	# for a more details discussion
4792b5e63f6SMartin Michlmayr	#
4802b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
481e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
482e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
483e2defae5SThomas Bogendoerfer      help
484e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
485e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
486e2defae5SThomas Bogendoerfer
4871da177e4SLinus Torvaldsconfig SGI_IP32
488cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4891da177e4SLinus Torvalds	select ARC
4901da177e4SLinus Torvalds	select ARC32
4911da177e4SLinus Torvalds	select BOOT_ELF32
49242f77542SRalf Baechle	select CEVT_R4K
493940f6b48SRalf Baechle	select CSRC_R4K
4941da177e4SLinus Torvalds	select DMA_NONCOHERENT
4951da177e4SLinus Torvalds	select HW_HAS_PCI
496dd67b155SRalf Baechle	select IRQ_CPU
4971da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4981da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4997cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
5007cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
5017cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
502dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
503ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
5045e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5051da177e4SLinus Torvalds	help
5061da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
5071da177e4SLinus Torvalds
508ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
509ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
5105e83d430SRalf Baechle	depends on EXPERIMENTAL
5115e83d430SRalf Baechle	select BOOT_ELF32
5125e83d430SRalf Baechle	select DMA_COHERENT
5135e83d430SRalf Baechle	select SIBYTE_BCM1120
5145e83d430SRalf Baechle	select SWAP_IO_SPACE
5157cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5165e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5175e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5185e83d430SRalf Baechle
519ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
520ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
5215e83d430SRalf Baechle	depends on EXPERIMENTAL
5225e83d430SRalf Baechle	select BOOT_ELF32
5235e83d430SRalf Baechle	select DMA_COHERENT
5245e83d430SRalf Baechle	select SIBYTE_BCM1120
5255e83d430SRalf Baechle	select SWAP_IO_SPACE
5267cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5275e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5285e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5295e83d430SRalf Baechle
5305e83d430SRalf Baechleconfig SIBYTE_CRHONE
5313fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
5325e83d430SRalf Baechle	depends on EXPERIMENTAL
5335e83d430SRalf Baechle	select BOOT_ELF32
5345e83d430SRalf Baechle	select DMA_COHERENT
5355e83d430SRalf Baechle	select SIBYTE_BCM1125
5365e83d430SRalf Baechle	select SWAP_IO_SPACE
5377cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5385e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5395e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5405e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5415e83d430SRalf Baechle
542ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
543ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
544ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
545ade299d8SYoichi Yuasa	select BOOT_ELF32
546ade299d8SYoichi Yuasa	select DMA_COHERENT
547ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
548ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
549ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
550ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
551ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
552ade299d8SYoichi Yuasa
553ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
554ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
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
565cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
566ade299d8SYoichi Yuasa
567ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
568ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
569ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
570ade299d8SYoichi Yuasa	select BOOT_ELF32
571ade299d8SYoichi Yuasa	select DMA_COHERENT
572fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
573ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
574ade299d8SYoichi Yuasa	select SIBYTE_SB1250
575ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
576ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
577ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
578ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
579ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
580ade299d8SYoichi Yuasa
581ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
582ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
583ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
584ade299d8SYoichi Yuasa	select BOOT_ELF32
585ade299d8SYoichi Yuasa	select DMA_COHERENT
586ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
587ade299d8SYoichi Yuasa	select SIBYTE_SB1250
588ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
589ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
590ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
591ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
592ade299d8SYoichi Yuasa
593ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
594ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
595ade299d8SYoichi Yuasa	select BOOT_ELF32
596ade299d8SYoichi Yuasa	select DMA_COHERENT
597ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
598ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
599ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
600ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
601ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
602651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
603ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
604cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
605ade299d8SYoichi Yuasa
60614b36af4SThomas Bogendoerferconfig SNI_RM
60714b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
6084a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
6094a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
610231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
6115e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
6125e83d430SRalf Baechle	select BOOT_ELF32
61342f77542SRalf Baechle	select CEVT_R4K
614940f6b48SRalf Baechle	select CSRC_R4K
615e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
6165e83d430SRalf Baechle	select DMA_NONCOHERENT
6175e83d430SRalf Baechle	select GENERIC_ISA_DMA
6185e83d430SRalf Baechle	select HW_HAS_EISA
6195e83d430SRalf Baechle	select HW_HAS_PCI
620c066a32aSThomas Bogendoerfer	select IRQ_CPU
621d865bea4SRalf Baechle	select I8253
6225e83d430SRalf Baechle	select I8259
6235e83d430SRalf Baechle	select ISA
6244a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
6257cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
6264a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
627c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
6284a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
62936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
630ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
6315e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
6324a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
6335e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6345e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6351da177e4SLinus Torvalds	help
63614b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
63714b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
6385e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
6395e83d430SRalf Baechle	  support this machine type.
6401da177e4SLinus Torvalds
641edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
642edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
6435e83d430SRalf Baechle
644edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
645edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
64623fbee9dSRalf Baechle
64773b4390fSRalf Baechleconfig MIKROTIK_RB532
64873b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
64973b4390fSRalf Baechle	select CEVT_R4K
65073b4390fSRalf Baechle	select CSRC_R4K
65173b4390fSRalf Baechle	select DMA_NONCOHERENT
65273b4390fSRalf Baechle	select HW_HAS_PCI
65373b4390fSRalf Baechle	select IRQ_CPU
65473b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
65573b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
65673b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
65773b4390fSRalf Baechle	select SWAP_IO_SPACE
65873b4390fSRalf Baechle	select BOOT_RAW
659d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
66073b4390fSRalf Baechle	help
66173b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
66273b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
66373b4390fSRalf Baechle
664ade299d8SYoichi Yuasaconfig WR_PPMC
665ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
66642f77542SRalf Baechle	select CEVT_R4K
667940f6b48SRalf Baechle	select CSRC_R4K
668ade299d8SYoichi Yuasa	select IRQ_CPU
669ade299d8SYoichi Yuasa	select BOOT_ELF32
670ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
671ade299d8SYoichi Yuasa	select HW_HAS_PCI
672ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
673ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
674ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
675ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
676ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
677ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
678ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
679ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
680ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
681ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
682ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
683ade299d8SYoichi Yuasa	help
684ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
685ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
686ade299d8SYoichi Yuasa
687a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_SIMULATOR
688c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon Simulator"
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
6965e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
697a86c7f72SDavid Daney	help
698a86c7f72SDavid Daney	  The Octeon simulator is software performance model of the Cavium
699a86c7f72SDavid Daney	  Octeon Processor. It supports simulating Octeon processors on x86
700a86c7f72SDavid Daney	  hardware.
701a86c7f72SDavid Daney
702a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_REFERENCE_BOARD
703c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon reference board"
704a86c7f72SDavid Daney	select CEVT_R4K
705a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
706a86c7f72SDavid Daney	select DMA_COHERENT
707a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
708a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
709a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
710773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
711a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
7125e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
713a86c7f72SDavid Daney	select SWAP_IO_SPACE
714e8635b48SDavid Daney	select HW_HAS_PCI
715e8635b48SDavid Daney	select ARCH_SUPPORTS_MSI
716f00e001eSDavid Daney	select ZONE_DMA32
717340fbb8bSDavid Daney	select USB_ARCH_HAS_OHCI
718340fbb8bSDavid Daney	select USB_ARCH_HAS_EHCI
719a86c7f72SDavid Daney	help
720a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
721a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
722a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
723a86c7f72SDavid Daney	  Some of the supported boards are:
724a86c7f72SDavid Daney		EBT3000
725a86c7f72SDavid Daney		EBH3000
726a86c7f72SDavid Daney		EBH3100
727a86c7f72SDavid Daney		Thunder
728a86c7f72SDavid Daney		Kodama
729a86c7f72SDavid Daney		Hikari
730a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
731a86c7f72SDavid Daney
7321da177e4SLinus Torvaldsendchoice
7331da177e4SLinus Torvalds
734e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
735*d4a67d9dSGabor Juhossource "arch/mips/ath79/Kconfig"
736e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig"
7375e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
7385ebabe59SLars-Peter Clausensource "arch/mips/jz4740/Kconfig"
7391f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
7405e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
741a3a0f8c8SDavid VomLehnsource "arch/mips/powertv/Kconfig"
74229c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
74338b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
74422b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
7455e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
746a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
74785749d24SWu Zhangjinsource "arch/mips/loongson/Kconfig"
74838b18f72SRalf Baechle
7495e83d430SRalf Baechleendmenu
7505e83d430SRalf Baechle
7511da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
7521da177e4SLinus Torvalds	bool
7531da177e4SLinus Torvalds	default y
7541da177e4SLinus Torvalds
7551da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
7561da177e4SLinus Torvalds	bool
7571da177e4SLinus Torvalds
758f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
759f0d1b0b3SDavid Howells	bool
760f0d1b0b3SDavid Howells	default n
761f0d1b0b3SDavid Howells
762f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
763f0d1b0b3SDavid Howells	bool
764f0d1b0b3SDavid Howells	default n
765f0d1b0b3SDavid Howells
76600a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
76700a58253SRalf Baechle	bool
76800a58253SRalf Baechle	default y if !MIPS_MT_SMTC
76900a58253SRalf Baechle
7703c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7713c9ee7efSAkinobu Mita	bool
7723c9ee7efSAkinobu Mita	default y
7733c9ee7efSAkinobu Mita
7743c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7753c9ee7efSAkinobu Mita	bool
7763c9ee7efSAkinobu Mita	default y
7773c9ee7efSAkinobu Mita
7781da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7791da177e4SLinus Torvalds	bool
7801da177e4SLinus Torvalds	default y
7811da177e4SLinus Torvalds
7827bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7837bcf7717SRalf Baechle	bool
7847bcf7717SRalf Baechle	default y
7857bcf7717SRalf Baechle
786f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
787f5ff0a28SRalf Baechle	bool
788f5ff0a28SRalf Baechle	default y
789f5ff0a28SRalf Baechle
790ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
7911cc89038SAtsushi Nemoto	bool
7921cc89038SAtsushi Nemoto	default y
7931cc89038SAtsushi Nemoto
794e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
795c87e0909SRalf Baechle	def_bool y
796e77c232cSFranck Bui-Huu
7971da177e4SLinus Torvalds#
7981da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7991da177e4SLinus Torvalds#
8001da177e4SLinus Torvaldsconfig ARC
8011da177e4SLinus Torvalds	bool
8021da177e4SLinus Torvalds
80361ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
80461ed242dSRalf Baechle	bool
80561ed242dSRalf Baechle
8069267a30dSMarc St-Jeanconfig BOOT_RAW
8079267a30dSMarc St-Jean	bool
8089267a30dSMarc St-Jean
809217dd11eSRalf Baechleconfig CEVT_BCM1480
810217dd11eSRalf Baechle	bool
811217dd11eSRalf Baechle
8126457d9fcSYoichi Yuasaconfig CEVT_DS1287
8136457d9fcSYoichi Yuasa	bool
8146457d9fcSYoichi Yuasa
8151097c6acSYoichi Yuasaconfig CEVT_GT641XX
8161097c6acSYoichi Yuasa	bool
8171097c6acSYoichi Yuasa
818779e7d41SManuel Laussconfig CEVT_R4K_LIB
819779e7d41SManuel Lauss	bool
820779e7d41SManuel Lauss
82142f77542SRalf Baechleconfig CEVT_R4K
822779e7d41SManuel Lauss	select CEVT_R4K_LIB
82342f77542SRalf Baechle	bool
82442f77542SRalf Baechle
825217dd11eSRalf Baechleconfig CEVT_SB1250
826217dd11eSRalf Baechle	bool
827217dd11eSRalf Baechle
828229f773eSAtsushi Nemotoconfig CEVT_TXX9
829229f773eSAtsushi Nemoto	bool
830229f773eSAtsushi Nemoto
831217dd11eSRalf Baechleconfig CSRC_BCM1480
832217dd11eSRalf Baechle	bool
833217dd11eSRalf Baechle
8344247417dSYoichi Yuasaconfig CSRC_IOASIC
8354247417dSYoichi Yuasa	bool
8364247417dSYoichi Yuasa
837a3a0f8c8SDavid VomLehnconfig CSRC_POWERTV
838a3a0f8c8SDavid VomLehn	bool
839a3a0f8c8SDavid VomLehn
840779e7d41SManuel Laussconfig CSRC_R4K_LIB
841779e7d41SManuel Lauss	bool
842779e7d41SManuel Lauss
843940f6b48SRalf Baechleconfig CSRC_R4K
844779e7d41SManuel Lauss	select CSRC_R4K_LIB
845940f6b48SRalf Baechle	bool
846940f6b48SRalf Baechle
847217dd11eSRalf Baechleconfig CSRC_SB1250
848217dd11eSRalf Baechle	bool
849217dd11eSRalf Baechle
850a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
851a9aec7feSAtsushi Nemoto	select GENERIC_GPIO
8527444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
853a9aec7feSAtsushi Nemoto	bool
854a9aec7feSAtsushi Nemoto
855df78b5c8SAurelien Jarnoconfig CFE
856df78b5c8SAurelien Jarno	bool
857df78b5c8SAurelien Jarno
8581da177e4SLinus Torvaldsconfig DMA_COHERENT
8591da177e4SLinus Torvalds	bool
8601da177e4SLinus Torvalds
8611da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
8621da177e4SLinus Torvalds	bool
863e1e02b32SFUJITA Tomonori	select NEED_DMA_MAP_STATE
8644ce588cdSRalf Baechle
865e1e02b32SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
8664ce588cdSRalf Baechle	bool
8671da177e4SLinus Torvalds
86836a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
8691da177e4SLinus Torvalds	bool
8701da177e4SLinus Torvalds
871dbb74540SRalf Baechleconfig HOTPLUG_CPU
8721b2bc75cSRalf Baechle	bool "Support for hot-pluggable CPUs"
8731b2bc75cSRalf Baechle	depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
8741b2bc75cSRalf Baechle	help
8751b2bc75cSRalf Baechle	  Say Y here to allow turning CPUs off and on. CPUs can be
8761b2bc75cSRalf Baechle	  controlled through /sys/devices/system/cpu.
8771b2bc75cSRalf Baechle	  (Note: power management support will enable this option
8781b2bc75cSRalf Baechle	    automatically on SMP systems. )
8791b2bc75cSRalf Baechle	  Say N if you want to disable CPU hotplug.
8801b2bc75cSRalf Baechle
8811b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU
882dbb74540SRalf Baechle	bool
883dbb74540SRalf Baechle
8841da177e4SLinus Torvaldsconfig I8259
8851da177e4SLinus Torvalds	bool
8861da177e4SLinus Torvalds
8871da177e4SLinus Torvaldsconfig MIPS_BONITO64
8881da177e4SLinus Torvalds	bool
8891da177e4SLinus Torvalds
8901da177e4SLinus Torvaldsconfig MIPS_MSC
8911da177e4SLinus Torvalds	bool
8921da177e4SLinus Torvalds
8931f21d2bdSBrian Murphyconfig MIPS_NILE4
8941f21d2bdSBrian Murphy	bool
8951f21d2bdSBrian Murphy
8961da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8971da177e4SLinus Torvalds	bool
8981da177e4SLinus Torvalds
89939b8d525SRalf Baechleconfig SYNC_R4K
90039b8d525SRalf Baechle	bool
90139b8d525SRalf Baechle
902487d70d0SGabor Juhosconfig MIPS_MACHINE
903487d70d0SGabor Juhos	def_bool n
904487d70d0SGabor Juhos
905d388d685SMaciej W. Rozyckiconfig NO_IOPORT
906d388d685SMaciej W. Rozycki	def_bool n
907d388d685SMaciej W. Rozycki
9088313da30SRalf Baechleconfig GENERIC_ISA_DMA
9098313da30SRalf Baechle	bool
9108313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
911a35bee8aSNamhyung Kim	select ISA_DMA_API
9128313da30SRalf Baechle
913aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
914aa414dffSRalf Baechle	bool
9158313da30SRalf Baechle	select GENERIC_ISA_DMA
916aa414dffSRalf Baechle
917a35bee8aSNamhyung Kimconfig ISA_DMA_API
918a35bee8aSNamhyung Kim	bool
919a35bee8aSNamhyung Kim
92009663335SYoichi Yuasaconfig GENERIC_GPIO
92109663335SYoichi Yuasa	bool
92209663335SYoichi Yuasa
9235e83d430SRalf Baechle#
9243cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
9255e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
9265e83d430SRalf Baechle# choice statement should be more obvious to the user.
9275e83d430SRalf Baechle#
9285e83d430SRalf Baechlechoice
9295e83d430SRalf Baechle	prompt "Endianess selection"
9301da177e4SLinus Torvalds	help
9311da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
9325e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
9333cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
9345e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
9353dde6ad8SDavid Sterba	  one or the other endianness.
9365e83d430SRalf Baechle
9375e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
9385e83d430SRalf Baechle	bool "Big endian"
9395e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
9405e83d430SRalf Baechle
9415e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
9425e83d430SRalf Baechle	bool "Little endian"
9435e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
9445e83d430SRalf Baechle	help
9455e83d430SRalf Baechle
9465e83d430SRalf Baechleendchoice
9475e83d430SRalf Baechle
94822b0763aSDavid Daneyconfig EXPORT_UASM
94922b0763aSDavid Daney	bool
95022b0763aSDavid Daney
9512116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
9522116245eSRalf Baechle	bool
9532116245eSRalf Baechle
9545e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
9555e83d430SRalf Baechle	bool
9565e83d430SRalf Baechle
9575e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
9585e83d430SRalf Baechle	bool
9591da177e4SLinus Torvalds
9609cffd154SDavid Daneyconfig SYS_SUPPORTS_HUGETLBFS
9619cffd154SDavid Daney	bool
9629cffd154SDavid Daney	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
9639cffd154SDavid Daney	default y
9649cffd154SDavid Daney
9651da177e4SLinus Torvaldsconfig IRQ_CPU
9661da177e4SLinus Torvalds	bool
9671da177e4SLinus Torvalds
9681da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
9691da177e4SLinus Torvalds	bool
9701da177e4SLinus Torvalds
9715e83d430SRalf Baechleconfig IRQ_CPU_RM9K
9725e83d430SRalf Baechle	bool
9735e83d430SRalf Baechle
9749267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
9759267a30dSMarc St-Jean	bool
9769267a30dSMarc St-Jean
9779267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
9789267a30dSMarc St-Jean	bool
9799267a30dSMarc St-Jean
9808420fd00SAtsushi Nemotoconfig IRQ_TXX9
9818420fd00SAtsushi Nemoto	bool
9828420fd00SAtsushi Nemoto
983d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
984d5ab1a69SYoichi Yuasa	bool
985d5ab1a69SYoichi Yuasa
98639b8d525SRalf Baechleconfig IRQ_GIC
98739b8d525SRalf Baechle	bool
98839b8d525SRalf Baechle
989a86c7f72SDavid Daneyconfig IRQ_CPU_OCTEON
990a86c7f72SDavid Daney	bool
991a86c7f72SDavid Daney
9921da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
9931da177e4SLinus Torvalds	bool
9941da177e4SLinus Torvalds
995252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
9961da177e4SLinus Torvalds	bool
9971da177e4SLinus Torvalds
9989267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
9999267a30dSMarc St-Jean	bool
10009267a30dSMarc St-Jean
1001663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
1002663c3d90Sthomas@koeller.dyndns.org	bool
1003663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
1004663c3d90Sthomas@koeller.dyndns.org
1005a83860c2SRalf Baechleconfig SOC_EMMA2RH
1006a83860c2SRalf Baechle	bool
1007a83860c2SRalf Baechle	select CEVT_R4K
1008a83860c2SRalf Baechle	select CSRC_R4K
1009a83860c2SRalf Baechle	select DMA_NONCOHERENT
1010a83860c2SRalf Baechle	select IRQ_CPU
1011a83860c2SRalf Baechle	select SWAP_IO_SPACE
1012a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
1013a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1014a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
1015a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1016a83860c2SRalf Baechle
1017edb6310aSDaniel Lairdconfig SOC_PNX833X
1018edb6310aSDaniel Laird	bool
1019edb6310aSDaniel Laird	select CEVT_R4K
1020edb6310aSDaniel Laird	select CSRC_R4K
1021edb6310aSDaniel Laird	select IRQ_CPU
1022edb6310aSDaniel Laird	select DMA_NONCOHERENT
1023edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
1024edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
1025edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
1026edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
1027edb6310aSDaniel Laird	select GENERIC_GPIO
1028edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
1029edb6310aSDaniel Laird
1030edb6310aSDaniel Lairdconfig SOC_PNX8335
1031edb6310aSDaniel Laird	bool
1032edb6310aSDaniel Laird	select SOC_PNX833X
1033edb6310aSDaniel Laird
1034bdf21b18SPete Popovconfig PNX8550
1035bdf21b18SPete Popov	bool
1036bdf21b18SPete Popov	select SOC_PNX8550
1037bdf21b18SPete Popov
1038bdf21b18SPete Popovconfig SOC_PNX8550
1039bdf21b18SPete Popov	bool
1040bdf21b18SPete Popov	select DMA_NONCOHERENT
1041bdf21b18SPete Popov	select HW_HAS_PCI
1042b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
104336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
10447cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
10454ead1681SFlorian Fainelli	select GENERIC_GPIO
1046bdf21b18SPete Popov
10471da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
10481da177e4SLinus Torvalds	bool
10491da177e4SLinus Torvalds
1050663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
1051663c3d90Sthomas@koeller.dyndns.org	bool
1052663c3d90Sthomas@koeller.dyndns.org
1053e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
1054e2defae5SThomas Bogendoerfer	bool
1055e2defae5SThomas Bogendoerfer
10565b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
10575b438c44SThomas Bogendoerfer	bool
10585b438c44SThomas Bogendoerfer
1059e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
1060e2defae5SThomas Bogendoerfer	bool
1061e2defae5SThomas Bogendoerfer
1062e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
1063e2defae5SThomas Bogendoerfer	bool
1064e2defae5SThomas Bogendoerfer
1065e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
1066e2defae5SThomas Bogendoerfer	bool
1067e2defae5SThomas Bogendoerfer
1068e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1069e2defae5SThomas Bogendoerfer	bool
1070e2defae5SThomas Bogendoerfer
1071e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1072e2defae5SThomas Bogendoerfer	bool
1073e2defae5SThomas Bogendoerfer
10745e83d430SRalf Baechleconfig ARC32
10755e83d430SRalf Baechle	bool
10765e83d430SRalf Baechle
1077231a35d3SThomas Bogendoerferconfig SNIPROM
1078231a35d3SThomas Bogendoerfer	bool
1079231a35d3SThomas Bogendoerfer
10801da177e4SLinus Torvaldsconfig BOOT_ELF32
10811da177e4SLinus Torvalds	bool
10821da177e4SLinus Torvalds
10831da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
10841da177e4SLinus Torvalds	int
1085c7088755SRalf Baechle	default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
10860db2b74eSRalf Baechle	default "6" if MIPS_CPU_SCACHE
1087a86c7f72SDavid Daney	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
10881da177e4SLinus Torvalds	default "5"
10891da177e4SLinus Torvalds
10901da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
10911da177e4SLinus Torvalds	bool
10921da177e4SLinus Torvalds
10931da177e4SLinus Torvaldsconfig ARC_CONSOLE
10941da177e4SLinus Torvalds	bool "ARC console support"
1095e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
10961da177e4SLinus Torvalds
10971da177e4SLinus Torvaldsconfig ARC_MEMORY
10981da177e4SLinus Torvalds	bool
109914b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
11001da177e4SLinus Torvalds	default y
11011da177e4SLinus Torvalds
11021da177e4SLinus Torvaldsconfig ARC_PROMLIB
11031da177e4SLinus Torvalds	bool
1104e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
11051da177e4SLinus Torvalds	default y
11061da177e4SLinus Torvalds
11071da177e4SLinus Torvaldsconfig ARC64
11081da177e4SLinus Torvalds	bool
11091da177e4SLinus Torvalds
11101da177e4SLinus Torvaldsconfig BOOT_ELF64
11111da177e4SLinus Torvalds	bool
11121da177e4SLinus Torvalds
11131da177e4SLinus Torvaldsmenu "CPU selection"
11141da177e4SLinus Torvalds
11151da177e4SLinus Torvaldschoice
11161da177e4SLinus Torvalds	prompt "CPU type"
11171da177e4SLinus Torvalds	default CPU_R4X00
11181da177e4SLinus Torvalds
11193702bba5SWu Zhangjinconfig CPU_LOONGSON2E
11203702bba5SWu Zhangjin	bool "Loongson 2E"
11213702bba5SWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2E
11223702bba5SWu Zhangjin	select CPU_LOONGSON2
11232a21c730SFuxin Zhang	help
11242a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
11252a21c730SFuxin Zhang	  with many extensions.
11262a21c730SFuxin Zhang
11276f7a251aSWu Zhangjin	  It has an internal FPGA northbridge, which is compatiable to
11286f7a251aSWu Zhangjin	  bonito64.
11296f7a251aSWu Zhangjin
11306f7a251aSWu Zhangjinconfig CPU_LOONGSON2F
11316f7a251aSWu Zhangjin	bool "Loongson 2F"
11326f7a251aSWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2F
11336f7a251aSWu Zhangjin	select CPU_LOONGSON2
1134c197da91SArnaud Patard	select GENERIC_GPIO
1135c197da91SArnaud Patard	select ARCH_REQUIRE_GPIOLIB
11366f7a251aSWu Zhangjin	help
11376f7a251aSWu Zhangjin	  The Loongson 2F processor implements the MIPS III instruction set
11386f7a251aSWu Zhangjin	  with many extensions.
11396f7a251aSWu Zhangjin
11406f7a251aSWu Zhangjin	  Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
11416f7a251aSWu Zhangjin	  have a similar programming interface with FPGA northbridge used in
11426f7a251aSWu Zhangjin	  Loongson2E.
11436f7a251aSWu Zhangjin
11446e760c8dSRalf Baechleconfig CPU_MIPS32_R1
11456e760c8dSRalf Baechle	bool "MIPS32 Release 1"
11467cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
11476e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1148797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1149ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11506e760c8dSRalf Baechle	help
11515e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11521e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11531e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11541e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11551e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11561e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
11571e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
11581e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
11591e5f1caaSRalf Baechle	  performance.
11601e5f1caaSRalf Baechle
11611e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
11621e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
11637cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
11641e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1165797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1166ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11671e5f1caaSRalf Baechle	help
11685e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11696e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11706e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11716e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11726e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11731da177e4SLinus Torvalds
11746e760c8dSRalf Baechleconfig CPU_MIPS64_R1
11756e760c8dSRalf Baechle	bool "MIPS64 Release 1"
11767cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1177797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1178ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1179ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1180ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11819cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11826e760c8dSRalf Baechle	help
11836e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11846e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11856e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11866e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11876e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11881e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
11891e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
11901e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
11911e5f1caaSRalf Baechle	  performance.
11921e5f1caaSRalf Baechle
11931e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
11941e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
11957cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1196797798c1SRalf Baechle	select CPU_HAS_PREFETCH
11971e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11981e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1199ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12009cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
12011e5f1caaSRalf Baechle	help
12021e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
12031e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
12041e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
12051e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
12061e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
12071da177e4SLinus Torvalds
12081da177e4SLinus Torvaldsconfig CPU_R3000
12091da177e4SLinus Torvalds	bool "R3000"
12107cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1211f7062ddbSRalf Baechle	select CPU_HAS_WB
1212ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1213797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12141da177e4SLinus Torvalds	help
12151da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
12161da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
12171da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
12181da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
12191da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
12201da177e4SLinus Torvalds	  try to recompile with R3000.
12211da177e4SLinus Torvalds
12221da177e4SLinus Torvaldsconfig CPU_TX39XX
12231da177e4SLinus Torvalds	bool "R39XX"
12247cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1225ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12261da177e4SLinus Torvalds
12271da177e4SLinus Torvaldsconfig CPU_VR41XX
12281da177e4SLinus Torvalds	bool "R41xx"
12297cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1230ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1231ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12321da177e4SLinus Torvalds	help
12335e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
12341da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
12351da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
12361da177e4SLinus Torvalds	  processor or vice versa.
12371da177e4SLinus Torvalds
12381da177e4SLinus Torvaldsconfig CPU_R4300
12391da177e4SLinus Torvalds	bool "R4300"
12407cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1241ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1242ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12431da177e4SLinus Torvalds	help
12441da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
12451da177e4SLinus Torvalds
12461da177e4SLinus Torvaldsconfig CPU_R4X00
12471da177e4SLinus Torvalds	bool "R4x00"
12487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1249ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1250ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12511da177e4SLinus Torvalds	help
12521da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
12531da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
12541da177e4SLinus Torvalds
12551da177e4SLinus Torvaldsconfig CPU_TX49XX
12561da177e4SLinus Torvalds	bool "R49XX"
12577cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1258de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1259ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1260ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12611da177e4SLinus Torvalds
12621da177e4SLinus Torvaldsconfig CPU_R5000
12631da177e4SLinus Torvalds	bool "R5000"
12647cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1265ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1266ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12671da177e4SLinus Torvalds	help
12681da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
12691da177e4SLinus Torvalds
12701da177e4SLinus Torvaldsconfig CPU_R5432
12711da177e4SLinus Torvalds	bool "R5432"
12727cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
12735e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
12745e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
12751da177e4SLinus Torvalds
1276542c1020SShinya Kuribayashiconfig CPU_R5500
1277542c1020SShinya Kuribayashi	bool "R5500"
1278542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1279542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1280542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
12819cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1282542c1020SShinya Kuribayashi	help
1283542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1284542c1020SShinya Kuribayashi	  instruction set.
1285542c1020SShinya Kuribayashi
12861da177e4SLinus Torvaldsconfig CPU_R6000
12871da177e4SLinus Torvalds	bool "R6000"
1288ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12897cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1290ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12911da177e4SLinus Torvalds	help
12921da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1293c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
12941da177e4SLinus Torvalds
12951da177e4SLinus Torvaldsconfig CPU_NEVADA
12961da177e4SLinus Torvalds	bool "RM52xx"
12977cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1298ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1299ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
13001da177e4SLinus Torvalds	help
13011da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
13021da177e4SLinus Torvalds
13031da177e4SLinus Torvaldsconfig CPU_R8000
13041da177e4SLinus Torvalds	bool "R8000"
1305ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
13067cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
13075e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1308ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
13091da177e4SLinus Torvalds	help
13101da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
13111da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
13121da177e4SLinus Torvalds
13131da177e4SLinus Torvaldsconfig CPU_R10000
13141da177e4SLinus Torvalds	bool "R10000"
13157cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
13165e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1317ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1318ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1319797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13201da177e4SLinus Torvalds	help
13211da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
13221da177e4SLinus Torvalds
13231da177e4SLinus Torvaldsconfig CPU_RM7000
13241da177e4SLinus Torvalds	bool "RM7000"
13257cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
13265e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1327ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1328ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1329797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13301da177e4SLinus Torvalds
13311da177e4SLinus Torvaldsconfig CPU_RM9000
13321da177e4SLinus Torvalds	bool "RM9000"
13337cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
13345e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1335ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1336ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1337797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13380004a9dfSRalf Baechle	select WEAK_ORDERING
13391da177e4SLinus Torvalds
13401da177e4SLinus Torvaldsconfig CPU_SB1
13411da177e4SLinus Torvalds	bool "SB1"
13427cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1343ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1344ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1345797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13460004a9dfSRalf Baechle	select WEAK_ORDERING
13471da177e4SLinus Torvalds
1348a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1349a86c7f72SDavid Daney	bool "Cavium Octeon processor"
13505e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1351a86c7f72SDavid Daney	select IRQ_CPU
1352a86c7f72SDavid Daney	select IRQ_CPU_OCTEON
1353a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1354a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1355a86c7f72SDavid Daney	select SYS_SUPPORTS_SMP
1356a86c7f72SDavid Daney	select NR_CPUS_DEFAULT_16
1357a86c7f72SDavid Daney	select WEAK_ORDERING
1358a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
13599cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1360a86c7f72SDavid Daney	help
1361a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1362a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1363a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1364a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1365a86c7f72SDavid Daney
1366c1c0c461SKevin Cernekeeconfig CPU_BMIPS3300
1367c1c0c461SKevin Cernekee	bool "BMIPS3300"
1368c1c0c461SKevin Cernekee	depends on SYS_HAS_CPU_BMIPS3300
1369c1c0c461SKevin Cernekee	select DMA_NONCOHERENT
1370c1c0c461SKevin Cernekee	select IRQ_CPU
1371c1c0c461SKevin Cernekee	select SWAP_IO_SPACE
1372c1c0c461SKevin Cernekee	select SYS_SUPPORTS_32BIT_KERNEL
1373c1c0c461SKevin Cernekee	select WEAK_ORDERING
1374c1c0c461SKevin Cernekee	help
1375c1c0c461SKevin Cernekee	  Broadcom BMIPS3300 processors.
1376c1c0c461SKevin Cernekee
1377c1c0c461SKevin Cernekeeconfig CPU_BMIPS4350
1378c1c0c461SKevin Cernekee	bool "BMIPS4350"
1379c1c0c461SKevin Cernekee	depends on SYS_HAS_CPU_BMIPS4350
1380c1c0c461SKevin Cernekee	select CPU_SUPPORTS_32BIT_KERNEL
1381c1c0c461SKevin Cernekee	select DMA_NONCOHERENT
1382c1c0c461SKevin Cernekee	select IRQ_CPU
1383c1c0c461SKevin Cernekee	select SWAP_IO_SPACE
1384c1c0c461SKevin Cernekee	select SYS_SUPPORTS_SMP
1385c1c0c461SKevin Cernekee	select SYS_SUPPORTS_HOTPLUG_CPU
1386c1c0c461SKevin Cernekee	select WEAK_ORDERING
1387c1c0c461SKevin Cernekee	help
1388c1c0c461SKevin Cernekee	  Broadcom BMIPS4350 ("VIPER") processors.
1389c1c0c461SKevin Cernekee
1390c1c0c461SKevin Cernekeeconfig CPU_BMIPS4380
1391c1c0c461SKevin Cernekee	bool "BMIPS4380"
1392c1c0c461SKevin Cernekee	depends on SYS_HAS_CPU_BMIPS4380
1393c1c0c461SKevin Cernekee	select CPU_SUPPORTS_32BIT_KERNEL
1394c1c0c461SKevin Cernekee	select DMA_NONCOHERENT
1395c1c0c461SKevin Cernekee	select IRQ_CPU
1396c1c0c461SKevin Cernekee	select SWAP_IO_SPACE
1397c1c0c461SKevin Cernekee	select SYS_SUPPORTS_SMP
1398c1c0c461SKevin Cernekee	select SYS_SUPPORTS_HOTPLUG_CPU
1399c1c0c461SKevin Cernekee	select WEAK_ORDERING
1400c1c0c461SKevin Cernekee	help
1401c1c0c461SKevin Cernekee	  Broadcom BMIPS4380 processors.
1402c1c0c461SKevin Cernekee
1403c1c0c461SKevin Cernekeeconfig CPU_BMIPS5000
1404c1c0c461SKevin Cernekee	bool "BMIPS5000"
1405c1c0c461SKevin Cernekee	depends on SYS_HAS_CPU_BMIPS5000
1406c1c0c461SKevin Cernekee	select CPU_SUPPORTS_32BIT_KERNEL
1407c1c0c461SKevin Cernekee	select CPU_SUPPORTS_HIGHMEM
1408c1c0c461SKevin Cernekee	select DMA_NONCOHERENT
1409c1c0c461SKevin Cernekee	select IRQ_CPU
1410c1c0c461SKevin Cernekee	select SWAP_IO_SPACE
1411c1c0c461SKevin Cernekee	select SYS_SUPPORTS_SMP
1412c1c0c461SKevin Cernekee	select SYS_SUPPORTS_HOTPLUG_CPU
1413c1c0c461SKevin Cernekee	select WEAK_ORDERING
1414c1c0c461SKevin Cernekee	help
1415c1c0c461SKevin Cernekee	  Broadcom BMIPS5000 processors.
1416c1c0c461SKevin Cernekee
14171da177e4SLinus Torvaldsendchoice
14181da177e4SLinus Torvalds
1419622844bfSWu Zhangjinif CPU_LOONGSON2F
1420622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS
1421622844bfSWu Zhangjin	bool
1422622844bfSWu Zhangjin
1423622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS
1424622844bfSWu Zhangjin	bool
1425622844bfSWu Zhangjin
1426622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS
1427622844bfSWu Zhangjin	bool "Loongson 2F Workarounds"
1428622844bfSWu Zhangjin	default y
1429622844bfSWu Zhangjin	select CPU_NOP_WORKAROUNDS
1430622844bfSWu Zhangjin	select CPU_JUMP_WORKAROUNDS
1431622844bfSWu Zhangjin	help
1432622844bfSWu Zhangjin	  Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1433622844bfSWu Zhangjin	  require workarounds.  Without workarounds the system may hang
1434622844bfSWu Zhangjin	  unexpectedly.  For more information please refer to the gas
1435622844bfSWu Zhangjin	  -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1436622844bfSWu Zhangjin
1437622844bfSWu Zhangjin	  Loongson 2F03 and later have fixed these issues and no workarounds
1438622844bfSWu Zhangjin	  are needed.  The workarounds have no significant side effect on them
1439622844bfSWu Zhangjin	  but may decrease the performance of the system so this option should
1440622844bfSWu Zhangjin	  be disabled unless the kernel is intended to be run on 2F01 or 2F02
1441622844bfSWu Zhangjin	  systems.
1442622844bfSWu Zhangjin
1443622844bfSWu Zhangjin	  If unsure, please say Y.
1444622844bfSWu Zhangjinendif # CPU_LOONGSON2F
1445622844bfSWu Zhangjin
14461b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT
14471b93b3c3SWu Zhangjin	bool
14481b93b3c3SWu Zhangjin	select HAVE_KERNEL_GZIP
14491b93b3c3SWu Zhangjin	select HAVE_KERNEL_BZIP2
14501b93b3c3SWu Zhangjin	select HAVE_KERNEL_LZMA
1451fe1d45e0SWu Zhangjin	select HAVE_KERNEL_LZO
14521b93b3c3SWu Zhangjin
14531b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550
14541b93b3c3SWu Zhangjin	bool
14551b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
14561b93b3c3SWu Zhangjin
14573702bba5SWu Zhangjinconfig CPU_LOONGSON2
14583702bba5SWu Zhangjin	bool
14593702bba5SWu Zhangjin	select CPU_SUPPORTS_32BIT_KERNEL
14603702bba5SWu Zhangjin	select CPU_SUPPORTS_64BIT_KERNEL
14613702bba5SWu Zhangjin	select CPU_SUPPORTS_HIGHMEM
14623702bba5SWu Zhangjin
14633702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E
14642a21c730SFuxin Zhang	bool
14652a21c730SFuxin Zhang
14666f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F
14676f7a251aSWu Zhangjin	bool
146855045ff5SWu Zhangjin	select CPU_SUPPORTS_CPUFREQ
146955045ff5SWu Zhangjin	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
147022f1fdfdSWu Zhangjin	select CPU_SUPPORTS_UNCACHED_ACCELERATED
14716f7a251aSWu Zhangjin
14727cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
14737cf8053bSRalf Baechle	bool
14747cf8053bSRalf Baechle
14757cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
14767cf8053bSRalf Baechle	bool
14777cf8053bSRalf Baechle
14787cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
14797cf8053bSRalf Baechle	bool
14807cf8053bSRalf Baechle
14817cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
14827cf8053bSRalf Baechle	bool
14837cf8053bSRalf Baechle
14847cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
14857cf8053bSRalf Baechle	bool
14867cf8053bSRalf Baechle
14877cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
14887cf8053bSRalf Baechle	bool
14897cf8053bSRalf Baechle
14907cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
14917cf8053bSRalf Baechle	bool
14927cf8053bSRalf Baechle
14937cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
14947cf8053bSRalf Baechle	bool
14957cf8053bSRalf Baechle
14967cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
14977cf8053bSRalf Baechle	bool
14987cf8053bSRalf Baechle
14997cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
15007cf8053bSRalf Baechle	bool
15017cf8053bSRalf Baechle
15027cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
15037cf8053bSRalf Baechle	bool
15047cf8053bSRalf Baechle
15057cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
15067cf8053bSRalf Baechle	bool
15077cf8053bSRalf Baechle
1508542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1509542c1020SShinya Kuribayashi	bool
1510542c1020SShinya Kuribayashi
15117cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
15127cf8053bSRalf Baechle	bool
15137cf8053bSRalf Baechle
15147cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
15157cf8053bSRalf Baechle	bool
15167cf8053bSRalf Baechle
15177cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
15187cf8053bSRalf Baechle	bool
15197cf8053bSRalf Baechle
15207cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
15217cf8053bSRalf Baechle	bool
15227cf8053bSRalf Baechle
15237cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
15247cf8053bSRalf Baechle	bool
15257cf8053bSRalf Baechle
15267cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
15277cf8053bSRalf Baechle	bool
15287cf8053bSRalf Baechle
15297cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
15307cf8053bSRalf Baechle	bool
15317cf8053bSRalf Baechle
15325e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
15335e683389SDavid Daney	bool
15345e683389SDavid Daney
1535c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS3300
1536c1c0c461SKevin Cernekee	bool
1537c1c0c461SKevin Cernekee
1538c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4350
1539c1c0c461SKevin Cernekee	bool
1540c1c0c461SKevin Cernekee
1541c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4380
1542c1c0c461SKevin Cernekee	bool
1543c1c0c461SKevin Cernekee
1544c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS5000
1545c1c0c461SKevin Cernekee	bool
1546c1c0c461SKevin Cernekee
154717099b11SRalf Baechle#
154817099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
154917099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
155017099b11SRalf Baechle#
15510004a9dfSRalf Baechleconfig WEAK_ORDERING
15520004a9dfSRalf Baechle	bool
155317099b11SRalf Baechle
155417099b11SRalf Baechle#
155517099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
155617099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
155717099b11SRalf Baechle#
155817099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
155917099b11SRalf Baechle	bool
15605e83d430SRalf Baechleendmenu
15615e83d430SRalf Baechle
15625e83d430SRalf Baechle#
15635e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
15645e83d430SRalf Baechle#
15655e83d430SRalf Baechleconfig CPU_MIPS32
15665e83d430SRalf Baechle	bool
15675e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
15685e83d430SRalf Baechle
15695e83d430SRalf Baechleconfig CPU_MIPS64
15705e83d430SRalf Baechle	bool
15715e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
15725e83d430SRalf Baechle
15735e83d430SRalf Baechle#
1574c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
15755e83d430SRalf Baechle#
15765e83d430SRalf Baechleconfig CPU_MIPSR1
15775e83d430SRalf Baechle	bool
15785e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
15795e83d430SRalf Baechle
15805e83d430SRalf Baechleconfig CPU_MIPSR2
15815e83d430SRalf Baechle	bool
1582a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
15835e83d430SRalf Baechle
15845e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
15855e83d430SRalf Baechle	bool
15865e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
15875e83d430SRalf Baechle	bool
15885e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
15895e83d430SRalf Baechle	bool
15905e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
15915e83d430SRalf Baechle	bool
159255045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ
159355045ff5SWu Zhangjin	bool
159455045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG
159555045ff5SWu Zhangjin	bool
15969cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES
15979cffd154SDavid Daney	bool
159822f1fdfdSWu Zhangjinconfig CPU_SUPPORTS_UNCACHED_ACCELERATED
159922f1fdfdSWu Zhangjin	bool
160082622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT
160182622284SDavid Daney	bool
160282622284SDavid Daney	default y if 64BIT && CPU_MIPSR2
16035e83d430SRalf Baechle
16048192c9eaSDavid Daney#
16058192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
16068192c9eaSDavid Daney#
16078192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
16088192c9eaSDavid Daney       bool
1609f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
16108192c9eaSDavid Daney
16115e83d430SRalf Baechlemenu "Kernel type"
16125e83d430SRalf Baechle
16135e83d430SRalf Baechlechoice
16145e83d430SRalf Baechle
16155e83d430SRalf Baechle	prompt "Kernel code model"
16165e83d430SRalf Baechle	help
16175e83d430SRalf Baechle	  You should only select this option if you have a workload that
16185e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
16195e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
16205e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
16215e83d430SRalf Baechle
16225e83d430SRalf Baechleconfig 32BIT
16235e83d430SRalf Baechle	bool "32-bit kernel"
16245e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
16255e83d430SRalf Baechle	select TRAD_SIGNALS
16265e83d430SRalf Baechle	help
16275e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
16285e83d430SRalf Baechleconfig 64BIT
16295e83d430SRalf Baechle	bool "64-bit kernel"
16305e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1631dbda6ac0SRalf Baechle	select HAVE_SYSCALL_WRAPPERS
16325e83d430SRalf Baechle	help
16335e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
16345e83d430SRalf Baechle
16355e83d430SRalf Baechleendchoice
16365e83d430SRalf Baechle
16371da177e4SLinus Torvaldschoice
16381da177e4SLinus Torvalds	prompt "Kernel page size"
16391da177e4SLinus Torvalds	default PAGE_SIZE_4KB
16401da177e4SLinus Torvalds
16411da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
16421da177e4SLinus Torvalds	bool "4kB"
1643315fe625SWu Zhangjin	depends on !CPU_LOONGSON2
16441da177e4SLinus Torvalds	help
16451da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
16461da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
16471da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
16481da177e4SLinus Torvalds	 recommended for low memory systems.
16491da177e4SLinus Torvalds
16501da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
16511da177e4SLinus Torvalds	bool "8kB"
1652c52399beSRalf Baechle	depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
16531da177e4SLinus Torvalds	help
16541da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
16551da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
1656c52399beSRalf Baechle	  only on R8000 and cnMIPS processors.  Note that you will need a
1657c52399beSRalf Baechle	  suitable Linux distribution to support this.
16581da177e4SLinus Torvalds
16591da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
16601da177e4SLinus Torvalds	bool "16kB"
1661714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
16621da177e4SLinus Torvalds	help
16631da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
16641da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1665714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1666714bfad6SRalf Baechle	  Linux distribution to support this.
16671da177e4SLinus Torvalds
1668c52399beSRalf Baechleconfig PAGE_SIZE_32KB
1669c52399beSRalf Baechle	bool "32kB"
1670c52399beSRalf Baechle	depends on CPU_CAVIUM_OCTEON
1671c52399beSRalf Baechle	help
1672c52399beSRalf Baechle	  Using 32kB page size will result in higher performance kernel at
1673c52399beSRalf Baechle	  the price of higher memory consumption.  This option is available
1674c52399beSRalf Baechle	  only on cnMIPS cores.  Note that you will need a suitable Linux
1675c52399beSRalf Baechle	  distribution to support this.
1676c52399beSRalf Baechle
16771da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
16781da177e4SLinus Torvalds	bool "64kB"
16791da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
16801da177e4SLinus Torvalds	help
16811da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
16821da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
16831da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1684714bfad6SRalf Baechle	  writing this option is still high experimental.
16851da177e4SLinus Torvalds
16861da177e4SLinus Torvaldsendchoice
16871da177e4SLinus Torvalds
1688c9bace7cSDavid Daneyconfig FORCE_MAX_ZONEORDER
1689c9bace7cSDavid Daney	int "Maximum zone order"
1690c9bace7cSDavid Daney	range 13 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
1691c9bace7cSDavid Daney	default "13" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
1692c9bace7cSDavid Daney	range 12 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
1693c9bace7cSDavid Daney	default "12" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
1694c9bace7cSDavid Daney	range 11 64
1695c9bace7cSDavid Daney	default "11"
1696c9bace7cSDavid Daney	help
1697c9bace7cSDavid Daney	  The kernel memory allocator divides physically contiguous memory
1698c9bace7cSDavid Daney	  blocks into "zones", where each zone is a power of two number of
1699c9bace7cSDavid Daney	  pages.  This option selects the largest power of two that the kernel
1700c9bace7cSDavid Daney	  keeps in the memory allocator.  If you need to allocate very large
1701c9bace7cSDavid Daney	  blocks of physically contiguous memory, then you may need to
1702c9bace7cSDavid Daney	  increase this value.
1703c9bace7cSDavid Daney
1704c9bace7cSDavid Daney	  This config option is actually maximum order plus one. For example,
1705c9bace7cSDavid Daney	  a value of 11 means that the largest free memory block is 2^10 pages.
1706c9bace7cSDavid Daney
1707c9bace7cSDavid Daney	  The page size is not necessarily 4KB.  Keep this in mind
1708c9bace7cSDavid Daney	  when choosing a value for this option.
1709c9bace7cSDavid Daney
17101da177e4SLinus Torvaldsconfig BOARD_SCACHE
17111da177e4SLinus Torvalds	bool
17121da177e4SLinus Torvalds
17131da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
17141da177e4SLinus Torvalds	bool
17151da177e4SLinus Torvalds	select BOARD_SCACHE
17161da177e4SLinus Torvalds
17179318c51aSChris Dearman#
17189318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
17199318c51aSChris Dearman#
17209318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
17219318c51aSChris Dearman	bool
17229318c51aSChris Dearman	select BOARD_SCACHE
17239318c51aSChris Dearman
17241da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
17251da177e4SLinus Torvalds	bool
17261da177e4SLinus Torvalds	select BOARD_SCACHE
17271da177e4SLinus Torvalds
17281da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
17291da177e4SLinus Torvalds	bool
17301da177e4SLinus Torvalds	select BOARD_SCACHE
17311da177e4SLinus Torvalds
17321da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
17331da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
17341da177e4SLinus Torvalds	depends on CPU_SB1
17351da177e4SLinus Torvalds	help
17361da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
17371da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
17381da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
17391da177e4SLinus Torvalds
17401da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1741c8094b53SRalf Baechle	bool
17421da177e4SLinus Torvalds
1743340ee4b9SRalf Baechlechoice
1744340ee4b9SRalf Baechle	prompt "MIPS MT options"
1745f41ae0b2SRalf Baechle
1746f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1747f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1748f41ae0b2SRalf Baechle	help
1749f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1750f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1751f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1752f41ae0b2SRalf Baechle	  option in this menu.
1753340ee4b9SRalf Baechle
175459d6ab86SRalf Baechleconfig MIPS_MT_SMP
175559d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
175659d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
175759d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1758d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
175959d6ab86SRalf Baechle	select MIPS_MT
1760f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
176159d6ab86SRalf Baechle	select SMP
17620ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
176359d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
176487353d8aSRalf Baechle	select SMP_UP
176559d6ab86SRalf Baechle	help
176625f12b33SRalf Baechle	  This is a kernel model which is known a VSMP but lately has been
176725f12b33SRalf Baechle	  marketesed into SMVP.
176825f12b33SRalf Baechle	  Virtual SMP uses the processor's VPEs  to implement virtual
176925f12b33SRalf Baechle	  processors. In currently available configuration of the 34K processor
177025f12b33SRalf Baechle	  this allows for a dual processor. Both processors will share the same
177125f12b33SRalf Baechle	  primary caches; each will obtain the half of the TLB for it's own
177225f12b33SRalf Baechle	  exclusive use. For a layman this model can be described as similar to
177325f12b33SRalf Baechle	  what Intel calls Hyperthreading.
177425f12b33SRalf Baechle
177525f12b33SRalf Baechle	  For further information see http://www.linux-mips.org/wiki/34K#VSMP
177659d6ab86SRalf Baechle
177741c594abSRalf Baechleconfig MIPS_MT_SMTC
177841c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1779f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1780f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1781f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1782f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1783d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1784f41ae0b2SRalf Baechle	select MIPS_MT
1785130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
178641c594abSRalf Baechle	select SMP
178773b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
178887353d8aSRalf Baechle	select SMP_UP
1789f41ae0b2SRalf Baechle	help
1790f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1791f41ae0b2SRalf Baechle	  marketesed into SMVP.
179225f12b33SRalf Baechle	  is presenting the available TC's of the core as processors to Linux.
179325f12b33SRalf Baechle	  On currently available 34K processors this means a Linux system will
179425f12b33SRalf Baechle	  see up to 5 processors. The implementation of the SMTC kernel differs
179525f12b33SRalf Baechle	  significantly from VSMP and cannot efficiently coexist in the same
179625f12b33SRalf Baechle	  kernel binary so the choice between VSMP and SMTC is a compile time
179725f12b33SRalf Baechle	  decision.
179825f12b33SRalf Baechle
179925f12b33SRalf Baechle	  For further information see http://www.linux-mips.org/wiki/34K#SMTC
180041c594abSRalf Baechle
1801340ee4b9SRalf Baechleendchoice
1802340ee4b9SRalf Baechle
1803f41ae0b2SRalf Baechleconfig MIPS_MT
1804f41ae0b2SRalf Baechle	bool
1805f41ae0b2SRalf Baechle
18060ab7aefcSRalf Baechleconfig SCHED_SMT
18070ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
18080ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
18090ab7aefcSRalf Baechle	default n
18100ab7aefcSRalf Baechle	help
18110ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
18120ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
18130ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
18140ab7aefcSRalf Baechle
18150ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
18160ab7aefcSRalf Baechle	bool
18170ab7aefcSRalf Baechle
18180ab7aefcSRalf Baechle
1819f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1820f41ae0b2SRalf Baechle	bool
1821f41ae0b2SRalf Baechle
1822f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1823f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1824f088fc84SRalf Baechle	default y
182507cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
182607cc0c9eSRalf Baechle
182707cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
182807cc0c9eSRalf Baechle	bool "VPE loader support."
182907cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
183007cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
183107cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
183207cc0c9eSRalf Baechle	select MIPS_MT
183307cc0c9eSRalf Baechle	help
183407cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
183507cc0c9eSRalf Baechle	  onto another VPE and running it.
1836f088fc84SRalf Baechle
18370db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
18380db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
18390db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
18408531a35eSKevin D. Kissell	default n
18410db34215SKevin D. Kissell	help
18420db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
18430db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
18440db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
18450db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
18460db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
18478531a35eSKevin D. Kissell	  impact on interrupt service overhead.
18480db34215SKevin D. Kissell
1849f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1850f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1851f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1852f571eff0SKevin D. Kissell	default n
1853f571eff0SKevin D. Kissell	help
1854f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1855f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1856f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
18578531a35eSKevin D. Kissell	  platform code.  Adds some overhead to interrupt dispatch, and
18588531a35eSKevin D. Kissell	  should be used only if you know what you are doing.
1859f571eff0SKevin D. Kissell
1860e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1861e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1862e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1863e01402b1SRalf Baechle	default y
1864e01402b1SRalf Baechle	help
1865e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1866e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1867e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1868e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1869e01402b1SRalf Baechle
1870e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1871e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1872e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1873e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
18745e83d430SRalf Baechle	help
1875e01402b1SRalf Baechle
18762600990eSRalf Baechleconfig MIPS_APSP_KSPD
18772600990eSRalf Baechle	bool "Enable KSPD"
18782600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
18792600990eSRalf Baechle	default y
18802600990eSRalf Baechle	help
18812600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
18822600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
18832600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
18842600990eSRalf Baechle	  exiting.  You probably want to say yes here.
18852600990eSRalf Baechle
18864a16ff4cSRalf Baechleconfig MIPS_CMP
18874a16ff4cSRalf Baechle	bool "MIPS CMP framework support"
18884a16ff4cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
1889eb9b5141STim Anderson	select SYNC_R4K
18904a16ff4cSRalf Baechle	select SYS_SUPPORTS_SMP
18914a16ff4cSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
18924a16ff4cSRalf Baechle	select WEAK_ORDERING
18934a16ff4cSRalf Baechle	default n
18944a16ff4cSRalf Baechle	help
18954a16ff4cSRalf Baechle	  This is a placeholder option for the GCMP work. It will need to
18964a16ff4cSRalf Baechle	  be handled differently...
18974a16ff4cSRalf Baechle
18981da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
18991da177e4SLinus Torvalds	bool
19001da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
19011da177e4SLinus Torvalds	default y
19021da177e4SLinus Torvalds
19031da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
19041da177e4SLinus Torvalds	bool
19051da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
19061da177e4SLinus Torvalds	default y
19071da177e4SLinus Torvalds
19081da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
19091da177e4SLinus Torvalds	bool
19101da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
19111da177e4SLinus Torvalds	default y
19121da177e4SLinus Torvalds
19131da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1914d806cb2bSRalf Baechle	bool
19151da177e4SLinus Torvalds
191660ec6571Spascal@pabr.orgconfig ARCH_PHYS_ADDR_T_64BIT
191760ec6571Spascal@pabr.org       def_bool 64BIT_PHYS_ADDR
191860ec6571Spascal@pabr.org
19199693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
19209693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
19219693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
19229693a853SFranck Bui-Huu	help
19239693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
19249693a853SFranck Bui-Huu	  increased security at both hardware and software level for
19259693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
19269693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
19279693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
19289693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
19299693a853SFranck Bui-Huu	  here.
19309693a853SFranck Bui-Huu
19311da177e4SLinus Torvaldsconfig CPU_HAS_WB
1932f7062ddbSRalf Baechle	bool
1933e01402b1SRalf Baechle
1934f41ae0b2SRalf Baechle#
1935f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1936f41ae0b2SRalf Baechle#
1937e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1938f41ae0b2SRalf Baechle	bool
1939e01402b1SRalf Baechle
1940f41ae0b2SRalf Baechle#
1941f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1942f41ae0b2SRalf Baechle#
1943e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1944f41ae0b2SRalf Baechle	bool
1945e01402b1SRalf Baechle
19461da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
19471da177e4SLinus Torvalds	bool
19481da177e4SLinus Torvalds	depends on !CPU_R3000
19491da177e4SLinus Torvalds	default y
19501da177e4SLinus Torvalds
1951ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1952ea580401SRalf Baechle	bool
1953ea580401SRalf Baechle
19541da177e4SLinus Torvalds#
195520d60d99SMaciej W. Rozycki# CPU non-features
195620d60d99SMaciej W. Rozycki#
195720d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
195820d60d99SMaciej W. Rozycki	bool
195920d60d99SMaciej W. Rozycki
196020d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
196120d60d99SMaciej W. Rozycki	bool
196220d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
196320d60d99SMaciej W. Rozycki
196420d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
196520d60d99SMaciej W. Rozycki	bool
196620d60d99SMaciej W. Rozycki
196720d60d99SMaciej W. Rozycki#
19681da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
19691da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
19701da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
19711da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
19721da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
19731da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
19741da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
19751da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1976797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1977797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1978797798c1SRalf Baechle#   support.
19791da177e4SLinus Torvalds#
19801da177e4SLinus Torvaldsconfig HIGHMEM
19811da177e4SLinus Torvalds	bool "High Memory Support"
1982797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1983797798c1SRalf Baechle
1984797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1985797798c1SRalf Baechle	bool
1986797798c1SRalf Baechle
1987797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1988797798c1SRalf Baechle	bool
19891da177e4SLinus Torvalds
19909693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
19919693a853SFranck Bui-Huu	bool
19929693a853SFranck Bui-Huu
1993b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1994b4819b59SYoichi Yuasa	def_bool y
1995f133f22dSWu Zhangjin	depends on !NUMA && !CPU_LOONGSON2
1996b4819b59SYoichi Yuasa
1997d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1998d8cb4e11SRalf Baechle	bool
1999d8cb4e11SRalf Baechle	default y if SGI_IP27
2000d8cb4e11SRalf Baechle	help
20013dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
2002d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
2003d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
2004d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
2005d8cb4e11SRalf Baechle
2006cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
2007cce335aeSRalf Baechle	def_bool y
2008cce335aeSRalf Baechle
2009b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
2010b1c6cd42SAtsushi Nemoto	bool
20117de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
201231473747SAtsushi Nemoto
2013d8cb4e11SRalf Baechleconfig NUMA
2014d8cb4e11SRalf Baechle	bool "NUMA Support"
2015d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
2016d8cb4e11SRalf Baechle	help
2017d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
2018d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
2019d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
2020d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
2021d8cb4e11SRalf Baechle	  disabled.
2022d8cb4e11SRalf Baechle
2023d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
2024d8cb4e11SRalf Baechle	bool
2025d8cb4e11SRalf Baechle
2026c80d79d7SYasunori Gotoconfig NODES_SHIFT
2027c80d79d7SYasunori Goto	int
2028c80d79d7SYasunori Goto	default "6"
2029c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
2030c80d79d7SYasunori Goto
203114f70012SDeng-Cheng Zhuconfig HW_PERF_EVENTS
203214f70012SDeng-Cheng Zhu	bool "Enable hardware performance counter support for perf events"
203314f70012SDeng-Cheng Zhu	depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && CPU_MIPS32
203414f70012SDeng-Cheng Zhu	default y
203514f70012SDeng-Cheng Zhu	help
203614f70012SDeng-Cheng Zhu	  Enable hardware performance counter support for perf events. If
203714f70012SDeng-Cheng Zhu	  disabled, perf events will use software events only.
203814f70012SDeng-Cheng Zhu
2039b4819b59SYoichi Yuasasource "mm/Kconfig"
2040b4819b59SYoichi Yuasa
20411da177e4SLinus Torvaldsconfig SMP
20421da177e4SLinus Torvalds	bool "Multi-Processing support"
2043e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
2044b4b30a5aSRalf Baechle	select IRQ_PER_CPU
20452f304c0aSJens Axboe	select USE_GENERIC_SMP_HELPERS
2046e73ea273SRalf Baechle	help
20471da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
20481da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
20491da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
20501da177e4SLinus Torvalds
20511da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
20521da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
20531da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
20541da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
20551da177e4SLinus Torvalds	  will run faster if you say N here.
20561da177e4SLinus Torvalds
20571da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
20581da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
20591da177e4SLinus Torvalds
206003502faaSAdrian Bunk	  See also the SMP-HOWTO available at
206103502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
20621da177e4SLinus Torvalds
20631da177e4SLinus Torvalds	  If you don't know what to do here, say N.
20641da177e4SLinus Torvalds
206587353d8aSRalf Baechleconfig SMP_UP
206687353d8aSRalf Baechle	bool
206787353d8aSRalf Baechle
20684a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
20694a16ff4cSRalf Baechle	bool
20704a16ff4cSRalf Baechle
2071e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
2072e73ea273SRalf Baechle	bool
2073e73ea273SRalf Baechle
207472ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
207572ede9b1SAtsushi Nemoto	bool
207672ede9b1SAtsushi Nemoto
2077130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
2078130e2fb7SRalf Baechle	bool
2079130e2fb7SRalf Baechle
2080130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
2081130e2fb7SRalf Baechle	bool
2082130e2fb7SRalf Baechle
2083130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
2084130e2fb7SRalf Baechle	bool
2085130e2fb7SRalf Baechle
2086130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
2087130e2fb7SRalf Baechle	bool
2088130e2fb7SRalf Baechle
2089130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
2090130e2fb7SRalf Baechle	bool
2091130e2fb7SRalf Baechle
2092130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
2093130e2fb7SRalf Baechle	bool
2094130e2fb7SRalf Baechle
20951da177e4SLinus Torvaldsconfig NR_CPUS
20961da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
209772ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
20981da177e4SLinus Torvalds	depends on SMP
209972ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
2100130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
2101130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
2102130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
2103130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
2104130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
2105130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
21061da177e4SLinus Torvalds	help
21071da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
21081da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
21091da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
211072ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
211172ede9b1SAtsushi Nemoto	  and 2 for all others.
21121da177e4SLinus Torvalds
21131da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
211472ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
211572ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
211672ede9b1SAtsushi Nemoto	  power of two.
21171da177e4SLinus Torvalds
2118c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
2119c4eee283SAtsushi Nemoto
21201723b4a3SAtsushi Nemoto#
21211723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
21221723b4a3SAtsushi Nemoto#
21231723b4a3SAtsushi Nemoto
21241723b4a3SAtsushi Nemotochoice
21251723b4a3SAtsushi Nemoto	prompt "Timer frequency"
21261723b4a3SAtsushi Nemoto	default HZ_250
21271723b4a3SAtsushi Nemoto	help
21281723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
21291723b4a3SAtsushi Nemoto
21301723b4a3SAtsushi Nemoto	config HZ_48
21310f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
21321723b4a3SAtsushi Nemoto
21331723b4a3SAtsushi Nemoto	config HZ_100
21341723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
21351723b4a3SAtsushi Nemoto
21361723b4a3SAtsushi Nemoto	config HZ_128
21371723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
21381723b4a3SAtsushi Nemoto
21391723b4a3SAtsushi Nemoto	config HZ_250
21401723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
21411723b4a3SAtsushi Nemoto
21421723b4a3SAtsushi Nemoto	config HZ_256
21431723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
21441723b4a3SAtsushi Nemoto
21451723b4a3SAtsushi Nemoto	config HZ_1000
21461723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
21471723b4a3SAtsushi Nemoto
21481723b4a3SAtsushi Nemoto	config HZ_1024
21491723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
21501723b4a3SAtsushi Nemoto
21511723b4a3SAtsushi Nemotoendchoice
21521723b4a3SAtsushi Nemoto
21531723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
21541723b4a3SAtsushi Nemoto	bool
21551723b4a3SAtsushi Nemoto
21561723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
21571723b4a3SAtsushi Nemoto	bool
21581723b4a3SAtsushi Nemoto
21591723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
21601723b4a3SAtsushi Nemoto	bool
21611723b4a3SAtsushi Nemoto
21621723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
21631723b4a3SAtsushi Nemoto	bool
21641723b4a3SAtsushi Nemoto
21651723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
21661723b4a3SAtsushi Nemoto	bool
21671723b4a3SAtsushi Nemoto
21681723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
21691723b4a3SAtsushi Nemoto	bool
21701723b4a3SAtsushi Nemoto
21711723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
21721723b4a3SAtsushi Nemoto	bool
21731723b4a3SAtsushi Nemoto
21741723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
21751723b4a3SAtsushi Nemoto	bool
21761723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
21771723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
21781723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
21791723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
21801723b4a3SAtsushi Nemoto
21811723b4a3SAtsushi Nemotoconfig HZ
21821723b4a3SAtsushi Nemoto	int
21831723b4a3SAtsushi Nemoto	default 48 if HZ_48
21841723b4a3SAtsushi Nemoto	default 100 if HZ_100
21851723b4a3SAtsushi Nemoto	default 128 if HZ_128
21861723b4a3SAtsushi Nemoto	default 250 if HZ_250
21871723b4a3SAtsushi Nemoto	default 256 if HZ_256
21881723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
21891723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
21901723b4a3SAtsushi Nemoto
2191e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
21921da177e4SLinus Torvalds
21931da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
21941da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
2195875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
21961da177e4SLinus Torvalds	help
21971da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
21981da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
21991da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
22001da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
22011da177e4SLinus Torvalds	  recommended for normal users.
22021da177e4SLinus Torvalds
2203ea6e942bSAtsushi Nemotoconfig KEXEC
2204ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
2205ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
2206ea6e942bSAtsushi Nemoto	help
2207ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
2208ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
22093dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
2210ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
2211ea6e942bSAtsushi Nemoto
221201dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
2213ea6e942bSAtsushi Nemoto
2214ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
2215ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
2216ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
2217ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
2218ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
2219ea6e942bSAtsushi Nemoto
2220ea6e942bSAtsushi Nemotoconfig SECCOMP
2221ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
2222293c5bd1SRalf Baechle	depends on PROC_FS
2223ea6e942bSAtsushi Nemoto	default y
2224ea6e942bSAtsushi Nemoto	help
2225ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
2226ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
2227ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
2228ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
2229ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
2230ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
2231ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
2232ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
2233ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
2234ea6e942bSAtsushi Nemoto
2235ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
2236ea6e942bSAtsushi Nemoto
2237f2ffa5abSDezhong Diaoconfig USE_OF
2238f2ffa5abSDezhong Diao	bool "Flattened Device Tree support"
2239f2ffa5abSDezhong Diao	select OF
2240e6ce1324SStephen Neuendorffer	select OF_EARLY_FLATTREE
2241f2ffa5abSDezhong Diao	help
2242f2ffa5abSDezhong Diao	  Include support for flattened device tree machine descriptions.
2243f2ffa5abSDezhong Diao
22445e83d430SRalf Baechleendmenu
22455e83d430SRalf Baechle
22461df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
22471df0f0ffSAtsushi Nemoto	bool
22481df0f0ffSAtsushi Nemoto	default y
22491df0f0ffSAtsushi Nemoto
22501df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
22511df0f0ffSAtsushi Nemoto	bool
22521df0f0ffSAtsushi Nemoto	default y
22531df0f0ffSAtsushi Nemoto
2254b6c3539bSRalf Baechlesource "init/Kconfig"
2255b6c3539bSRalf Baechle
2256dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
2257dc52ddc0SMatt Helsley
22581da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
22591da177e4SLinus Torvalds
22605e83d430SRalf Baechleconfig HW_HAS_EISA
22615e83d430SRalf Baechle	bool
22621da177e4SLinus Torvaldsconfig HW_HAS_PCI
22631da177e4SLinus Torvalds	bool
22641da177e4SLinus Torvalds
22651da177e4SLinus Torvaldsconfig PCI
22661da177e4SLinus Torvalds	bool "Support for PCI controller"
22671da177e4SLinus Torvalds	depends on HW_HAS_PCI
2268abb4ae46SRalf Baechle	select PCI_DOMAINS
22691da177e4SLinus Torvalds	help
22701da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
22711da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
22721da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
22731da177e4SLinus Torvalds	  say Y, otherwise N.
22741da177e4SLinus Torvalds
22751da177e4SLinus Torvaldsconfig PCI_DOMAINS
22761da177e4SLinus Torvalds	bool
22771da177e4SLinus Torvalds
22781da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
22791da177e4SLinus Torvalds
22801da177e4SLinus Torvalds#
22811da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
22821da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
22831da177e4SLinus Torvalds# users to choose the right thing ...
22841da177e4SLinus Torvalds#
22851da177e4SLinus Torvaldsconfig ISA
22861da177e4SLinus Torvalds	bool
22871da177e4SLinus Torvalds
22881da177e4SLinus Torvaldsconfig EISA
22891da177e4SLinus Torvalds	bool "EISA support"
22905e83d430SRalf Baechle	depends on HW_HAS_EISA
22911da177e4SLinus Torvalds	select ISA
2292aa414dffSRalf Baechle	select GENERIC_ISA_DMA
22931da177e4SLinus Torvalds	---help---
22941da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
22951da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
22961da177e4SLinus Torvalds
22971da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
22981da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
22991da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
23001da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
23011da177e4SLinus Torvalds
23021da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
23031da177e4SLinus Torvalds
23041da177e4SLinus Torvalds	  Otherwise, say N.
23051da177e4SLinus Torvalds
23061da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
23071da177e4SLinus Torvalds
23081da177e4SLinus Torvaldsconfig TC
23091da177e4SLinus Torvalds	bool "TURBOchannel support"
23101da177e4SLinus Torvalds	depends on MACH_DECSTATION
23111da177e4SLinus Torvalds	help
231250a23e6eSJustin P. Mattock	  TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
231350a23e6eSJustin P. Mattock	  processors.  TURBOchannel programming specifications are available
231450a23e6eSJustin P. Mattock	  at:
231550a23e6eSJustin P. Mattock	  <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
231650a23e6eSJustin P. Mattock	  and:
231750a23e6eSJustin P. Mattock	  <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
231850a23e6eSJustin P. Mattock	  Linux driver support status is documented at:
231950a23e6eSJustin P. Mattock	  <http://www.linux-mips.org/wiki/DECstation>
23201da177e4SLinus Torvalds
23211da177e4SLinus Torvalds#config ACCESSBUS
23221da177e4SLinus Torvalds#	bool "Access.Bus support"
23231da177e4SLinus Torvalds#	depends on TC
23241da177e4SLinus Torvalds
23251da177e4SLinus Torvaldsconfig MMU
23261da177e4SLinus Torvalds	bool
23271da177e4SLinus Torvalds	default y
23281da177e4SLinus Torvalds
2329d865bea4SRalf Baechleconfig I8253
2330d865bea4SRalf Baechle	bool
23319726b43aSWu Zhangjin	select MIPS_EXTERNAL_TIMER
2332d865bea4SRalf Baechle
2333cce335aeSRalf Baechleconfig ZONE_DMA32
2334cce335aeSRalf Baechle	bool
2335cce335aeSRalf Baechle
23361da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
23371da177e4SLinus Torvalds
23381da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
23391da177e4SLinus Torvalds
23401da177e4SLinus Torvaldsendmenu
23411da177e4SLinus Torvalds
23421da177e4SLinus Torvaldsmenu "Executable file formats"
23431da177e4SLinus Torvalds
23441da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
23451da177e4SLinus Torvalds
23461da177e4SLinus Torvaldsconfig TRAD_SIGNALS
23471da177e4SLinus Torvalds	bool
23481da177e4SLinus Torvalds
23491da177e4SLinus Torvaldsconfig MIPS32_COMPAT
23501da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2351875d43e7SRalf Baechle	depends on 64BIT
23521da177e4SLinus Torvalds	help
23531da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
23541da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
23551da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
23561da177e4SLinus Torvalds
23571da177e4SLinus Torvaldsconfig COMPAT
23581da177e4SLinus Torvalds	bool
23591da177e4SLinus Torvalds	depends on MIPS32_COMPAT
23601da177e4SLinus Torvalds	default y
23611da177e4SLinus Torvalds
236205e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
236305e43966SAtsushi Nemoto	bool
236405e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
236505e43966SAtsushi Nemoto	default y
236605e43966SAtsushi Nemoto
23671da177e4SLinus Torvaldsconfig MIPS32_O32
23681da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
23691da177e4SLinus Torvalds	depends on MIPS32_COMPAT
23701da177e4SLinus Torvalds	help
23711da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
23721da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
23731da177e4SLinus Torvalds	  existing binaries are in this format.
23741da177e4SLinus Torvalds
23751da177e4SLinus Torvalds	  If unsure, say Y.
23761da177e4SLinus Torvalds
23771da177e4SLinus Torvaldsconfig MIPS32_N32
23781da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
23791da177e4SLinus Torvalds	depends on MIPS32_COMPAT
23801da177e4SLinus Torvalds	help
23811da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
23821da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
23831da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
23841da177e4SLinus Torvalds	  cases.
23851da177e4SLinus Torvalds
23861da177e4SLinus Torvalds	  If unsure, say N.
23871da177e4SLinus Torvalds
23881da177e4SLinus Torvaldsconfig BINFMT_ELF32
23891da177e4SLinus Torvalds	bool
23901da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
23911da177e4SLinus Torvalds
23922116245eSRalf Baechleendmenu
23931da177e4SLinus Torvalds
23942116245eSRalf Baechlemenu "Power management options"
2395952fa954SRodolfo Giometti
2396363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE
2397363c55caSWu Zhangjin	def_bool y
23983f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2399363c55caSWu Zhangjin
2400f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2401f4cb5700SJohannes Berg	def_bool y
24023f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2403f4cb5700SJohannes Berg
24042116245eSRalf Baechlesource "kernel/power/Kconfig"
2405952fa954SRodolfo Giometti
24061da177e4SLinus Torvaldsendmenu
24071da177e4SLinus Torvalds
24089726b43aSWu Zhangjinsource "arch/mips/kernel/cpufreq/Kconfig"
24099726b43aSWu Zhangjin
2410d5950b43SSam Ravnborgsource "net/Kconfig"
2411d5950b43SSam Ravnborg
24121da177e4SLinus Torvaldssource "drivers/Kconfig"
24131da177e4SLinus Torvalds
24141da177e4SLinus Torvaldssource "fs/Kconfig"
24151da177e4SLinus Torvalds
24161da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
24171da177e4SLinus Torvalds
24181da177e4SLinus Torvaldssource "security/Kconfig"
24191da177e4SLinus Torvalds
24201da177e4SLinus Torvaldssource "crypto/Kconfig"
24211da177e4SLinus Torvalds
24221da177e4SLinus Torvaldssource "lib/Kconfig"
2423