xref: /linux/arch/mips/Kconfig (revision 14f7001284185bffeb796a181664906f7160f593)
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
1429c5d346SWu Zhangjin	select HAVE_FUNCTION_GRAPH_TRACER
15c1bf207dSDavid Daney	select HAVE_KPROBES
16c1bf207dSDavid Daney	select HAVE_KRETPROBES
1721a41faaSWu Zhangjin	select RTC_LIB if !MACH_LOONGSON
182b78920dSDeng-Cheng Zhu	select GENERIC_ATOMIC64 if !64BIT
1948e1fd5aSDavid Daney	select HAVE_DMA_ATTRS
2048e1fd5aSDavid Daney	select HAVE_DMA_API_DEBUG
211da177e4SLinus Torvalds
221da177e4SLinus Torvaldsmenu "Machine selection"
231da177e4SLinus Torvalds
245ac6da66SChristoph Lameterconfig ZONE_DMA
255ac6da66SChristoph Lameter	bool
265ac6da66SChristoph Lameter
275e83d430SRalf Baechlechoice
285e83d430SRalf Baechle	prompt "System type"
295e83d430SRalf Baechle	default SGI_IP22
301da177e4SLinus Torvalds
3142a4f17dSManuel Laussconfig MIPS_ALCHEMY
32c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
3342a4f17dSManuel Lauss	select 64BIT_PHYS_ADDR
3442a4f17dSManuel Lauss	select CEVT_R4K_LIB
3542a4f17dSManuel Lauss	select CSRC_R4K_LIB
3642a4f17dSManuel Lauss	select IRQ_CPU
3742a4f17dSManuel Lauss	select SYS_HAS_CPU_MIPS32_R1
3842a4f17dSManuel Lauss	select SYS_SUPPORTS_32BIT_KERNEL
3942a4f17dSManuel Lauss	select SYS_SUPPORTS_APM_EMULATION
4042a4f17dSManuel Lauss	select GENERIC_GPIO
4142a4f17dSManuel Lauss	select ARCH_WANT_OPTIONAL_GPIOLIB
421b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
431da177e4SLinus Torvalds
447ca5dc14SFlorian Fainelliconfig AR7
457ca5dc14SFlorian Fainelli	bool "Texas Instruments AR7"
467ca5dc14SFlorian Fainelli	select BOOT_ELF32
477ca5dc14SFlorian Fainelli	select DMA_NONCOHERENT
487ca5dc14SFlorian Fainelli	select CEVT_R4K
497ca5dc14SFlorian Fainelli	select CSRC_R4K
507ca5dc14SFlorian Fainelli	select IRQ_CPU
517ca5dc14SFlorian Fainelli	select NO_EXCEPT_FILL
527ca5dc14SFlorian Fainelli	select SWAP_IO_SPACE
537ca5dc14SFlorian Fainelli	select SYS_HAS_CPU_MIPS32_R1
547ca5dc14SFlorian Fainelli	select SYS_HAS_EARLY_PRINTK
557ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_32BIT_KERNEL
567ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_LITTLE_ENDIAN
571b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT_UART16550
585f3c9098SFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
597ca5dc14SFlorian Fainelli	select GCD
607ca5dc14SFlorian Fainelli	select VLYNQ
617ca5dc14SFlorian Fainelli	help
627ca5dc14SFlorian Fainelli	  Support for the Texas Instruments AR7 System-on-a-Chip
637ca5dc14SFlorian Fainelli	  family: TNETD7100, 7200 and 7300.
647ca5dc14SFlorian Fainelli
651c0c13ebSAurelien Jarnoconfig BCM47XX
66c619366eSFlorian Fainelli	bool "Broadcom BCM47XX based boards"
6742f77542SRalf Baechle	select CEVT_R4K
68940f6b48SRalf Baechle	select CSRC_R4K
691c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
701c0c13ebSAurelien Jarno	select HW_HAS_PCI
711c0c13ebSAurelien Jarno	select IRQ_CPU
721c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
731c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
741c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
751c0c13ebSAurelien Jarno	select SSB
761c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
772f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
78b06f3e19SAurelien Jarno	select SSB_EMBEDDED
79220937b1SHauke Mehrtens	select SSB_B43_PCI_BRIDGE if PCI
802f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
811c0c13ebSAurelien Jarno	select GENERIC_GPIO
8225e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
8325e5fb97SAurelien Jarno	select CFE
841c0c13ebSAurelien Jarno	help
851c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
861c0c13ebSAurelien Jarno
87e7300d04SMaxime Bizonconfig BCM63XX
88e7300d04SMaxime Bizon	bool "Broadcom BCM63XX based boards"
89e7300d04SMaxime Bizon	select CEVT_R4K
90e7300d04SMaxime Bizon	select CSRC_R4K
91e7300d04SMaxime Bizon	select DMA_NONCOHERENT
92e7300d04SMaxime Bizon	select IRQ_CPU
93e7300d04SMaxime Bizon	select SYS_HAS_CPU_MIPS32_R1
94e7300d04SMaxime Bizon	select SYS_SUPPORTS_32BIT_KERNEL
95e7300d04SMaxime Bizon	select SYS_SUPPORTS_BIG_ENDIAN
96e7300d04SMaxime Bizon	select SYS_HAS_EARLY_PRINTK
97e7300d04SMaxime Bizon	select SWAP_IO_SPACE
98e7300d04SMaxime Bizon	select ARCH_REQUIRE_GPIOLIB
99e7300d04SMaxime Bizon	help
100e7300d04SMaxime Bizon	 Support for BCM63XX based boards
101e7300d04SMaxime Bizon
1021da177e4SLinus Torvaldsconfig MIPS_COBALT
1033fa986faSMartin Michlmayr	bool "Cobalt Server"
10442f77542SRalf Baechle	select CEVT_R4K
105940f6b48SRalf Baechle	select CSRC_R4K
1061097c6acSYoichi Yuasa	select CEVT_GT641XX
1071da177e4SLinus Torvalds	select DMA_NONCOHERENT
1081da177e4SLinus Torvalds	select HW_HAS_PCI
109d865bea4SRalf Baechle	select I8253
1101da177e4SLinus Torvalds	select I8259
1111da177e4SLinus Torvalds	select IRQ_CPU
112d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
113252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
114e25bfc92SYoichi Yuasa	select PCI
1157cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1160a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
117ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
1180e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
1195e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1201da177e4SLinus Torvalds
1211da177e4SLinus Torvaldsconfig MACH_DECSTATION
1223fa986faSMartin Michlmayr	bool "DECstations"
1231da177e4SLinus Torvalds	select BOOT_ELF32
1246457d9fcSYoichi Yuasa	select CEVT_DS1287
12542f77542SRalf Baechle	select CEVT_R4K
1264247417dSYoichi Yuasa	select CSRC_IOASIC
127940f6b48SRalf Baechle	select CSRC_R4K
12820d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
12920d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
13020d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
1311da177e4SLinus Torvalds	select DMA_NONCOHERENT
132d388d685SMaciej W. Rozycki	select NO_IOPORT
1331da177e4SLinus Torvalds	select IRQ_CPU
1347cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
1357cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
136ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
137ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1385e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1391723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
1401723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
1411723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1425e83d430SRalf Baechle	help
1431da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1441da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1451da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1461da177e4SLinus Torvalds
1471da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1481da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1491da177e4SLinus Torvalds
1501da177e4SLinus Torvalds		DECstation 5000/50
1511da177e4SLinus Torvalds		DECstation 5000/150
1521da177e4SLinus Torvalds		DECstation 5000/260
1531da177e4SLinus Torvalds		DECsystem 5900/260
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvalds	  otherwise choose R3000.
1561da177e4SLinus Torvalds
1575e83d430SRalf Baechleconfig MACH_JAZZ
1583fa986faSMartin Michlmayr	bool "Jazz family of machines"
1595e83d430SRalf Baechle	select ARC
1605e83d430SRalf Baechle	select ARC32
1615e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
16242f77542SRalf Baechle	select CEVT_R4K
163940f6b48SRalf Baechle	select CSRC_R4K
164e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1655e83d430SRalf Baechle	select GENERIC_ISA_DMA
166ea202c63SThomas Bogendoerfer	select IRQ_CPU
167d865bea4SRalf Baechle	select I8253
1685e83d430SRalf Baechle	select I8259
1695e83d430SRalf Baechle	select ISA
1707cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1715e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1725e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1731723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1741da177e4SLinus Torvalds	help
1755e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1765e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
177692105b8SMatt LaPlante	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
1785e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1795e83d430SRalf Baechle
1805ebabe59SLars-Peter Clausenconfig MACH_JZ4740
1815ebabe59SLars-Peter Clausen	bool "Ingenic JZ4740 based machines"
1825ebabe59SLars-Peter Clausen	select SYS_HAS_CPU_MIPS32_R1
1835ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_32BIT_KERNEL
1845ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_LITTLE_ENDIAN
1855ebabe59SLars-Peter Clausen	select DMA_NONCOHERENT
1865ebabe59SLars-Peter Clausen	select IRQ_CPU
1875ebabe59SLars-Peter Clausen	select GENERIC_GPIO
1885ebabe59SLars-Peter Clausen	select ARCH_REQUIRE_GPIOLIB
1895ebabe59SLars-Peter Clausen	select SYS_HAS_EARLY_PRINTK
1905ebabe59SLars-Peter Clausen	select HAVE_PWM
1915ebabe59SLars-Peter Clausen
1921f21d2bdSBrian Murphyconfig LASAT
1931f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
19442f77542SRalf Baechle	select CEVT_R4K
195940f6b48SRalf Baechle	select CSRC_R4K
1961f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1971f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1981f21d2bdSBrian Murphy	select HW_HAS_PCI
199a5ccfe5cSRalf Baechle	select IRQ_CPU
2001f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
2011f21d2bdSBrian Murphy	select MIPS_NILE4
2021f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
2031f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
2041f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
2051f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
2061f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
2071f21d2bdSBrian Murphy
20885749d24SWu Zhangjinconfig MACH_LOONGSON
20985749d24SWu Zhangjin	bool "Loongson family of machines"
210c7e8c668SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
211ade299d8SYoichi Yuasa	help
21285749d24SWu Zhangjin	  This enables the support of Loongson family of machines.
21385749d24SWu Zhangjin
21485749d24SWu Zhangjin	  Loongson is a family of general-purpose MIPS-compatible CPUs.
21585749d24SWu Zhangjin	  developed at Institute of Computing Technology (ICT),
21685749d24SWu Zhangjin	  Chinese Academy of Sciences (CAS) in the People's Republic
21785749d24SWu Zhangjin	  of China. The chief architect is Professor Weiwu Hu.
218ade299d8SYoichi Yuasa
2191da177e4SLinus Torvaldsconfig MIPS_MALTA
2203fa986faSMartin Michlmayr	bool "MIPS Malta board"
22161ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2221da177e4SLinus Torvalds	select BOOT_ELF32
223fa71c960SRalf Baechle	select BOOT_RAW
22442f77542SRalf Baechle	select CEVT_R4K
225940f6b48SRalf Baechle	select CSRC_R4K
2261da177e4SLinus Torvalds	select DMA_NONCOHERENT
2271da177e4SLinus Torvalds	select GENERIC_ISA_DMA
228aa414dffSRalf Baechle	select IRQ_CPU
22939b8d525SRalf Baechle	select IRQ_GIC
2301da177e4SLinus Torvalds	select HW_HAS_PCI
231d865bea4SRalf Baechle	select I8253
2321da177e4SLinus Torvalds	select I8259
2335e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2345e83d430SRalf Baechle	select MIPS_BONITO64
2359318c51aSChris Dearman	select MIPS_CPU_SCACHE
236252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2375e83d430SRalf Baechle	select MIPS_MSC
2381da177e4SLinus Torvalds	select SWAP_IO_SPACE
2397cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2407cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2417cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2427cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2437cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
24436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
245ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
246ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2475e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2485e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2490365070fSTim Anderson	select SYS_SUPPORTS_MIPS_CMP
250f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2519693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2521b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
2531da177e4SLinus Torvalds	help
254f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2551da177e4SLinus Torvalds	  board.
2561da177e4SLinus Torvalds
257c78cbf49SRalf Baechleconfig MIPS_SIM
2583fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
25942f77542SRalf Baechle	select CEVT_R4K
260940f6b48SRalf Baechle	select CSRC_R4K
261c78cbf49SRalf Baechle	select DMA_NONCOHERENT
26236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
263c78cbf49SRalf Baechle	select IRQ_CPU
2649267a30dSMarc St-Jean	select BOOT_RAW
2657cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2667cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
26736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
268c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
269c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
270f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
271c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
272c78cbf49SRalf Baechle	help
273c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
274c78cbf49SRalf Baechle	  emulator.
275c78cbf49SRalf Baechle
276a83860c2SRalf Baechleconfig NEC_MARKEINS
277a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
278a83860c2SRalf Baechle	select SOC_EMMA2RH
279a83860c2SRalf Baechle	select HW_HAS_PCI
280a83860c2SRalf Baechle	help
281a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
282ade299d8SYoichi Yuasa
2835e83d430SRalf Baechleconfig MACH_VR41XX
28474142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
28542f77542SRalf Baechle	select CEVT_R4K
286940f6b48SRalf Baechle	select CSRC_R4K
2877cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
28827fdd325SYoichi Yuasa	select ARCH_REQUIRE_GPIOLIB
2895e83d430SRalf Baechle
290edb6310aSDaniel Lairdconfig NXP_STB220
291edb6310aSDaniel Laird	bool "NXP STB220 board"
292edb6310aSDaniel Laird	select SOC_PNX833X
293edb6310aSDaniel Laird	help
294edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
295edb6310aSDaniel Laird
296edb6310aSDaniel Lairdconfig NXP_STB225
297edb6310aSDaniel Laird	bool "NXP 225 board"
298edb6310aSDaniel Laird	select SOC_PNX833X
299edb6310aSDaniel Laird	select SOC_PNX8335
300edb6310aSDaniel Laird	help
301edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
302edb6310aSDaniel Laird
303ade299d8SYoichi Yuasaconfig PNX8550_JBS
304a92b0588SDaniel Laird	bool "NXP PNX8550 based JBS board"
305ade299d8SYoichi Yuasa	select PNX8550
306ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
307ade299d8SYoichi Yuasa
308ade299d8SYoichi Yuasaconfig PNX8550_STB810
309a92b0588SDaniel Laird	bool "NXP PNX8550 based STB810 board"
310ade299d8SYoichi Yuasa	select PNX8550
311ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
312ade299d8SYoichi Yuasa
3139267a30dSMarc St-Jeanconfig PMC_MSP
3149267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3159267a30dSMarc St-Jean	depends on EXPERIMENTAL
3169267a30dSMarc St-Jean	select DMA_NONCOHERENT
3179267a30dSMarc St-Jean	select SWAP_IO_SPACE
3189267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3199267a30dSMarc St-Jean	select BOOT_RAW
3209267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3219267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3229267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3239267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3249267a30dSMarc St-Jean	select IRQ_CPU
3259267a30dSMarc St-Jean	select SERIAL_8250
3269267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3279267a30dSMarc St-Jean	help
3289267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3299267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3309267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3319267a30dSMarc St-Jean	  a variety of MIPS cores.
3329267a30dSMarc St-Jean
3335e83d430SRalf Baechleconfig PMC_YOSEMITE
3343fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
33542f77542SRalf Baechle	select CEVT_R4K
336940f6b48SRalf Baechle	select CSRC_R4K
3375e83d430SRalf Baechle	select DMA_COHERENT
3385e83d430SRalf Baechle	select HW_HAS_PCI
3395e83d430SRalf Baechle	select IRQ_CPU
3405e83d430SRalf Baechle	select IRQ_CPU_RM7K
3415e83d430SRalf Baechle	select IRQ_CPU_RM9K
3425e83d430SRalf Baechle	select SWAP_IO_SPACE
3437cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
34436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3455e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3465e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3475e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3485e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
349e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3505e83d430SRalf Baechle	help
3515e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3525e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3531da177e4SLinus Torvalds
354a3a0f8c8SDavid VomLehnconfig POWERTV
355a3a0f8c8SDavid VomLehn	bool "Cisco PowerTV"
356a3a0f8c8SDavid VomLehn	select BOOT_ELF32
357a3a0f8c8SDavid VomLehn	select CEVT_R4K
358a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_VI
359a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_EI
360a3a0f8c8SDavid VomLehn	select CSRC_POWERTV
361a3a0f8c8SDavid VomLehn	select DMA_NONCOHERENT
362a3a0f8c8SDavid VomLehn	select HW_HAS_PCI
363a3a0f8c8SDavid VomLehn	select SYS_HAS_EARLY_PRINTK
364a3a0f8c8SDavid VomLehn	select SYS_HAS_CPU_MIPS32_R2
365a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_32BIT_KERNEL
366a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_BIG_ENDIAN
367a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_HIGHMEM
368a3a0f8c8SDavid VomLehn	select USB_OHCI_LITTLE_ENDIAN
369a3a0f8c8SDavid VomLehn	help
370a3a0f8c8SDavid VomLehn	  This enables support for the Cisco PowerTV Platform.
371a3a0f8c8SDavid VomLehn
3721da177e4SLinus Torvaldsconfig SGI_IP22
3733fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3741da177e4SLinus Torvalds	select ARC
3751da177e4SLinus Torvalds	select ARC32
3761da177e4SLinus Torvalds	select BOOT_ELF32
37742f77542SRalf Baechle	select CEVT_R4K
378940f6b48SRalf Baechle	select CSRC_R4K
379e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3801da177e4SLinus Torvalds	select DMA_NONCOHERENT
3815e83d430SRalf Baechle	select HW_HAS_EISA
382d865bea4SRalf Baechle	select I8253
38368de4803SThomas Bogendoerfer	select I8259
3841da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3851da177e4SLinus Torvalds	select IRQ_CPU
386aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
387e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
388e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
38936e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
390e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
391e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
392e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3931da177e4SLinus Torvalds	select SWAP_IO_SPACE
3947cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3957cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
3962b5e63f6SMartin Michlmayr	#
3972b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
3982b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
3992b5e63f6SMartin Michlmayr	#
4002b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
4012b5e63f6SMartin Michlmayr	# for a more details discussion
4022b5e63f6SMartin Michlmayr	#
4032b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
404ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
405ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4065e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4071da177e4SLinus Torvalds	help
4081da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4091da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4101da177e4SLinus Torvalds	  that runs on these, say Y here.
4111da177e4SLinus Torvalds
4121da177e4SLinus Torvaldsconfig SGI_IP27
4133fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4141da177e4SLinus Torvalds	select ARC
4151da177e4SLinus Torvalds	select ARC64
4165e83d430SRalf Baechle	select BOOT_ELF64
417e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
418634286f1SRalf Baechle	select DMA_COHERENT
41936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4201da177e4SLinus Torvalds	select HW_HAS_PCI
421130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4227cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
423ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4245e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
425d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4261a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
4271da177e4SLinus Torvalds	help
4281da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4291da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4301da177e4SLinus Torvalds	  here.
4311da177e4SLinus Torvalds
432e2defae5SThomas Bogendoerferconfig SGI_IP28
433e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
434e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
435e2defae5SThomas Bogendoerfer	select ARC
436e2defae5SThomas Bogendoerfer	select ARC64
437e2defae5SThomas Bogendoerfer	select BOOT_ELF64
438e2defae5SThomas Bogendoerfer	select CEVT_R4K
439e2defae5SThomas Bogendoerfer	select CSRC_R4K
440e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
441e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
442e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
443e2defae5SThomas Bogendoerfer	select IRQ_CPU
444e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
445e2defae5SThomas Bogendoerfer	select I8253
446e2defae5SThomas Bogendoerfer	select I8259
447e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
448e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
4495b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
450e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
451e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
452e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
453e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
454e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
4552b5e63f6SMartin Michlmayr	#
4562b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
4572b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
4582b5e63f6SMartin Michlmayr	#
4592b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
4602b5e63f6SMartin Michlmayr	# for a more details discussion
4612b5e63f6SMartin Michlmayr	#
4622b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
463e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
464e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
465e2defae5SThomas Bogendoerfer      help
466e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
467e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
468e2defae5SThomas Bogendoerfer
4691da177e4SLinus Torvaldsconfig SGI_IP32
470cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4711da177e4SLinus Torvalds	select ARC
4721da177e4SLinus Torvalds	select ARC32
4731da177e4SLinus Torvalds	select BOOT_ELF32
47442f77542SRalf Baechle	select CEVT_R4K
475940f6b48SRalf Baechle	select CSRC_R4K
4761da177e4SLinus Torvalds	select DMA_NONCOHERENT
4771da177e4SLinus Torvalds	select HW_HAS_PCI
478dd67b155SRalf Baechle	select IRQ_CPU
4791da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4801da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4817cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4827cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4837cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
484dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
485ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4865e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4871da177e4SLinus Torvalds	help
4881da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4891da177e4SLinus Torvalds
490ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
491ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4925e83d430SRalf Baechle	depends on EXPERIMENTAL
4935e83d430SRalf Baechle	select BOOT_ELF32
4945e83d430SRalf Baechle	select DMA_COHERENT
4955e83d430SRalf Baechle	select SIBYTE_BCM1120
4965e83d430SRalf Baechle	select SWAP_IO_SPACE
4977cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4985e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4995e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5005e83d430SRalf Baechle
501ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
502ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
5035e83d430SRalf Baechle	depends on EXPERIMENTAL
5045e83d430SRalf Baechle	select BOOT_ELF32
5055e83d430SRalf Baechle	select DMA_COHERENT
5065e83d430SRalf Baechle	select SIBYTE_BCM1120
5075e83d430SRalf Baechle	select SWAP_IO_SPACE
5087cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5095e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5105e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5115e83d430SRalf Baechle
5125e83d430SRalf Baechleconfig SIBYTE_CRHONE
5133fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
5145e83d430SRalf Baechle	depends on EXPERIMENTAL
5155e83d430SRalf Baechle	select BOOT_ELF32
5165e83d430SRalf Baechle	select DMA_COHERENT
5175e83d430SRalf Baechle	select SIBYTE_BCM1125
5185e83d430SRalf Baechle	select SWAP_IO_SPACE
5197cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5205e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5215e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5225e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5235e83d430SRalf Baechle
524ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
525ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
526ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
527ade299d8SYoichi Yuasa	select BOOT_ELF32
528ade299d8SYoichi Yuasa	select DMA_COHERENT
529ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
530ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
531ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
532ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
533ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
534ade299d8SYoichi Yuasa
535ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
536ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
537ade299d8SYoichi Yuasa	select BOOT_ELF32
538ade299d8SYoichi Yuasa	select DMA_COHERENT
539fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
540ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
541ade299d8SYoichi Yuasa	select SIBYTE_SB1250
542ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
543ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
544ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
545ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
546ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
547cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
548ade299d8SYoichi Yuasa
549ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
550ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
551ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
552ade299d8SYoichi Yuasa	select BOOT_ELF32
553ade299d8SYoichi Yuasa	select DMA_COHERENT
554fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
555ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
556ade299d8SYoichi Yuasa	select SIBYTE_SB1250
557ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
558ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
559ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
560ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
561ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
562ade299d8SYoichi Yuasa
563ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
564ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
565ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
566ade299d8SYoichi Yuasa	select BOOT_ELF32
567ade299d8SYoichi Yuasa	select DMA_COHERENT
568ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
569ade299d8SYoichi Yuasa	select SIBYTE_SB1250
570ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
571ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
572ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
573ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
574ade299d8SYoichi Yuasa
575ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
576ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
577ade299d8SYoichi Yuasa	select BOOT_ELF32
578ade299d8SYoichi Yuasa	select DMA_COHERENT
579ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
580ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
581ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
582ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
583ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
584651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
585ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
586cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
587ade299d8SYoichi Yuasa
58814b36af4SThomas Bogendoerferconfig SNI_RM
58914b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5904a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5914a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
592231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5935e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5945e83d430SRalf Baechle	select BOOT_ELF32
59542f77542SRalf Baechle	select CEVT_R4K
596940f6b48SRalf Baechle	select CSRC_R4K
597e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5985e83d430SRalf Baechle	select DMA_NONCOHERENT
5995e83d430SRalf Baechle	select GENERIC_ISA_DMA
6005e83d430SRalf Baechle	select HW_HAS_EISA
6015e83d430SRalf Baechle	select HW_HAS_PCI
602c066a32aSThomas Bogendoerfer	select IRQ_CPU
603d865bea4SRalf Baechle	select I8253
6045e83d430SRalf Baechle	select I8259
6055e83d430SRalf Baechle	select ISA
6064a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
6077cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
6084a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
609c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
6104a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
61136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
612ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
6135e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
6144a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
6155e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6165e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6171da177e4SLinus Torvalds	help
61814b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
61914b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
6205e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
6215e83d430SRalf Baechle	  support this machine type.
6221da177e4SLinus Torvalds
623edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
624edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
6255e83d430SRalf Baechle
626edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
627edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
62823fbee9dSRalf Baechle
62973b4390fSRalf Baechleconfig MIKROTIK_RB532
63073b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
63173b4390fSRalf Baechle	select CEVT_R4K
63273b4390fSRalf Baechle	select CSRC_R4K
63373b4390fSRalf Baechle	select DMA_NONCOHERENT
63473b4390fSRalf Baechle	select HW_HAS_PCI
63573b4390fSRalf Baechle	select IRQ_CPU
63673b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
63773b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
63873b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
63973b4390fSRalf Baechle	select SWAP_IO_SPACE
64073b4390fSRalf Baechle	select BOOT_RAW
641d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
64273b4390fSRalf Baechle	help
64373b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
64473b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
64573b4390fSRalf Baechle
646ade299d8SYoichi Yuasaconfig WR_PPMC
647ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
64842f77542SRalf Baechle	select CEVT_R4K
649940f6b48SRalf Baechle	select CSRC_R4K
650ade299d8SYoichi Yuasa	select IRQ_CPU
651ade299d8SYoichi Yuasa	select BOOT_ELF32
652ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
653ade299d8SYoichi Yuasa	select HW_HAS_PCI
654ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
655ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
656ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
657ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
658ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
659ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
660ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
661ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
662ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
663ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
664ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
665ade299d8SYoichi Yuasa	help
666ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
667ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
668ade299d8SYoichi Yuasa
669a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_SIMULATOR
670c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon Simulator"
671a86c7f72SDavid Daney	select CEVT_R4K
672a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
673a86c7f72SDavid Daney	select DMA_COHERENT
674a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
675a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
676a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
677773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
6785e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
679a86c7f72SDavid Daney	help
680a86c7f72SDavid Daney	  The Octeon simulator is software performance model of the Cavium
681a86c7f72SDavid Daney	  Octeon Processor. It supports simulating Octeon processors on x86
682a86c7f72SDavid Daney	  hardware.
683a86c7f72SDavid Daney
684a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_REFERENCE_BOARD
685c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon reference board"
686a86c7f72SDavid Daney	select CEVT_R4K
687a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
688a86c7f72SDavid Daney	select DMA_COHERENT
689a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
690a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
691a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
692773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
693a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
6945e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
695a86c7f72SDavid Daney	select SWAP_IO_SPACE
696e8635b48SDavid Daney	select HW_HAS_PCI
697e8635b48SDavid Daney	select ARCH_SUPPORTS_MSI
698f00e001eSDavid Daney	select ZONE_DMA32
699340fbb8bSDavid Daney	select USB_ARCH_HAS_OHCI
700340fbb8bSDavid Daney	select USB_ARCH_HAS_EHCI
701a86c7f72SDavid Daney	help
702a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
703a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
704a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
705a86c7f72SDavid Daney	  Some of the supported boards are:
706a86c7f72SDavid Daney		EBT3000
707a86c7f72SDavid Daney		EBH3000
708a86c7f72SDavid Daney		EBH3100
709a86c7f72SDavid Daney		Thunder
710a86c7f72SDavid Daney		Kodama
711a86c7f72SDavid Daney		Hikari
712a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
713a86c7f72SDavid Daney
7141da177e4SLinus Torvaldsendchoice
7151da177e4SLinus Torvalds
716e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
717e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig"
7185e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
7195ebabe59SLars-Peter Clausensource "arch/mips/jz4740/Kconfig"
7201f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
7215e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
722a3a0f8c8SDavid VomLehnsource "arch/mips/powertv/Kconfig"
72329c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
72438b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
72522b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
7265e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
727a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
72885749d24SWu Zhangjinsource "arch/mips/loongson/Kconfig"
72938b18f72SRalf Baechle
7305e83d430SRalf Baechleendmenu
7315e83d430SRalf Baechle
7321da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
7331da177e4SLinus Torvalds	bool
7341da177e4SLinus Torvalds	default y
7351da177e4SLinus Torvalds
7361da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
7371da177e4SLinus Torvalds	bool
7381da177e4SLinus Torvalds
739f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
740f0d1b0b3SDavid Howells	bool
741f0d1b0b3SDavid Howells	default n
742f0d1b0b3SDavid Howells
743f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
744f0d1b0b3SDavid Howells	bool
745f0d1b0b3SDavid Howells	default n
746f0d1b0b3SDavid Howells
74700a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
74800a58253SRalf Baechle	bool
74900a58253SRalf Baechle	default y if !MIPS_MT_SMTC
75000a58253SRalf Baechle
7513c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7523c9ee7efSAkinobu Mita	bool
7533c9ee7efSAkinobu Mita	default y
7543c9ee7efSAkinobu Mita
7553c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7563c9ee7efSAkinobu Mita	bool
7573c9ee7efSAkinobu Mita	default y
7583c9ee7efSAkinobu Mita
7591da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7601da177e4SLinus Torvalds	bool
7611da177e4SLinus Torvalds	default y
7621da177e4SLinus Torvalds
7637bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7647bcf7717SRalf Baechle	bool
7657bcf7717SRalf Baechle	default y
7667bcf7717SRalf Baechle
767f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
768f5ff0a28SRalf Baechle	bool
769f5ff0a28SRalf Baechle	default y
770f5ff0a28SRalf Baechle
771ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
7721cc89038SAtsushi Nemoto	bool
7731cc89038SAtsushi Nemoto	default y
7741cc89038SAtsushi Nemoto
775e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
776c87e0909SRalf Baechle	def_bool y
777e77c232cSFranck Bui-Huu
7781da177e4SLinus Torvalds#
7791da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7801da177e4SLinus Torvalds#
7811da177e4SLinus Torvaldsconfig ARC
7821da177e4SLinus Torvalds	bool
7831da177e4SLinus Torvalds
78461ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
78561ed242dSRalf Baechle	bool
78661ed242dSRalf Baechle
7879267a30dSMarc St-Jeanconfig BOOT_RAW
7889267a30dSMarc St-Jean	bool
7899267a30dSMarc St-Jean
790217dd11eSRalf Baechleconfig CEVT_BCM1480
791217dd11eSRalf Baechle	bool
792217dd11eSRalf Baechle
7936457d9fcSYoichi Yuasaconfig CEVT_DS1287
7946457d9fcSYoichi Yuasa	bool
7956457d9fcSYoichi Yuasa
7961097c6acSYoichi Yuasaconfig CEVT_GT641XX
7971097c6acSYoichi Yuasa	bool
7981097c6acSYoichi Yuasa
799779e7d41SManuel Laussconfig CEVT_R4K_LIB
800779e7d41SManuel Lauss	bool
801779e7d41SManuel Lauss
80242f77542SRalf Baechleconfig CEVT_R4K
803779e7d41SManuel Lauss	select CEVT_R4K_LIB
80442f77542SRalf Baechle	bool
80542f77542SRalf Baechle
806217dd11eSRalf Baechleconfig CEVT_SB1250
807217dd11eSRalf Baechle	bool
808217dd11eSRalf Baechle
809229f773eSAtsushi Nemotoconfig CEVT_TXX9
810229f773eSAtsushi Nemoto	bool
811229f773eSAtsushi Nemoto
812217dd11eSRalf Baechleconfig CSRC_BCM1480
813217dd11eSRalf Baechle	bool
814217dd11eSRalf Baechle
8154247417dSYoichi Yuasaconfig CSRC_IOASIC
8164247417dSYoichi Yuasa	bool
8174247417dSYoichi Yuasa
818a3a0f8c8SDavid VomLehnconfig CSRC_POWERTV
819a3a0f8c8SDavid VomLehn	bool
820a3a0f8c8SDavid VomLehn
821779e7d41SManuel Laussconfig CSRC_R4K_LIB
822779e7d41SManuel Lauss	bool
823779e7d41SManuel Lauss
824940f6b48SRalf Baechleconfig CSRC_R4K
825779e7d41SManuel Lauss	select CSRC_R4K_LIB
826940f6b48SRalf Baechle	bool
827940f6b48SRalf Baechle
828217dd11eSRalf Baechleconfig CSRC_SB1250
829217dd11eSRalf Baechle	bool
830217dd11eSRalf Baechle
831a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
832a9aec7feSAtsushi Nemoto	select GENERIC_GPIO
8337444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
834a9aec7feSAtsushi Nemoto	bool
835a9aec7feSAtsushi Nemoto
836df78b5c8SAurelien Jarnoconfig CFE
837df78b5c8SAurelien Jarno	bool
838df78b5c8SAurelien Jarno
8391da177e4SLinus Torvaldsconfig DMA_COHERENT
8401da177e4SLinus Torvalds	bool
8411da177e4SLinus Torvalds
8421da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
8431da177e4SLinus Torvalds	bool
844e1e02b32SFUJITA Tomonori	select NEED_DMA_MAP_STATE
8454ce588cdSRalf Baechle
846e1e02b32SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
8474ce588cdSRalf Baechle	bool
8481da177e4SLinus Torvalds
84936a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
8501da177e4SLinus Torvalds	bool
8511da177e4SLinus Torvalds
852dbb74540SRalf Baechleconfig HOTPLUG_CPU
8531b2bc75cSRalf Baechle	bool "Support for hot-pluggable CPUs"
8541b2bc75cSRalf Baechle	depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
8551b2bc75cSRalf Baechle	help
8561b2bc75cSRalf Baechle	  Say Y here to allow turning CPUs off and on. CPUs can be
8571b2bc75cSRalf Baechle	  controlled through /sys/devices/system/cpu.
8581b2bc75cSRalf Baechle	  (Note: power management support will enable this option
8591b2bc75cSRalf Baechle	    automatically on SMP systems. )
8601b2bc75cSRalf Baechle	  Say N if you want to disable CPU hotplug.
8611b2bc75cSRalf Baechle
8621b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU
863dbb74540SRalf Baechle	bool
864dbb74540SRalf Baechle
8651da177e4SLinus Torvaldsconfig I8259
8661da177e4SLinus Torvalds	bool
8671da177e4SLinus Torvalds
8681da177e4SLinus Torvaldsconfig MIPS_BONITO64
8691da177e4SLinus Torvalds	bool
8701da177e4SLinus Torvalds
8711da177e4SLinus Torvaldsconfig MIPS_MSC
8721da177e4SLinus Torvalds	bool
8731da177e4SLinus Torvalds
8741f21d2bdSBrian Murphyconfig MIPS_NILE4
8751f21d2bdSBrian Murphy	bool
8761f21d2bdSBrian Murphy
8771da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8781da177e4SLinus Torvalds	bool
8791da177e4SLinus Torvalds
88039b8d525SRalf Baechleconfig SYNC_R4K
88139b8d525SRalf Baechle	bool
88239b8d525SRalf Baechle
883d388d685SMaciej W. Rozyckiconfig NO_IOPORT
884d388d685SMaciej W. Rozycki	def_bool n
885d388d685SMaciej W. Rozycki
8868313da30SRalf Baechleconfig GENERIC_ISA_DMA
8878313da30SRalf Baechle	bool
8888313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
889a35bee8aSNamhyung Kim	select ISA_DMA_API
8908313da30SRalf Baechle
891aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
892aa414dffSRalf Baechle	bool
8938313da30SRalf Baechle	select GENERIC_ISA_DMA
894aa414dffSRalf Baechle
895a35bee8aSNamhyung Kimconfig ISA_DMA_API
896a35bee8aSNamhyung Kim	bool
897a35bee8aSNamhyung Kim
89809663335SYoichi Yuasaconfig GENERIC_GPIO
89909663335SYoichi Yuasa	bool
90009663335SYoichi Yuasa
9015e83d430SRalf Baechle#
9023cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
9035e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
9045e83d430SRalf Baechle# choice statement should be more obvious to the user.
9055e83d430SRalf Baechle#
9065e83d430SRalf Baechlechoice
9075e83d430SRalf Baechle	prompt "Endianess selection"
9081da177e4SLinus Torvalds	help
9091da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
9105e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
9113cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
9125e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
9133dde6ad8SDavid Sterba	  one or the other endianness.
9145e83d430SRalf Baechle
9155e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
9165e83d430SRalf Baechle	bool "Big endian"
9175e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
9185e83d430SRalf Baechle
9195e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
9205e83d430SRalf Baechle	bool "Little endian"
9215e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
9225e83d430SRalf Baechle	help
9235e83d430SRalf Baechle
9245e83d430SRalf Baechleendchoice
9255e83d430SRalf Baechle
92622b0763aSDavid Daneyconfig EXPORT_UASM
92722b0763aSDavid Daney	bool
92822b0763aSDavid Daney
9292116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
9302116245eSRalf Baechle	bool
9312116245eSRalf Baechle
9325e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
9335e83d430SRalf Baechle	bool
9345e83d430SRalf Baechle
9355e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
9365e83d430SRalf Baechle	bool
9371da177e4SLinus Torvalds
9389cffd154SDavid Daneyconfig SYS_SUPPORTS_HUGETLBFS
9399cffd154SDavid Daney	bool
9409cffd154SDavid Daney	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
9419cffd154SDavid Daney	default y
9429cffd154SDavid Daney
9431da177e4SLinus Torvaldsconfig IRQ_CPU
9441da177e4SLinus Torvalds	bool
9451da177e4SLinus Torvalds
9461da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
9471da177e4SLinus Torvalds	bool
9481da177e4SLinus Torvalds
9495e83d430SRalf Baechleconfig IRQ_CPU_RM9K
9505e83d430SRalf Baechle	bool
9515e83d430SRalf Baechle
9529267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
9539267a30dSMarc St-Jean	bool
9549267a30dSMarc St-Jean
9559267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
9569267a30dSMarc St-Jean	bool
9579267a30dSMarc St-Jean
9588420fd00SAtsushi Nemotoconfig IRQ_TXX9
9598420fd00SAtsushi Nemoto	bool
9608420fd00SAtsushi Nemoto
961d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
962d5ab1a69SYoichi Yuasa	bool
963d5ab1a69SYoichi Yuasa
96439b8d525SRalf Baechleconfig IRQ_GIC
96539b8d525SRalf Baechle	bool
96639b8d525SRalf Baechle
967a86c7f72SDavid Daneyconfig IRQ_CPU_OCTEON
968a86c7f72SDavid Daney	bool
969a86c7f72SDavid Daney
9701da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
9711da177e4SLinus Torvalds	bool
9721da177e4SLinus Torvalds
973252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
9741da177e4SLinus Torvalds	bool
9751da177e4SLinus Torvalds
9769267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
9779267a30dSMarc St-Jean	bool
9789267a30dSMarc St-Jean
979663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
980663c3d90Sthomas@koeller.dyndns.org	bool
981663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
982663c3d90Sthomas@koeller.dyndns.org
983a83860c2SRalf Baechleconfig SOC_EMMA2RH
984a83860c2SRalf Baechle	bool
985a83860c2SRalf Baechle	select CEVT_R4K
986a83860c2SRalf Baechle	select CSRC_R4K
987a83860c2SRalf Baechle	select DMA_NONCOHERENT
988a83860c2SRalf Baechle	select IRQ_CPU
989a83860c2SRalf Baechle	select SWAP_IO_SPACE
990a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
991a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
992a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
993a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
994a83860c2SRalf Baechle
995edb6310aSDaniel Lairdconfig SOC_PNX833X
996edb6310aSDaniel Laird	bool
997edb6310aSDaniel Laird	select CEVT_R4K
998edb6310aSDaniel Laird	select CSRC_R4K
999edb6310aSDaniel Laird	select IRQ_CPU
1000edb6310aSDaniel Laird	select DMA_NONCOHERENT
1001edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
1002edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
1003edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
1004edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
1005edb6310aSDaniel Laird	select GENERIC_GPIO
1006edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
1007edb6310aSDaniel Laird
1008edb6310aSDaniel Lairdconfig SOC_PNX8335
1009edb6310aSDaniel Laird	bool
1010edb6310aSDaniel Laird	select SOC_PNX833X
1011edb6310aSDaniel Laird
1012bdf21b18SPete Popovconfig PNX8550
1013bdf21b18SPete Popov	bool
1014bdf21b18SPete Popov	select SOC_PNX8550
1015bdf21b18SPete Popov
1016bdf21b18SPete Popovconfig SOC_PNX8550
1017bdf21b18SPete Popov	bool
1018bdf21b18SPete Popov	select DMA_NONCOHERENT
1019bdf21b18SPete Popov	select HW_HAS_PCI
1020b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
102136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
10227cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
10234ead1681SFlorian Fainelli	select GENERIC_GPIO
1024bdf21b18SPete Popov
10251da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
10261da177e4SLinus Torvalds	bool
10271da177e4SLinus Torvalds
1028663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
1029663c3d90Sthomas@koeller.dyndns.org	bool
1030663c3d90Sthomas@koeller.dyndns.org
1031e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
1032e2defae5SThomas Bogendoerfer	bool
1033e2defae5SThomas Bogendoerfer
10345b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
10355b438c44SThomas Bogendoerfer	bool
10365b438c44SThomas Bogendoerfer
1037e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
1038e2defae5SThomas Bogendoerfer	bool
1039e2defae5SThomas Bogendoerfer
1040e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
1041e2defae5SThomas Bogendoerfer	bool
1042e2defae5SThomas Bogendoerfer
1043e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
1044e2defae5SThomas Bogendoerfer	bool
1045e2defae5SThomas Bogendoerfer
1046e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1047e2defae5SThomas Bogendoerfer	bool
1048e2defae5SThomas Bogendoerfer
1049e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1050e2defae5SThomas Bogendoerfer	bool
1051e2defae5SThomas Bogendoerfer
10525e83d430SRalf Baechleconfig ARC32
10535e83d430SRalf Baechle	bool
10545e83d430SRalf Baechle
1055231a35d3SThomas Bogendoerferconfig SNIPROM
1056231a35d3SThomas Bogendoerfer	bool
1057231a35d3SThomas Bogendoerfer
10581da177e4SLinus Torvaldsconfig BOOT_ELF32
10591da177e4SLinus Torvalds	bool
10601da177e4SLinus Torvalds
10611da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
10621da177e4SLinus Torvalds	int
1063c7088755SRalf Baechle	default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
10640db2b74eSRalf Baechle	default "6" if MIPS_CPU_SCACHE
1065a86c7f72SDavid Daney	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
10661da177e4SLinus Torvalds	default "5"
10671da177e4SLinus Torvalds
10681da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
10691da177e4SLinus Torvalds	bool
10701da177e4SLinus Torvalds
10711da177e4SLinus Torvaldsconfig ARC_CONSOLE
10721da177e4SLinus Torvalds	bool "ARC console support"
1073e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
10741da177e4SLinus Torvalds
10751da177e4SLinus Torvaldsconfig ARC_MEMORY
10761da177e4SLinus Torvalds	bool
107714b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
10781da177e4SLinus Torvalds	default y
10791da177e4SLinus Torvalds
10801da177e4SLinus Torvaldsconfig ARC_PROMLIB
10811da177e4SLinus Torvalds	bool
1082e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
10831da177e4SLinus Torvalds	default y
10841da177e4SLinus Torvalds
10851da177e4SLinus Torvaldsconfig ARC64
10861da177e4SLinus Torvalds	bool
10871da177e4SLinus Torvalds
10881da177e4SLinus Torvaldsconfig BOOT_ELF64
10891da177e4SLinus Torvalds	bool
10901da177e4SLinus Torvalds
10911da177e4SLinus Torvaldsmenu "CPU selection"
10921da177e4SLinus Torvalds
10931da177e4SLinus Torvaldschoice
10941da177e4SLinus Torvalds	prompt "CPU type"
10951da177e4SLinus Torvalds	default CPU_R4X00
10961da177e4SLinus Torvalds
10973702bba5SWu Zhangjinconfig CPU_LOONGSON2E
10983702bba5SWu Zhangjin	bool "Loongson 2E"
10993702bba5SWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2E
11003702bba5SWu Zhangjin	select CPU_LOONGSON2
11012a21c730SFuxin Zhang	help
11022a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
11032a21c730SFuxin Zhang	  with many extensions.
11042a21c730SFuxin Zhang
11056f7a251aSWu Zhangjin	  It has an internal FPGA northbridge, which is compatiable to
11066f7a251aSWu Zhangjin	  bonito64.
11076f7a251aSWu Zhangjin
11086f7a251aSWu Zhangjinconfig CPU_LOONGSON2F
11096f7a251aSWu Zhangjin	bool "Loongson 2F"
11106f7a251aSWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2F
11116f7a251aSWu Zhangjin	select CPU_LOONGSON2
1112c197da91SArnaud Patard	select GENERIC_GPIO
1113c197da91SArnaud Patard	select ARCH_REQUIRE_GPIOLIB
11146f7a251aSWu Zhangjin	help
11156f7a251aSWu Zhangjin	  The Loongson 2F processor implements the MIPS III instruction set
11166f7a251aSWu Zhangjin	  with many extensions.
11176f7a251aSWu Zhangjin
11186f7a251aSWu Zhangjin	  Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
11196f7a251aSWu Zhangjin	  have a similar programming interface with FPGA northbridge used in
11206f7a251aSWu Zhangjin	  Loongson2E.
11216f7a251aSWu Zhangjin
11226e760c8dSRalf Baechleconfig CPU_MIPS32_R1
11236e760c8dSRalf Baechle	bool "MIPS32 Release 1"
11247cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
11256e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1126797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1127ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11286e760c8dSRalf Baechle	help
11295e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11301e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11311e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11321e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11331e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11341e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
11351e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
11361e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
11371e5f1caaSRalf Baechle	  performance.
11381e5f1caaSRalf Baechle
11391e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
11401e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
11417cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
11421e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1143797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1144ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11451e5f1caaSRalf Baechle	help
11465e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11476e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11486e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11496e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11506e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11511da177e4SLinus Torvalds
11526e760c8dSRalf Baechleconfig CPU_MIPS64_R1
11536e760c8dSRalf Baechle	bool "MIPS64 Release 1"
11547cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1155797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1156ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1157ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1158ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11599cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11606e760c8dSRalf Baechle	help
11616e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11626e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11636e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11646e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11656e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11661e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
11671e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
11681e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
11691e5f1caaSRalf Baechle	  performance.
11701e5f1caaSRalf Baechle
11711e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
11721e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
11737cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1174797798c1SRalf Baechle	select CPU_HAS_PREFETCH
11751e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11761e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1177ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11789cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11791e5f1caaSRalf Baechle	help
11801e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11811e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11821e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11831e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11841e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11851da177e4SLinus Torvalds
11861da177e4SLinus Torvaldsconfig CPU_R3000
11871da177e4SLinus Torvalds	bool "R3000"
11887cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1189f7062ddbSRalf Baechle	select CPU_HAS_WB
1190ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1191797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11921da177e4SLinus Torvalds	help
11931da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
11941da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
11951da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
11961da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
11971da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
11981da177e4SLinus Torvalds	  try to recompile with R3000.
11991da177e4SLinus Torvalds
12001da177e4SLinus Torvaldsconfig CPU_TX39XX
12011da177e4SLinus Torvalds	bool "R39XX"
12027cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1203ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12041da177e4SLinus Torvalds
12051da177e4SLinus Torvaldsconfig CPU_VR41XX
12061da177e4SLinus Torvalds	bool "R41xx"
12077cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1208ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1209ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12101da177e4SLinus Torvalds	help
12115e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
12121da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
12131da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
12141da177e4SLinus Torvalds	  processor or vice versa.
12151da177e4SLinus Torvalds
12161da177e4SLinus Torvaldsconfig CPU_R4300
12171da177e4SLinus Torvalds	bool "R4300"
12187cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1219ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1220ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12211da177e4SLinus Torvalds	help
12221da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
12231da177e4SLinus Torvalds
12241da177e4SLinus Torvaldsconfig CPU_R4X00
12251da177e4SLinus Torvalds	bool "R4x00"
12267cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1227ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1228ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12291da177e4SLinus Torvalds	help
12301da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
12311da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
12321da177e4SLinus Torvalds
12331da177e4SLinus Torvaldsconfig CPU_TX49XX
12341da177e4SLinus Torvalds	bool "R49XX"
12357cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1236de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1237ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1238ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12391da177e4SLinus Torvalds
12401da177e4SLinus Torvaldsconfig CPU_R5000
12411da177e4SLinus Torvalds	bool "R5000"
12427cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1243ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1244ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12451da177e4SLinus Torvalds	help
12461da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
12471da177e4SLinus Torvalds
12481da177e4SLinus Torvaldsconfig CPU_R5432
12491da177e4SLinus Torvalds	bool "R5432"
12507cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
12515e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
12525e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
12531da177e4SLinus Torvalds
1254542c1020SShinya Kuribayashiconfig CPU_R5500
1255542c1020SShinya Kuribayashi	bool "R5500"
1256542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1257542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1258542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
12599cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1260542c1020SShinya Kuribayashi	help
1261542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1262542c1020SShinya Kuribayashi	  instruction set.
1263542c1020SShinya Kuribayashi
12641da177e4SLinus Torvaldsconfig CPU_R6000
12651da177e4SLinus Torvalds	bool "R6000"
1266ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12677cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1268ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12691da177e4SLinus Torvalds	help
12701da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1271c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
12721da177e4SLinus Torvalds
12731da177e4SLinus Torvaldsconfig CPU_NEVADA
12741da177e4SLinus Torvalds	bool "RM52xx"
12757cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1276ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1277ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12781da177e4SLinus Torvalds	help
12791da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
12801da177e4SLinus Torvalds
12811da177e4SLinus Torvaldsconfig CPU_R8000
12821da177e4SLinus Torvalds	bool "R8000"
1283ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12847cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
12855e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1286ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12871da177e4SLinus Torvalds	help
12881da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
12891da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
12901da177e4SLinus Torvalds
12911da177e4SLinus Torvaldsconfig CPU_R10000
12921da177e4SLinus Torvalds	bool "R10000"
12937cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
12945e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1295ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1296ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1297797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12981da177e4SLinus Torvalds	help
12991da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
13001da177e4SLinus Torvalds
13011da177e4SLinus Torvaldsconfig CPU_RM7000
13021da177e4SLinus Torvalds	bool "RM7000"
13037cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
13045e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1305ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1306ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1307797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13081da177e4SLinus Torvalds
13091da177e4SLinus Torvaldsconfig CPU_RM9000
13101da177e4SLinus Torvalds	bool "RM9000"
13117cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
13125e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1313ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1314ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1315797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13160004a9dfSRalf Baechle	select WEAK_ORDERING
13171da177e4SLinus Torvalds
13181da177e4SLinus Torvaldsconfig CPU_SB1
13191da177e4SLinus Torvalds	bool "SB1"
13207cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1321ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1322ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1323797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13240004a9dfSRalf Baechle	select WEAK_ORDERING
13251da177e4SLinus Torvalds
1326a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1327a86c7f72SDavid Daney	bool "Cavium Octeon processor"
13285e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1329a86c7f72SDavid Daney	select IRQ_CPU
1330a86c7f72SDavid Daney	select IRQ_CPU_OCTEON
1331a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1332a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1333a86c7f72SDavid Daney	select SYS_SUPPORTS_SMP
1334a86c7f72SDavid Daney	select NR_CPUS_DEFAULT_16
1335a86c7f72SDavid Daney	select WEAK_ORDERING
1336a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
13379cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1338a86c7f72SDavid Daney	help
1339a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1340a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1341a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1342a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1343a86c7f72SDavid Daney
13441da177e4SLinus Torvaldsendchoice
13451da177e4SLinus Torvalds
1346622844bfSWu Zhangjinif CPU_LOONGSON2F
1347622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS
1348622844bfSWu Zhangjin	bool
1349622844bfSWu Zhangjin
1350622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS
1351622844bfSWu Zhangjin	bool
1352622844bfSWu Zhangjin
1353622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS
1354622844bfSWu Zhangjin	bool "Loongson 2F Workarounds"
1355622844bfSWu Zhangjin	default y
1356622844bfSWu Zhangjin	select CPU_NOP_WORKAROUNDS
1357622844bfSWu Zhangjin	select CPU_JUMP_WORKAROUNDS
1358622844bfSWu Zhangjin	help
1359622844bfSWu Zhangjin	  Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1360622844bfSWu Zhangjin	  require workarounds.  Without workarounds the system may hang
1361622844bfSWu Zhangjin	  unexpectedly.  For more information please refer to the gas
1362622844bfSWu Zhangjin	  -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1363622844bfSWu Zhangjin
1364622844bfSWu Zhangjin	  Loongson 2F03 and later have fixed these issues and no workarounds
1365622844bfSWu Zhangjin	  are needed.  The workarounds have no significant side effect on them
1366622844bfSWu Zhangjin	  but may decrease the performance of the system so this option should
1367622844bfSWu Zhangjin	  be disabled unless the kernel is intended to be run on 2F01 or 2F02
1368622844bfSWu Zhangjin	  systems.
1369622844bfSWu Zhangjin
1370622844bfSWu Zhangjin	  If unsure, please say Y.
1371622844bfSWu Zhangjinendif # CPU_LOONGSON2F
1372622844bfSWu Zhangjin
13731b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT
13741b93b3c3SWu Zhangjin	bool
13751b93b3c3SWu Zhangjin	select HAVE_KERNEL_GZIP
13761b93b3c3SWu Zhangjin	select HAVE_KERNEL_BZIP2
13771b93b3c3SWu Zhangjin	select HAVE_KERNEL_LZMA
1378fe1d45e0SWu Zhangjin	select HAVE_KERNEL_LZO
13791b93b3c3SWu Zhangjin
13801b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550
13811b93b3c3SWu Zhangjin	bool
13821b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
13831b93b3c3SWu Zhangjin
13843702bba5SWu Zhangjinconfig CPU_LOONGSON2
13853702bba5SWu Zhangjin	bool
13863702bba5SWu Zhangjin	select CPU_SUPPORTS_32BIT_KERNEL
13873702bba5SWu Zhangjin	select CPU_SUPPORTS_64BIT_KERNEL
13883702bba5SWu Zhangjin	select CPU_SUPPORTS_HIGHMEM
13893702bba5SWu Zhangjin
13903702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E
13912a21c730SFuxin Zhang	bool
13922a21c730SFuxin Zhang
13936f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F
13946f7a251aSWu Zhangjin	bool
139555045ff5SWu Zhangjin	select CPU_SUPPORTS_CPUFREQ
139655045ff5SWu Zhangjin	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
139722f1fdfdSWu Zhangjin	select CPU_SUPPORTS_UNCACHED_ACCELERATED
13986f7a251aSWu Zhangjin
13997cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
14007cf8053bSRalf Baechle	bool
14017cf8053bSRalf Baechle
14027cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
14037cf8053bSRalf Baechle	bool
14047cf8053bSRalf Baechle
14057cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
14067cf8053bSRalf Baechle	bool
14077cf8053bSRalf Baechle
14087cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
14097cf8053bSRalf Baechle	bool
14107cf8053bSRalf Baechle
14117cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
14127cf8053bSRalf Baechle	bool
14137cf8053bSRalf Baechle
14147cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
14157cf8053bSRalf Baechle	bool
14167cf8053bSRalf Baechle
14177cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
14187cf8053bSRalf Baechle	bool
14197cf8053bSRalf Baechle
14207cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
14217cf8053bSRalf Baechle	bool
14227cf8053bSRalf Baechle
14237cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
14247cf8053bSRalf Baechle	bool
14257cf8053bSRalf Baechle
14267cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
14277cf8053bSRalf Baechle	bool
14287cf8053bSRalf Baechle
14297cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
14307cf8053bSRalf Baechle	bool
14317cf8053bSRalf Baechle
14327cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
14337cf8053bSRalf Baechle	bool
14347cf8053bSRalf Baechle
1435542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1436542c1020SShinya Kuribayashi	bool
1437542c1020SShinya Kuribayashi
14387cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
14397cf8053bSRalf Baechle	bool
14407cf8053bSRalf Baechle
14417cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
14427cf8053bSRalf Baechle	bool
14437cf8053bSRalf Baechle
14447cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
14457cf8053bSRalf Baechle	bool
14467cf8053bSRalf Baechle
14477cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
14487cf8053bSRalf Baechle	bool
14497cf8053bSRalf Baechle
14507cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
14517cf8053bSRalf Baechle	bool
14527cf8053bSRalf Baechle
14537cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
14547cf8053bSRalf Baechle	bool
14557cf8053bSRalf Baechle
14567cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
14577cf8053bSRalf Baechle	bool
14587cf8053bSRalf Baechle
14595e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
14605e683389SDavid Daney	bool
14615e683389SDavid Daney
146217099b11SRalf Baechle#
146317099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
146417099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
146517099b11SRalf Baechle#
14660004a9dfSRalf Baechleconfig WEAK_ORDERING
14670004a9dfSRalf Baechle	bool
146817099b11SRalf Baechle
146917099b11SRalf Baechle#
147017099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
147117099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
147217099b11SRalf Baechle#
147317099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
147417099b11SRalf Baechle	bool
14755e83d430SRalf Baechleendmenu
14765e83d430SRalf Baechle
14775e83d430SRalf Baechle#
14785e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
14795e83d430SRalf Baechle#
14805e83d430SRalf Baechleconfig CPU_MIPS32
14815e83d430SRalf Baechle	bool
14825e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
14835e83d430SRalf Baechle
14845e83d430SRalf Baechleconfig CPU_MIPS64
14855e83d430SRalf Baechle	bool
14865e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
14875e83d430SRalf Baechle
14885e83d430SRalf Baechle#
1489c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
14905e83d430SRalf Baechle#
14915e83d430SRalf Baechleconfig CPU_MIPSR1
14925e83d430SRalf Baechle	bool
14935e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
14945e83d430SRalf Baechle
14955e83d430SRalf Baechleconfig CPU_MIPSR2
14965e83d430SRalf Baechle	bool
1497a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
14985e83d430SRalf Baechle
14995e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
15005e83d430SRalf Baechle	bool
15015e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
15025e83d430SRalf Baechle	bool
15035e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
15045e83d430SRalf Baechle	bool
15055e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
15065e83d430SRalf Baechle	bool
150755045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ
150855045ff5SWu Zhangjin	bool
150955045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG
151055045ff5SWu Zhangjin	bool
15119cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES
15129cffd154SDavid Daney	bool
151322f1fdfdSWu Zhangjinconfig CPU_SUPPORTS_UNCACHED_ACCELERATED
151422f1fdfdSWu Zhangjin	bool
151582622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT
151682622284SDavid Daney	bool
151782622284SDavid Daney	default y if 64BIT && CPU_MIPSR2
15185e83d430SRalf Baechle
15198192c9eaSDavid Daney#
15208192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
15218192c9eaSDavid Daney#
15228192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
15238192c9eaSDavid Daney       bool
1524f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
15258192c9eaSDavid Daney
15265e83d430SRalf Baechlemenu "Kernel type"
15275e83d430SRalf Baechle
15285e83d430SRalf Baechlechoice
15295e83d430SRalf Baechle
15305e83d430SRalf Baechle	prompt "Kernel code model"
15315e83d430SRalf Baechle	help
15325e83d430SRalf Baechle	  You should only select this option if you have a workload that
15335e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
15345e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
15355e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
15365e83d430SRalf Baechle
15375e83d430SRalf Baechleconfig 32BIT
15385e83d430SRalf Baechle	bool "32-bit kernel"
15395e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
15405e83d430SRalf Baechle	select TRAD_SIGNALS
15415e83d430SRalf Baechle	help
15425e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
15435e83d430SRalf Baechleconfig 64BIT
15445e83d430SRalf Baechle	bool "64-bit kernel"
15455e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1546dbda6ac0SRalf Baechle	select HAVE_SYSCALL_WRAPPERS
15475e83d430SRalf Baechle	help
15485e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
15495e83d430SRalf Baechle
15505e83d430SRalf Baechleendchoice
15515e83d430SRalf Baechle
15521da177e4SLinus Torvaldschoice
15531da177e4SLinus Torvalds	prompt "Kernel page size"
15541da177e4SLinus Torvalds	default PAGE_SIZE_4KB
15551da177e4SLinus Torvalds
15561da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
15571da177e4SLinus Torvalds	bool "4kB"
1558315fe625SWu Zhangjin	depends on !CPU_LOONGSON2
15591da177e4SLinus Torvalds	help
15601da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
15611da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
15621da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
15631da177e4SLinus Torvalds	 recommended for low memory systems.
15641da177e4SLinus Torvalds
15651da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
15661da177e4SLinus Torvalds	bool "8kB"
1567c52399beSRalf Baechle	depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
15681da177e4SLinus Torvalds	help
15691da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
15701da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
1571c52399beSRalf Baechle	  only on R8000 and cnMIPS processors.  Note that you will need a
1572c52399beSRalf Baechle	  suitable Linux distribution to support this.
15731da177e4SLinus Torvalds
15741da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
15751da177e4SLinus Torvalds	bool "16kB"
1576714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
15771da177e4SLinus Torvalds	help
15781da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
15791da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1580714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1581714bfad6SRalf Baechle	  Linux distribution to support this.
15821da177e4SLinus Torvalds
1583c52399beSRalf Baechleconfig PAGE_SIZE_32KB
1584c52399beSRalf Baechle	bool "32kB"
1585c52399beSRalf Baechle	depends on CPU_CAVIUM_OCTEON
1586c52399beSRalf Baechle	help
1587c52399beSRalf Baechle	  Using 32kB page size will result in higher performance kernel at
1588c52399beSRalf Baechle	  the price of higher memory consumption.  This option is available
1589c52399beSRalf Baechle	  only on cnMIPS cores.  Note that you will need a suitable Linux
1590c52399beSRalf Baechle	  distribution to support this.
1591c52399beSRalf Baechle
15921da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
15931da177e4SLinus Torvalds	bool "64kB"
15941da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
15951da177e4SLinus Torvalds	help
15961da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
15971da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
15981da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1599714bfad6SRalf Baechle	  writing this option is still high experimental.
16001da177e4SLinus Torvalds
16011da177e4SLinus Torvaldsendchoice
16021da177e4SLinus Torvalds
16031da177e4SLinus Torvaldsconfig BOARD_SCACHE
16041da177e4SLinus Torvalds	bool
16051da177e4SLinus Torvalds
16061da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
16071da177e4SLinus Torvalds	bool
16081da177e4SLinus Torvalds	select BOARD_SCACHE
16091da177e4SLinus Torvalds
16109318c51aSChris Dearman#
16119318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
16129318c51aSChris Dearman#
16139318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
16149318c51aSChris Dearman	bool
16159318c51aSChris Dearman	select BOARD_SCACHE
16169318c51aSChris Dearman
16171da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
16181da177e4SLinus Torvalds	bool
16191da177e4SLinus Torvalds	select BOARD_SCACHE
16201da177e4SLinus Torvalds
16211da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
16221da177e4SLinus Torvalds	bool
16231da177e4SLinus Torvalds	select BOARD_SCACHE
16241da177e4SLinus Torvalds
16251da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
16261da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
16271da177e4SLinus Torvalds	depends on CPU_SB1
16281da177e4SLinus Torvalds	help
16291da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
16301da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
16311da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
16321da177e4SLinus Torvalds
16331da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1634c8094b53SRalf Baechle	bool
16351da177e4SLinus Torvalds
1636340ee4b9SRalf Baechlechoice
1637340ee4b9SRalf Baechle	prompt "MIPS MT options"
1638f41ae0b2SRalf Baechle
1639f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1640f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1641f41ae0b2SRalf Baechle	help
1642f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1643f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1644f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1645f41ae0b2SRalf Baechle	  option in this menu.
1646340ee4b9SRalf Baechle
164759d6ab86SRalf Baechleconfig MIPS_MT_SMP
164859d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
164959d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
165059d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1651d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
165259d6ab86SRalf Baechle	select MIPS_MT
1653f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
165459d6ab86SRalf Baechle	select SMP
16550ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
165659d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
165787353d8aSRalf Baechle	select SMP_UP
165859d6ab86SRalf Baechle	help
165925f12b33SRalf Baechle	  This is a kernel model which is known a VSMP but lately has been
166025f12b33SRalf Baechle	  marketesed into SMVP.
166125f12b33SRalf Baechle	  Virtual SMP uses the processor's VPEs  to implement virtual
166225f12b33SRalf Baechle	  processors. In currently available configuration of the 34K processor
166325f12b33SRalf Baechle	  this allows for a dual processor. Both processors will share the same
166425f12b33SRalf Baechle	  primary caches; each will obtain the half of the TLB for it's own
166525f12b33SRalf Baechle	  exclusive use. For a layman this model can be described as similar to
166625f12b33SRalf Baechle	  what Intel calls Hyperthreading.
166725f12b33SRalf Baechle
166825f12b33SRalf Baechle	  For further information see http://www.linux-mips.org/wiki/34K#VSMP
166959d6ab86SRalf Baechle
167041c594abSRalf Baechleconfig MIPS_MT_SMTC
167141c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1672f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1673f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1674f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1675f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1676d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1677f41ae0b2SRalf Baechle	select MIPS_MT
1678130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
167941c594abSRalf Baechle	select SMP
168073b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
168187353d8aSRalf Baechle	select SMP_UP
1682f41ae0b2SRalf Baechle	help
1683f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1684f41ae0b2SRalf Baechle	  marketesed into SMVP.
168525f12b33SRalf Baechle	  is presenting the available TC's of the core as processors to Linux.
168625f12b33SRalf Baechle	  On currently available 34K processors this means a Linux system will
168725f12b33SRalf Baechle	  see up to 5 processors. The implementation of the SMTC kernel differs
168825f12b33SRalf Baechle	  significantly from VSMP and cannot efficiently coexist in the same
168925f12b33SRalf Baechle	  kernel binary so the choice between VSMP and SMTC is a compile time
169025f12b33SRalf Baechle	  decision.
169125f12b33SRalf Baechle
169225f12b33SRalf Baechle	  For further information see http://www.linux-mips.org/wiki/34K#SMTC
169341c594abSRalf Baechle
1694340ee4b9SRalf Baechleendchoice
1695340ee4b9SRalf Baechle
1696f41ae0b2SRalf Baechleconfig MIPS_MT
1697f41ae0b2SRalf Baechle	bool
1698f41ae0b2SRalf Baechle
16990ab7aefcSRalf Baechleconfig SCHED_SMT
17000ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
17010ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
17020ab7aefcSRalf Baechle	default n
17030ab7aefcSRalf Baechle	help
17040ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
17050ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
17060ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
17070ab7aefcSRalf Baechle
17080ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
17090ab7aefcSRalf Baechle	bool
17100ab7aefcSRalf Baechle
17110ab7aefcSRalf Baechle
1712f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1713f41ae0b2SRalf Baechle	bool
1714f41ae0b2SRalf Baechle
1715f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1716f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1717f088fc84SRalf Baechle	default y
171807cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
171907cc0c9eSRalf Baechle
172007cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
172107cc0c9eSRalf Baechle	bool "VPE loader support."
172207cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
172307cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
172407cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
172507cc0c9eSRalf Baechle	select MIPS_MT
172607cc0c9eSRalf Baechle	help
172707cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
172807cc0c9eSRalf Baechle	  onto another VPE and running it.
1729f088fc84SRalf Baechle
17300db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
17310db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
17320db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
17338531a35eSKevin D. Kissell	default n
17340db34215SKevin D. Kissell	help
17350db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
17360db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
17370db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
17380db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
17390db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
17408531a35eSKevin D. Kissell	  impact on interrupt service overhead.
17410db34215SKevin D. Kissell
1742f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1743f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1744f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1745f571eff0SKevin D. Kissell	default n
1746f571eff0SKevin D. Kissell	help
1747f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1748f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1749f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
17508531a35eSKevin D. Kissell	  platform code.  Adds some overhead to interrupt dispatch, and
17518531a35eSKevin D. Kissell	  should be used only if you know what you are doing.
1752f571eff0SKevin D. Kissell
1753e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1754e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1755e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1756e01402b1SRalf Baechle	default y
1757e01402b1SRalf Baechle	help
1758e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1759e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1760e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1761e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1762e01402b1SRalf Baechle
1763e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1764e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1765e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1766e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
17675e83d430SRalf Baechle	help
1768e01402b1SRalf Baechle
17692600990eSRalf Baechleconfig MIPS_APSP_KSPD
17702600990eSRalf Baechle	bool "Enable KSPD"
17712600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
17722600990eSRalf Baechle	default y
17732600990eSRalf Baechle	help
17742600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
17752600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
17762600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
17772600990eSRalf Baechle	  exiting.  You probably want to say yes here.
17782600990eSRalf Baechle
17794a16ff4cSRalf Baechleconfig MIPS_CMP
17804a16ff4cSRalf Baechle	bool "MIPS CMP framework support"
17814a16ff4cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
1782eb9b5141STim Anderson	select SYNC_R4K
17834a16ff4cSRalf Baechle	select SYS_SUPPORTS_SMP
17844a16ff4cSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
17854a16ff4cSRalf Baechle	select WEAK_ORDERING
17864a16ff4cSRalf Baechle	default n
17874a16ff4cSRalf Baechle	help
17884a16ff4cSRalf Baechle	  This is a placeholder option for the GCMP work. It will need to
17894a16ff4cSRalf Baechle	  be handled differently...
17904a16ff4cSRalf Baechle
17911da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
17921da177e4SLinus Torvalds	bool
17931da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
17941da177e4SLinus Torvalds	default y
17951da177e4SLinus Torvalds
17961da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
17971da177e4SLinus Torvalds	bool
17981da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
17991da177e4SLinus Torvalds	default y
18001da177e4SLinus Torvalds
18011da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
18021da177e4SLinus Torvalds	bool
18031da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
18041da177e4SLinus Torvalds	default y
18051da177e4SLinus Torvalds
18061da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1807d806cb2bSRalf Baechle	bool
18081da177e4SLinus Torvalds
180960ec6571Spascal@pabr.orgconfig ARCH_PHYS_ADDR_T_64BIT
181060ec6571Spascal@pabr.org       def_bool 64BIT_PHYS_ADDR
181160ec6571Spascal@pabr.org
18129693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
18139693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
18149693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
18159693a853SFranck Bui-Huu	help
18169693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
18179693a853SFranck Bui-Huu	  increased security at both hardware and software level for
18189693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
18199693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
18209693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
18219693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
18229693a853SFranck Bui-Huu	  here.
18239693a853SFranck Bui-Huu
18241da177e4SLinus Torvaldsconfig CPU_HAS_WB
1825f7062ddbSRalf Baechle	bool
1826e01402b1SRalf Baechle
1827f41ae0b2SRalf Baechle#
1828f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1829f41ae0b2SRalf Baechle#
1830e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1831f41ae0b2SRalf Baechle	bool
1832e01402b1SRalf Baechle
1833f41ae0b2SRalf Baechle#
1834f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1835f41ae0b2SRalf Baechle#
1836e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1837f41ae0b2SRalf Baechle	bool
1838e01402b1SRalf Baechle
18391da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
18401da177e4SLinus Torvalds	bool
18411da177e4SLinus Torvalds	depends on !CPU_R3000
18421da177e4SLinus Torvalds	default y
18431da177e4SLinus Torvalds
1844ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1845ea580401SRalf Baechle	bool
1846ea580401SRalf Baechle
18471da177e4SLinus Torvalds#
184820d60d99SMaciej W. Rozycki# CPU non-features
184920d60d99SMaciej W. Rozycki#
185020d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
185120d60d99SMaciej W. Rozycki	bool
185220d60d99SMaciej W. Rozycki
185320d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
185420d60d99SMaciej W. Rozycki	bool
185520d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
185620d60d99SMaciej W. Rozycki
185720d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
185820d60d99SMaciej W. Rozycki	bool
185920d60d99SMaciej W. Rozycki
186020d60d99SMaciej W. Rozycki#
1861797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1862797798c1SRalf Baechle#
1863797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1864797798c1SRalf Baechle	bool
1865797798c1SRalf Baechle	default y
1866797798c1SRalf Baechle
1867797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1868797798c1SRalf Baechle	bool
1869797798c1SRalf Baechle	default y
1870797798c1SRalf Baechle
18710d7012a9SIngo Molnarconfig IRQ_PER_CPU
18720d7012a9SIngo Molnar	bool
18730d7012a9SIngo Molnar
1874797798c1SRalf Baechle#
18751da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
18761da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
18771da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
18781da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
18791da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
18801da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
18811da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
18821da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1883797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1884797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1885797798c1SRalf Baechle#   support.
18861da177e4SLinus Torvalds#
18871da177e4SLinus Torvaldsconfig HIGHMEM
18881da177e4SLinus Torvalds	bool "High Memory Support"
1889797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1890797798c1SRalf Baechle
1891797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1892797798c1SRalf Baechle	bool
1893797798c1SRalf Baechle
1894797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1895797798c1SRalf Baechle	bool
18961da177e4SLinus Torvalds
18979693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
18989693a853SFranck Bui-Huu	bool
18999693a853SFranck Bui-Huu
1900b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1901b4819b59SYoichi Yuasa	def_bool y
1902f133f22dSWu Zhangjin	depends on !NUMA && !CPU_LOONGSON2
1903b4819b59SYoichi Yuasa
1904d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1905d8cb4e11SRalf Baechle	bool
1906d8cb4e11SRalf Baechle	default y if SGI_IP27
1907d8cb4e11SRalf Baechle	help
19083dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1909d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1910d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1911d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1912d8cb4e11SRalf Baechle
1913cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1914cce335aeSRalf Baechle	def_bool y
1915cce335aeSRalf Baechle
1916b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1917b1c6cd42SAtsushi Nemoto	bool
19187de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
191931473747SAtsushi Nemoto
1920d8cb4e11SRalf Baechleconfig NUMA
1921d8cb4e11SRalf Baechle	bool "NUMA Support"
1922d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1923d8cb4e11SRalf Baechle	help
1924d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1925d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1926d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1927d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1928d8cb4e11SRalf Baechle	  disabled.
1929d8cb4e11SRalf Baechle
1930d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1931d8cb4e11SRalf Baechle	bool
1932d8cb4e11SRalf Baechle
1933c80d79d7SYasunori Gotoconfig NODES_SHIFT
1934c80d79d7SYasunori Goto	int
1935c80d79d7SYasunori Goto	default "6"
1936c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1937c80d79d7SYasunori Goto
1938*14f70012SDeng-Cheng Zhuconfig HW_PERF_EVENTS
1939*14f70012SDeng-Cheng Zhu	bool "Enable hardware performance counter support for perf events"
1940*14f70012SDeng-Cheng Zhu	depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && CPU_MIPS32
1941*14f70012SDeng-Cheng Zhu	default y
1942*14f70012SDeng-Cheng Zhu	help
1943*14f70012SDeng-Cheng Zhu	  Enable hardware performance counter support for perf events. If
1944*14f70012SDeng-Cheng Zhu	  disabled, perf events will use software events only.
1945*14f70012SDeng-Cheng Zhu
1946b4819b59SYoichi Yuasasource "mm/Kconfig"
1947b4819b59SYoichi Yuasa
19481da177e4SLinus Torvaldsconfig SMP
19491da177e4SLinus Torvalds	bool "Multi-Processing support"
1950e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1951b4b30a5aSRalf Baechle	select IRQ_PER_CPU
19522f304c0aSJens Axboe	select USE_GENERIC_SMP_HELPERS
1953e73ea273SRalf Baechle	help
19541da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
19551da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
19561da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
19571da177e4SLinus Torvalds
19581da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
19591da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
19601da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
19611da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
19621da177e4SLinus Torvalds	  will run faster if you say N here.
19631da177e4SLinus Torvalds
19641da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
19651da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
19661da177e4SLinus Torvalds
196703502faaSAdrian Bunk	  See also the SMP-HOWTO available at
196803502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
19691da177e4SLinus Torvalds
19701da177e4SLinus Torvalds	  If you don't know what to do here, say N.
19711da177e4SLinus Torvalds
197287353d8aSRalf Baechleconfig SMP_UP
197387353d8aSRalf Baechle	bool
197487353d8aSRalf Baechle
19754a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
19764a16ff4cSRalf Baechle	bool
19774a16ff4cSRalf Baechle
1978e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1979e73ea273SRalf Baechle	bool
1980e73ea273SRalf Baechle
198172ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
198272ede9b1SAtsushi Nemoto	bool
198372ede9b1SAtsushi Nemoto
1984130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1985130e2fb7SRalf Baechle	bool
1986130e2fb7SRalf Baechle
1987130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1988130e2fb7SRalf Baechle	bool
1989130e2fb7SRalf Baechle
1990130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1991130e2fb7SRalf Baechle	bool
1992130e2fb7SRalf Baechle
1993130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1994130e2fb7SRalf Baechle	bool
1995130e2fb7SRalf Baechle
1996130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1997130e2fb7SRalf Baechle	bool
1998130e2fb7SRalf Baechle
1999130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
2000130e2fb7SRalf Baechle	bool
2001130e2fb7SRalf Baechle
20021da177e4SLinus Torvaldsconfig NR_CPUS
20031da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
200472ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
20051da177e4SLinus Torvalds	depends on SMP
200672ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
2007130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
2008130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
2009130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
2010130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
2011130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
2012130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
20131da177e4SLinus Torvalds	help
20141da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
20151da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
20161da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
201772ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
201872ede9b1SAtsushi Nemoto	  and 2 for all others.
20191da177e4SLinus Torvalds
20201da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
202172ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
202272ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
202372ede9b1SAtsushi Nemoto	  power of two.
20241da177e4SLinus Torvalds
2025c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
2026c4eee283SAtsushi Nemoto
20271723b4a3SAtsushi Nemoto#
20281723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
20291723b4a3SAtsushi Nemoto#
20301723b4a3SAtsushi Nemoto
20311723b4a3SAtsushi Nemotochoice
20321723b4a3SAtsushi Nemoto	prompt "Timer frequency"
20331723b4a3SAtsushi Nemoto	default HZ_250
20341723b4a3SAtsushi Nemoto	help
20351723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
20361723b4a3SAtsushi Nemoto
20371723b4a3SAtsushi Nemoto	config HZ_48
20380f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
20391723b4a3SAtsushi Nemoto
20401723b4a3SAtsushi Nemoto	config HZ_100
20411723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
20421723b4a3SAtsushi Nemoto
20431723b4a3SAtsushi Nemoto	config HZ_128
20441723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
20451723b4a3SAtsushi Nemoto
20461723b4a3SAtsushi Nemoto	config HZ_250
20471723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
20481723b4a3SAtsushi Nemoto
20491723b4a3SAtsushi Nemoto	config HZ_256
20501723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
20511723b4a3SAtsushi Nemoto
20521723b4a3SAtsushi Nemoto	config HZ_1000
20531723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
20541723b4a3SAtsushi Nemoto
20551723b4a3SAtsushi Nemoto	config HZ_1024
20561723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
20571723b4a3SAtsushi Nemoto
20581723b4a3SAtsushi Nemotoendchoice
20591723b4a3SAtsushi Nemoto
20601723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
20611723b4a3SAtsushi Nemoto	bool
20621723b4a3SAtsushi Nemoto
20631723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
20641723b4a3SAtsushi Nemoto	bool
20651723b4a3SAtsushi Nemoto
20661723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
20671723b4a3SAtsushi Nemoto	bool
20681723b4a3SAtsushi Nemoto
20691723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
20701723b4a3SAtsushi Nemoto	bool
20711723b4a3SAtsushi Nemoto
20721723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
20731723b4a3SAtsushi Nemoto	bool
20741723b4a3SAtsushi Nemoto
20751723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
20761723b4a3SAtsushi Nemoto	bool
20771723b4a3SAtsushi Nemoto
20781723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
20791723b4a3SAtsushi Nemoto	bool
20801723b4a3SAtsushi Nemoto
20811723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
20821723b4a3SAtsushi Nemoto	bool
20831723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
20841723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
20851723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
20861723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
20871723b4a3SAtsushi Nemoto
20881723b4a3SAtsushi Nemotoconfig HZ
20891723b4a3SAtsushi Nemoto	int
20901723b4a3SAtsushi Nemoto	default 48 if HZ_48
20911723b4a3SAtsushi Nemoto	default 100 if HZ_100
20921723b4a3SAtsushi Nemoto	default 128 if HZ_128
20931723b4a3SAtsushi Nemoto	default 250 if HZ_250
20941723b4a3SAtsushi Nemoto	default 256 if HZ_256
20951723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
20961723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
20971723b4a3SAtsushi Nemoto
2098e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
20991da177e4SLinus Torvalds
21001da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
21011da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
2102875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
21031da177e4SLinus Torvalds	help
21041da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
21051da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
21061da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
21071da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
21081da177e4SLinus Torvalds	  recommended for normal users.
21091da177e4SLinus Torvalds
2110ea6e942bSAtsushi Nemotoconfig KEXEC
2111ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
2112ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
2113ea6e942bSAtsushi Nemoto	help
2114ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
2115ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
21163dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
2117ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
2118ea6e942bSAtsushi Nemoto
211901dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
2120ea6e942bSAtsushi Nemoto
2121ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
2122ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
2123ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
2124ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
2125ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
2126ea6e942bSAtsushi Nemoto
2127ea6e942bSAtsushi Nemotoconfig SECCOMP
2128ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
2129293c5bd1SRalf Baechle	depends on PROC_FS
2130ea6e942bSAtsushi Nemoto	default y
2131ea6e942bSAtsushi Nemoto	help
2132ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
2133ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
2134ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
2135ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
2136ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
2137ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
2138ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
2139ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
2140ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
2141ea6e942bSAtsushi Nemoto
2142ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
2143ea6e942bSAtsushi Nemoto
2144f2ffa5abSDezhong Diaoconfig USE_OF
2145f2ffa5abSDezhong Diao	bool "Flattened Device Tree support"
2146f2ffa5abSDezhong Diao	select OF
2147f2ffa5abSDezhong Diao	select OF_FLATTREE
2148f2ffa5abSDezhong Diao	help
2149f2ffa5abSDezhong Diao	  Include support for flattened device tree machine descriptions.
2150f2ffa5abSDezhong Diao
21515e83d430SRalf Baechleendmenu
21525e83d430SRalf Baechle
21531df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
21541df0f0ffSAtsushi Nemoto	bool
21551df0f0ffSAtsushi Nemoto	default y
21561df0f0ffSAtsushi Nemoto
21571df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
21581df0f0ffSAtsushi Nemoto	bool
21591df0f0ffSAtsushi Nemoto	default y
21601df0f0ffSAtsushi Nemoto
2161b6c3539bSRalf Baechlesource "init/Kconfig"
2162b6c3539bSRalf Baechle
2163dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
2164dc52ddc0SMatt Helsley
21651da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
21661da177e4SLinus Torvalds
21675e83d430SRalf Baechleconfig HW_HAS_EISA
21685e83d430SRalf Baechle	bool
21691da177e4SLinus Torvaldsconfig HW_HAS_PCI
21701da177e4SLinus Torvalds	bool
21711da177e4SLinus Torvalds
21721da177e4SLinus Torvaldsconfig PCI
21731da177e4SLinus Torvalds	bool "Support for PCI controller"
21741da177e4SLinus Torvalds	depends on HW_HAS_PCI
2175abb4ae46SRalf Baechle	select PCI_DOMAINS
21761da177e4SLinus Torvalds	help
21771da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
21781da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
21791da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
21801da177e4SLinus Torvalds	  say Y, otherwise N.
21811da177e4SLinus Torvalds
21821da177e4SLinus Torvaldsconfig PCI_DOMAINS
21831da177e4SLinus Torvalds	bool
21841da177e4SLinus Torvalds
21851da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
21861da177e4SLinus Torvalds
21871da177e4SLinus Torvalds#
21881da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
21891da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
21901da177e4SLinus Torvalds# users to choose the right thing ...
21911da177e4SLinus Torvalds#
21921da177e4SLinus Torvaldsconfig ISA
21931da177e4SLinus Torvalds	bool
21941da177e4SLinus Torvalds
21951da177e4SLinus Torvaldsconfig EISA
21961da177e4SLinus Torvalds	bool "EISA support"
21975e83d430SRalf Baechle	depends on HW_HAS_EISA
21981da177e4SLinus Torvalds	select ISA
2199aa414dffSRalf Baechle	select GENERIC_ISA_DMA
22001da177e4SLinus Torvalds	---help---
22011da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
22021da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
22031da177e4SLinus Torvalds
22041da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
22051da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
22061da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
22071da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
22081da177e4SLinus Torvalds
22091da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
22101da177e4SLinus Torvalds
22111da177e4SLinus Torvalds	  Otherwise, say N.
22121da177e4SLinus Torvalds
22131da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
22141da177e4SLinus Torvalds
22151da177e4SLinus Torvaldsconfig TC
22161da177e4SLinus Torvalds	bool "TURBOchannel support"
22171da177e4SLinus Torvalds	depends on MACH_DECSTATION
22181da177e4SLinus Torvalds	help
221950a23e6eSJustin P. Mattock	  TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
222050a23e6eSJustin P. Mattock	  processors.  TURBOchannel programming specifications are available
222150a23e6eSJustin P. Mattock	  at:
222250a23e6eSJustin P. Mattock	  <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
222350a23e6eSJustin P. Mattock	  and:
222450a23e6eSJustin P. Mattock	  <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
222550a23e6eSJustin P. Mattock	  Linux driver support status is documented at:
222650a23e6eSJustin P. Mattock	  <http://www.linux-mips.org/wiki/DECstation>
22271da177e4SLinus Torvalds
22281da177e4SLinus Torvalds#config ACCESSBUS
22291da177e4SLinus Torvalds#	bool "Access.Bus support"
22301da177e4SLinus Torvalds#	depends on TC
22311da177e4SLinus Torvalds
22321da177e4SLinus Torvaldsconfig MMU
22331da177e4SLinus Torvalds	bool
22341da177e4SLinus Torvalds	default y
22351da177e4SLinus Torvalds
2236d865bea4SRalf Baechleconfig I8253
2237d865bea4SRalf Baechle	bool
22389726b43aSWu Zhangjin	select MIPS_EXTERNAL_TIMER
2239d865bea4SRalf Baechle
2240cce335aeSRalf Baechleconfig ZONE_DMA32
2241cce335aeSRalf Baechle	bool
2242cce335aeSRalf Baechle
22431da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
22441da177e4SLinus Torvalds
22451da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
22461da177e4SLinus Torvalds
22471da177e4SLinus Torvaldsendmenu
22481da177e4SLinus Torvalds
22491da177e4SLinus Torvaldsmenu "Executable file formats"
22501da177e4SLinus Torvalds
22511da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
22521da177e4SLinus Torvalds
22531da177e4SLinus Torvaldsconfig TRAD_SIGNALS
22541da177e4SLinus Torvalds	bool
22551da177e4SLinus Torvalds
22561da177e4SLinus Torvaldsconfig MIPS32_COMPAT
22571da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2258875d43e7SRalf Baechle	depends on 64BIT
22591da177e4SLinus Torvalds	help
22601da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
22611da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
22621da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
22631da177e4SLinus Torvalds
22641da177e4SLinus Torvaldsconfig COMPAT
22651da177e4SLinus Torvalds	bool
22661da177e4SLinus Torvalds	depends on MIPS32_COMPAT
22671da177e4SLinus Torvalds	default y
22681da177e4SLinus Torvalds
226905e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
227005e43966SAtsushi Nemoto	bool
227105e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
227205e43966SAtsushi Nemoto	default y
227305e43966SAtsushi Nemoto
22741da177e4SLinus Torvaldsconfig MIPS32_O32
22751da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
22761da177e4SLinus Torvalds	depends on MIPS32_COMPAT
22771da177e4SLinus Torvalds	help
22781da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
22791da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
22801da177e4SLinus Torvalds	  existing binaries are in this format.
22811da177e4SLinus Torvalds
22821da177e4SLinus Torvalds	  If unsure, say Y.
22831da177e4SLinus Torvalds
22841da177e4SLinus Torvaldsconfig MIPS32_N32
22851da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
22861da177e4SLinus Torvalds	depends on MIPS32_COMPAT
22871da177e4SLinus Torvalds	help
22881da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
22891da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
22901da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
22911da177e4SLinus Torvalds	  cases.
22921da177e4SLinus Torvalds
22931da177e4SLinus Torvalds	  If unsure, say N.
22941da177e4SLinus Torvalds
22951da177e4SLinus Torvaldsconfig BINFMT_ELF32
22961da177e4SLinus Torvalds	bool
22971da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
22981da177e4SLinus Torvalds
22992116245eSRalf Baechleendmenu
23001da177e4SLinus Torvalds
23012116245eSRalf Baechlemenu "Power management options"
2302952fa954SRodolfo Giometti
2303363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE
2304363c55caSWu Zhangjin	def_bool y
23053f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2306363c55caSWu Zhangjin
2307f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2308f4cb5700SJohannes Berg	def_bool y
23093f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2310f4cb5700SJohannes Berg
23112116245eSRalf Baechlesource "kernel/power/Kconfig"
2312952fa954SRodolfo Giometti
23131da177e4SLinus Torvaldsendmenu
23141da177e4SLinus Torvalds
23159726b43aSWu Zhangjinsource "arch/mips/kernel/cpufreq/Kconfig"
23169726b43aSWu Zhangjin
2317d5950b43SSam Ravnborgsource "net/Kconfig"
2318d5950b43SSam Ravnborg
23191da177e4SLinus Torvaldssource "drivers/Kconfig"
23201da177e4SLinus Torvalds
23211da177e4SLinus Torvaldssource "fs/Kconfig"
23221da177e4SLinus Torvalds
23231da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
23241da177e4SLinus Torvalds
23251da177e4SLinus Torvaldssource "security/Kconfig"
23261da177e4SLinus Torvalds
23271da177e4SLinus Torvaldssource "crypto/Kconfig"
23281da177e4SLinus Torvalds
23291da177e4SLinus Torvaldssource "lib/Kconfig"
2330