xref: /linux/arch/mips/Kconfig (revision 64575f918f3279d8487cf670dbefa956ce16a526)
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
14*64575f91SWu 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
221da177e4SLinus Torvalds
231da177e4SLinus Torvaldsmenu "Machine selection"
241da177e4SLinus Torvalds
255ac6da66SChristoph Lameterconfig ZONE_DMA
265ac6da66SChristoph Lameter	bool
275ac6da66SChristoph Lameter
285e83d430SRalf Baechlechoice
295e83d430SRalf Baechle	prompt "System type"
305e83d430SRalf Baechle	default SGI_IP22
311da177e4SLinus Torvalds
3242a4f17dSManuel Laussconfig MIPS_ALCHEMY
33c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
3442a4f17dSManuel Lauss	select 64BIT_PHYS_ADDR
3542a4f17dSManuel Lauss	select CEVT_R4K_LIB
3642a4f17dSManuel Lauss	select CSRC_R4K_LIB
3742a4f17dSManuel Lauss	select IRQ_CPU
3842a4f17dSManuel Lauss	select SYS_HAS_CPU_MIPS32_R1
3942a4f17dSManuel Lauss	select SYS_SUPPORTS_32BIT_KERNEL
4042a4f17dSManuel Lauss	select SYS_SUPPORTS_APM_EMULATION
4142a4f17dSManuel Lauss	select GENERIC_GPIO
4242a4f17dSManuel Lauss	select ARCH_WANT_OPTIONAL_GPIOLIB
431b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
441da177e4SLinus Torvalds
457ca5dc14SFlorian Fainelliconfig AR7
467ca5dc14SFlorian Fainelli	bool "Texas Instruments AR7"
477ca5dc14SFlorian Fainelli	select BOOT_ELF32
487ca5dc14SFlorian Fainelli	select DMA_NONCOHERENT
497ca5dc14SFlorian Fainelli	select CEVT_R4K
507ca5dc14SFlorian Fainelli	select CSRC_R4K
517ca5dc14SFlorian Fainelli	select IRQ_CPU
527ca5dc14SFlorian Fainelli	select NO_EXCEPT_FILL
537ca5dc14SFlorian Fainelli	select SWAP_IO_SPACE
547ca5dc14SFlorian Fainelli	select SYS_HAS_CPU_MIPS32_R1
557ca5dc14SFlorian Fainelli	select SYS_HAS_EARLY_PRINTK
567ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_32BIT_KERNEL
577ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_LITTLE_ENDIAN
581b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT_UART16550
595f3c9098SFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
607ca5dc14SFlorian Fainelli	select GCD
617ca5dc14SFlorian Fainelli	select VLYNQ
627ca5dc14SFlorian Fainelli	help
637ca5dc14SFlorian Fainelli	  Support for the Texas Instruments AR7 System-on-a-Chip
647ca5dc14SFlorian Fainelli	  family: TNETD7100, 7200 and 7300.
657ca5dc14SFlorian Fainelli
661c0c13ebSAurelien Jarnoconfig BCM47XX
67c619366eSFlorian Fainelli	bool "Broadcom BCM47XX based boards"
6842f77542SRalf Baechle	select CEVT_R4K
69940f6b48SRalf Baechle	select CSRC_R4K
701c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
711c0c13ebSAurelien Jarno	select HW_HAS_PCI
721c0c13ebSAurelien Jarno	select IRQ_CPU
731c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
741c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
751c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
761c0c13ebSAurelien Jarno	select SSB
771c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
782f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
79b06f3e19SAurelien Jarno	select SSB_EMBEDDED
80220937b1SHauke Mehrtens	select SSB_B43_PCI_BRIDGE if PCI
812f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
821c0c13ebSAurelien Jarno	select GENERIC_GPIO
8325e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
8425e5fb97SAurelien Jarno	select CFE
851c0c13ebSAurelien Jarno	help
861c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
871c0c13ebSAurelien Jarno
88e7300d04SMaxime Bizonconfig BCM63XX
89e7300d04SMaxime Bizon	bool "Broadcom BCM63XX based boards"
90e7300d04SMaxime Bizon	select CEVT_R4K
91e7300d04SMaxime Bizon	select CSRC_R4K
92e7300d04SMaxime Bizon	select DMA_NONCOHERENT
93e7300d04SMaxime Bizon	select IRQ_CPU
94e7300d04SMaxime Bizon	select SYS_HAS_CPU_MIPS32_R1
95e7300d04SMaxime Bizon	select SYS_SUPPORTS_32BIT_KERNEL
96e7300d04SMaxime Bizon	select SYS_SUPPORTS_BIG_ENDIAN
97e7300d04SMaxime Bizon	select SYS_HAS_EARLY_PRINTK
98e7300d04SMaxime Bizon	select SWAP_IO_SPACE
99e7300d04SMaxime Bizon	select ARCH_REQUIRE_GPIOLIB
100e7300d04SMaxime Bizon	help
101e7300d04SMaxime Bizon	 Support for BCM63XX based boards
102e7300d04SMaxime Bizon
1031da177e4SLinus Torvaldsconfig MIPS_COBALT
1043fa986faSMartin Michlmayr	bool "Cobalt Server"
10542f77542SRalf Baechle	select CEVT_R4K
106940f6b48SRalf Baechle	select CSRC_R4K
1071097c6acSYoichi Yuasa	select CEVT_GT641XX
1081da177e4SLinus Torvalds	select DMA_NONCOHERENT
1091da177e4SLinus Torvalds	select HW_HAS_PCI
110d865bea4SRalf Baechle	select I8253
1111da177e4SLinus Torvalds	select I8259
1121da177e4SLinus Torvalds	select IRQ_CPU
113d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
114252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
115e25bfc92SYoichi Yuasa	select PCI
1167cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1170a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
118ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
1190e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
1205e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1211da177e4SLinus Torvalds
1221da177e4SLinus Torvaldsconfig MACH_DECSTATION
1233fa986faSMartin Michlmayr	bool "DECstations"
1241da177e4SLinus Torvalds	select BOOT_ELF32
1256457d9fcSYoichi Yuasa	select CEVT_DS1287
12642f77542SRalf Baechle	select CEVT_R4K
1274247417dSYoichi Yuasa	select CSRC_IOASIC
128940f6b48SRalf Baechle	select CSRC_R4K
12920d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
13020d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
13120d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
1321da177e4SLinus Torvalds	select DMA_NONCOHERENT
133d388d685SMaciej W. Rozycki	select NO_IOPORT
1341da177e4SLinus Torvalds	select IRQ_CPU
1357cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
1367cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
137ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
138ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1395e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1401723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
1411723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
1421723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1435e83d430SRalf Baechle	help
1441da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1451da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1461da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1491da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1501da177e4SLinus Torvalds
1511da177e4SLinus Torvalds		DECstation 5000/50
1521da177e4SLinus Torvalds		DECstation 5000/150
1531da177e4SLinus Torvalds		DECstation 5000/260
1541da177e4SLinus Torvalds		DECsystem 5900/260
1551da177e4SLinus Torvalds
1561da177e4SLinus Torvalds	  otherwise choose R3000.
1571da177e4SLinus Torvalds
1585e83d430SRalf Baechleconfig MACH_JAZZ
1593fa986faSMartin Michlmayr	bool "Jazz family of machines"
1605e83d430SRalf Baechle	select ARC
1615e83d430SRalf Baechle	select ARC32
1625e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
16342f77542SRalf Baechle	select CEVT_R4K
164940f6b48SRalf Baechle	select CSRC_R4K
165e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1665e83d430SRalf Baechle	select GENERIC_ISA_DMA
167ea202c63SThomas Bogendoerfer	select IRQ_CPU
168d865bea4SRalf Baechle	select I8253
1695e83d430SRalf Baechle	select I8259
1705e83d430SRalf Baechle	select ISA
1717cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1725e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1735e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1741723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1751da177e4SLinus Torvalds	help
1765e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1775e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
178692105b8SMatt LaPlante	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
1795e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1805e83d430SRalf Baechle
1815ebabe59SLars-Peter Clausenconfig MACH_JZ4740
1825ebabe59SLars-Peter Clausen	bool "Ingenic JZ4740 based machines"
1835ebabe59SLars-Peter Clausen	select SYS_HAS_CPU_MIPS32_R1
1845ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_32BIT_KERNEL
1855ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_LITTLE_ENDIAN
1865ebabe59SLars-Peter Clausen	select DMA_NONCOHERENT
1875ebabe59SLars-Peter Clausen	select IRQ_CPU
1885ebabe59SLars-Peter Clausen	select GENERIC_GPIO
1895ebabe59SLars-Peter Clausen	select ARCH_REQUIRE_GPIOLIB
1905ebabe59SLars-Peter Clausen	select SYS_HAS_EARLY_PRINTK
1915ebabe59SLars-Peter Clausen	select HAVE_PWM
1925ebabe59SLars-Peter Clausen
1931f21d2bdSBrian Murphyconfig LASAT
1941f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
19542f77542SRalf Baechle	select CEVT_R4K
196940f6b48SRalf Baechle	select CSRC_R4K
1971f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1981f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1991f21d2bdSBrian Murphy	select HW_HAS_PCI
200a5ccfe5cSRalf Baechle	select IRQ_CPU
2011f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
2021f21d2bdSBrian Murphy	select MIPS_NILE4
2031f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
2041f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
2051f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
2061f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
2071f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
2081f21d2bdSBrian Murphy
20985749d24SWu Zhangjinconfig MACH_LOONGSON
21085749d24SWu Zhangjin	bool "Loongson family of machines"
211c7e8c668SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
212ade299d8SYoichi Yuasa	help
21385749d24SWu Zhangjin	  This enables the support of Loongson family of machines.
21485749d24SWu Zhangjin
21585749d24SWu Zhangjin	  Loongson is a family of general-purpose MIPS-compatible CPUs.
21685749d24SWu Zhangjin	  developed at Institute of Computing Technology (ICT),
21785749d24SWu Zhangjin	  Chinese Academy of Sciences (CAS) in the People's Republic
21885749d24SWu Zhangjin	  of China. The chief architect is Professor Weiwu Hu.
219ade299d8SYoichi Yuasa
2201da177e4SLinus Torvaldsconfig MIPS_MALTA
2213fa986faSMartin Michlmayr	bool "MIPS Malta board"
22261ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2231da177e4SLinus Torvalds	select BOOT_ELF32
224fa71c960SRalf Baechle	select BOOT_RAW
22542f77542SRalf Baechle	select CEVT_R4K
226940f6b48SRalf Baechle	select CSRC_R4K
2271da177e4SLinus Torvalds	select DMA_NONCOHERENT
2281da177e4SLinus Torvalds	select GENERIC_ISA_DMA
229aa414dffSRalf Baechle	select IRQ_CPU
23039b8d525SRalf Baechle	select IRQ_GIC
2311da177e4SLinus Torvalds	select HW_HAS_PCI
232d865bea4SRalf Baechle	select I8253
2331da177e4SLinus Torvalds	select I8259
2345e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2355e83d430SRalf Baechle	select MIPS_BONITO64
2369318c51aSChris Dearman	select MIPS_CPU_SCACHE
237252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2385e83d430SRalf Baechle	select MIPS_MSC
2391da177e4SLinus Torvalds	select SWAP_IO_SPACE
2407cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2417cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2427cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2437cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2447cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
24536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
246ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
247ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2485e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2495e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2500365070fSTim Anderson	select SYS_SUPPORTS_MIPS_CMP
251f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2529693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2531b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
2541da177e4SLinus Torvalds	help
255f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2561da177e4SLinus Torvalds	  board.
2571da177e4SLinus Torvalds
258c78cbf49SRalf Baechleconfig MIPS_SIM
2593fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
26042f77542SRalf Baechle	select CEVT_R4K
261940f6b48SRalf Baechle	select CSRC_R4K
262c78cbf49SRalf Baechle	select DMA_NONCOHERENT
26336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
264c78cbf49SRalf Baechle	select IRQ_CPU
2659267a30dSMarc St-Jean	select BOOT_RAW
2667cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2677cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
26836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
269c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
270c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
271f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
272c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
273c78cbf49SRalf Baechle	help
274c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
275c78cbf49SRalf Baechle	  emulator.
276c78cbf49SRalf Baechle
277a83860c2SRalf Baechleconfig NEC_MARKEINS
278a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
279a83860c2SRalf Baechle	select SOC_EMMA2RH
280a83860c2SRalf Baechle	select HW_HAS_PCI
281a83860c2SRalf Baechle	help
282a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
283ade299d8SYoichi Yuasa
2845e83d430SRalf Baechleconfig MACH_VR41XX
28574142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
28642f77542SRalf Baechle	select CEVT_R4K
287940f6b48SRalf Baechle	select CSRC_R4K
2887cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
28927fdd325SYoichi Yuasa	select ARCH_REQUIRE_GPIOLIB
2905e83d430SRalf Baechle
291edb6310aSDaniel Lairdconfig NXP_STB220
292edb6310aSDaniel Laird	bool "NXP STB220 board"
293edb6310aSDaniel Laird	select SOC_PNX833X
294edb6310aSDaniel Laird	help
295edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
296edb6310aSDaniel Laird
297edb6310aSDaniel Lairdconfig NXP_STB225
298edb6310aSDaniel Laird	bool "NXP 225 board"
299edb6310aSDaniel Laird	select SOC_PNX833X
300edb6310aSDaniel Laird	select SOC_PNX8335
301edb6310aSDaniel Laird	help
302edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
303edb6310aSDaniel Laird
304ade299d8SYoichi Yuasaconfig PNX8550_JBS
305a92b0588SDaniel Laird	bool "NXP PNX8550 based JBS board"
306ade299d8SYoichi Yuasa	select PNX8550
307ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
308ade299d8SYoichi Yuasa
309ade299d8SYoichi Yuasaconfig PNX8550_STB810
310a92b0588SDaniel Laird	bool "NXP PNX8550 based STB810 board"
311ade299d8SYoichi Yuasa	select PNX8550
312ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
313ade299d8SYoichi Yuasa
3149267a30dSMarc St-Jeanconfig PMC_MSP
3159267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3169267a30dSMarc St-Jean	depends on EXPERIMENTAL
3179267a30dSMarc St-Jean	select DMA_NONCOHERENT
3189267a30dSMarc St-Jean	select SWAP_IO_SPACE
3199267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3209267a30dSMarc St-Jean	select BOOT_RAW
3219267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3229267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3239267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3249267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3259267a30dSMarc St-Jean	select IRQ_CPU
3269267a30dSMarc St-Jean	select SERIAL_8250
3279267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3289267a30dSMarc St-Jean	help
3299267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3309267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3319267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3329267a30dSMarc St-Jean	  a variety of MIPS cores.
3339267a30dSMarc St-Jean
3345e83d430SRalf Baechleconfig PMC_YOSEMITE
3353fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
33642f77542SRalf Baechle	select CEVT_R4K
337940f6b48SRalf Baechle	select CSRC_R4K
3385e83d430SRalf Baechle	select DMA_COHERENT
3395e83d430SRalf Baechle	select HW_HAS_PCI
3405e83d430SRalf Baechle	select IRQ_CPU
3415e83d430SRalf Baechle	select IRQ_CPU_RM7K
3425e83d430SRalf Baechle	select IRQ_CPU_RM9K
3435e83d430SRalf Baechle	select SWAP_IO_SPACE
3447cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
34536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3465e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3475e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3485e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3495e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
350e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3515e83d430SRalf Baechle	help
3525e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3535e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3541da177e4SLinus Torvalds
355a3a0f8c8SDavid VomLehnconfig POWERTV
356a3a0f8c8SDavid VomLehn	bool "Cisco PowerTV"
357a3a0f8c8SDavid VomLehn	select BOOT_ELF32
358a3a0f8c8SDavid VomLehn	select CEVT_R4K
359a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_VI
360a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_EI
361a3a0f8c8SDavid VomLehn	select CSRC_POWERTV
362a3a0f8c8SDavid VomLehn	select DMA_NONCOHERENT
363a3a0f8c8SDavid VomLehn	select HW_HAS_PCI
364a3a0f8c8SDavid VomLehn	select SYS_HAS_EARLY_PRINTK
365a3a0f8c8SDavid VomLehn	select SYS_HAS_CPU_MIPS32_R2
366a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_32BIT_KERNEL
367a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_BIG_ENDIAN
368a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_HIGHMEM
369a3a0f8c8SDavid VomLehn	select USB_OHCI_LITTLE_ENDIAN
370a3a0f8c8SDavid VomLehn	help
371a3a0f8c8SDavid VomLehn	  This enables support for the Cisco PowerTV Platform.
372a3a0f8c8SDavid VomLehn
3731da177e4SLinus Torvaldsconfig SGI_IP22
3743fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3751da177e4SLinus Torvalds	select ARC
3761da177e4SLinus Torvalds	select ARC32
3771da177e4SLinus Torvalds	select BOOT_ELF32
37842f77542SRalf Baechle	select CEVT_R4K
379940f6b48SRalf Baechle	select CSRC_R4K
380e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3811da177e4SLinus Torvalds	select DMA_NONCOHERENT
3825e83d430SRalf Baechle	select HW_HAS_EISA
383d865bea4SRalf Baechle	select I8253
38468de4803SThomas Bogendoerfer	select I8259
3851da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3861da177e4SLinus Torvalds	select IRQ_CPU
387aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
388e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
389e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
39036e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
391e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
392e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
393e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3941da177e4SLinus Torvalds	select SWAP_IO_SPACE
3957cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3967cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
3972b5e63f6SMartin Michlmayr	#
3982b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
3992b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
4002b5e63f6SMartin Michlmayr	#
4012b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
4022b5e63f6SMartin Michlmayr	# for a more details discussion
4032b5e63f6SMartin Michlmayr	#
4042b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
405ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
406ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4075e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4081da177e4SLinus Torvalds	help
4091da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4101da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4111da177e4SLinus Torvalds	  that runs on these, say Y here.
4121da177e4SLinus Torvalds
4131da177e4SLinus Torvaldsconfig SGI_IP27
4143fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4151da177e4SLinus Torvalds	select ARC
4161da177e4SLinus Torvalds	select ARC64
4175e83d430SRalf Baechle	select BOOT_ELF64
418e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
419634286f1SRalf Baechle	select DMA_COHERENT
42036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4211da177e4SLinus Torvalds	select HW_HAS_PCI
422130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4237cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
424ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4255e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
426d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4271a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
4281da177e4SLinus Torvalds	help
4291da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4301da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4311da177e4SLinus Torvalds	  here.
4321da177e4SLinus Torvalds
433e2defae5SThomas Bogendoerferconfig SGI_IP28
434e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
435e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
436e2defae5SThomas Bogendoerfer	select ARC
437e2defae5SThomas Bogendoerfer	select ARC64
438e2defae5SThomas Bogendoerfer	select BOOT_ELF64
439e2defae5SThomas Bogendoerfer	select CEVT_R4K
440e2defae5SThomas Bogendoerfer	select CSRC_R4K
441e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
442e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
443e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
444e2defae5SThomas Bogendoerfer	select IRQ_CPU
445e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
446e2defae5SThomas Bogendoerfer	select I8253
447e2defae5SThomas Bogendoerfer	select I8259
448e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
449e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
4505b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
451e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
452e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
453e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
454e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
455e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
4562b5e63f6SMartin Michlmayr	#
4572b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
4582b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
4592b5e63f6SMartin Michlmayr	#
4602b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
4612b5e63f6SMartin Michlmayr	# for a more details discussion
4622b5e63f6SMartin Michlmayr	#
4632b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
464e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
465e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
466e2defae5SThomas Bogendoerfer      help
467e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
468e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
469e2defae5SThomas Bogendoerfer
4701da177e4SLinus Torvaldsconfig SGI_IP32
471cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4721da177e4SLinus Torvalds	select ARC
4731da177e4SLinus Torvalds	select ARC32
4741da177e4SLinus Torvalds	select BOOT_ELF32
47542f77542SRalf Baechle	select CEVT_R4K
476940f6b48SRalf Baechle	select CSRC_R4K
4771da177e4SLinus Torvalds	select DMA_NONCOHERENT
4781da177e4SLinus Torvalds	select HW_HAS_PCI
479dd67b155SRalf Baechle	select IRQ_CPU
4801da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4811da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4827cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4837cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4847cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
485dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
486ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4875e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4881da177e4SLinus Torvalds	help
4891da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4901da177e4SLinus Torvalds
491ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
492ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4935e83d430SRalf Baechle	depends on EXPERIMENTAL
4945e83d430SRalf Baechle	select BOOT_ELF32
4955e83d430SRalf Baechle	select DMA_COHERENT
4965e83d430SRalf Baechle	select SIBYTE_BCM1120
4975e83d430SRalf Baechle	select SWAP_IO_SPACE
4987cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4995e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5005e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5015e83d430SRalf Baechle
502ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
503ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
5045e83d430SRalf Baechle	depends on EXPERIMENTAL
5055e83d430SRalf Baechle	select BOOT_ELF32
5065e83d430SRalf Baechle	select DMA_COHERENT
5075e83d430SRalf Baechle	select SIBYTE_BCM1120
5085e83d430SRalf Baechle	select SWAP_IO_SPACE
5097cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5105e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5115e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5125e83d430SRalf Baechle
5135e83d430SRalf Baechleconfig SIBYTE_CRHONE
5143fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
5155e83d430SRalf Baechle	depends on EXPERIMENTAL
5165e83d430SRalf Baechle	select BOOT_ELF32
5175e83d430SRalf Baechle	select DMA_COHERENT
5185e83d430SRalf Baechle	select SIBYTE_BCM1125
5195e83d430SRalf Baechle	select SWAP_IO_SPACE
5207cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5215e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5225e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5235e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5245e83d430SRalf Baechle
525ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
526ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
527ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
528ade299d8SYoichi Yuasa	select BOOT_ELF32
529ade299d8SYoichi Yuasa	select DMA_COHERENT
530ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
531ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
532ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
533ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
534ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
535ade299d8SYoichi Yuasa
536ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
537ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
538ade299d8SYoichi Yuasa	select BOOT_ELF32
539ade299d8SYoichi Yuasa	select DMA_COHERENT
540fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
541ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
542ade299d8SYoichi Yuasa	select SIBYTE_SB1250
543ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
544ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
545ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
546ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
547ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
548cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
549ade299d8SYoichi Yuasa
550ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
551ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
552ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
553ade299d8SYoichi Yuasa	select BOOT_ELF32
554ade299d8SYoichi Yuasa	select DMA_COHERENT
555fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
556ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
557ade299d8SYoichi Yuasa	select SIBYTE_SB1250
558ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
559ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
560ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
561ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
562ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
563ade299d8SYoichi Yuasa
564ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
565ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
566ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
567ade299d8SYoichi Yuasa	select BOOT_ELF32
568ade299d8SYoichi Yuasa	select DMA_COHERENT
569ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
570ade299d8SYoichi Yuasa	select SIBYTE_SB1250
571ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
572ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
573ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
574ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
575ade299d8SYoichi Yuasa
576ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
577ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
578ade299d8SYoichi Yuasa	select BOOT_ELF32
579ade299d8SYoichi Yuasa	select DMA_COHERENT
580ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
581ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
582ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
583ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
584ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
585651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
586ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
587cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
588ade299d8SYoichi Yuasa
58914b36af4SThomas Bogendoerferconfig SNI_RM
59014b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5914a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5924a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
593231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5945e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5955e83d430SRalf Baechle	select BOOT_ELF32
59642f77542SRalf Baechle	select CEVT_R4K
597940f6b48SRalf Baechle	select CSRC_R4K
598e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5995e83d430SRalf Baechle	select DMA_NONCOHERENT
6005e83d430SRalf Baechle	select GENERIC_ISA_DMA
6015e83d430SRalf Baechle	select HW_HAS_EISA
6025e83d430SRalf Baechle	select HW_HAS_PCI
603c066a32aSThomas Bogendoerfer	select IRQ_CPU
604d865bea4SRalf Baechle	select I8253
6055e83d430SRalf Baechle	select I8259
6065e83d430SRalf Baechle	select ISA
6074a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
6087cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
6094a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
610c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
6114a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
61236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
613ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
6145e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
6154a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
6165e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6175e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6181da177e4SLinus Torvalds	help
61914b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
62014b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
6215e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
6225e83d430SRalf Baechle	  support this machine type.
6231da177e4SLinus Torvalds
624edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
625edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
6265e83d430SRalf Baechle
627edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
628edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
62923fbee9dSRalf Baechle
63073b4390fSRalf Baechleconfig MIKROTIK_RB532
63173b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
63273b4390fSRalf Baechle	select CEVT_R4K
63373b4390fSRalf Baechle	select CSRC_R4K
63473b4390fSRalf Baechle	select DMA_NONCOHERENT
63573b4390fSRalf Baechle	select HW_HAS_PCI
63673b4390fSRalf Baechle	select IRQ_CPU
63773b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
63873b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
63973b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
64073b4390fSRalf Baechle	select SWAP_IO_SPACE
64173b4390fSRalf Baechle	select BOOT_RAW
642d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
64373b4390fSRalf Baechle	help
64473b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
64573b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
64673b4390fSRalf Baechle
647ade299d8SYoichi Yuasaconfig WR_PPMC
648ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
64942f77542SRalf Baechle	select CEVT_R4K
650940f6b48SRalf Baechle	select CSRC_R4K
651ade299d8SYoichi Yuasa	select IRQ_CPU
652ade299d8SYoichi Yuasa	select BOOT_ELF32
653ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
654ade299d8SYoichi Yuasa	select HW_HAS_PCI
655ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
656ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
657ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
658ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
659ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
660ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
661ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
662ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
663ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
664ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
665ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
666ade299d8SYoichi Yuasa	help
667ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
668ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
669ade299d8SYoichi Yuasa
670a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_SIMULATOR
671c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon Simulator"
672a86c7f72SDavid Daney	select CEVT_R4K
673a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
674a86c7f72SDavid Daney	select DMA_COHERENT
675a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
676a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
677a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
678773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
6795e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
680a86c7f72SDavid Daney	help
681a86c7f72SDavid Daney	  The Octeon simulator is software performance model of the Cavium
682a86c7f72SDavid Daney	  Octeon Processor. It supports simulating Octeon processors on x86
683a86c7f72SDavid Daney	  hardware.
684a86c7f72SDavid Daney
685a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_REFERENCE_BOARD
686c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon reference board"
687a86c7f72SDavid Daney	select CEVT_R4K
688a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
689a86c7f72SDavid Daney	select DMA_COHERENT
690a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
691a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
692a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
693773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
694a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
6955e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
696a86c7f72SDavid Daney	select SWAP_IO_SPACE
697e8635b48SDavid Daney	select HW_HAS_PCI
698e8635b48SDavid Daney	select ARCH_SUPPORTS_MSI
699f00e001eSDavid Daney	select ZONE_DMA32
700340fbb8bSDavid Daney	select USB_ARCH_HAS_OHCI
701340fbb8bSDavid Daney	select USB_ARCH_HAS_EHCI
702a86c7f72SDavid Daney	help
703a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
704a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
705a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
706a86c7f72SDavid Daney	  Some of the supported boards are:
707a86c7f72SDavid Daney		EBT3000
708a86c7f72SDavid Daney		EBH3000
709a86c7f72SDavid Daney		EBH3100
710a86c7f72SDavid Daney		Thunder
711a86c7f72SDavid Daney		Kodama
712a86c7f72SDavid Daney		Hikari
713a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
714a86c7f72SDavid Daney
7151da177e4SLinus Torvaldsendchoice
7161da177e4SLinus Torvalds
717e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
718e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig"
7195e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
7205ebabe59SLars-Peter Clausensource "arch/mips/jz4740/Kconfig"
7211f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
7225e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
723a3a0f8c8SDavid VomLehnsource "arch/mips/powertv/Kconfig"
72429c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
72538b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
72622b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
7275e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
728a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
72985749d24SWu Zhangjinsource "arch/mips/loongson/Kconfig"
73038b18f72SRalf Baechle
7315e83d430SRalf Baechleendmenu
7325e83d430SRalf Baechle
7331da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
7341da177e4SLinus Torvalds	bool
7351da177e4SLinus Torvalds	default y
7361da177e4SLinus Torvalds
7371da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
7381da177e4SLinus Torvalds	bool
7391da177e4SLinus Torvalds
740f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
741f0d1b0b3SDavid Howells	bool
742f0d1b0b3SDavid Howells	default n
743f0d1b0b3SDavid Howells
744f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
745f0d1b0b3SDavid Howells	bool
746f0d1b0b3SDavid Howells	default n
747f0d1b0b3SDavid Howells
74800a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
74900a58253SRalf Baechle	bool
75000a58253SRalf Baechle	default y if !MIPS_MT_SMTC
75100a58253SRalf Baechle
7523c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7533c9ee7efSAkinobu Mita	bool
7543c9ee7efSAkinobu Mita	default y
7553c9ee7efSAkinobu Mita
7563c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7573c9ee7efSAkinobu Mita	bool
7583c9ee7efSAkinobu Mita	default y
7593c9ee7efSAkinobu Mita
7601da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7611da177e4SLinus Torvalds	bool
7621da177e4SLinus Torvalds	default y
7631da177e4SLinus Torvalds
7647bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7657bcf7717SRalf Baechle	bool
7667bcf7717SRalf Baechle	default y
7677bcf7717SRalf Baechle
768f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
769f5ff0a28SRalf Baechle	bool
770f5ff0a28SRalf Baechle	default y
771f5ff0a28SRalf Baechle
772ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
7731cc89038SAtsushi Nemoto	bool
7741cc89038SAtsushi Nemoto	default y
7751cc89038SAtsushi Nemoto
776e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
777c87e0909SRalf Baechle	def_bool y
778e77c232cSFranck Bui-Huu
7791da177e4SLinus Torvalds#
7801da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7811da177e4SLinus Torvalds#
7821da177e4SLinus Torvaldsconfig ARC
7831da177e4SLinus Torvalds	bool
7841da177e4SLinus Torvalds
78561ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
78661ed242dSRalf Baechle	bool
78761ed242dSRalf Baechle
7889267a30dSMarc St-Jeanconfig BOOT_RAW
7899267a30dSMarc St-Jean	bool
7909267a30dSMarc St-Jean
791217dd11eSRalf Baechleconfig CEVT_BCM1480
792217dd11eSRalf Baechle	bool
793217dd11eSRalf Baechle
7946457d9fcSYoichi Yuasaconfig CEVT_DS1287
7956457d9fcSYoichi Yuasa	bool
7966457d9fcSYoichi Yuasa
7971097c6acSYoichi Yuasaconfig CEVT_GT641XX
7981097c6acSYoichi Yuasa	bool
7991097c6acSYoichi Yuasa
800779e7d41SManuel Laussconfig CEVT_R4K_LIB
801779e7d41SManuel Lauss	bool
802779e7d41SManuel Lauss
80342f77542SRalf Baechleconfig CEVT_R4K
804779e7d41SManuel Lauss	select CEVT_R4K_LIB
80542f77542SRalf Baechle	bool
80642f77542SRalf Baechle
807217dd11eSRalf Baechleconfig CEVT_SB1250
808217dd11eSRalf Baechle	bool
809217dd11eSRalf Baechle
810229f773eSAtsushi Nemotoconfig CEVT_TXX9
811229f773eSAtsushi Nemoto	bool
812229f773eSAtsushi Nemoto
813217dd11eSRalf Baechleconfig CSRC_BCM1480
814217dd11eSRalf Baechle	bool
815217dd11eSRalf Baechle
8164247417dSYoichi Yuasaconfig CSRC_IOASIC
8174247417dSYoichi Yuasa	bool
8184247417dSYoichi Yuasa
819a3a0f8c8SDavid VomLehnconfig CSRC_POWERTV
820a3a0f8c8SDavid VomLehn	bool
821a3a0f8c8SDavid VomLehn
822779e7d41SManuel Laussconfig CSRC_R4K_LIB
823779e7d41SManuel Lauss	bool
824779e7d41SManuel Lauss
825940f6b48SRalf Baechleconfig CSRC_R4K
826779e7d41SManuel Lauss	select CSRC_R4K_LIB
827940f6b48SRalf Baechle	bool
828940f6b48SRalf Baechle
829217dd11eSRalf Baechleconfig CSRC_SB1250
830217dd11eSRalf Baechle	bool
831217dd11eSRalf Baechle
832a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
833a9aec7feSAtsushi Nemoto	select GENERIC_GPIO
8347444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
835a9aec7feSAtsushi Nemoto	bool
836a9aec7feSAtsushi Nemoto
837df78b5c8SAurelien Jarnoconfig CFE
838df78b5c8SAurelien Jarno	bool
839df78b5c8SAurelien Jarno
8401da177e4SLinus Torvaldsconfig DMA_COHERENT
8411da177e4SLinus Torvalds	bool
8421da177e4SLinus Torvalds
8431da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
8441da177e4SLinus Torvalds	bool
845e1e02b32SFUJITA Tomonori	select NEED_DMA_MAP_STATE
8464ce588cdSRalf Baechle
847e1e02b32SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
8484ce588cdSRalf Baechle	bool
8491da177e4SLinus Torvalds
85036a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
8511da177e4SLinus Torvalds	bool
8521da177e4SLinus Torvalds
853dbb74540SRalf Baechleconfig HOTPLUG_CPU
8541b2bc75cSRalf Baechle	bool "Support for hot-pluggable CPUs"
8551b2bc75cSRalf Baechle	depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
8561b2bc75cSRalf Baechle	help
8571b2bc75cSRalf Baechle	  Say Y here to allow turning CPUs off and on. CPUs can be
8581b2bc75cSRalf Baechle	  controlled through /sys/devices/system/cpu.
8591b2bc75cSRalf Baechle	  (Note: power management support will enable this option
8601b2bc75cSRalf Baechle	    automatically on SMP systems. )
8611b2bc75cSRalf Baechle	  Say N if you want to disable CPU hotplug.
8621b2bc75cSRalf Baechle
8631b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU
864dbb74540SRalf Baechle	bool
865dbb74540SRalf Baechle
8661da177e4SLinus Torvaldsconfig I8259
8671da177e4SLinus Torvalds	bool
8681da177e4SLinus Torvalds
8691da177e4SLinus Torvaldsconfig MIPS_BONITO64
8701da177e4SLinus Torvalds	bool
8711da177e4SLinus Torvalds
8721da177e4SLinus Torvaldsconfig MIPS_MSC
8731da177e4SLinus Torvalds	bool
8741da177e4SLinus Torvalds
8751f21d2bdSBrian Murphyconfig MIPS_NILE4
8761f21d2bdSBrian Murphy	bool
8771f21d2bdSBrian Murphy
8781da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8791da177e4SLinus Torvalds	bool
8801da177e4SLinus Torvalds
88139b8d525SRalf Baechleconfig SYNC_R4K
88239b8d525SRalf Baechle	bool
88339b8d525SRalf Baechle
884d388d685SMaciej W. Rozyckiconfig NO_IOPORT
885d388d685SMaciej W. Rozycki	def_bool n
886d388d685SMaciej W. Rozycki
8878313da30SRalf Baechleconfig GENERIC_ISA_DMA
8888313da30SRalf Baechle	bool
8898313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
890a35bee8aSNamhyung Kim	select ISA_DMA_API
8918313da30SRalf Baechle
892aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
893aa414dffSRalf Baechle	bool
8948313da30SRalf Baechle	select GENERIC_ISA_DMA
895aa414dffSRalf Baechle
896a35bee8aSNamhyung Kimconfig ISA_DMA_API
897a35bee8aSNamhyung Kim	bool
898a35bee8aSNamhyung Kim
89909663335SYoichi Yuasaconfig GENERIC_GPIO
90009663335SYoichi Yuasa	bool
90109663335SYoichi Yuasa
9025e83d430SRalf Baechle#
9033cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
9045e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
9055e83d430SRalf Baechle# choice statement should be more obvious to the user.
9065e83d430SRalf Baechle#
9075e83d430SRalf Baechlechoice
9085e83d430SRalf Baechle	prompt "Endianess selection"
9091da177e4SLinus Torvalds	help
9101da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
9115e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
9123cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
9135e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
9143dde6ad8SDavid Sterba	  one or the other endianness.
9155e83d430SRalf Baechle
9165e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
9175e83d430SRalf Baechle	bool "Big endian"
9185e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
9195e83d430SRalf Baechle
9205e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
9215e83d430SRalf Baechle	bool "Little endian"
9225e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
9235e83d430SRalf Baechle	help
9245e83d430SRalf Baechle
9255e83d430SRalf Baechleendchoice
9265e83d430SRalf Baechle
92722b0763aSDavid Daneyconfig EXPORT_UASM
92822b0763aSDavid Daney	bool
92922b0763aSDavid Daney
9302116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
9312116245eSRalf Baechle	bool
9322116245eSRalf Baechle
9335e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
9345e83d430SRalf Baechle	bool
9355e83d430SRalf Baechle
9365e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
9375e83d430SRalf Baechle	bool
9381da177e4SLinus Torvalds
9399cffd154SDavid Daneyconfig SYS_SUPPORTS_HUGETLBFS
9409cffd154SDavid Daney	bool
9419cffd154SDavid Daney	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
9429cffd154SDavid Daney	default y
9439cffd154SDavid Daney
9441da177e4SLinus Torvaldsconfig IRQ_CPU
9451da177e4SLinus Torvalds	bool
9461da177e4SLinus Torvalds
9471da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
9481da177e4SLinus Torvalds	bool
9491da177e4SLinus Torvalds
9505e83d430SRalf Baechleconfig IRQ_CPU_RM9K
9515e83d430SRalf Baechle	bool
9525e83d430SRalf Baechle
9539267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
9549267a30dSMarc St-Jean	bool
9559267a30dSMarc St-Jean
9569267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
9579267a30dSMarc St-Jean	bool
9589267a30dSMarc St-Jean
9598420fd00SAtsushi Nemotoconfig IRQ_TXX9
9608420fd00SAtsushi Nemoto	bool
9618420fd00SAtsushi Nemoto
962d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
963d5ab1a69SYoichi Yuasa	bool
964d5ab1a69SYoichi Yuasa
96539b8d525SRalf Baechleconfig IRQ_GIC
96639b8d525SRalf Baechle	bool
96739b8d525SRalf Baechle
968a86c7f72SDavid Daneyconfig IRQ_CPU_OCTEON
969a86c7f72SDavid Daney	bool
970a86c7f72SDavid Daney
9711da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
9721da177e4SLinus Torvalds	bool
9731da177e4SLinus Torvalds
974252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
9751da177e4SLinus Torvalds	bool
9761da177e4SLinus Torvalds
9779267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
9789267a30dSMarc St-Jean	bool
9799267a30dSMarc St-Jean
980663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
981663c3d90Sthomas@koeller.dyndns.org	bool
982663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
983663c3d90Sthomas@koeller.dyndns.org
984a83860c2SRalf Baechleconfig SOC_EMMA2RH
985a83860c2SRalf Baechle	bool
986a83860c2SRalf Baechle	select CEVT_R4K
987a83860c2SRalf Baechle	select CSRC_R4K
988a83860c2SRalf Baechle	select DMA_NONCOHERENT
989a83860c2SRalf Baechle	select IRQ_CPU
990a83860c2SRalf Baechle	select SWAP_IO_SPACE
991a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
992a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
993a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
994a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
995a83860c2SRalf Baechle
996edb6310aSDaniel Lairdconfig SOC_PNX833X
997edb6310aSDaniel Laird	bool
998edb6310aSDaniel Laird	select CEVT_R4K
999edb6310aSDaniel Laird	select CSRC_R4K
1000edb6310aSDaniel Laird	select IRQ_CPU
1001edb6310aSDaniel Laird	select DMA_NONCOHERENT
1002edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
1003edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
1004edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
1005edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
1006edb6310aSDaniel Laird	select GENERIC_GPIO
1007edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
1008edb6310aSDaniel Laird
1009edb6310aSDaniel Lairdconfig SOC_PNX8335
1010edb6310aSDaniel Laird	bool
1011edb6310aSDaniel Laird	select SOC_PNX833X
1012edb6310aSDaniel Laird
1013bdf21b18SPete Popovconfig PNX8550
1014bdf21b18SPete Popov	bool
1015bdf21b18SPete Popov	select SOC_PNX8550
1016bdf21b18SPete Popov
1017bdf21b18SPete Popovconfig SOC_PNX8550
1018bdf21b18SPete Popov	bool
1019bdf21b18SPete Popov	select DMA_NONCOHERENT
1020bdf21b18SPete Popov	select HW_HAS_PCI
1021b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
102236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
10237cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
10244ead1681SFlorian Fainelli	select GENERIC_GPIO
1025bdf21b18SPete Popov
10261da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
10271da177e4SLinus Torvalds	bool
10281da177e4SLinus Torvalds
1029663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
1030663c3d90Sthomas@koeller.dyndns.org	bool
1031663c3d90Sthomas@koeller.dyndns.org
1032e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
1033e2defae5SThomas Bogendoerfer	bool
1034e2defae5SThomas Bogendoerfer
10355b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
10365b438c44SThomas Bogendoerfer	bool
10375b438c44SThomas Bogendoerfer
1038e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
1039e2defae5SThomas Bogendoerfer	bool
1040e2defae5SThomas Bogendoerfer
1041e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
1042e2defae5SThomas Bogendoerfer	bool
1043e2defae5SThomas Bogendoerfer
1044e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
1045e2defae5SThomas Bogendoerfer	bool
1046e2defae5SThomas Bogendoerfer
1047e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1048e2defae5SThomas Bogendoerfer	bool
1049e2defae5SThomas Bogendoerfer
1050e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1051e2defae5SThomas Bogendoerfer	bool
1052e2defae5SThomas Bogendoerfer
10535e83d430SRalf Baechleconfig ARC32
10545e83d430SRalf Baechle	bool
10555e83d430SRalf Baechle
1056231a35d3SThomas Bogendoerferconfig SNIPROM
1057231a35d3SThomas Bogendoerfer	bool
1058231a35d3SThomas Bogendoerfer
10591da177e4SLinus Torvaldsconfig BOOT_ELF32
10601da177e4SLinus Torvalds	bool
10611da177e4SLinus Torvalds
10621da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
10631da177e4SLinus Torvalds	int
1064c7088755SRalf Baechle	default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
10650db2b74eSRalf Baechle	default "6" if MIPS_CPU_SCACHE
1066a86c7f72SDavid Daney	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
10671da177e4SLinus Torvalds	default "5"
10681da177e4SLinus Torvalds
10691da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
10701da177e4SLinus Torvalds	bool
10711da177e4SLinus Torvalds
10721da177e4SLinus Torvaldsconfig ARC_CONSOLE
10731da177e4SLinus Torvalds	bool "ARC console support"
1074e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
10751da177e4SLinus Torvalds
10761da177e4SLinus Torvaldsconfig ARC_MEMORY
10771da177e4SLinus Torvalds	bool
107814b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
10791da177e4SLinus Torvalds	default y
10801da177e4SLinus Torvalds
10811da177e4SLinus Torvaldsconfig ARC_PROMLIB
10821da177e4SLinus Torvalds	bool
1083e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
10841da177e4SLinus Torvalds	default y
10851da177e4SLinus Torvalds
10861da177e4SLinus Torvaldsconfig ARC64
10871da177e4SLinus Torvalds	bool
10881da177e4SLinus Torvalds
10891da177e4SLinus Torvaldsconfig BOOT_ELF64
10901da177e4SLinus Torvalds	bool
10911da177e4SLinus Torvalds
10921da177e4SLinus Torvaldsmenu "CPU selection"
10931da177e4SLinus Torvalds
10941da177e4SLinus Torvaldschoice
10951da177e4SLinus Torvalds	prompt "CPU type"
10961da177e4SLinus Torvalds	default CPU_R4X00
10971da177e4SLinus Torvalds
10983702bba5SWu Zhangjinconfig CPU_LOONGSON2E
10993702bba5SWu Zhangjin	bool "Loongson 2E"
11003702bba5SWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2E
11013702bba5SWu Zhangjin	select CPU_LOONGSON2
11022a21c730SFuxin Zhang	help
11032a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
11042a21c730SFuxin Zhang	  with many extensions.
11052a21c730SFuxin Zhang
11066f7a251aSWu Zhangjin	  It has an internal FPGA northbridge, which is compatiable to
11076f7a251aSWu Zhangjin	  bonito64.
11086f7a251aSWu Zhangjin
11096f7a251aSWu Zhangjinconfig CPU_LOONGSON2F
11106f7a251aSWu Zhangjin	bool "Loongson 2F"
11116f7a251aSWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2F
11126f7a251aSWu Zhangjin	select CPU_LOONGSON2
1113c197da91SArnaud Patard	select GENERIC_GPIO
1114c197da91SArnaud Patard	select ARCH_REQUIRE_GPIOLIB
11156f7a251aSWu Zhangjin	help
11166f7a251aSWu Zhangjin	  The Loongson 2F processor implements the MIPS III instruction set
11176f7a251aSWu Zhangjin	  with many extensions.
11186f7a251aSWu Zhangjin
11196f7a251aSWu Zhangjin	  Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
11206f7a251aSWu Zhangjin	  have a similar programming interface with FPGA northbridge used in
11216f7a251aSWu Zhangjin	  Loongson2E.
11226f7a251aSWu Zhangjin
11236e760c8dSRalf Baechleconfig CPU_MIPS32_R1
11246e760c8dSRalf Baechle	bool "MIPS32 Release 1"
11257cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
11266e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1127797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1128ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11296e760c8dSRalf Baechle	help
11305e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11311e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11321e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11331e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11341e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11351e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
11361e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
11371e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
11381e5f1caaSRalf Baechle	  performance.
11391e5f1caaSRalf Baechle
11401e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
11411e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
11427cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
11431e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1144797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1145ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11461e5f1caaSRalf Baechle	help
11475e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11486e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11496e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11506e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11516e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11521da177e4SLinus Torvalds
11536e760c8dSRalf Baechleconfig CPU_MIPS64_R1
11546e760c8dSRalf Baechle	bool "MIPS64 Release 1"
11557cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1156797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1157ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1158ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1159ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11609cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11616e760c8dSRalf Baechle	help
11626e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11636e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11646e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11656e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11666e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11671e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
11681e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
11691e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
11701e5f1caaSRalf Baechle	  performance.
11711e5f1caaSRalf Baechle
11721e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
11731e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
11747cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1175797798c1SRalf Baechle	select CPU_HAS_PREFETCH
11761e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11771e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1178ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11799cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11801e5f1caaSRalf Baechle	help
11811e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11821e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11831e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11841e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11851e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11861da177e4SLinus Torvalds
11871da177e4SLinus Torvaldsconfig CPU_R3000
11881da177e4SLinus Torvalds	bool "R3000"
11897cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1190f7062ddbSRalf Baechle	select CPU_HAS_WB
1191ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1192797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11931da177e4SLinus Torvalds	help
11941da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
11951da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
11961da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
11971da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
11981da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
11991da177e4SLinus Torvalds	  try to recompile with R3000.
12001da177e4SLinus Torvalds
12011da177e4SLinus Torvaldsconfig CPU_TX39XX
12021da177e4SLinus Torvalds	bool "R39XX"
12037cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1204ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12051da177e4SLinus Torvalds
12061da177e4SLinus Torvaldsconfig CPU_VR41XX
12071da177e4SLinus Torvalds	bool "R41xx"
12087cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1209ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1210ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12111da177e4SLinus Torvalds	help
12125e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
12131da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
12141da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
12151da177e4SLinus Torvalds	  processor or vice versa.
12161da177e4SLinus Torvalds
12171da177e4SLinus Torvaldsconfig CPU_R4300
12181da177e4SLinus Torvalds	bool "R4300"
12197cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1220ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1221ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12221da177e4SLinus Torvalds	help
12231da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
12241da177e4SLinus Torvalds
12251da177e4SLinus Torvaldsconfig CPU_R4X00
12261da177e4SLinus Torvalds	bool "R4x00"
12277cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1228ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1229ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12301da177e4SLinus Torvalds	help
12311da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
12321da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
12331da177e4SLinus Torvalds
12341da177e4SLinus Torvaldsconfig CPU_TX49XX
12351da177e4SLinus Torvalds	bool "R49XX"
12367cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1237de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1238ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1239ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12401da177e4SLinus Torvalds
12411da177e4SLinus Torvaldsconfig CPU_R5000
12421da177e4SLinus Torvalds	bool "R5000"
12437cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1244ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1245ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12461da177e4SLinus Torvalds	help
12471da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
12481da177e4SLinus Torvalds
12491da177e4SLinus Torvaldsconfig CPU_R5432
12501da177e4SLinus Torvalds	bool "R5432"
12517cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
12525e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
12535e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
12541da177e4SLinus Torvalds
1255542c1020SShinya Kuribayashiconfig CPU_R5500
1256542c1020SShinya Kuribayashi	bool "R5500"
1257542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1258542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1259542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
12609cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1261542c1020SShinya Kuribayashi	help
1262542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1263542c1020SShinya Kuribayashi	  instruction set.
1264542c1020SShinya Kuribayashi
12651da177e4SLinus Torvaldsconfig CPU_R6000
12661da177e4SLinus Torvalds	bool "R6000"
1267ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12687cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1269ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12701da177e4SLinus Torvalds	help
12711da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1272c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
12731da177e4SLinus Torvalds
12741da177e4SLinus Torvaldsconfig CPU_NEVADA
12751da177e4SLinus Torvalds	bool "RM52xx"
12767cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1277ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1278ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12791da177e4SLinus Torvalds	help
12801da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
12811da177e4SLinus Torvalds
12821da177e4SLinus Torvaldsconfig CPU_R8000
12831da177e4SLinus Torvalds	bool "R8000"
1284ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12857cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
12865e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1287ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12881da177e4SLinus Torvalds	help
12891da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
12901da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
12911da177e4SLinus Torvalds
12921da177e4SLinus Torvaldsconfig CPU_R10000
12931da177e4SLinus Torvalds	bool "R10000"
12947cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
12955e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1296ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1297ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1298797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12991da177e4SLinus Torvalds	help
13001da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
13011da177e4SLinus Torvalds
13021da177e4SLinus Torvaldsconfig CPU_RM7000
13031da177e4SLinus Torvalds	bool "RM7000"
13047cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
13055e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1306ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1307ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1308797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13091da177e4SLinus Torvalds
13101da177e4SLinus Torvaldsconfig CPU_RM9000
13111da177e4SLinus Torvalds	bool "RM9000"
13127cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
13135e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1314ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1315ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1316797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13170004a9dfSRalf Baechle	select WEAK_ORDERING
13181da177e4SLinus Torvalds
13191da177e4SLinus Torvaldsconfig CPU_SB1
13201da177e4SLinus Torvalds	bool "SB1"
13217cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1322ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1323ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1324797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13250004a9dfSRalf Baechle	select WEAK_ORDERING
13261da177e4SLinus Torvalds
1327a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1328a86c7f72SDavid Daney	bool "Cavium Octeon processor"
13295e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1330a86c7f72SDavid Daney	select IRQ_CPU
1331a86c7f72SDavid Daney	select IRQ_CPU_OCTEON
1332a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1333a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1334a86c7f72SDavid Daney	select SYS_SUPPORTS_SMP
1335a86c7f72SDavid Daney	select NR_CPUS_DEFAULT_16
1336a86c7f72SDavid Daney	select WEAK_ORDERING
1337a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
13389cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1339a86c7f72SDavid Daney	help
1340a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1341a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1342a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1343a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1344a86c7f72SDavid Daney
1345c1c0c461SKevin Cernekeeconfig CPU_BMIPS3300
1346c1c0c461SKevin Cernekee	bool "BMIPS3300"
1347c1c0c461SKevin Cernekee	depends on SYS_HAS_CPU_BMIPS3300
1348c1c0c461SKevin Cernekee	select DMA_NONCOHERENT
1349c1c0c461SKevin Cernekee	select IRQ_CPU
1350c1c0c461SKevin Cernekee	select SWAP_IO_SPACE
1351c1c0c461SKevin Cernekee	select SYS_SUPPORTS_32BIT_KERNEL
1352c1c0c461SKevin Cernekee	select WEAK_ORDERING
1353c1c0c461SKevin Cernekee	help
1354c1c0c461SKevin Cernekee	  Broadcom BMIPS3300 processors.
1355c1c0c461SKevin Cernekee
1356c1c0c461SKevin Cernekeeconfig CPU_BMIPS4350
1357c1c0c461SKevin Cernekee	bool "BMIPS4350"
1358c1c0c461SKevin Cernekee	depends on SYS_HAS_CPU_BMIPS4350
1359c1c0c461SKevin Cernekee	select CPU_SUPPORTS_32BIT_KERNEL
1360c1c0c461SKevin Cernekee	select DMA_NONCOHERENT
1361c1c0c461SKevin Cernekee	select IRQ_CPU
1362c1c0c461SKevin Cernekee	select SWAP_IO_SPACE
1363c1c0c461SKevin Cernekee	select SYS_SUPPORTS_SMP
1364c1c0c461SKevin Cernekee	select SYS_SUPPORTS_HOTPLUG_CPU
1365c1c0c461SKevin Cernekee	select WEAK_ORDERING
1366c1c0c461SKevin Cernekee	help
1367c1c0c461SKevin Cernekee	  Broadcom BMIPS4350 ("VIPER") processors.
1368c1c0c461SKevin Cernekee
1369c1c0c461SKevin Cernekeeconfig CPU_BMIPS4380
1370c1c0c461SKevin Cernekee	bool "BMIPS4380"
1371c1c0c461SKevin Cernekee	depends on SYS_HAS_CPU_BMIPS4380
1372c1c0c461SKevin Cernekee	select CPU_SUPPORTS_32BIT_KERNEL
1373c1c0c461SKevin Cernekee	select DMA_NONCOHERENT
1374c1c0c461SKevin Cernekee	select IRQ_CPU
1375c1c0c461SKevin Cernekee	select SWAP_IO_SPACE
1376c1c0c461SKevin Cernekee	select SYS_SUPPORTS_SMP
1377c1c0c461SKevin Cernekee	select SYS_SUPPORTS_HOTPLUG_CPU
1378c1c0c461SKevin Cernekee	select WEAK_ORDERING
1379c1c0c461SKevin Cernekee	help
1380c1c0c461SKevin Cernekee	  Broadcom BMIPS4380 processors.
1381c1c0c461SKevin Cernekee
1382c1c0c461SKevin Cernekeeconfig CPU_BMIPS5000
1383c1c0c461SKevin Cernekee	bool "BMIPS5000"
1384c1c0c461SKevin Cernekee	depends on SYS_HAS_CPU_BMIPS5000
1385c1c0c461SKevin Cernekee	select CPU_SUPPORTS_32BIT_KERNEL
1386c1c0c461SKevin Cernekee	select CPU_SUPPORTS_HIGHMEM
1387c1c0c461SKevin Cernekee	select DMA_NONCOHERENT
1388c1c0c461SKevin Cernekee	select IRQ_CPU
1389c1c0c461SKevin Cernekee	select SWAP_IO_SPACE
1390c1c0c461SKevin Cernekee	select SYS_SUPPORTS_SMP
1391c1c0c461SKevin Cernekee	select SYS_SUPPORTS_HOTPLUG_CPU
1392c1c0c461SKevin Cernekee	select WEAK_ORDERING
1393c1c0c461SKevin Cernekee	help
1394c1c0c461SKevin Cernekee	  Broadcom BMIPS5000 processors.
1395c1c0c461SKevin Cernekee
13961da177e4SLinus Torvaldsendchoice
13971da177e4SLinus Torvalds
1398622844bfSWu Zhangjinif CPU_LOONGSON2F
1399622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS
1400622844bfSWu Zhangjin	bool
1401622844bfSWu Zhangjin
1402622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS
1403622844bfSWu Zhangjin	bool
1404622844bfSWu Zhangjin
1405622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS
1406622844bfSWu Zhangjin	bool "Loongson 2F Workarounds"
1407622844bfSWu Zhangjin	default y
1408622844bfSWu Zhangjin	select CPU_NOP_WORKAROUNDS
1409622844bfSWu Zhangjin	select CPU_JUMP_WORKAROUNDS
1410622844bfSWu Zhangjin	help
1411622844bfSWu Zhangjin	  Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1412622844bfSWu Zhangjin	  require workarounds.  Without workarounds the system may hang
1413622844bfSWu Zhangjin	  unexpectedly.  For more information please refer to the gas
1414622844bfSWu Zhangjin	  -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1415622844bfSWu Zhangjin
1416622844bfSWu Zhangjin	  Loongson 2F03 and later have fixed these issues and no workarounds
1417622844bfSWu Zhangjin	  are needed.  The workarounds have no significant side effect on them
1418622844bfSWu Zhangjin	  but may decrease the performance of the system so this option should
1419622844bfSWu Zhangjin	  be disabled unless the kernel is intended to be run on 2F01 or 2F02
1420622844bfSWu Zhangjin	  systems.
1421622844bfSWu Zhangjin
1422622844bfSWu Zhangjin	  If unsure, please say Y.
1423622844bfSWu Zhangjinendif # CPU_LOONGSON2F
1424622844bfSWu Zhangjin
14251b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT
14261b93b3c3SWu Zhangjin	bool
14271b93b3c3SWu Zhangjin	select HAVE_KERNEL_GZIP
14281b93b3c3SWu Zhangjin	select HAVE_KERNEL_BZIP2
14291b93b3c3SWu Zhangjin	select HAVE_KERNEL_LZMA
1430fe1d45e0SWu Zhangjin	select HAVE_KERNEL_LZO
14311b93b3c3SWu Zhangjin
14321b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550
14331b93b3c3SWu Zhangjin	bool
14341b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
14351b93b3c3SWu Zhangjin
14363702bba5SWu Zhangjinconfig CPU_LOONGSON2
14373702bba5SWu Zhangjin	bool
14383702bba5SWu Zhangjin	select CPU_SUPPORTS_32BIT_KERNEL
14393702bba5SWu Zhangjin	select CPU_SUPPORTS_64BIT_KERNEL
14403702bba5SWu Zhangjin	select CPU_SUPPORTS_HIGHMEM
14413702bba5SWu Zhangjin
14423702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E
14432a21c730SFuxin Zhang	bool
14442a21c730SFuxin Zhang
14456f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F
14466f7a251aSWu Zhangjin	bool
144755045ff5SWu Zhangjin	select CPU_SUPPORTS_CPUFREQ
144855045ff5SWu Zhangjin	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
144922f1fdfdSWu Zhangjin	select CPU_SUPPORTS_UNCACHED_ACCELERATED
14506f7a251aSWu Zhangjin
14517cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
14527cf8053bSRalf Baechle	bool
14537cf8053bSRalf Baechle
14547cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
14557cf8053bSRalf Baechle	bool
14567cf8053bSRalf Baechle
14577cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
14587cf8053bSRalf Baechle	bool
14597cf8053bSRalf Baechle
14607cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
14617cf8053bSRalf Baechle	bool
14627cf8053bSRalf Baechle
14637cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
14647cf8053bSRalf Baechle	bool
14657cf8053bSRalf Baechle
14667cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
14677cf8053bSRalf Baechle	bool
14687cf8053bSRalf Baechle
14697cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
14707cf8053bSRalf Baechle	bool
14717cf8053bSRalf Baechle
14727cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
14737cf8053bSRalf Baechle	bool
14747cf8053bSRalf Baechle
14757cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
14767cf8053bSRalf Baechle	bool
14777cf8053bSRalf Baechle
14787cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
14797cf8053bSRalf Baechle	bool
14807cf8053bSRalf Baechle
14817cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
14827cf8053bSRalf Baechle	bool
14837cf8053bSRalf Baechle
14847cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
14857cf8053bSRalf Baechle	bool
14867cf8053bSRalf Baechle
1487542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1488542c1020SShinya Kuribayashi	bool
1489542c1020SShinya Kuribayashi
14907cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
14917cf8053bSRalf Baechle	bool
14927cf8053bSRalf Baechle
14937cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
14947cf8053bSRalf Baechle	bool
14957cf8053bSRalf Baechle
14967cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
14977cf8053bSRalf Baechle	bool
14987cf8053bSRalf Baechle
14997cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
15007cf8053bSRalf Baechle	bool
15017cf8053bSRalf Baechle
15027cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
15037cf8053bSRalf Baechle	bool
15047cf8053bSRalf Baechle
15057cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
15067cf8053bSRalf Baechle	bool
15077cf8053bSRalf Baechle
15087cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
15097cf8053bSRalf Baechle	bool
15107cf8053bSRalf Baechle
15115e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
15125e683389SDavid Daney	bool
15135e683389SDavid Daney
1514c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS3300
1515c1c0c461SKevin Cernekee	bool
1516c1c0c461SKevin Cernekee
1517c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4350
1518c1c0c461SKevin Cernekee	bool
1519c1c0c461SKevin Cernekee
1520c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4380
1521c1c0c461SKevin Cernekee	bool
1522c1c0c461SKevin Cernekee
1523c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS5000
1524c1c0c461SKevin Cernekee	bool
1525c1c0c461SKevin Cernekee
152617099b11SRalf Baechle#
152717099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
152817099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
152917099b11SRalf Baechle#
15300004a9dfSRalf Baechleconfig WEAK_ORDERING
15310004a9dfSRalf Baechle	bool
153217099b11SRalf Baechle
153317099b11SRalf Baechle#
153417099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
153517099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
153617099b11SRalf Baechle#
153717099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
153817099b11SRalf Baechle	bool
15395e83d430SRalf Baechleendmenu
15405e83d430SRalf Baechle
15415e83d430SRalf Baechle#
15425e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
15435e83d430SRalf Baechle#
15445e83d430SRalf Baechleconfig CPU_MIPS32
15455e83d430SRalf Baechle	bool
15465e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
15475e83d430SRalf Baechle
15485e83d430SRalf Baechleconfig CPU_MIPS64
15495e83d430SRalf Baechle	bool
15505e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
15515e83d430SRalf Baechle
15525e83d430SRalf Baechle#
1553c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
15545e83d430SRalf Baechle#
15555e83d430SRalf Baechleconfig CPU_MIPSR1
15565e83d430SRalf Baechle	bool
15575e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
15585e83d430SRalf Baechle
15595e83d430SRalf Baechleconfig CPU_MIPSR2
15605e83d430SRalf Baechle	bool
1561a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
15625e83d430SRalf Baechle
15635e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
15645e83d430SRalf Baechle	bool
15655e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
15665e83d430SRalf Baechle	bool
15675e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
15685e83d430SRalf Baechle	bool
15695e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
15705e83d430SRalf Baechle	bool
157155045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ
157255045ff5SWu Zhangjin	bool
157355045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG
157455045ff5SWu Zhangjin	bool
15759cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES
15769cffd154SDavid Daney	bool
157722f1fdfdSWu Zhangjinconfig CPU_SUPPORTS_UNCACHED_ACCELERATED
157822f1fdfdSWu Zhangjin	bool
157982622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT
158082622284SDavid Daney	bool
158182622284SDavid Daney	default y if 64BIT && CPU_MIPSR2
15825e83d430SRalf Baechle
15838192c9eaSDavid Daney#
15848192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
15858192c9eaSDavid Daney#
15868192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
15878192c9eaSDavid Daney       bool
1588f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
15898192c9eaSDavid Daney
15905e83d430SRalf Baechlemenu "Kernel type"
15915e83d430SRalf Baechle
15925e83d430SRalf Baechlechoice
15935e83d430SRalf Baechle
15945e83d430SRalf Baechle	prompt "Kernel code model"
15955e83d430SRalf Baechle	help
15965e83d430SRalf Baechle	  You should only select this option if you have a workload that
15975e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
15985e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
15995e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
16005e83d430SRalf Baechle
16015e83d430SRalf Baechleconfig 32BIT
16025e83d430SRalf Baechle	bool "32-bit kernel"
16035e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
16045e83d430SRalf Baechle	select TRAD_SIGNALS
16055e83d430SRalf Baechle	help
16065e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
16075e83d430SRalf Baechleconfig 64BIT
16085e83d430SRalf Baechle	bool "64-bit kernel"
16095e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1610dbda6ac0SRalf Baechle	select HAVE_SYSCALL_WRAPPERS
16115e83d430SRalf Baechle	help
16125e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
16135e83d430SRalf Baechle
16145e83d430SRalf Baechleendchoice
16155e83d430SRalf Baechle
16161da177e4SLinus Torvaldschoice
16171da177e4SLinus Torvalds	prompt "Kernel page size"
16181da177e4SLinus Torvalds	default PAGE_SIZE_4KB
16191da177e4SLinus Torvalds
16201da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
16211da177e4SLinus Torvalds	bool "4kB"
1622315fe625SWu Zhangjin	depends on !CPU_LOONGSON2
16231da177e4SLinus Torvalds	help
16241da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
16251da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
16261da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
16271da177e4SLinus Torvalds	 recommended for low memory systems.
16281da177e4SLinus Torvalds
16291da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
16301da177e4SLinus Torvalds	bool "8kB"
1631c52399beSRalf Baechle	depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
16321da177e4SLinus Torvalds	help
16331da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
16341da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
1635c52399beSRalf Baechle	  only on R8000 and cnMIPS processors.  Note that you will need a
1636c52399beSRalf Baechle	  suitable Linux distribution to support this.
16371da177e4SLinus Torvalds
16381da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
16391da177e4SLinus Torvalds	bool "16kB"
1640714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
16411da177e4SLinus Torvalds	help
16421da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
16431da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1644714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1645714bfad6SRalf Baechle	  Linux distribution to support this.
16461da177e4SLinus Torvalds
1647c52399beSRalf Baechleconfig PAGE_SIZE_32KB
1648c52399beSRalf Baechle	bool "32kB"
1649c52399beSRalf Baechle	depends on CPU_CAVIUM_OCTEON
1650c52399beSRalf Baechle	help
1651c52399beSRalf Baechle	  Using 32kB page size will result in higher performance kernel at
1652c52399beSRalf Baechle	  the price of higher memory consumption.  This option is available
1653c52399beSRalf Baechle	  only on cnMIPS cores.  Note that you will need a suitable Linux
1654c52399beSRalf Baechle	  distribution to support this.
1655c52399beSRalf Baechle
16561da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
16571da177e4SLinus Torvalds	bool "64kB"
16581da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
16591da177e4SLinus Torvalds	help
16601da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
16611da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
16621da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1663714bfad6SRalf Baechle	  writing this option is still high experimental.
16641da177e4SLinus Torvalds
16651da177e4SLinus Torvaldsendchoice
16661da177e4SLinus Torvalds
16671da177e4SLinus Torvaldsconfig BOARD_SCACHE
16681da177e4SLinus Torvalds	bool
16691da177e4SLinus Torvalds
16701da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
16711da177e4SLinus Torvalds	bool
16721da177e4SLinus Torvalds	select BOARD_SCACHE
16731da177e4SLinus Torvalds
16749318c51aSChris Dearman#
16759318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
16769318c51aSChris Dearman#
16779318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
16789318c51aSChris Dearman	bool
16799318c51aSChris Dearman	select BOARD_SCACHE
16809318c51aSChris Dearman
16811da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
16821da177e4SLinus Torvalds	bool
16831da177e4SLinus Torvalds	select BOARD_SCACHE
16841da177e4SLinus Torvalds
16851da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
16861da177e4SLinus Torvalds	bool
16871da177e4SLinus Torvalds	select BOARD_SCACHE
16881da177e4SLinus Torvalds
16891da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
16901da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
16911da177e4SLinus Torvalds	depends on CPU_SB1
16921da177e4SLinus Torvalds	help
16931da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
16941da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
16951da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
16961da177e4SLinus Torvalds
16971da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1698c8094b53SRalf Baechle	bool
16991da177e4SLinus Torvalds
1700340ee4b9SRalf Baechlechoice
1701340ee4b9SRalf Baechle	prompt "MIPS MT options"
1702f41ae0b2SRalf Baechle
1703f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1704f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1705f41ae0b2SRalf Baechle	help
1706f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1707f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1708f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1709f41ae0b2SRalf Baechle	  option in this menu.
1710340ee4b9SRalf Baechle
171159d6ab86SRalf Baechleconfig MIPS_MT_SMP
171259d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
171359d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
171459d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1715d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
171659d6ab86SRalf Baechle	select MIPS_MT
1717f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
171859d6ab86SRalf Baechle	select SMP
17190ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
172059d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
172187353d8aSRalf Baechle	select SMP_UP
172259d6ab86SRalf Baechle	help
172325f12b33SRalf Baechle	  This is a kernel model which is known a VSMP but lately has been
172425f12b33SRalf Baechle	  marketesed into SMVP.
172525f12b33SRalf Baechle	  Virtual SMP uses the processor's VPEs  to implement virtual
172625f12b33SRalf Baechle	  processors. In currently available configuration of the 34K processor
172725f12b33SRalf Baechle	  this allows for a dual processor. Both processors will share the same
172825f12b33SRalf Baechle	  primary caches; each will obtain the half of the TLB for it's own
172925f12b33SRalf Baechle	  exclusive use. For a layman this model can be described as similar to
173025f12b33SRalf Baechle	  what Intel calls Hyperthreading.
173125f12b33SRalf Baechle
173225f12b33SRalf Baechle	  For further information see http://www.linux-mips.org/wiki/34K#VSMP
173359d6ab86SRalf Baechle
173441c594abSRalf Baechleconfig MIPS_MT_SMTC
173541c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1736f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1737f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1738f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1739f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1740d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1741f41ae0b2SRalf Baechle	select MIPS_MT
1742130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
174341c594abSRalf Baechle	select SMP
174473b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
174587353d8aSRalf Baechle	select SMP_UP
1746f41ae0b2SRalf Baechle	help
1747f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1748f41ae0b2SRalf Baechle	  marketesed into SMVP.
174925f12b33SRalf Baechle	  is presenting the available TC's of the core as processors to Linux.
175025f12b33SRalf Baechle	  On currently available 34K processors this means a Linux system will
175125f12b33SRalf Baechle	  see up to 5 processors. The implementation of the SMTC kernel differs
175225f12b33SRalf Baechle	  significantly from VSMP and cannot efficiently coexist in the same
175325f12b33SRalf Baechle	  kernel binary so the choice between VSMP and SMTC is a compile time
175425f12b33SRalf Baechle	  decision.
175525f12b33SRalf Baechle
175625f12b33SRalf Baechle	  For further information see http://www.linux-mips.org/wiki/34K#SMTC
175741c594abSRalf Baechle
1758340ee4b9SRalf Baechleendchoice
1759340ee4b9SRalf Baechle
1760f41ae0b2SRalf Baechleconfig MIPS_MT
1761f41ae0b2SRalf Baechle	bool
1762f41ae0b2SRalf Baechle
17630ab7aefcSRalf Baechleconfig SCHED_SMT
17640ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
17650ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
17660ab7aefcSRalf Baechle	default n
17670ab7aefcSRalf Baechle	help
17680ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
17690ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
17700ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
17710ab7aefcSRalf Baechle
17720ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
17730ab7aefcSRalf Baechle	bool
17740ab7aefcSRalf Baechle
17750ab7aefcSRalf Baechle
1776f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1777f41ae0b2SRalf Baechle	bool
1778f41ae0b2SRalf Baechle
1779f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1780f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1781f088fc84SRalf Baechle	default y
178207cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
178307cc0c9eSRalf Baechle
178407cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
178507cc0c9eSRalf Baechle	bool "VPE loader support."
178607cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
178707cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
178807cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
178907cc0c9eSRalf Baechle	select MIPS_MT
179007cc0c9eSRalf Baechle	help
179107cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
179207cc0c9eSRalf Baechle	  onto another VPE and running it.
1793f088fc84SRalf Baechle
17940db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
17950db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
17960db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
17978531a35eSKevin D. Kissell	default n
17980db34215SKevin D. Kissell	help
17990db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
18000db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
18010db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
18020db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
18030db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
18048531a35eSKevin D. Kissell	  impact on interrupt service overhead.
18050db34215SKevin D. Kissell
1806f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1807f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1808f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1809f571eff0SKevin D. Kissell	default n
1810f571eff0SKevin D. Kissell	help
1811f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1812f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1813f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
18148531a35eSKevin D. Kissell	  platform code.  Adds some overhead to interrupt dispatch, and
18158531a35eSKevin D. Kissell	  should be used only if you know what you are doing.
1816f571eff0SKevin D. Kissell
1817e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1818e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1819e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1820e01402b1SRalf Baechle	default y
1821e01402b1SRalf Baechle	help
1822e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1823e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1824e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1825e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1826e01402b1SRalf Baechle
1827e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1828e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1829e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1830e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
18315e83d430SRalf Baechle	help
1832e01402b1SRalf Baechle
18332600990eSRalf Baechleconfig MIPS_APSP_KSPD
18342600990eSRalf Baechle	bool "Enable KSPD"
18352600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
18362600990eSRalf Baechle	default y
18372600990eSRalf Baechle	help
18382600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
18392600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
18402600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
18412600990eSRalf Baechle	  exiting.  You probably want to say yes here.
18422600990eSRalf Baechle
18434a16ff4cSRalf Baechleconfig MIPS_CMP
18444a16ff4cSRalf Baechle	bool "MIPS CMP framework support"
18454a16ff4cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
1846eb9b5141STim Anderson	select SYNC_R4K
18474a16ff4cSRalf Baechle	select SYS_SUPPORTS_SMP
18484a16ff4cSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
18494a16ff4cSRalf Baechle	select WEAK_ORDERING
18504a16ff4cSRalf Baechle	default n
18514a16ff4cSRalf Baechle	help
18524a16ff4cSRalf Baechle	  This is a placeholder option for the GCMP work. It will need to
18534a16ff4cSRalf Baechle	  be handled differently...
18544a16ff4cSRalf Baechle
18551da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
18561da177e4SLinus Torvalds	bool
18571da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
18581da177e4SLinus Torvalds	default y
18591da177e4SLinus Torvalds
18601da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
18611da177e4SLinus Torvalds	bool
18621da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
18631da177e4SLinus Torvalds	default y
18641da177e4SLinus Torvalds
18651da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
18661da177e4SLinus Torvalds	bool
18671da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
18681da177e4SLinus Torvalds	default y
18691da177e4SLinus Torvalds
18701da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1871d806cb2bSRalf Baechle	bool
18721da177e4SLinus Torvalds
187360ec6571Spascal@pabr.orgconfig ARCH_PHYS_ADDR_T_64BIT
187460ec6571Spascal@pabr.org       def_bool 64BIT_PHYS_ADDR
187560ec6571Spascal@pabr.org
18769693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
18779693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
18789693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
18799693a853SFranck Bui-Huu	help
18809693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
18819693a853SFranck Bui-Huu	  increased security at both hardware and software level for
18829693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
18839693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
18849693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
18859693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
18869693a853SFranck Bui-Huu	  here.
18879693a853SFranck Bui-Huu
18881da177e4SLinus Torvaldsconfig CPU_HAS_WB
1889f7062ddbSRalf Baechle	bool
1890e01402b1SRalf Baechle
1891f41ae0b2SRalf Baechle#
1892f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1893f41ae0b2SRalf Baechle#
1894e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1895f41ae0b2SRalf Baechle	bool
1896e01402b1SRalf Baechle
1897f41ae0b2SRalf Baechle#
1898f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1899f41ae0b2SRalf Baechle#
1900e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1901f41ae0b2SRalf Baechle	bool
1902e01402b1SRalf Baechle
19031da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
19041da177e4SLinus Torvalds	bool
19051da177e4SLinus Torvalds	depends on !CPU_R3000
19061da177e4SLinus Torvalds	default y
19071da177e4SLinus Torvalds
1908ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1909ea580401SRalf Baechle	bool
1910ea580401SRalf Baechle
19111da177e4SLinus Torvalds#
191220d60d99SMaciej W. Rozycki# CPU non-features
191320d60d99SMaciej W. Rozycki#
191420d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
191520d60d99SMaciej W. Rozycki	bool
191620d60d99SMaciej W. Rozycki
191720d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
191820d60d99SMaciej W. Rozycki	bool
191920d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
192020d60d99SMaciej W. Rozycki
192120d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
192220d60d99SMaciej W. Rozycki	bool
192320d60d99SMaciej W. Rozycki
192420d60d99SMaciej W. Rozycki#
1925797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1926797798c1SRalf Baechle#
1927797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1928797798c1SRalf Baechle	bool
1929797798c1SRalf Baechle	default y
1930797798c1SRalf Baechle
1931797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1932797798c1SRalf Baechle	bool
1933797798c1SRalf Baechle	default y
1934797798c1SRalf Baechle
19350d7012a9SIngo Molnarconfig IRQ_PER_CPU
19360d7012a9SIngo Molnar	bool
19370d7012a9SIngo Molnar
1938797798c1SRalf Baechle#
19391da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
19401da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
19411da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
19421da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
19431da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
19441da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
19451da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
19461da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1947797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1948797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1949797798c1SRalf Baechle#   support.
19501da177e4SLinus Torvalds#
19511da177e4SLinus Torvaldsconfig HIGHMEM
19521da177e4SLinus Torvalds	bool "High Memory Support"
1953797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1954797798c1SRalf Baechle
1955797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1956797798c1SRalf Baechle	bool
1957797798c1SRalf Baechle
1958797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1959797798c1SRalf Baechle	bool
19601da177e4SLinus Torvalds
19619693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
19629693a853SFranck Bui-Huu	bool
19639693a853SFranck Bui-Huu
1964b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1965b4819b59SYoichi Yuasa	def_bool y
1966f133f22dSWu Zhangjin	depends on !NUMA && !CPU_LOONGSON2
1967b4819b59SYoichi Yuasa
1968d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1969d8cb4e11SRalf Baechle	bool
1970d8cb4e11SRalf Baechle	default y if SGI_IP27
1971d8cb4e11SRalf Baechle	help
19723dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1973d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1974d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1975d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1976d8cb4e11SRalf Baechle
1977cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1978cce335aeSRalf Baechle	def_bool y
1979cce335aeSRalf Baechle
1980b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1981b1c6cd42SAtsushi Nemoto	bool
19827de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
198331473747SAtsushi Nemoto
1984d8cb4e11SRalf Baechleconfig NUMA
1985d8cb4e11SRalf Baechle	bool "NUMA Support"
1986d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1987d8cb4e11SRalf Baechle	help
1988d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1989d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1990d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1991d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1992d8cb4e11SRalf Baechle	  disabled.
1993d8cb4e11SRalf Baechle
1994d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1995d8cb4e11SRalf Baechle	bool
1996d8cb4e11SRalf Baechle
1997c80d79d7SYasunori Gotoconfig NODES_SHIFT
1998c80d79d7SYasunori Goto	int
1999c80d79d7SYasunori Goto	default "6"
2000c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
2001c80d79d7SYasunori Goto
200214f70012SDeng-Cheng Zhuconfig HW_PERF_EVENTS
200314f70012SDeng-Cheng Zhu	bool "Enable hardware performance counter support for perf events"
200414f70012SDeng-Cheng Zhu	depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && CPU_MIPS32
200514f70012SDeng-Cheng Zhu	default y
200614f70012SDeng-Cheng Zhu	help
200714f70012SDeng-Cheng Zhu	  Enable hardware performance counter support for perf events. If
200814f70012SDeng-Cheng Zhu	  disabled, perf events will use software events only.
200914f70012SDeng-Cheng Zhu
2010b4819b59SYoichi Yuasasource "mm/Kconfig"
2011b4819b59SYoichi Yuasa
20121da177e4SLinus Torvaldsconfig SMP
20131da177e4SLinus Torvalds	bool "Multi-Processing support"
2014e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
2015b4b30a5aSRalf Baechle	select IRQ_PER_CPU
20162f304c0aSJens Axboe	select USE_GENERIC_SMP_HELPERS
2017e73ea273SRalf Baechle	help
20181da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
20191da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
20201da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
20211da177e4SLinus Torvalds
20221da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
20231da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
20241da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
20251da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
20261da177e4SLinus Torvalds	  will run faster if you say N here.
20271da177e4SLinus Torvalds
20281da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
20291da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
20301da177e4SLinus Torvalds
203103502faaSAdrian Bunk	  See also the SMP-HOWTO available at
203203502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
20331da177e4SLinus Torvalds
20341da177e4SLinus Torvalds	  If you don't know what to do here, say N.
20351da177e4SLinus Torvalds
203687353d8aSRalf Baechleconfig SMP_UP
203787353d8aSRalf Baechle	bool
203887353d8aSRalf Baechle
20394a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
20404a16ff4cSRalf Baechle	bool
20414a16ff4cSRalf Baechle
2042e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
2043e73ea273SRalf Baechle	bool
2044e73ea273SRalf Baechle
204572ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
204672ede9b1SAtsushi Nemoto	bool
204772ede9b1SAtsushi Nemoto
2048130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
2049130e2fb7SRalf Baechle	bool
2050130e2fb7SRalf Baechle
2051130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
2052130e2fb7SRalf Baechle	bool
2053130e2fb7SRalf Baechle
2054130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
2055130e2fb7SRalf Baechle	bool
2056130e2fb7SRalf Baechle
2057130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
2058130e2fb7SRalf Baechle	bool
2059130e2fb7SRalf Baechle
2060130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
2061130e2fb7SRalf Baechle	bool
2062130e2fb7SRalf Baechle
2063130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
2064130e2fb7SRalf Baechle	bool
2065130e2fb7SRalf Baechle
20661da177e4SLinus Torvaldsconfig NR_CPUS
20671da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
206872ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
20691da177e4SLinus Torvalds	depends on SMP
207072ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
2071130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
2072130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
2073130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
2074130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
2075130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
2076130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
20771da177e4SLinus Torvalds	help
20781da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
20791da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
20801da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
208172ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
208272ede9b1SAtsushi Nemoto	  and 2 for all others.
20831da177e4SLinus Torvalds
20841da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
208572ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
208672ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
208772ede9b1SAtsushi Nemoto	  power of two.
20881da177e4SLinus Torvalds
2089c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
2090c4eee283SAtsushi Nemoto
20911723b4a3SAtsushi Nemoto#
20921723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
20931723b4a3SAtsushi Nemoto#
20941723b4a3SAtsushi Nemoto
20951723b4a3SAtsushi Nemotochoice
20961723b4a3SAtsushi Nemoto	prompt "Timer frequency"
20971723b4a3SAtsushi Nemoto	default HZ_250
20981723b4a3SAtsushi Nemoto	help
20991723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
21001723b4a3SAtsushi Nemoto
21011723b4a3SAtsushi Nemoto	config HZ_48
21020f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
21031723b4a3SAtsushi Nemoto
21041723b4a3SAtsushi Nemoto	config HZ_100
21051723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
21061723b4a3SAtsushi Nemoto
21071723b4a3SAtsushi Nemoto	config HZ_128
21081723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
21091723b4a3SAtsushi Nemoto
21101723b4a3SAtsushi Nemoto	config HZ_250
21111723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
21121723b4a3SAtsushi Nemoto
21131723b4a3SAtsushi Nemoto	config HZ_256
21141723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
21151723b4a3SAtsushi Nemoto
21161723b4a3SAtsushi Nemoto	config HZ_1000
21171723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
21181723b4a3SAtsushi Nemoto
21191723b4a3SAtsushi Nemoto	config HZ_1024
21201723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
21211723b4a3SAtsushi Nemoto
21221723b4a3SAtsushi Nemotoendchoice
21231723b4a3SAtsushi Nemoto
21241723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
21251723b4a3SAtsushi Nemoto	bool
21261723b4a3SAtsushi Nemoto
21271723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
21281723b4a3SAtsushi Nemoto	bool
21291723b4a3SAtsushi Nemoto
21301723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
21311723b4a3SAtsushi Nemoto	bool
21321723b4a3SAtsushi Nemoto
21331723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
21341723b4a3SAtsushi Nemoto	bool
21351723b4a3SAtsushi Nemoto
21361723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
21371723b4a3SAtsushi Nemoto	bool
21381723b4a3SAtsushi Nemoto
21391723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
21401723b4a3SAtsushi Nemoto	bool
21411723b4a3SAtsushi Nemoto
21421723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
21431723b4a3SAtsushi Nemoto	bool
21441723b4a3SAtsushi Nemoto
21451723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
21461723b4a3SAtsushi Nemoto	bool
21471723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
21481723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
21491723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
21501723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
21511723b4a3SAtsushi Nemoto
21521723b4a3SAtsushi Nemotoconfig HZ
21531723b4a3SAtsushi Nemoto	int
21541723b4a3SAtsushi Nemoto	default 48 if HZ_48
21551723b4a3SAtsushi Nemoto	default 100 if HZ_100
21561723b4a3SAtsushi Nemoto	default 128 if HZ_128
21571723b4a3SAtsushi Nemoto	default 250 if HZ_250
21581723b4a3SAtsushi Nemoto	default 256 if HZ_256
21591723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
21601723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
21611723b4a3SAtsushi Nemoto
2162e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
21631da177e4SLinus Torvalds
21641da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
21651da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
2166875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
21671da177e4SLinus Torvalds	help
21681da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
21691da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
21701da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
21711da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
21721da177e4SLinus Torvalds	  recommended for normal users.
21731da177e4SLinus Torvalds
2174ea6e942bSAtsushi Nemotoconfig KEXEC
2175ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
2176ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
2177ea6e942bSAtsushi Nemoto	help
2178ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
2179ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
21803dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
2181ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
2182ea6e942bSAtsushi Nemoto
218301dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
2184ea6e942bSAtsushi Nemoto
2185ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
2186ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
2187ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
2188ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
2189ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
2190ea6e942bSAtsushi Nemoto
2191ea6e942bSAtsushi Nemotoconfig SECCOMP
2192ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
2193293c5bd1SRalf Baechle	depends on PROC_FS
2194ea6e942bSAtsushi Nemoto	default y
2195ea6e942bSAtsushi Nemoto	help
2196ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
2197ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
2198ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
2199ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
2200ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
2201ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
2202ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
2203ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
2204ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
2205ea6e942bSAtsushi Nemoto
2206ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
2207ea6e942bSAtsushi Nemoto
2208f2ffa5abSDezhong Diaoconfig USE_OF
2209f2ffa5abSDezhong Diao	bool "Flattened Device Tree support"
2210f2ffa5abSDezhong Diao	select OF
2211f2ffa5abSDezhong Diao	select OF_FLATTREE
2212f2ffa5abSDezhong Diao	help
2213f2ffa5abSDezhong Diao	  Include support for flattened device tree machine descriptions.
2214f2ffa5abSDezhong Diao
22155e83d430SRalf Baechleendmenu
22165e83d430SRalf Baechle
22171df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
22181df0f0ffSAtsushi Nemoto	bool
22191df0f0ffSAtsushi Nemoto	default y
22201df0f0ffSAtsushi Nemoto
22211df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
22221df0f0ffSAtsushi Nemoto	bool
22231df0f0ffSAtsushi Nemoto	default y
22241df0f0ffSAtsushi Nemoto
2225b6c3539bSRalf Baechlesource "init/Kconfig"
2226b6c3539bSRalf Baechle
2227dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
2228dc52ddc0SMatt Helsley
22291da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
22301da177e4SLinus Torvalds
22315e83d430SRalf Baechleconfig HW_HAS_EISA
22325e83d430SRalf Baechle	bool
22331da177e4SLinus Torvaldsconfig HW_HAS_PCI
22341da177e4SLinus Torvalds	bool
22351da177e4SLinus Torvalds
22361da177e4SLinus Torvaldsconfig PCI
22371da177e4SLinus Torvalds	bool "Support for PCI controller"
22381da177e4SLinus Torvalds	depends on HW_HAS_PCI
2239abb4ae46SRalf Baechle	select PCI_DOMAINS
22401da177e4SLinus Torvalds	help
22411da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
22421da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
22431da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
22441da177e4SLinus Torvalds	  say Y, otherwise N.
22451da177e4SLinus Torvalds
22461da177e4SLinus Torvaldsconfig PCI_DOMAINS
22471da177e4SLinus Torvalds	bool
22481da177e4SLinus Torvalds
22491da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
22501da177e4SLinus Torvalds
22511da177e4SLinus Torvalds#
22521da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
22531da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
22541da177e4SLinus Torvalds# users to choose the right thing ...
22551da177e4SLinus Torvalds#
22561da177e4SLinus Torvaldsconfig ISA
22571da177e4SLinus Torvalds	bool
22581da177e4SLinus Torvalds
22591da177e4SLinus Torvaldsconfig EISA
22601da177e4SLinus Torvalds	bool "EISA support"
22615e83d430SRalf Baechle	depends on HW_HAS_EISA
22621da177e4SLinus Torvalds	select ISA
2263aa414dffSRalf Baechle	select GENERIC_ISA_DMA
22641da177e4SLinus Torvalds	---help---
22651da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
22661da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
22671da177e4SLinus Torvalds
22681da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
22691da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
22701da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
22711da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
22721da177e4SLinus Torvalds
22731da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
22741da177e4SLinus Torvalds
22751da177e4SLinus Torvalds	  Otherwise, say N.
22761da177e4SLinus Torvalds
22771da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
22781da177e4SLinus Torvalds
22791da177e4SLinus Torvaldsconfig TC
22801da177e4SLinus Torvalds	bool "TURBOchannel support"
22811da177e4SLinus Torvalds	depends on MACH_DECSTATION
22821da177e4SLinus Torvalds	help
228350a23e6eSJustin P. Mattock	  TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
228450a23e6eSJustin P. Mattock	  processors.  TURBOchannel programming specifications are available
228550a23e6eSJustin P. Mattock	  at:
228650a23e6eSJustin P. Mattock	  <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
228750a23e6eSJustin P. Mattock	  and:
228850a23e6eSJustin P. Mattock	  <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
228950a23e6eSJustin P. Mattock	  Linux driver support status is documented at:
229050a23e6eSJustin P. Mattock	  <http://www.linux-mips.org/wiki/DECstation>
22911da177e4SLinus Torvalds
22921da177e4SLinus Torvalds#config ACCESSBUS
22931da177e4SLinus Torvalds#	bool "Access.Bus support"
22941da177e4SLinus Torvalds#	depends on TC
22951da177e4SLinus Torvalds
22961da177e4SLinus Torvaldsconfig MMU
22971da177e4SLinus Torvalds	bool
22981da177e4SLinus Torvalds	default y
22991da177e4SLinus Torvalds
2300d865bea4SRalf Baechleconfig I8253
2301d865bea4SRalf Baechle	bool
23029726b43aSWu Zhangjin	select MIPS_EXTERNAL_TIMER
2303d865bea4SRalf Baechle
2304cce335aeSRalf Baechleconfig ZONE_DMA32
2305cce335aeSRalf Baechle	bool
2306cce335aeSRalf Baechle
23071da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
23081da177e4SLinus Torvalds
23091da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
23101da177e4SLinus Torvalds
23111da177e4SLinus Torvaldsendmenu
23121da177e4SLinus Torvalds
23131da177e4SLinus Torvaldsmenu "Executable file formats"
23141da177e4SLinus Torvalds
23151da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
23161da177e4SLinus Torvalds
23171da177e4SLinus Torvaldsconfig TRAD_SIGNALS
23181da177e4SLinus Torvalds	bool
23191da177e4SLinus Torvalds
23201da177e4SLinus Torvaldsconfig MIPS32_COMPAT
23211da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2322875d43e7SRalf Baechle	depends on 64BIT
23231da177e4SLinus Torvalds	help
23241da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
23251da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
23261da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
23271da177e4SLinus Torvalds
23281da177e4SLinus Torvaldsconfig COMPAT
23291da177e4SLinus Torvalds	bool
23301da177e4SLinus Torvalds	depends on MIPS32_COMPAT
23311da177e4SLinus Torvalds	default y
23321da177e4SLinus Torvalds
233305e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
233405e43966SAtsushi Nemoto	bool
233505e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
233605e43966SAtsushi Nemoto	default y
233705e43966SAtsushi Nemoto
23381da177e4SLinus Torvaldsconfig MIPS32_O32
23391da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
23401da177e4SLinus Torvalds	depends on MIPS32_COMPAT
23411da177e4SLinus Torvalds	help
23421da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
23431da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
23441da177e4SLinus Torvalds	  existing binaries are in this format.
23451da177e4SLinus Torvalds
23461da177e4SLinus Torvalds	  If unsure, say Y.
23471da177e4SLinus Torvalds
23481da177e4SLinus Torvaldsconfig MIPS32_N32
23491da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
23501da177e4SLinus Torvalds	depends on MIPS32_COMPAT
23511da177e4SLinus Torvalds	help
23521da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
23531da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
23541da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
23551da177e4SLinus Torvalds	  cases.
23561da177e4SLinus Torvalds
23571da177e4SLinus Torvalds	  If unsure, say N.
23581da177e4SLinus Torvalds
23591da177e4SLinus Torvaldsconfig BINFMT_ELF32
23601da177e4SLinus Torvalds	bool
23611da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
23621da177e4SLinus Torvalds
23632116245eSRalf Baechleendmenu
23641da177e4SLinus Torvalds
23652116245eSRalf Baechlemenu "Power management options"
2366952fa954SRodolfo Giometti
2367363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE
2368363c55caSWu Zhangjin	def_bool y
23693f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2370363c55caSWu Zhangjin
2371f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2372f4cb5700SJohannes Berg	def_bool y
23733f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2374f4cb5700SJohannes Berg
23752116245eSRalf Baechlesource "kernel/power/Kconfig"
2376952fa954SRodolfo Giometti
23771da177e4SLinus Torvaldsendmenu
23781da177e4SLinus Torvalds
23799726b43aSWu Zhangjinsource "arch/mips/kernel/cpufreq/Kconfig"
23809726b43aSWu Zhangjin
2381d5950b43SSam Ravnborgsource "net/Kconfig"
2382d5950b43SSam Ravnborg
23831da177e4SLinus Torvaldssource "drivers/Kconfig"
23841da177e4SLinus Torvalds
23851da177e4SLinus Torvaldssource "fs/Kconfig"
23861da177e4SLinus Torvalds
23871da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
23881da177e4SLinus Torvalds
23891da177e4SLinus Torvaldssource "security/Kconfig"
23901da177e4SLinus Torvalds
23911da177e4SLinus Torvaldssource "crypto/Kconfig"
23921da177e4SLinus Torvalds
23931da177e4SLinus Torvaldssource "lib/Kconfig"
2394