xref: /linux/arch/mips/Kconfig (revision a35bee8a2748abe9a40865f477aba0a9b85965fd)
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
788547001SJason Wessel	select HAVE_ARCH_KGDB
8d2bb0762SWu Zhangjin	select HAVE_FUNCTION_TRACER
969a7d1b3SWu Zhangjin	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
10538f1952SWu Zhangjin	select HAVE_DYNAMIC_FTRACE
11538f1952SWu Zhangjin	select HAVE_FTRACE_MCOUNT_RECORD
1229c5d346SWu Zhangjin	select HAVE_FUNCTION_GRAPH_TRACER
13c1bf207dSDavid Daney	select HAVE_KPROBES
14c1bf207dSDavid Daney	select HAVE_KRETPROBES
1521a41faaSWu Zhangjin	select RTC_LIB if !MACH_LOONGSON
161da177e4SLinus Torvalds
171da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
181da177e4SLinus Torvalds
191da177e4SLinus Torvaldsmenu "Machine selection"
201da177e4SLinus Torvalds
215ac6da66SChristoph Lameterconfig ZONE_DMA
225ac6da66SChristoph Lameter	bool
235ac6da66SChristoph Lameter
245e83d430SRalf Baechlechoice
255e83d430SRalf Baechle	prompt "System type"
265e83d430SRalf Baechle	default SGI_IP22
271da177e4SLinus Torvalds
2842a4f17dSManuel Laussconfig MIPS_ALCHEMY
29c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
3042a4f17dSManuel Lauss	select 64BIT_PHYS_ADDR
3142a4f17dSManuel Lauss	select CEVT_R4K_LIB
3242a4f17dSManuel Lauss	select CSRC_R4K_LIB
3342a4f17dSManuel Lauss	select IRQ_CPU
3442a4f17dSManuel Lauss	select SYS_HAS_CPU_MIPS32_R1
3542a4f17dSManuel Lauss	select SYS_SUPPORTS_32BIT_KERNEL
3642a4f17dSManuel Lauss	select SYS_SUPPORTS_APM_EMULATION
3742a4f17dSManuel Lauss	select GENERIC_GPIO
3842a4f17dSManuel Lauss	select ARCH_WANT_OPTIONAL_GPIOLIB
391b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
401da177e4SLinus Torvalds
417ca5dc14SFlorian Fainelliconfig AR7
427ca5dc14SFlorian Fainelli	bool "Texas Instruments AR7"
437ca5dc14SFlorian Fainelli	select BOOT_ELF32
447ca5dc14SFlorian Fainelli	select DMA_NONCOHERENT
457ca5dc14SFlorian Fainelli	select CEVT_R4K
467ca5dc14SFlorian Fainelli	select CSRC_R4K
477ca5dc14SFlorian Fainelli	select IRQ_CPU
487ca5dc14SFlorian Fainelli	select NO_EXCEPT_FILL
497ca5dc14SFlorian Fainelli	select SWAP_IO_SPACE
507ca5dc14SFlorian Fainelli	select SYS_HAS_CPU_MIPS32_R1
517ca5dc14SFlorian Fainelli	select SYS_HAS_EARLY_PRINTK
527ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_32BIT_KERNEL
537ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_LITTLE_ENDIAN
541b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT_UART16550
555f3c9098SFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
567ca5dc14SFlorian Fainelli	select GCD
577ca5dc14SFlorian Fainelli	select VLYNQ
587ca5dc14SFlorian Fainelli	help
597ca5dc14SFlorian Fainelli	  Support for the Texas Instruments AR7 System-on-a-Chip
607ca5dc14SFlorian Fainelli	  family: TNETD7100, 7200 and 7300.
617ca5dc14SFlorian Fainelli
621c0c13ebSAurelien Jarnoconfig BCM47XX
63c619366eSFlorian Fainelli	bool "Broadcom BCM47XX based boards"
6442f77542SRalf Baechle	select CEVT_R4K
65940f6b48SRalf Baechle	select CSRC_R4K
661c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
671c0c13ebSAurelien Jarno	select HW_HAS_PCI
681c0c13ebSAurelien Jarno	select IRQ_CPU
691c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
701c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
711c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
721c0c13ebSAurelien Jarno	select SSB
731c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
742f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
75b06f3e19SAurelien Jarno	select SSB_EMBEDDED
76220937b1SHauke Mehrtens	select SSB_B43_PCI_BRIDGE if PCI
772f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
781c0c13ebSAurelien Jarno	select GENERIC_GPIO
7925e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
8025e5fb97SAurelien Jarno	select CFE
811c0c13ebSAurelien Jarno	help
821c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
831c0c13ebSAurelien Jarno
84e7300d04SMaxime Bizonconfig BCM63XX
85e7300d04SMaxime Bizon	bool "Broadcom BCM63XX based boards"
86e7300d04SMaxime Bizon	select CEVT_R4K
87e7300d04SMaxime Bizon	select CSRC_R4K
88e7300d04SMaxime Bizon	select DMA_NONCOHERENT
89e7300d04SMaxime Bizon	select IRQ_CPU
90e7300d04SMaxime Bizon	select SYS_HAS_CPU_MIPS32_R1
91e7300d04SMaxime Bizon	select SYS_SUPPORTS_32BIT_KERNEL
92e7300d04SMaxime Bizon	select SYS_SUPPORTS_BIG_ENDIAN
93e7300d04SMaxime Bizon	select SYS_HAS_EARLY_PRINTK
94e7300d04SMaxime Bizon	select SWAP_IO_SPACE
95e7300d04SMaxime Bizon	select ARCH_REQUIRE_GPIOLIB
96e7300d04SMaxime Bizon	help
97e7300d04SMaxime Bizon	 Support for BCM63XX based boards
98e7300d04SMaxime Bizon
991da177e4SLinus Torvaldsconfig MIPS_COBALT
1003fa986faSMartin Michlmayr	bool "Cobalt Server"
10142f77542SRalf Baechle	select CEVT_R4K
102940f6b48SRalf Baechle	select CSRC_R4K
1031097c6acSYoichi Yuasa	select CEVT_GT641XX
1041da177e4SLinus Torvalds	select DMA_NONCOHERENT
1051da177e4SLinus Torvalds	select HW_HAS_PCI
106d865bea4SRalf Baechle	select I8253
1071da177e4SLinus Torvalds	select I8259
1081da177e4SLinus Torvalds	select IRQ_CPU
109d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
110252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
111e25bfc92SYoichi Yuasa	select PCI
1127cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1130a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
114ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
1150e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
1165e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1171da177e4SLinus Torvalds
1181da177e4SLinus Torvaldsconfig MACH_DECSTATION
1193fa986faSMartin Michlmayr	bool "DECstations"
1201da177e4SLinus Torvalds	select BOOT_ELF32
1216457d9fcSYoichi Yuasa	select CEVT_DS1287
12242f77542SRalf Baechle	select CEVT_R4K
1234247417dSYoichi Yuasa	select CSRC_IOASIC
124940f6b48SRalf Baechle	select CSRC_R4K
12520d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
12620d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
12720d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
1281da177e4SLinus Torvalds	select DMA_NONCOHERENT
129d388d685SMaciej W. Rozycki	select NO_IOPORT
1301da177e4SLinus Torvalds	select IRQ_CPU
1317cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
1327cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
133ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
134ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1355e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1361723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
1371723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
1381723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1395e83d430SRalf Baechle	help
1401da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1411da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1421da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1431da177e4SLinus Torvalds
1441da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1451da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1461da177e4SLinus Torvalds
1471da177e4SLinus Torvalds		DECstation 5000/50
1481da177e4SLinus Torvalds		DECstation 5000/150
1491da177e4SLinus Torvalds		DECstation 5000/260
1501da177e4SLinus Torvalds		DECsystem 5900/260
1511da177e4SLinus Torvalds
1521da177e4SLinus Torvalds	  otherwise choose R3000.
1531da177e4SLinus Torvalds
1545e83d430SRalf Baechleconfig MACH_JAZZ
1553fa986faSMartin Michlmayr	bool "Jazz family of machines"
1565e83d430SRalf Baechle	select ARC
1575e83d430SRalf Baechle	select ARC32
1585e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
15942f77542SRalf Baechle	select CEVT_R4K
160940f6b48SRalf Baechle	select CSRC_R4K
161e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1625e83d430SRalf Baechle	select GENERIC_ISA_DMA
163ea202c63SThomas Bogendoerfer	select IRQ_CPU
164d865bea4SRalf Baechle	select I8253
1655e83d430SRalf Baechle	select I8259
1665e83d430SRalf Baechle	select ISA
1677cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1685e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1695e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1701723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1711da177e4SLinus Torvalds	help
1725e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1735e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
174692105b8SMatt LaPlante	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
1755e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1765e83d430SRalf Baechle
1775ebabe59SLars-Peter Clausenconfig MACH_JZ4740
1785ebabe59SLars-Peter Clausen	bool "Ingenic JZ4740 based machines"
1795ebabe59SLars-Peter Clausen	select SYS_HAS_CPU_MIPS32_R1
1805ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_32BIT_KERNEL
1815ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_LITTLE_ENDIAN
1825ebabe59SLars-Peter Clausen	select DMA_NONCOHERENT
1835ebabe59SLars-Peter Clausen	select IRQ_CPU
1845ebabe59SLars-Peter Clausen	select GENERIC_GPIO
1855ebabe59SLars-Peter Clausen	select ARCH_REQUIRE_GPIOLIB
1865ebabe59SLars-Peter Clausen	select SYS_HAS_EARLY_PRINTK
1875ebabe59SLars-Peter Clausen	select HAVE_PWM
1885ebabe59SLars-Peter Clausen
1891f21d2bdSBrian Murphyconfig LASAT
1901f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
19142f77542SRalf Baechle	select CEVT_R4K
192940f6b48SRalf Baechle	select CSRC_R4K
1931f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1941f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1951f21d2bdSBrian Murphy	select HW_HAS_PCI
196a5ccfe5cSRalf Baechle	select IRQ_CPU
1971f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1981f21d2bdSBrian Murphy	select MIPS_NILE4
1991f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
2001f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
2011f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
2021f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
2031f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
2041f21d2bdSBrian Murphy
20585749d24SWu Zhangjinconfig MACH_LOONGSON
20685749d24SWu Zhangjin	bool "Loongson family of machines"
207c7e8c668SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
208ade299d8SYoichi Yuasa	help
20985749d24SWu Zhangjin	  This enables the support of Loongson family of machines.
21085749d24SWu Zhangjin
21185749d24SWu Zhangjin	  Loongson is a family of general-purpose MIPS-compatible CPUs.
21285749d24SWu Zhangjin	  developed at Institute of Computing Technology (ICT),
21385749d24SWu Zhangjin	  Chinese Academy of Sciences (CAS) in the People's Republic
21485749d24SWu Zhangjin	  of China. The chief architect is Professor Weiwu Hu.
215ade299d8SYoichi Yuasa
2161da177e4SLinus Torvaldsconfig MIPS_MALTA
2173fa986faSMartin Michlmayr	bool "MIPS Malta board"
21861ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2191da177e4SLinus Torvalds	select BOOT_ELF32
220fa71c960SRalf Baechle	select BOOT_RAW
22142f77542SRalf Baechle	select CEVT_R4K
222940f6b48SRalf Baechle	select CSRC_R4K
2231da177e4SLinus Torvalds	select DMA_NONCOHERENT
2241da177e4SLinus Torvalds	select GENERIC_ISA_DMA
225aa414dffSRalf Baechle	select IRQ_CPU
22639b8d525SRalf Baechle	select IRQ_GIC
2271da177e4SLinus Torvalds	select HW_HAS_PCI
228d865bea4SRalf Baechle	select I8253
2291da177e4SLinus Torvalds	select I8259
2305e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2315e83d430SRalf Baechle	select MIPS_BONITO64
2329318c51aSChris Dearman	select MIPS_CPU_SCACHE
233252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2345e83d430SRalf Baechle	select MIPS_MSC
2351da177e4SLinus Torvalds	select SWAP_IO_SPACE
2367cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2377cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2387cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2397cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2407cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
24136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
242ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
243ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2445e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2455e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2460365070fSTim Anderson	select SYS_SUPPORTS_MIPS_CMP
247f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2489693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2491b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
2501da177e4SLinus Torvalds	help
251f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2521da177e4SLinus Torvalds	  board.
2531da177e4SLinus Torvalds
254c78cbf49SRalf Baechleconfig MIPS_SIM
2553fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
25642f77542SRalf Baechle	select CEVT_R4K
257940f6b48SRalf Baechle	select CSRC_R4K
258c78cbf49SRalf Baechle	select DMA_NONCOHERENT
25936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
260c78cbf49SRalf Baechle	select IRQ_CPU
2619267a30dSMarc St-Jean	select BOOT_RAW
2627cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2637cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
26436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
265c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
266c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
267f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
268c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
269c78cbf49SRalf Baechle	help
270c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
271c78cbf49SRalf Baechle	  emulator.
272c78cbf49SRalf Baechle
273a83860c2SRalf Baechleconfig NEC_MARKEINS
274a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
275a83860c2SRalf Baechle	select SOC_EMMA2RH
276a83860c2SRalf Baechle	select HW_HAS_PCI
277a83860c2SRalf Baechle	help
278a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
279ade299d8SYoichi Yuasa
2805e83d430SRalf Baechleconfig MACH_VR41XX
28174142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
28242f77542SRalf Baechle	select CEVT_R4K
283940f6b48SRalf Baechle	select CSRC_R4K
2847cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
28527fdd325SYoichi Yuasa	select ARCH_REQUIRE_GPIOLIB
2865e83d430SRalf Baechle
287edb6310aSDaniel Lairdconfig NXP_STB220
288edb6310aSDaniel Laird	bool "NXP STB220 board"
289edb6310aSDaniel Laird	select SOC_PNX833X
290edb6310aSDaniel Laird	help
291edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
292edb6310aSDaniel Laird
293edb6310aSDaniel Lairdconfig NXP_STB225
294edb6310aSDaniel Laird	bool "NXP 225 board"
295edb6310aSDaniel Laird	select SOC_PNX833X
296edb6310aSDaniel Laird	select SOC_PNX8335
297edb6310aSDaniel Laird	help
298edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
299edb6310aSDaniel Laird
300ade299d8SYoichi Yuasaconfig PNX8550_JBS
301a92b0588SDaniel Laird	bool "NXP PNX8550 based JBS board"
302ade299d8SYoichi Yuasa	select PNX8550
303ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
304ade299d8SYoichi Yuasa
305ade299d8SYoichi Yuasaconfig PNX8550_STB810
306a92b0588SDaniel Laird	bool "NXP PNX8550 based STB810 board"
307ade299d8SYoichi Yuasa	select PNX8550
308ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
309ade299d8SYoichi Yuasa
3109267a30dSMarc St-Jeanconfig PMC_MSP
3119267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3129267a30dSMarc St-Jean	depends on EXPERIMENTAL
3139267a30dSMarc St-Jean	select DMA_NONCOHERENT
3149267a30dSMarc St-Jean	select SWAP_IO_SPACE
3159267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3169267a30dSMarc St-Jean	select BOOT_RAW
3179267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3189267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3199267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3209267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3219267a30dSMarc St-Jean	select IRQ_CPU
3229267a30dSMarc St-Jean	select SERIAL_8250
3239267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3249267a30dSMarc St-Jean	help
3259267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3269267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3279267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3289267a30dSMarc St-Jean	  a variety of MIPS cores.
3299267a30dSMarc St-Jean
3305e83d430SRalf Baechleconfig PMC_YOSEMITE
3313fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
33242f77542SRalf Baechle	select CEVT_R4K
333940f6b48SRalf Baechle	select CSRC_R4K
3345e83d430SRalf Baechle	select DMA_COHERENT
3355e83d430SRalf Baechle	select HW_HAS_PCI
3365e83d430SRalf Baechle	select IRQ_CPU
3375e83d430SRalf Baechle	select IRQ_CPU_RM7K
3385e83d430SRalf Baechle	select IRQ_CPU_RM9K
3395e83d430SRalf Baechle	select SWAP_IO_SPACE
3407cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
34136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3425e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3435e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3445e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3455e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
346e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3475e83d430SRalf Baechle	help
3485e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3495e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3501da177e4SLinus Torvalds
351a3a0f8c8SDavid VomLehnconfig POWERTV
352a3a0f8c8SDavid VomLehn	bool "Cisco PowerTV"
353a3a0f8c8SDavid VomLehn	select BOOT_ELF32
354a3a0f8c8SDavid VomLehn	select CEVT_R4K
355a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_VI
356a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_EI
357a3a0f8c8SDavid VomLehn	select CSRC_POWERTV
358a3a0f8c8SDavid VomLehn	select DMA_NONCOHERENT
359a3a0f8c8SDavid VomLehn	select HW_HAS_PCI
360a3a0f8c8SDavid VomLehn	select SYS_HAS_EARLY_PRINTK
361a3a0f8c8SDavid VomLehn	select SYS_HAS_CPU_MIPS32_R2
362a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_32BIT_KERNEL
363a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_BIG_ENDIAN
364a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_HIGHMEM
365a3a0f8c8SDavid VomLehn	select USB_OHCI_LITTLE_ENDIAN
366a3a0f8c8SDavid VomLehn	help
367a3a0f8c8SDavid VomLehn	  This enables support for the Cisco PowerTV Platform.
368a3a0f8c8SDavid VomLehn
3691da177e4SLinus Torvaldsconfig SGI_IP22
3703fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3711da177e4SLinus Torvalds	select ARC
3721da177e4SLinus Torvalds	select ARC32
3731da177e4SLinus Torvalds	select BOOT_ELF32
37442f77542SRalf Baechle	select CEVT_R4K
375940f6b48SRalf Baechle	select CSRC_R4K
376e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3771da177e4SLinus Torvalds	select DMA_NONCOHERENT
3785e83d430SRalf Baechle	select HW_HAS_EISA
379d865bea4SRalf Baechle	select I8253
38068de4803SThomas Bogendoerfer	select I8259
3811da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3821da177e4SLinus Torvalds	select IRQ_CPU
383aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
384e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
385e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
38636e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
387e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
388e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
389e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3901da177e4SLinus Torvalds	select SWAP_IO_SPACE
3917cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3927cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
3932b5e63f6SMartin Michlmayr	#
3942b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
3952b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
3962b5e63f6SMartin Michlmayr	#
3972b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
3982b5e63f6SMartin Michlmayr	# for a more details discussion
3992b5e63f6SMartin Michlmayr	#
4002b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
401ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
402ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4035e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4041da177e4SLinus Torvalds	help
4051da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4061da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4071da177e4SLinus Torvalds	  that runs on these, say Y here.
4081da177e4SLinus Torvalds
4091da177e4SLinus Torvaldsconfig SGI_IP27
4103fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4111da177e4SLinus Torvalds	select ARC
4121da177e4SLinus Torvalds	select ARC64
4135e83d430SRalf Baechle	select BOOT_ELF64
414e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
415634286f1SRalf Baechle	select DMA_COHERENT
41636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4171da177e4SLinus Torvalds	select HW_HAS_PCI
418130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4197cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
420ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4215e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
422d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4231a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
4241da177e4SLinus Torvalds	help
4251da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4261da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4271da177e4SLinus Torvalds	  here.
4281da177e4SLinus Torvalds
429e2defae5SThomas Bogendoerferconfig SGI_IP28
430e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
431e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
432e2defae5SThomas Bogendoerfer	select ARC
433e2defae5SThomas Bogendoerfer	select ARC64
434e2defae5SThomas Bogendoerfer	select BOOT_ELF64
435e2defae5SThomas Bogendoerfer	select CEVT_R4K
436e2defae5SThomas Bogendoerfer	select CSRC_R4K
437e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
438e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
439e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
440e2defae5SThomas Bogendoerfer	select IRQ_CPU
441e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
442e2defae5SThomas Bogendoerfer	select I8253
443e2defae5SThomas Bogendoerfer	select I8259
444e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
445e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
4465b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
447e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
448e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
449e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
450e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
451e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
4522b5e63f6SMartin Michlmayr	#
4532b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
4542b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
4552b5e63f6SMartin Michlmayr	#
4562b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
4572b5e63f6SMartin Michlmayr	# for a more details discussion
4582b5e63f6SMartin Michlmayr	#
4592b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
460e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
461e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
462e2defae5SThomas Bogendoerfer      help
463e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
464e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
465e2defae5SThomas Bogendoerfer
4661da177e4SLinus Torvaldsconfig SGI_IP32
467cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4681da177e4SLinus Torvalds	select ARC
4691da177e4SLinus Torvalds	select ARC32
4701da177e4SLinus Torvalds	select BOOT_ELF32
47142f77542SRalf Baechle	select CEVT_R4K
472940f6b48SRalf Baechle	select CSRC_R4K
4731da177e4SLinus Torvalds	select DMA_NONCOHERENT
4741da177e4SLinus Torvalds	select HW_HAS_PCI
475dd67b155SRalf Baechle	select IRQ_CPU
4761da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4771da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4787cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4797cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4807cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
481dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
482ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4835e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4841da177e4SLinus Torvalds	help
4851da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4861da177e4SLinus Torvalds
487ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
488ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4895e83d430SRalf Baechle	depends on EXPERIMENTAL
4905e83d430SRalf Baechle	select BOOT_ELF32
4915e83d430SRalf Baechle	select DMA_COHERENT
4925e83d430SRalf Baechle	select SIBYTE_BCM1120
4935e83d430SRalf Baechle	select SWAP_IO_SPACE
4947cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4955e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4965e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4975e83d430SRalf Baechle
498ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
499ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
5005e83d430SRalf Baechle	depends on EXPERIMENTAL
5015e83d430SRalf Baechle	select BOOT_ELF32
5025e83d430SRalf Baechle	select DMA_COHERENT
5035e83d430SRalf Baechle	select SIBYTE_BCM1120
5045e83d430SRalf Baechle	select SWAP_IO_SPACE
5057cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5065e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5075e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5085e83d430SRalf Baechle
5095e83d430SRalf Baechleconfig SIBYTE_CRHONE
5103fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
5115e83d430SRalf Baechle	depends on EXPERIMENTAL
5125e83d430SRalf Baechle	select BOOT_ELF32
5135e83d430SRalf Baechle	select DMA_COHERENT
5145e83d430SRalf Baechle	select SIBYTE_BCM1125
5155e83d430SRalf Baechle	select SWAP_IO_SPACE
5167cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5175e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5185e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5195e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5205e83d430SRalf Baechle
521ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
522ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
523ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
524ade299d8SYoichi Yuasa	select BOOT_ELF32
525ade299d8SYoichi Yuasa	select DMA_COHERENT
526ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
527ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
528ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
529ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
530ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
531ade299d8SYoichi Yuasa
532ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
533ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
534ade299d8SYoichi Yuasa	select BOOT_ELF32
535ade299d8SYoichi Yuasa	select DMA_COHERENT
536fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
537ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
538ade299d8SYoichi Yuasa	select SIBYTE_SB1250
539ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
540ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
541ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
542ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
543ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
544cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
545ade299d8SYoichi Yuasa
546ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
547ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
548ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
549ade299d8SYoichi Yuasa	select BOOT_ELF32
550ade299d8SYoichi Yuasa	select DMA_COHERENT
551fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
552ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
553ade299d8SYoichi Yuasa	select SIBYTE_SB1250
554ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
555ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
556ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
557ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
558ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
559ade299d8SYoichi Yuasa
560ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
561ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
562ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
563ade299d8SYoichi Yuasa	select BOOT_ELF32
564ade299d8SYoichi Yuasa	select DMA_COHERENT
565ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
566ade299d8SYoichi Yuasa	select SIBYTE_SB1250
567ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
568ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
569ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
570ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
571ade299d8SYoichi Yuasa
572ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
573ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
574ade299d8SYoichi Yuasa	select BOOT_ELF32
575ade299d8SYoichi Yuasa	select DMA_COHERENT
576ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
577ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
578ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
579ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
580ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
581651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
582ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
583cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
584ade299d8SYoichi Yuasa
58514b36af4SThomas Bogendoerferconfig SNI_RM
58614b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5874a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5884a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
589231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5905e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5915e83d430SRalf Baechle	select BOOT_ELF32
59242f77542SRalf Baechle	select CEVT_R4K
593940f6b48SRalf Baechle	select CSRC_R4K
594e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5955e83d430SRalf Baechle	select DMA_NONCOHERENT
5965e83d430SRalf Baechle	select GENERIC_ISA_DMA
5975e83d430SRalf Baechle	select HW_HAS_EISA
5985e83d430SRalf Baechle	select HW_HAS_PCI
599c066a32aSThomas Bogendoerfer	select IRQ_CPU
600d865bea4SRalf Baechle	select I8253
6015e83d430SRalf Baechle	select I8259
6025e83d430SRalf Baechle	select ISA
6034a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
6047cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
6054a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
606c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
6074a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
60836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
609ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
6105e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
6114a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
6125e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6135e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6141da177e4SLinus Torvalds	help
61514b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
61614b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
6175e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
6185e83d430SRalf Baechle	  support this machine type.
6191da177e4SLinus Torvalds
620edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
621edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
6225e83d430SRalf Baechle
623edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
624edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
62523fbee9dSRalf Baechle
62673b4390fSRalf Baechleconfig MIKROTIK_RB532
62773b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
62873b4390fSRalf Baechle	select CEVT_R4K
62973b4390fSRalf Baechle	select CSRC_R4K
63073b4390fSRalf Baechle	select DMA_NONCOHERENT
63173b4390fSRalf Baechle	select HW_HAS_PCI
63273b4390fSRalf Baechle	select IRQ_CPU
63373b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
63473b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
63573b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
63673b4390fSRalf Baechle	select SWAP_IO_SPACE
63773b4390fSRalf Baechle	select BOOT_RAW
638d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
63973b4390fSRalf Baechle	help
64073b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
64173b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
64273b4390fSRalf Baechle
643ade299d8SYoichi Yuasaconfig WR_PPMC
644ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
64542f77542SRalf Baechle	select CEVT_R4K
646940f6b48SRalf Baechle	select CSRC_R4K
647ade299d8SYoichi Yuasa	select IRQ_CPU
648ade299d8SYoichi Yuasa	select BOOT_ELF32
649ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
650ade299d8SYoichi Yuasa	select HW_HAS_PCI
651ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
652ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
653ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
654ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
655ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
656ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
657ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
658ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
659ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
660ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
661ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
662ade299d8SYoichi Yuasa	help
663ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
664ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
665ade299d8SYoichi Yuasa
666a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_SIMULATOR
667c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon Simulator"
668a86c7f72SDavid Daney	select CEVT_R4K
669a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
670a86c7f72SDavid Daney	select DMA_COHERENT
671a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
672a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
673a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
674773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
6755e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
676a86c7f72SDavid Daney	help
677a86c7f72SDavid Daney	  The Octeon simulator is software performance model of the Cavium
678a86c7f72SDavid Daney	  Octeon Processor. It supports simulating Octeon processors on x86
679a86c7f72SDavid Daney	  hardware.
680a86c7f72SDavid Daney
681a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_REFERENCE_BOARD
682c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon reference board"
683a86c7f72SDavid Daney	select CEVT_R4K
684a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
685a86c7f72SDavid Daney	select DMA_COHERENT
686a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
687a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
688a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
689773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
690a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
6915e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
692a86c7f72SDavid Daney	select SWAP_IO_SPACE
693e8635b48SDavid Daney	select HW_HAS_PCI
694e8635b48SDavid Daney	select ARCH_SUPPORTS_MSI
695a86c7f72SDavid Daney	help
696a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
697a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
698a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
699a86c7f72SDavid Daney	  Some of the supported boards are:
700a86c7f72SDavid Daney		EBT3000
701a86c7f72SDavid Daney		EBH3000
702a86c7f72SDavid Daney		EBH3100
703a86c7f72SDavid Daney		Thunder
704a86c7f72SDavid Daney		Kodama
705a86c7f72SDavid Daney		Hikari
706a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
707a86c7f72SDavid Daney
7081da177e4SLinus Torvaldsendchoice
7091da177e4SLinus Torvalds
710e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
711e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig"
7125e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
7135ebabe59SLars-Peter Clausensource "arch/mips/jz4740/Kconfig"
7141f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
7155e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
716a3a0f8c8SDavid VomLehnsource "arch/mips/powertv/Kconfig"
71729c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
71838b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
71922b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
7205e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
721a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
72285749d24SWu Zhangjinsource "arch/mips/loongson/Kconfig"
72338b18f72SRalf Baechle
7245e83d430SRalf Baechleendmenu
7255e83d430SRalf Baechle
7261da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
7271da177e4SLinus Torvalds	bool
7281da177e4SLinus Torvalds	default y
7291da177e4SLinus Torvalds
7301da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
7311da177e4SLinus Torvalds	bool
7321da177e4SLinus Torvalds
733f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
734f0d1b0b3SDavid Howells	bool
735f0d1b0b3SDavid Howells	default n
736f0d1b0b3SDavid Howells
737f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
738f0d1b0b3SDavid Howells	bool
739f0d1b0b3SDavid Howells	default n
740f0d1b0b3SDavid Howells
74100a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
74200a58253SRalf Baechle	bool
74300a58253SRalf Baechle	default y if !MIPS_MT_SMTC
74400a58253SRalf Baechle
7453c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7463c9ee7efSAkinobu Mita	bool
7473c9ee7efSAkinobu Mita	default y
7483c9ee7efSAkinobu Mita
7493c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7503c9ee7efSAkinobu Mita	bool
7513c9ee7efSAkinobu Mita	default y
7523c9ee7efSAkinobu Mita
7531da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7541da177e4SLinus Torvalds	bool
7551da177e4SLinus Torvalds	default y
7561da177e4SLinus Torvalds
7577bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7587bcf7717SRalf Baechle	bool
7597bcf7717SRalf Baechle	default y
7607bcf7717SRalf Baechle
761f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
762f5ff0a28SRalf Baechle	bool
763f5ff0a28SRalf Baechle	default y
764f5ff0a28SRalf Baechle
765ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
7661cc89038SAtsushi Nemoto	bool
7671cc89038SAtsushi Nemoto	default y
7681cc89038SAtsushi Nemoto
769e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
770c87e0909SRalf Baechle	def_bool y
771e77c232cSFranck Bui-Huu
7721da177e4SLinus Torvalds#
7731da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7741da177e4SLinus Torvalds#
7751da177e4SLinus Torvaldsconfig ARC
7761da177e4SLinus Torvalds	bool
7771da177e4SLinus Torvalds
77861ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
77961ed242dSRalf Baechle	bool
78061ed242dSRalf Baechle
7819267a30dSMarc St-Jeanconfig BOOT_RAW
7829267a30dSMarc St-Jean	bool
7839267a30dSMarc St-Jean
784217dd11eSRalf Baechleconfig CEVT_BCM1480
785217dd11eSRalf Baechle	bool
786217dd11eSRalf Baechle
7876457d9fcSYoichi Yuasaconfig CEVT_DS1287
7886457d9fcSYoichi Yuasa	bool
7896457d9fcSYoichi Yuasa
7901097c6acSYoichi Yuasaconfig CEVT_GT641XX
7911097c6acSYoichi Yuasa	bool
7921097c6acSYoichi Yuasa
793779e7d41SManuel Laussconfig CEVT_R4K_LIB
794779e7d41SManuel Lauss	bool
795779e7d41SManuel Lauss
79642f77542SRalf Baechleconfig CEVT_R4K
797779e7d41SManuel Lauss	select CEVT_R4K_LIB
79842f77542SRalf Baechle	bool
79942f77542SRalf Baechle
800217dd11eSRalf Baechleconfig CEVT_SB1250
801217dd11eSRalf Baechle	bool
802217dd11eSRalf Baechle
803229f773eSAtsushi Nemotoconfig CEVT_TXX9
804229f773eSAtsushi Nemoto	bool
805229f773eSAtsushi Nemoto
806217dd11eSRalf Baechleconfig CSRC_BCM1480
807217dd11eSRalf Baechle	bool
808217dd11eSRalf Baechle
8094247417dSYoichi Yuasaconfig CSRC_IOASIC
8104247417dSYoichi Yuasa	bool
8114247417dSYoichi Yuasa
812a3a0f8c8SDavid VomLehnconfig CSRC_POWERTV
813a3a0f8c8SDavid VomLehn	bool
814a3a0f8c8SDavid VomLehn
815779e7d41SManuel Laussconfig CSRC_R4K_LIB
816779e7d41SManuel Lauss	bool
817779e7d41SManuel Lauss
818940f6b48SRalf Baechleconfig CSRC_R4K
819779e7d41SManuel Lauss	select CSRC_R4K_LIB
820940f6b48SRalf Baechle	bool
821940f6b48SRalf Baechle
822217dd11eSRalf Baechleconfig CSRC_SB1250
823217dd11eSRalf Baechle	bool
824217dd11eSRalf Baechle
825a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
826a9aec7feSAtsushi Nemoto	select GENERIC_GPIO
8277444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
828a9aec7feSAtsushi Nemoto	bool
829a9aec7feSAtsushi Nemoto
830df78b5c8SAurelien Jarnoconfig CFE
831df78b5c8SAurelien Jarno	bool
832df78b5c8SAurelien Jarno
8331da177e4SLinus Torvaldsconfig DMA_COHERENT
8341da177e4SLinus Torvalds	bool
8351da177e4SLinus Torvalds
8361da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
8371da177e4SLinus Torvalds	bool
838e1e02b32SFUJITA Tomonori	select NEED_DMA_MAP_STATE
8394ce588cdSRalf Baechle
840e1e02b32SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
8414ce588cdSRalf Baechle	bool
8421da177e4SLinus Torvalds
84336a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
8441da177e4SLinus Torvalds	bool
8451da177e4SLinus Torvalds
846dbb74540SRalf Baechleconfig HOTPLUG_CPU
8471b2bc75cSRalf Baechle	bool "Support for hot-pluggable CPUs"
8481b2bc75cSRalf Baechle	depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
8491b2bc75cSRalf Baechle	help
8501b2bc75cSRalf Baechle	  Say Y here to allow turning CPUs off and on. CPUs can be
8511b2bc75cSRalf Baechle	  controlled through /sys/devices/system/cpu.
8521b2bc75cSRalf Baechle	  (Note: power management support will enable this option
8531b2bc75cSRalf Baechle	    automatically on SMP systems. )
8541b2bc75cSRalf Baechle	  Say N if you want to disable CPU hotplug.
8551b2bc75cSRalf Baechle
8561b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU
857dbb74540SRalf Baechle	bool
858dbb74540SRalf Baechle
8591da177e4SLinus Torvaldsconfig I8259
8601da177e4SLinus Torvalds	bool
8611da177e4SLinus Torvalds
8621da177e4SLinus Torvaldsconfig MIPS_BONITO64
8631da177e4SLinus Torvalds	bool
8641da177e4SLinus Torvalds
8651da177e4SLinus Torvaldsconfig MIPS_MSC
8661da177e4SLinus Torvalds	bool
8671da177e4SLinus Torvalds
8681f21d2bdSBrian Murphyconfig MIPS_NILE4
8691f21d2bdSBrian Murphy	bool
8701f21d2bdSBrian Murphy
8711da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8721da177e4SLinus Torvalds	bool
8731da177e4SLinus Torvalds
87439b8d525SRalf Baechleconfig SYNC_R4K
87539b8d525SRalf Baechle	bool
87639b8d525SRalf Baechle
877d388d685SMaciej W. Rozyckiconfig NO_IOPORT
878d388d685SMaciej W. Rozycki	def_bool n
879d388d685SMaciej W. Rozycki
8808313da30SRalf Baechleconfig GENERIC_ISA_DMA
8818313da30SRalf Baechle	bool
8828313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
883*a35bee8aSNamhyung Kim	select ISA_DMA_API
8848313da30SRalf Baechle
885aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
886aa414dffSRalf Baechle	bool
8878313da30SRalf Baechle	select GENERIC_ISA_DMA
888aa414dffSRalf Baechle
889*a35bee8aSNamhyung Kimconfig ISA_DMA_API
890*a35bee8aSNamhyung Kim	bool
891*a35bee8aSNamhyung Kim
89209663335SYoichi Yuasaconfig GENERIC_GPIO
89309663335SYoichi Yuasa	bool
89409663335SYoichi Yuasa
8955e83d430SRalf Baechle#
8963cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
8975e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
8985e83d430SRalf Baechle# choice statement should be more obvious to the user.
8995e83d430SRalf Baechle#
9005e83d430SRalf Baechlechoice
9015e83d430SRalf Baechle	prompt "Endianess selection"
9021da177e4SLinus Torvalds	help
9031da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
9045e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
9053cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
9065e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
9073dde6ad8SDavid Sterba	  one or the other endianness.
9085e83d430SRalf Baechle
9095e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
9105e83d430SRalf Baechle	bool "Big endian"
9115e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
9125e83d430SRalf Baechle
9135e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
9145e83d430SRalf Baechle	bool "Little endian"
9155e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
9165e83d430SRalf Baechle	help
9175e83d430SRalf Baechle
9185e83d430SRalf Baechleendchoice
9195e83d430SRalf Baechle
92022b0763aSDavid Daneyconfig EXPORT_UASM
92122b0763aSDavid Daney	bool
92222b0763aSDavid Daney
9232116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
9242116245eSRalf Baechle	bool
9252116245eSRalf Baechle
9265e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
9275e83d430SRalf Baechle	bool
9285e83d430SRalf Baechle
9295e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
9305e83d430SRalf Baechle	bool
9311da177e4SLinus Torvalds
9329cffd154SDavid Daneyconfig SYS_SUPPORTS_HUGETLBFS
9339cffd154SDavid Daney	bool
9349cffd154SDavid Daney	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
9359cffd154SDavid Daney	default y
9369cffd154SDavid Daney
9371da177e4SLinus Torvaldsconfig IRQ_CPU
9381da177e4SLinus Torvalds	bool
9391da177e4SLinus Torvalds
9401da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
9411da177e4SLinus Torvalds	bool
9421da177e4SLinus Torvalds
9435e83d430SRalf Baechleconfig IRQ_CPU_RM9K
9445e83d430SRalf Baechle	bool
9455e83d430SRalf Baechle
9469267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
9479267a30dSMarc St-Jean	bool
9489267a30dSMarc St-Jean
9499267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
9509267a30dSMarc St-Jean	bool
9519267a30dSMarc St-Jean
9528420fd00SAtsushi Nemotoconfig IRQ_TXX9
9538420fd00SAtsushi Nemoto	bool
9548420fd00SAtsushi Nemoto
955d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
956d5ab1a69SYoichi Yuasa	bool
957d5ab1a69SYoichi Yuasa
95839b8d525SRalf Baechleconfig IRQ_GIC
95939b8d525SRalf Baechle	bool
96039b8d525SRalf Baechle
961a86c7f72SDavid Daneyconfig IRQ_CPU_OCTEON
962a86c7f72SDavid Daney	bool
963a86c7f72SDavid Daney
9641da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
9651da177e4SLinus Torvalds	bool
9661da177e4SLinus Torvalds
967252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
9681da177e4SLinus Torvalds	bool
9691da177e4SLinus Torvalds
9709267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
9719267a30dSMarc St-Jean	bool
9729267a30dSMarc St-Jean
973663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
974663c3d90Sthomas@koeller.dyndns.org	bool
975663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
976663c3d90Sthomas@koeller.dyndns.org
977a83860c2SRalf Baechleconfig SOC_EMMA2RH
978a83860c2SRalf Baechle	bool
979a83860c2SRalf Baechle	select CEVT_R4K
980a83860c2SRalf Baechle	select CSRC_R4K
981a83860c2SRalf Baechle	select DMA_NONCOHERENT
982a83860c2SRalf Baechle	select IRQ_CPU
983a83860c2SRalf Baechle	select SWAP_IO_SPACE
984a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
985a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
986a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
987a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
988a83860c2SRalf Baechle
989edb6310aSDaniel Lairdconfig SOC_PNX833X
990edb6310aSDaniel Laird	bool
991edb6310aSDaniel Laird	select CEVT_R4K
992edb6310aSDaniel Laird	select CSRC_R4K
993edb6310aSDaniel Laird	select IRQ_CPU
994edb6310aSDaniel Laird	select DMA_NONCOHERENT
995edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
996edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
997edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
998edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
999edb6310aSDaniel Laird	select GENERIC_GPIO
1000edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
1001edb6310aSDaniel Laird
1002edb6310aSDaniel Lairdconfig SOC_PNX8335
1003edb6310aSDaniel Laird	bool
1004edb6310aSDaniel Laird	select SOC_PNX833X
1005edb6310aSDaniel Laird
1006bdf21b18SPete Popovconfig PNX8550
1007bdf21b18SPete Popov	bool
1008bdf21b18SPete Popov	select SOC_PNX8550
1009bdf21b18SPete Popov
1010bdf21b18SPete Popovconfig SOC_PNX8550
1011bdf21b18SPete Popov	bool
1012bdf21b18SPete Popov	select DMA_NONCOHERENT
1013bdf21b18SPete Popov	select HW_HAS_PCI
1014b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
101536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
10167cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
10174ead1681SFlorian Fainelli	select GENERIC_GPIO
1018bdf21b18SPete Popov
10191da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
10201da177e4SLinus Torvalds	bool
10211da177e4SLinus Torvalds
1022663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
1023663c3d90Sthomas@koeller.dyndns.org	bool
1024663c3d90Sthomas@koeller.dyndns.org
1025e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
1026e2defae5SThomas Bogendoerfer	bool
1027e2defae5SThomas Bogendoerfer
10285b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
10295b438c44SThomas Bogendoerfer	bool
10305b438c44SThomas Bogendoerfer
1031e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
1032e2defae5SThomas Bogendoerfer	bool
1033e2defae5SThomas Bogendoerfer
1034e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
1035e2defae5SThomas Bogendoerfer	bool
1036e2defae5SThomas Bogendoerfer
1037e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
1038e2defae5SThomas Bogendoerfer	bool
1039e2defae5SThomas Bogendoerfer
1040e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1041e2defae5SThomas Bogendoerfer	bool
1042e2defae5SThomas Bogendoerfer
1043e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1044e2defae5SThomas Bogendoerfer	bool
1045e2defae5SThomas Bogendoerfer
10465e83d430SRalf Baechleconfig ARC32
10475e83d430SRalf Baechle	bool
10485e83d430SRalf Baechle
1049231a35d3SThomas Bogendoerferconfig SNIPROM
1050231a35d3SThomas Bogendoerfer	bool
1051231a35d3SThomas Bogendoerfer
10521da177e4SLinus Torvaldsconfig BOOT_ELF32
10531da177e4SLinus Torvalds	bool
10541da177e4SLinus Torvalds
10551da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
10561da177e4SLinus Torvalds	int
1057c7088755SRalf Baechle	default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
10580db2b74eSRalf Baechle	default "6" if MIPS_CPU_SCACHE
1059a86c7f72SDavid Daney	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
10601da177e4SLinus Torvalds	default "5"
10611da177e4SLinus Torvalds
10621da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
10631da177e4SLinus Torvalds	bool
10641da177e4SLinus Torvalds
10651da177e4SLinus Torvaldsconfig ARC_CONSOLE
10661da177e4SLinus Torvalds	bool "ARC console support"
1067e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
10681da177e4SLinus Torvalds
10691da177e4SLinus Torvaldsconfig ARC_MEMORY
10701da177e4SLinus Torvalds	bool
107114b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
10721da177e4SLinus Torvalds	default y
10731da177e4SLinus Torvalds
10741da177e4SLinus Torvaldsconfig ARC_PROMLIB
10751da177e4SLinus Torvalds	bool
1076e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
10771da177e4SLinus Torvalds	default y
10781da177e4SLinus Torvalds
10791da177e4SLinus Torvaldsconfig ARC64
10801da177e4SLinus Torvalds	bool
10811da177e4SLinus Torvalds
10821da177e4SLinus Torvaldsconfig BOOT_ELF64
10831da177e4SLinus Torvalds	bool
10841da177e4SLinus Torvalds
10851da177e4SLinus Torvaldsmenu "CPU selection"
10861da177e4SLinus Torvalds
10871da177e4SLinus Torvaldschoice
10881da177e4SLinus Torvalds	prompt "CPU type"
10891da177e4SLinus Torvalds	default CPU_R4X00
10901da177e4SLinus Torvalds
10913702bba5SWu Zhangjinconfig CPU_LOONGSON2E
10923702bba5SWu Zhangjin	bool "Loongson 2E"
10933702bba5SWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2E
10943702bba5SWu Zhangjin	select CPU_LOONGSON2
10952a21c730SFuxin Zhang	help
10962a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
10972a21c730SFuxin Zhang	  with many extensions.
10982a21c730SFuxin Zhang
10996f7a251aSWu Zhangjin	  It has an internal FPGA northbridge, which is compatiable to
11006f7a251aSWu Zhangjin	  bonito64.
11016f7a251aSWu Zhangjin
11026f7a251aSWu Zhangjinconfig CPU_LOONGSON2F
11036f7a251aSWu Zhangjin	bool "Loongson 2F"
11046f7a251aSWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2F
11056f7a251aSWu Zhangjin	select CPU_LOONGSON2
1106c197da91SArnaud Patard	select GENERIC_GPIO
1107c197da91SArnaud Patard	select ARCH_REQUIRE_GPIOLIB
11086f7a251aSWu Zhangjin	help
11096f7a251aSWu Zhangjin	  The Loongson 2F processor implements the MIPS III instruction set
11106f7a251aSWu Zhangjin	  with many extensions.
11116f7a251aSWu Zhangjin
11126f7a251aSWu Zhangjin	  Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
11136f7a251aSWu Zhangjin	  have a similar programming interface with FPGA northbridge used in
11146f7a251aSWu Zhangjin	  Loongson2E.
11156f7a251aSWu Zhangjin
11166e760c8dSRalf Baechleconfig CPU_MIPS32_R1
11176e760c8dSRalf Baechle	bool "MIPS32 Release 1"
11187cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
11196e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1120797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1121ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11226e760c8dSRalf Baechle	help
11235e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11241e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11251e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11261e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11271e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11281e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
11291e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
11301e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
11311e5f1caaSRalf Baechle	  performance.
11321e5f1caaSRalf Baechle
11331e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
11341e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
11357cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
11361e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1137797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1138ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11391e5f1caaSRalf Baechle	help
11405e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11416e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11426e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11436e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11446e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11451da177e4SLinus Torvalds
11466e760c8dSRalf Baechleconfig CPU_MIPS64_R1
11476e760c8dSRalf Baechle	bool "MIPS64 Release 1"
11487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1149797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1150ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1151ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1152ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11539cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11546e760c8dSRalf Baechle	help
11556e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11566e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11576e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11586e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11596e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11601e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
11611e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
11621e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
11631e5f1caaSRalf Baechle	  performance.
11641e5f1caaSRalf Baechle
11651e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
11661e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
11677cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1168797798c1SRalf Baechle	select CPU_HAS_PREFETCH
11691e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11701e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1171ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11729cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11731e5f1caaSRalf Baechle	help
11741e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11751e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11761e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11771e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11781e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11791da177e4SLinus Torvalds
11801da177e4SLinus Torvaldsconfig CPU_R3000
11811da177e4SLinus Torvalds	bool "R3000"
11827cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1183f7062ddbSRalf Baechle	select CPU_HAS_WB
1184ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1185797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11861da177e4SLinus Torvalds	help
11871da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
11881da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
11891da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
11901da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
11911da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
11921da177e4SLinus Torvalds	  try to recompile with R3000.
11931da177e4SLinus Torvalds
11941da177e4SLinus Torvaldsconfig CPU_TX39XX
11951da177e4SLinus Torvalds	bool "R39XX"
11967cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1197ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11981da177e4SLinus Torvalds
11991da177e4SLinus Torvaldsconfig CPU_VR41XX
12001da177e4SLinus Torvalds	bool "R41xx"
12017cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1202ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1203ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12041da177e4SLinus Torvalds	help
12055e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
12061da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
12071da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
12081da177e4SLinus Torvalds	  processor or vice versa.
12091da177e4SLinus Torvalds
12101da177e4SLinus Torvaldsconfig CPU_R4300
12111da177e4SLinus Torvalds	bool "R4300"
12127cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1213ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1214ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12151da177e4SLinus Torvalds	help
12161da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
12171da177e4SLinus Torvalds
12181da177e4SLinus Torvaldsconfig CPU_R4X00
12191da177e4SLinus Torvalds	bool "R4x00"
12207cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1221ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1222ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12231da177e4SLinus Torvalds	help
12241da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
12251da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
12261da177e4SLinus Torvalds
12271da177e4SLinus Torvaldsconfig CPU_TX49XX
12281da177e4SLinus Torvalds	bool "R49XX"
12297cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1230de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1231ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1232ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12331da177e4SLinus Torvalds
12341da177e4SLinus Torvaldsconfig CPU_R5000
12351da177e4SLinus Torvalds	bool "R5000"
12367cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1237ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1238ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12391da177e4SLinus Torvalds	help
12401da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
12411da177e4SLinus Torvalds
12421da177e4SLinus Torvaldsconfig CPU_R5432
12431da177e4SLinus Torvalds	bool "R5432"
12447cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
12455e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
12465e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
12471da177e4SLinus Torvalds
1248542c1020SShinya Kuribayashiconfig CPU_R5500
1249542c1020SShinya Kuribayashi	bool "R5500"
1250542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1251542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1252542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
12539cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1254542c1020SShinya Kuribayashi	help
1255542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1256542c1020SShinya Kuribayashi	  instruction set.
1257542c1020SShinya Kuribayashi
12581da177e4SLinus Torvaldsconfig CPU_R6000
12591da177e4SLinus Torvalds	bool "R6000"
1260ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12617cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1262ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12631da177e4SLinus Torvalds	help
12641da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1265c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
12661da177e4SLinus Torvalds
12671da177e4SLinus Torvaldsconfig CPU_NEVADA
12681da177e4SLinus Torvalds	bool "RM52xx"
12697cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1270ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1271ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12721da177e4SLinus Torvalds	help
12731da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
12741da177e4SLinus Torvalds
12751da177e4SLinus Torvaldsconfig CPU_R8000
12761da177e4SLinus Torvalds	bool "R8000"
1277ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12787cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
12795e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1280ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12811da177e4SLinus Torvalds	help
12821da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
12831da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
12841da177e4SLinus Torvalds
12851da177e4SLinus Torvaldsconfig CPU_R10000
12861da177e4SLinus Torvalds	bool "R10000"
12877cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
12885e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1289ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1290ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1291797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12921da177e4SLinus Torvalds	help
12931da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
12941da177e4SLinus Torvalds
12951da177e4SLinus Torvaldsconfig CPU_RM7000
12961da177e4SLinus Torvalds	bool "RM7000"
12977cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
12985e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1299ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1300ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1301797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13021da177e4SLinus Torvalds
13031da177e4SLinus Torvaldsconfig CPU_RM9000
13041da177e4SLinus Torvalds	bool "RM9000"
13057cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
13065e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1307ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1308ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1309797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13100004a9dfSRalf Baechle	select WEAK_ORDERING
13111da177e4SLinus Torvalds
13121da177e4SLinus Torvaldsconfig CPU_SB1
13131da177e4SLinus Torvalds	bool "SB1"
13147cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1315ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1316ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1317797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13180004a9dfSRalf Baechle	select WEAK_ORDERING
13191da177e4SLinus Torvalds
1320a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1321a86c7f72SDavid Daney	bool "Cavium Octeon processor"
13225e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1323a86c7f72SDavid Daney	select IRQ_CPU
1324a86c7f72SDavid Daney	select IRQ_CPU_OCTEON
1325a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1326a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1327a86c7f72SDavid Daney	select SYS_SUPPORTS_SMP
1328a86c7f72SDavid Daney	select NR_CPUS_DEFAULT_16
1329a86c7f72SDavid Daney	select WEAK_ORDERING
1330a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
13319cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1332a86c7f72SDavid Daney	help
1333a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1334a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1335a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1336a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1337a86c7f72SDavid Daney
13381da177e4SLinus Torvaldsendchoice
13391da177e4SLinus Torvalds
1340622844bfSWu Zhangjinif CPU_LOONGSON2F
1341622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS
1342622844bfSWu Zhangjin	bool
1343622844bfSWu Zhangjin
1344622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS
1345622844bfSWu Zhangjin	bool
1346622844bfSWu Zhangjin
1347622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS
1348622844bfSWu Zhangjin	bool "Loongson 2F Workarounds"
1349622844bfSWu Zhangjin	default y
1350622844bfSWu Zhangjin	select CPU_NOP_WORKAROUNDS
1351622844bfSWu Zhangjin	select CPU_JUMP_WORKAROUNDS
1352622844bfSWu Zhangjin	help
1353622844bfSWu Zhangjin	  Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1354622844bfSWu Zhangjin	  require workarounds.  Without workarounds the system may hang
1355622844bfSWu Zhangjin	  unexpectedly.  For more information please refer to the gas
1356622844bfSWu Zhangjin	  -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1357622844bfSWu Zhangjin
1358622844bfSWu Zhangjin	  Loongson 2F03 and later have fixed these issues and no workarounds
1359622844bfSWu Zhangjin	  are needed.  The workarounds have no significant side effect on them
1360622844bfSWu Zhangjin	  but may decrease the performance of the system so this option should
1361622844bfSWu Zhangjin	  be disabled unless the kernel is intended to be run on 2F01 or 2F02
1362622844bfSWu Zhangjin	  systems.
1363622844bfSWu Zhangjin
1364622844bfSWu Zhangjin	  If unsure, please say Y.
1365622844bfSWu Zhangjinendif # CPU_LOONGSON2F
1366622844bfSWu Zhangjin
13671b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT
13681b93b3c3SWu Zhangjin	bool
13691b93b3c3SWu Zhangjin	select HAVE_KERNEL_GZIP
13701b93b3c3SWu Zhangjin	select HAVE_KERNEL_BZIP2
13711b93b3c3SWu Zhangjin	select HAVE_KERNEL_LZMA
1372fe1d45e0SWu Zhangjin	select HAVE_KERNEL_LZO
13731b93b3c3SWu Zhangjin
13741b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550
13751b93b3c3SWu Zhangjin	bool
13761b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
13771b93b3c3SWu Zhangjin
13783702bba5SWu Zhangjinconfig CPU_LOONGSON2
13793702bba5SWu Zhangjin	bool
13803702bba5SWu Zhangjin	select CPU_SUPPORTS_32BIT_KERNEL
13813702bba5SWu Zhangjin	select CPU_SUPPORTS_64BIT_KERNEL
13823702bba5SWu Zhangjin	select CPU_SUPPORTS_HIGHMEM
13833702bba5SWu Zhangjin
13843702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E
13852a21c730SFuxin Zhang	bool
13862a21c730SFuxin Zhang
13876f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F
13886f7a251aSWu Zhangjin	bool
138955045ff5SWu Zhangjin	select CPU_SUPPORTS_CPUFREQ
139055045ff5SWu Zhangjin	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
139122f1fdfdSWu Zhangjin	select CPU_SUPPORTS_UNCACHED_ACCELERATED
13926f7a251aSWu Zhangjin
13937cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
13947cf8053bSRalf Baechle	bool
13957cf8053bSRalf Baechle
13967cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
13977cf8053bSRalf Baechle	bool
13987cf8053bSRalf Baechle
13997cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
14007cf8053bSRalf Baechle	bool
14017cf8053bSRalf Baechle
14027cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
14037cf8053bSRalf Baechle	bool
14047cf8053bSRalf Baechle
14057cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
14067cf8053bSRalf Baechle	bool
14077cf8053bSRalf Baechle
14087cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
14097cf8053bSRalf Baechle	bool
14107cf8053bSRalf Baechle
14117cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
14127cf8053bSRalf Baechle	bool
14137cf8053bSRalf Baechle
14147cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
14157cf8053bSRalf Baechle	bool
14167cf8053bSRalf Baechle
14177cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
14187cf8053bSRalf Baechle	bool
14197cf8053bSRalf Baechle
14207cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
14217cf8053bSRalf Baechle	bool
14227cf8053bSRalf Baechle
14237cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
14247cf8053bSRalf Baechle	bool
14257cf8053bSRalf Baechle
14267cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
14277cf8053bSRalf Baechle	bool
14287cf8053bSRalf Baechle
1429542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1430542c1020SShinya Kuribayashi	bool
1431542c1020SShinya Kuribayashi
14327cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
14337cf8053bSRalf Baechle	bool
14347cf8053bSRalf Baechle
14357cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
14367cf8053bSRalf Baechle	bool
14377cf8053bSRalf Baechle
14387cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
14397cf8053bSRalf Baechle	bool
14407cf8053bSRalf Baechle
14417cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
14427cf8053bSRalf Baechle	bool
14437cf8053bSRalf Baechle
14447cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
14457cf8053bSRalf Baechle	bool
14467cf8053bSRalf Baechle
14477cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
14487cf8053bSRalf Baechle	bool
14497cf8053bSRalf Baechle
14507cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
14517cf8053bSRalf Baechle	bool
14527cf8053bSRalf Baechle
14535e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
14545e683389SDavid Daney	bool
14555e683389SDavid Daney
145617099b11SRalf Baechle#
145717099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
145817099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
145917099b11SRalf Baechle#
14600004a9dfSRalf Baechleconfig WEAK_ORDERING
14610004a9dfSRalf Baechle	bool
146217099b11SRalf Baechle
146317099b11SRalf Baechle#
146417099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
146517099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
146617099b11SRalf Baechle#
146717099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
146817099b11SRalf Baechle	bool
14695e83d430SRalf Baechleendmenu
14705e83d430SRalf Baechle
14715e83d430SRalf Baechle#
14725e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
14735e83d430SRalf Baechle#
14745e83d430SRalf Baechleconfig CPU_MIPS32
14755e83d430SRalf Baechle	bool
14765e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
14775e83d430SRalf Baechle
14785e83d430SRalf Baechleconfig CPU_MIPS64
14795e83d430SRalf Baechle	bool
14805e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
14815e83d430SRalf Baechle
14825e83d430SRalf Baechle#
1483c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
14845e83d430SRalf Baechle#
14855e83d430SRalf Baechleconfig CPU_MIPSR1
14865e83d430SRalf Baechle	bool
14875e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
14885e83d430SRalf Baechle
14895e83d430SRalf Baechleconfig CPU_MIPSR2
14905e83d430SRalf Baechle	bool
1491a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
14925e83d430SRalf Baechle
14935e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
14945e83d430SRalf Baechle	bool
14955e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
14965e83d430SRalf Baechle	bool
14975e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
14985e83d430SRalf Baechle	bool
14995e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
15005e83d430SRalf Baechle	bool
150155045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ
150255045ff5SWu Zhangjin	bool
150355045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG
150455045ff5SWu Zhangjin	bool
15059cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES
15069cffd154SDavid Daney	bool
150722f1fdfdSWu Zhangjinconfig CPU_SUPPORTS_UNCACHED_ACCELERATED
150822f1fdfdSWu Zhangjin	bool
150982622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT
151082622284SDavid Daney	bool
151182622284SDavid Daney	default y if 64BIT && CPU_MIPSR2
15125e83d430SRalf Baechle
15138192c9eaSDavid Daney#
15148192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
15158192c9eaSDavid Daney#
15168192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
15178192c9eaSDavid Daney       bool
1518f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
15198192c9eaSDavid Daney
15205e83d430SRalf Baechlemenu "Kernel type"
15215e83d430SRalf Baechle
15225e83d430SRalf Baechlechoice
15235e83d430SRalf Baechle
15245e83d430SRalf Baechle	prompt "Kernel code model"
15255e83d430SRalf Baechle	help
15265e83d430SRalf Baechle	  You should only select this option if you have a workload that
15275e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
15285e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
15295e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
15305e83d430SRalf Baechle
15315e83d430SRalf Baechleconfig 32BIT
15325e83d430SRalf Baechle	bool "32-bit kernel"
15335e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
15345e83d430SRalf Baechle	select TRAD_SIGNALS
15355e83d430SRalf Baechle	help
15365e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
15375e83d430SRalf Baechleconfig 64BIT
15385e83d430SRalf Baechle	bool "64-bit kernel"
15395e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1540dbda6ac0SRalf Baechle	select HAVE_SYSCALL_WRAPPERS
15415e83d430SRalf Baechle	help
15425e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
15435e83d430SRalf Baechle
15445e83d430SRalf Baechleendchoice
15455e83d430SRalf Baechle
15461da177e4SLinus Torvaldschoice
15471da177e4SLinus Torvalds	prompt "Kernel page size"
15481da177e4SLinus Torvalds	default PAGE_SIZE_4KB
15491da177e4SLinus Torvalds
15501da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
15511da177e4SLinus Torvalds	bool "4kB"
1552315fe625SWu Zhangjin	depends on !CPU_LOONGSON2
15531da177e4SLinus Torvalds	help
15541da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
15551da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
15561da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
15571da177e4SLinus Torvalds	 recommended for low memory systems.
15581da177e4SLinus Torvalds
15591da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
15601da177e4SLinus Torvalds	bool "8kB"
1561c52399beSRalf Baechle	depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
15621da177e4SLinus Torvalds	help
15631da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
15641da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
1565c52399beSRalf Baechle	  only on R8000 and cnMIPS processors.  Note that you will need a
1566c52399beSRalf Baechle	  suitable Linux distribution to support this.
15671da177e4SLinus Torvalds
15681da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
15691da177e4SLinus Torvalds	bool "16kB"
1570714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
15711da177e4SLinus Torvalds	help
15721da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
15731da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1574714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1575714bfad6SRalf Baechle	  Linux distribution to support this.
15761da177e4SLinus Torvalds
1577c52399beSRalf Baechleconfig PAGE_SIZE_32KB
1578c52399beSRalf Baechle	bool "32kB"
1579c52399beSRalf Baechle	depends on CPU_CAVIUM_OCTEON
1580c52399beSRalf Baechle	help
1581c52399beSRalf Baechle	  Using 32kB page size will result in higher performance kernel at
1582c52399beSRalf Baechle	  the price of higher memory consumption.  This option is available
1583c52399beSRalf Baechle	  only on cnMIPS cores.  Note that you will need a suitable Linux
1584c52399beSRalf Baechle	  distribution to support this.
1585c52399beSRalf Baechle
15861da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
15871da177e4SLinus Torvalds	bool "64kB"
15881da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
15891da177e4SLinus Torvalds	help
15901da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
15911da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
15921da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1593714bfad6SRalf Baechle	  writing this option is still high experimental.
15941da177e4SLinus Torvalds
15951da177e4SLinus Torvaldsendchoice
15961da177e4SLinus Torvalds
15971da177e4SLinus Torvaldsconfig BOARD_SCACHE
15981da177e4SLinus Torvalds	bool
15991da177e4SLinus Torvalds
16001da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
16011da177e4SLinus Torvalds	bool
16021da177e4SLinus Torvalds	select BOARD_SCACHE
16031da177e4SLinus Torvalds
16049318c51aSChris Dearman#
16059318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
16069318c51aSChris Dearman#
16079318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
16089318c51aSChris Dearman	bool
16099318c51aSChris Dearman	select BOARD_SCACHE
16109318c51aSChris Dearman
16111da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
16121da177e4SLinus Torvalds	bool
16131da177e4SLinus Torvalds	select BOARD_SCACHE
16141da177e4SLinus Torvalds
16151da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
16161da177e4SLinus Torvalds	bool
16171da177e4SLinus Torvalds	select BOARD_SCACHE
16181da177e4SLinus Torvalds
16191da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
16201da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
16211da177e4SLinus Torvalds	depends on CPU_SB1
16221da177e4SLinus Torvalds	help
16231da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
16241da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
16251da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
16261da177e4SLinus Torvalds
16271da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1628c8094b53SRalf Baechle	bool
16291da177e4SLinus Torvalds
1630340ee4b9SRalf Baechlechoice
1631340ee4b9SRalf Baechle	prompt "MIPS MT options"
1632f41ae0b2SRalf Baechle
1633f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1634f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1635f41ae0b2SRalf Baechle	help
1636f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1637f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1638f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1639f41ae0b2SRalf Baechle	  option in this menu.
1640340ee4b9SRalf Baechle
164159d6ab86SRalf Baechleconfig MIPS_MT_SMP
164259d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
164359d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
164459d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1645d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
164659d6ab86SRalf Baechle	select MIPS_MT
1647f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
164859d6ab86SRalf Baechle	select SMP
16490ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
165059d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
165187353d8aSRalf Baechle	select SMP_UP
165259d6ab86SRalf Baechle	help
165359d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
165459d6ab86SRalf Baechle	  has been marketesed into SMVP.
165559d6ab86SRalf Baechle
165641c594abSRalf Baechleconfig MIPS_MT_SMTC
165741c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1658f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1659f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1660f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1661f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1662d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1663f41ae0b2SRalf Baechle	select MIPS_MT
1664130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
166541c594abSRalf Baechle	select SMP
166673b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
166787353d8aSRalf Baechle	select SMP_UP
1668f41ae0b2SRalf Baechle	help
1669f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1670f41ae0b2SRalf Baechle	  marketesed into SMVP.
167141c594abSRalf Baechle
1672340ee4b9SRalf Baechleendchoice
1673340ee4b9SRalf Baechle
1674f41ae0b2SRalf Baechleconfig MIPS_MT
1675f41ae0b2SRalf Baechle	bool
1676f41ae0b2SRalf Baechle
16770ab7aefcSRalf Baechleconfig SCHED_SMT
16780ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
16790ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
16800ab7aefcSRalf Baechle	default n
16810ab7aefcSRalf Baechle	help
16820ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
16830ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
16840ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
16850ab7aefcSRalf Baechle
16860ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
16870ab7aefcSRalf Baechle	bool
16880ab7aefcSRalf Baechle
16890ab7aefcSRalf Baechle
1690f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1691f41ae0b2SRalf Baechle	bool
1692f41ae0b2SRalf Baechle
1693f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1694f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1695f088fc84SRalf Baechle	default y
169607cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
169707cc0c9eSRalf Baechle
169807cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
169907cc0c9eSRalf Baechle	bool "VPE loader support."
170007cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
170107cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
170207cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
170307cc0c9eSRalf Baechle	select MIPS_MT
170407cc0c9eSRalf Baechle	help
170507cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
170607cc0c9eSRalf Baechle	  onto another VPE and running it.
1707f088fc84SRalf Baechle
17080db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
17090db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
17100db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
17118531a35eSKevin D. Kissell	default n
17120db34215SKevin D. Kissell	help
17130db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
17140db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
17150db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
17160db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
17170db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
17188531a35eSKevin D. Kissell	  impact on interrupt service overhead.
17190db34215SKevin D. Kissell
1720f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1721f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1722f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1723f571eff0SKevin D. Kissell	default n
1724f571eff0SKevin D. Kissell	help
1725f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1726f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1727f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
17288531a35eSKevin D. Kissell	  platform code.  Adds some overhead to interrupt dispatch, and
17298531a35eSKevin D. Kissell	  should be used only if you know what you are doing.
1730f571eff0SKevin D. Kissell
1731e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1732e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1733e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1734e01402b1SRalf Baechle	default y
1735e01402b1SRalf Baechle	help
1736e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1737e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1738e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1739e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1740e01402b1SRalf Baechle
1741e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1742e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1743e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1744e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
17455e83d430SRalf Baechle	help
1746e01402b1SRalf Baechle
17472600990eSRalf Baechleconfig MIPS_APSP_KSPD
17482600990eSRalf Baechle	bool "Enable KSPD"
17492600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
17502600990eSRalf Baechle	default y
17512600990eSRalf Baechle	help
17522600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
17532600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
17542600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
17552600990eSRalf Baechle	  exiting.  You probably want to say yes here.
17562600990eSRalf Baechle
17574a16ff4cSRalf Baechleconfig MIPS_CMP
17584a16ff4cSRalf Baechle	bool "MIPS CMP framework support"
17594a16ff4cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
1760eb9b5141STim Anderson	select SYNC_R4K
17614a16ff4cSRalf Baechle	select SYS_SUPPORTS_SMP
17624a16ff4cSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
17634a16ff4cSRalf Baechle	select WEAK_ORDERING
17644a16ff4cSRalf Baechle	default n
17654a16ff4cSRalf Baechle	help
17664a16ff4cSRalf Baechle	  This is a placeholder option for the GCMP work. It will need to
17674a16ff4cSRalf Baechle	  be handled differently...
17684a16ff4cSRalf Baechle
17691da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
17701da177e4SLinus Torvalds	bool
17711da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
17721da177e4SLinus Torvalds	default y
17731da177e4SLinus Torvalds
17741da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
17751da177e4SLinus Torvalds	bool
17761da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
17771da177e4SLinus Torvalds	default y
17781da177e4SLinus Torvalds
17791da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
17801da177e4SLinus Torvalds	bool
17811da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
17821da177e4SLinus Torvalds	default y
17831da177e4SLinus Torvalds
17841da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1785d806cb2bSRalf Baechle	bool
17861da177e4SLinus Torvalds
178760ec6571Spascal@pabr.orgconfig ARCH_PHYS_ADDR_T_64BIT
178860ec6571Spascal@pabr.org       def_bool 64BIT_PHYS_ADDR
178960ec6571Spascal@pabr.org
17909693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
17919693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
17929693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
17939693a853SFranck Bui-Huu	help
17949693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
17959693a853SFranck Bui-Huu	  increased security at both hardware and software level for
17969693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
17979693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
17989693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
17999693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
18009693a853SFranck Bui-Huu	  here.
18019693a853SFranck Bui-Huu
18021da177e4SLinus Torvaldsconfig CPU_HAS_WB
1803f7062ddbSRalf Baechle	bool
1804e01402b1SRalf Baechle
1805f41ae0b2SRalf Baechle#
1806f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1807f41ae0b2SRalf Baechle#
1808e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1809f41ae0b2SRalf Baechle	bool
1810e01402b1SRalf Baechle
1811f41ae0b2SRalf Baechle#
1812f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1813f41ae0b2SRalf Baechle#
1814e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1815f41ae0b2SRalf Baechle	bool
1816e01402b1SRalf Baechle
18171da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
18181da177e4SLinus Torvalds	bool
18191da177e4SLinus Torvalds	depends on !CPU_R3000
18201da177e4SLinus Torvalds	default y
18211da177e4SLinus Torvalds
1822ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1823ea580401SRalf Baechle	bool
1824ea580401SRalf Baechle
18251da177e4SLinus Torvalds#
182620d60d99SMaciej W. Rozycki# CPU non-features
182720d60d99SMaciej W. Rozycki#
182820d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
182920d60d99SMaciej W. Rozycki	bool
183020d60d99SMaciej W. Rozycki
183120d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
183220d60d99SMaciej W. Rozycki	bool
183320d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
183420d60d99SMaciej W. Rozycki
183520d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
183620d60d99SMaciej W. Rozycki	bool
183720d60d99SMaciej W. Rozycki
183820d60d99SMaciej W. Rozycki#
1839797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1840797798c1SRalf Baechle#
1841797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1842797798c1SRalf Baechle	bool
1843797798c1SRalf Baechle	default y
1844797798c1SRalf Baechle
1845797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1846797798c1SRalf Baechle	bool
1847797798c1SRalf Baechle	default y
1848797798c1SRalf Baechle
18490d7012a9SIngo Molnarconfig IRQ_PER_CPU
18500d7012a9SIngo Molnar	bool
18510d7012a9SIngo Molnar
1852797798c1SRalf Baechle#
18531da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
18541da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
18551da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
18561da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
18571da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
18581da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
18591da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
18601da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1861797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1862797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1863797798c1SRalf Baechle#   support.
18641da177e4SLinus Torvalds#
18651da177e4SLinus Torvaldsconfig HIGHMEM
18661da177e4SLinus Torvalds	bool "High Memory Support"
1867797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1868797798c1SRalf Baechle
1869797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1870797798c1SRalf Baechle	bool
1871797798c1SRalf Baechle
1872797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1873797798c1SRalf Baechle	bool
18741da177e4SLinus Torvalds
18759693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
18769693a853SFranck Bui-Huu	bool
18779693a853SFranck Bui-Huu
1878b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1879b4819b59SYoichi Yuasa	def_bool y
1880f133f22dSWu Zhangjin	depends on !NUMA && !CPU_LOONGSON2
1881b4819b59SYoichi Yuasa
1882d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1883d8cb4e11SRalf Baechle	bool
1884d8cb4e11SRalf Baechle	default y if SGI_IP27
1885d8cb4e11SRalf Baechle	help
18863dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1887d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1888d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1889d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1890d8cb4e11SRalf Baechle
1891cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1892cce335aeSRalf Baechle	def_bool y
1893cce335aeSRalf Baechle
1894b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1895b1c6cd42SAtsushi Nemoto	bool
18967de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
189731473747SAtsushi Nemoto
1898d8cb4e11SRalf Baechleconfig NUMA
1899d8cb4e11SRalf Baechle	bool "NUMA Support"
1900d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1901d8cb4e11SRalf Baechle	help
1902d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1903d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1904d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1905d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1906d8cb4e11SRalf Baechle	  disabled.
1907d8cb4e11SRalf Baechle
1908d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1909d8cb4e11SRalf Baechle	bool
1910d8cb4e11SRalf Baechle
1911c80d79d7SYasunori Gotoconfig NODES_SHIFT
1912c80d79d7SYasunori Goto	int
1913c80d79d7SYasunori Goto	default "6"
1914c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1915c80d79d7SYasunori Goto
1916b4819b59SYoichi Yuasasource "mm/Kconfig"
1917b4819b59SYoichi Yuasa
19181da177e4SLinus Torvaldsconfig SMP
19191da177e4SLinus Torvalds	bool "Multi-Processing support"
1920e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1921b4b30a5aSRalf Baechle	select IRQ_PER_CPU
19222f304c0aSJens Axboe	select USE_GENERIC_SMP_HELPERS
1923e73ea273SRalf Baechle	help
19241da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
19251da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
19261da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
19271da177e4SLinus Torvalds
19281da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
19291da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
19301da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
19311da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
19321da177e4SLinus Torvalds	  will run faster if you say N here.
19331da177e4SLinus Torvalds
19341da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
19351da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
19361da177e4SLinus Torvalds
193703502faaSAdrian Bunk	  See also the SMP-HOWTO available at
193803502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
19391da177e4SLinus Torvalds
19401da177e4SLinus Torvalds	  If you don't know what to do here, say N.
19411da177e4SLinus Torvalds
194287353d8aSRalf Baechleconfig SMP_UP
194387353d8aSRalf Baechle	bool
194487353d8aSRalf Baechle
19454a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
19464a16ff4cSRalf Baechle	bool
19474a16ff4cSRalf Baechle
1948e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1949e73ea273SRalf Baechle	bool
1950e73ea273SRalf Baechle
195172ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
195272ede9b1SAtsushi Nemoto	bool
195372ede9b1SAtsushi Nemoto
1954130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1955130e2fb7SRalf Baechle	bool
1956130e2fb7SRalf Baechle
1957130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1958130e2fb7SRalf Baechle	bool
1959130e2fb7SRalf Baechle
1960130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1961130e2fb7SRalf Baechle	bool
1962130e2fb7SRalf Baechle
1963130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1964130e2fb7SRalf Baechle	bool
1965130e2fb7SRalf Baechle
1966130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1967130e2fb7SRalf Baechle	bool
1968130e2fb7SRalf Baechle
1969130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1970130e2fb7SRalf Baechle	bool
1971130e2fb7SRalf Baechle
19721da177e4SLinus Torvaldsconfig NR_CPUS
19731da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
197472ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
19751da177e4SLinus Torvalds	depends on SMP
197672ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1977130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1978130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1979130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1980130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1981130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1982130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
19831da177e4SLinus Torvalds	help
19841da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
19851da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
19861da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
198772ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
198872ede9b1SAtsushi Nemoto	  and 2 for all others.
19891da177e4SLinus Torvalds
19901da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
199172ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
199272ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
199372ede9b1SAtsushi Nemoto	  power of two.
19941da177e4SLinus Torvalds
1995c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
1996c4eee283SAtsushi Nemoto
19971723b4a3SAtsushi Nemoto#
19981723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
19991723b4a3SAtsushi Nemoto#
20001723b4a3SAtsushi Nemoto
20011723b4a3SAtsushi Nemotochoice
20021723b4a3SAtsushi Nemoto	prompt "Timer frequency"
20031723b4a3SAtsushi Nemoto	default HZ_250
20041723b4a3SAtsushi Nemoto	help
20051723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
20061723b4a3SAtsushi Nemoto
20071723b4a3SAtsushi Nemoto	config HZ_48
20080f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
20091723b4a3SAtsushi Nemoto
20101723b4a3SAtsushi Nemoto	config HZ_100
20111723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
20121723b4a3SAtsushi Nemoto
20131723b4a3SAtsushi Nemoto	config HZ_128
20141723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
20151723b4a3SAtsushi Nemoto
20161723b4a3SAtsushi Nemoto	config HZ_250
20171723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
20181723b4a3SAtsushi Nemoto
20191723b4a3SAtsushi Nemoto	config HZ_256
20201723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
20211723b4a3SAtsushi Nemoto
20221723b4a3SAtsushi Nemoto	config HZ_1000
20231723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
20241723b4a3SAtsushi Nemoto
20251723b4a3SAtsushi Nemoto	config HZ_1024
20261723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
20271723b4a3SAtsushi Nemoto
20281723b4a3SAtsushi Nemotoendchoice
20291723b4a3SAtsushi Nemoto
20301723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
20311723b4a3SAtsushi Nemoto	bool
20321723b4a3SAtsushi Nemoto
20331723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
20341723b4a3SAtsushi Nemoto	bool
20351723b4a3SAtsushi Nemoto
20361723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
20371723b4a3SAtsushi Nemoto	bool
20381723b4a3SAtsushi Nemoto
20391723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
20401723b4a3SAtsushi Nemoto	bool
20411723b4a3SAtsushi Nemoto
20421723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
20431723b4a3SAtsushi Nemoto	bool
20441723b4a3SAtsushi Nemoto
20451723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
20461723b4a3SAtsushi Nemoto	bool
20471723b4a3SAtsushi Nemoto
20481723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
20491723b4a3SAtsushi Nemoto	bool
20501723b4a3SAtsushi Nemoto
20511723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
20521723b4a3SAtsushi Nemoto	bool
20531723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
20541723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
20551723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
20561723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
20571723b4a3SAtsushi Nemoto
20581723b4a3SAtsushi Nemotoconfig HZ
20591723b4a3SAtsushi Nemoto	int
20601723b4a3SAtsushi Nemoto	default 48 if HZ_48
20611723b4a3SAtsushi Nemoto	default 100 if HZ_100
20621723b4a3SAtsushi Nemoto	default 128 if HZ_128
20631723b4a3SAtsushi Nemoto	default 250 if HZ_250
20641723b4a3SAtsushi Nemoto	default 256 if HZ_256
20651723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
20661723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
20671723b4a3SAtsushi Nemoto
2068e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
20691da177e4SLinus Torvalds
20701da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
20711da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
2072875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
20731da177e4SLinus Torvalds	help
20741da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
20751da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
20761da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
20771da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
20781da177e4SLinus Torvalds	  recommended for normal users.
20791da177e4SLinus Torvalds
2080ea6e942bSAtsushi Nemotoconfig KEXEC
2081ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
2082ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
2083ea6e942bSAtsushi Nemoto	help
2084ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
2085ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
20863dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
2087ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
2088ea6e942bSAtsushi Nemoto
208901dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
2090ea6e942bSAtsushi Nemoto
2091ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
2092ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
2093ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
2094ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
2095ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
2096ea6e942bSAtsushi Nemoto
2097ea6e942bSAtsushi Nemotoconfig SECCOMP
2098ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
2099293c5bd1SRalf Baechle	depends on PROC_FS
2100ea6e942bSAtsushi Nemoto	default y
2101ea6e942bSAtsushi Nemoto	help
2102ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
2103ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
2104ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
2105ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
2106ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
2107ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
2108ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
2109ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
2110ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
2111ea6e942bSAtsushi Nemoto
2112ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
2113ea6e942bSAtsushi Nemoto
21145e83d430SRalf Baechleendmenu
21155e83d430SRalf Baechle
21161df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
21171df0f0ffSAtsushi Nemoto	bool
21181df0f0ffSAtsushi Nemoto	default y
21191df0f0ffSAtsushi Nemoto
21201df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
21211df0f0ffSAtsushi Nemoto	bool
21221df0f0ffSAtsushi Nemoto	default y
21231df0f0ffSAtsushi Nemoto
2124b6c3539bSRalf Baechlesource "init/Kconfig"
2125b6c3539bSRalf Baechle
2126dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
2127dc52ddc0SMatt Helsley
21281da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
21291da177e4SLinus Torvalds
21305e83d430SRalf Baechleconfig HW_HAS_EISA
21315e83d430SRalf Baechle	bool
21321da177e4SLinus Torvaldsconfig HW_HAS_PCI
21331da177e4SLinus Torvalds	bool
21341da177e4SLinus Torvalds
21351da177e4SLinus Torvaldsconfig PCI
21361da177e4SLinus Torvalds	bool "Support for PCI controller"
21371da177e4SLinus Torvalds	depends on HW_HAS_PCI
2138abb4ae46SRalf Baechle	select PCI_DOMAINS
21391da177e4SLinus Torvalds	help
21401da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
21411da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
21421da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
21431da177e4SLinus Torvalds	  say Y, otherwise N.
21441da177e4SLinus Torvalds
21451da177e4SLinus Torvaldsconfig PCI_DOMAINS
21461da177e4SLinus Torvalds	bool
21471da177e4SLinus Torvalds
21481da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
21491da177e4SLinus Torvalds
21501da177e4SLinus Torvalds#
21511da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
21521da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
21531da177e4SLinus Torvalds# users to choose the right thing ...
21541da177e4SLinus Torvalds#
21551da177e4SLinus Torvaldsconfig ISA
21561da177e4SLinus Torvalds	bool
21571da177e4SLinus Torvalds
21581da177e4SLinus Torvaldsconfig EISA
21591da177e4SLinus Torvalds	bool "EISA support"
21605e83d430SRalf Baechle	depends on HW_HAS_EISA
21611da177e4SLinus Torvalds	select ISA
2162aa414dffSRalf Baechle	select GENERIC_ISA_DMA
21631da177e4SLinus Torvalds	---help---
21641da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
21651da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
21661da177e4SLinus Torvalds
21671da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
21681da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
21691da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
21701da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
21711da177e4SLinus Torvalds
21721da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
21731da177e4SLinus Torvalds
21741da177e4SLinus Torvalds	  Otherwise, say N.
21751da177e4SLinus Torvalds
21761da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
21771da177e4SLinus Torvalds
21781da177e4SLinus Torvaldsconfig TC
21791da177e4SLinus Torvalds	bool "TURBOchannel support"
21801da177e4SLinus Torvalds	depends on MACH_DECSTATION
21811da177e4SLinus Torvalds	help
21821da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
21831da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
21841da177e4SLinus Torvalds	  is available at:
21851da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
21861da177e4SLinus Torvalds
21871da177e4SLinus Torvalds#config ACCESSBUS
21881da177e4SLinus Torvalds#	bool "Access.Bus support"
21891da177e4SLinus Torvalds#	depends on TC
21901da177e4SLinus Torvalds
21911da177e4SLinus Torvaldsconfig MMU
21921da177e4SLinus Torvalds	bool
21931da177e4SLinus Torvalds	default y
21941da177e4SLinus Torvalds
2195d865bea4SRalf Baechleconfig I8253
2196d865bea4SRalf Baechle	bool
21979726b43aSWu Zhangjin	select MIPS_EXTERNAL_TIMER
2198d865bea4SRalf Baechle
2199cce335aeSRalf Baechleconfig ZONE_DMA32
2200cce335aeSRalf Baechle	bool
2201cce335aeSRalf Baechle
22021da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
22031da177e4SLinus Torvalds
22041da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
22051da177e4SLinus Torvalds
22061da177e4SLinus Torvaldsendmenu
22071da177e4SLinus Torvalds
22081da177e4SLinus Torvaldsmenu "Executable file formats"
22091da177e4SLinus Torvalds
22101da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
22111da177e4SLinus Torvalds
22121da177e4SLinus Torvaldsconfig TRAD_SIGNALS
22131da177e4SLinus Torvalds	bool
22141da177e4SLinus Torvalds
22151da177e4SLinus Torvaldsconfig MIPS32_COMPAT
22161da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2217875d43e7SRalf Baechle	depends on 64BIT
22181da177e4SLinus Torvalds	help
22191da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
22201da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
22211da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
22221da177e4SLinus Torvalds
22231da177e4SLinus Torvaldsconfig COMPAT
22241da177e4SLinus Torvalds	bool
22251da177e4SLinus Torvalds	depends on MIPS32_COMPAT
22261da177e4SLinus Torvalds	default y
22271da177e4SLinus Torvalds
222805e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
222905e43966SAtsushi Nemoto	bool
223005e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
223105e43966SAtsushi Nemoto	default y
223205e43966SAtsushi Nemoto
22331da177e4SLinus Torvaldsconfig MIPS32_O32
22341da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
22351da177e4SLinus Torvalds	depends on MIPS32_COMPAT
22361da177e4SLinus Torvalds	help
22371da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
22381da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
22391da177e4SLinus Torvalds	  existing binaries are in this format.
22401da177e4SLinus Torvalds
22411da177e4SLinus Torvalds	  If unsure, say Y.
22421da177e4SLinus Torvalds
22431da177e4SLinus Torvaldsconfig MIPS32_N32
22441da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
22451da177e4SLinus Torvalds	depends on MIPS32_COMPAT
22461da177e4SLinus Torvalds	help
22471da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
22481da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
22491da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
22501da177e4SLinus Torvalds	  cases.
22511da177e4SLinus Torvalds
22521da177e4SLinus Torvalds	  If unsure, say N.
22531da177e4SLinus Torvalds
22541da177e4SLinus Torvaldsconfig BINFMT_ELF32
22551da177e4SLinus Torvalds	bool
22561da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
22571da177e4SLinus Torvalds
22582116245eSRalf Baechleendmenu
22591da177e4SLinus Torvalds
22602116245eSRalf Baechlemenu "Power management options"
2261952fa954SRodolfo Giometti
2262363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE
2263363c55caSWu Zhangjin	def_bool y
22643f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2265363c55caSWu Zhangjin
2266f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2267f4cb5700SJohannes Berg	def_bool y
22683f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2269f4cb5700SJohannes Berg
22702116245eSRalf Baechlesource "kernel/power/Kconfig"
2271952fa954SRodolfo Giometti
22721da177e4SLinus Torvaldsendmenu
22731da177e4SLinus Torvalds
22749726b43aSWu Zhangjinsource "arch/mips/kernel/cpufreq/Kconfig"
22759726b43aSWu Zhangjin
2276d5950b43SSam Ravnborgsource "net/Kconfig"
2277d5950b43SSam Ravnborg
22781da177e4SLinus Torvaldssource "drivers/Kconfig"
22791da177e4SLinus Torvalds
22801da177e4SLinus Torvaldssource "fs/Kconfig"
22811da177e4SLinus Torvalds
22821da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
22831da177e4SLinus Torvalds
22841da177e4SLinus Torvaldssource "security/Kconfig"
22851da177e4SLinus Torvalds
22861da177e4SLinus Torvaldssource "crypto/Kconfig"
22871da177e4SLinus Torvalds
22881da177e4SLinus Torvaldssource "lib/Kconfig"
2289