xref: /linux/arch/mips/Kconfig (revision 8945e37e103b165f12c403cc412740718969f811)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
4a862a426SMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT
5393c1262SMark Salter	select ARCH_MIGHT_HAVE_PC_SERIO
6c3fc5cd5SRalf Baechle	select HAVE_CONTEXT_TRACKING
7f8ac0425SYoichi Yuasa	select HAVE_GENERIC_DMA_COHERENT
8ec7748b5SSam Ravnborg	select HAVE_IDE
942d4b839SMathieu Desnoyers	select HAVE_OPROFILE
107f788d2dSDeng-Cheng Zhu	select HAVE_PERF_EVENTS
117f788d2dSDeng-Cheng Zhu	select PERF_USE_VMALLOC
1288547001SJason Wessel	select HAVE_ARCH_KGDB
13490b004fSMarkos Chandras	select HAVE_ARCH_SECCOMP_FILTER
14c0ff3c53SRalf Baechle	select HAVE_ARCH_TRACEHOOK
153f5fdb4bSMarkos Chandras	select HAVE_BPF_JIT if !CPU_MICROMIPS
167563bbf8SMark Brown	select ARCH_HAVE_CUSTOM_GPIO_H
17d2bb0762SWu Zhangjin	select HAVE_FUNCTION_TRACER
18538f1952SWu Zhangjin	select HAVE_DYNAMIC_FTRACE
19538f1952SWu Zhangjin	select HAVE_FTRACE_MCOUNT_RECORD
2064575f91SWu Zhangjin	select HAVE_C_RECORDMCOUNT
2129c5d346SWu Zhangjin	select HAVE_FUNCTION_GRAPH_TRACER
22c1bf207dSDavid Daney	select HAVE_KPROBES
23c1bf207dSDavid Daney	select HAVE_KRETPROBES
24b69ec42bSCatalin Marinas	select HAVE_DEBUG_KMEMLEAK
251d7bf993SRalf Baechle	select HAVE_SYSCALL_TRACEPOINTS
26e26d196cSDavid Daney	select ARCH_BINFMT_ELF_RANDOMIZE_PIE
27383c97b4SBen Hutchings	select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES && 64BIT
2821a41faaSWu Zhangjin	select RTC_LIB if !MACH_LOONGSON
292b78920dSDeng-Cheng Zhu	select GENERIC_ATOMIC64 if !64BIT
307463449bSCatalin Marinas	select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
3148e1fd5aSDavid Daney	select HAVE_DMA_ATTRS
32f4649382SZubair Lutfullah Kakakhel	select HAVE_DMA_CONTIGUOUS
3348e1fd5aSDavid Daney	select HAVE_DMA_API_DEBUG
343bd27e32SDavid Daney	select GENERIC_IRQ_PROBE
35f8396c17SThomas Gleixner	select GENERIC_IRQ_SHOW
3678857614SMarkos Chandras	select GENERIC_PCI_IOMAP
3794bb0c1aSDavid Daney	select HAVE_ARCH_JUMP_LABEL
38c1d7e01dSWill Deacon	select ARCH_WANT_IPC_PARSE_VERSION
390f462e3cSThomas Gleixner	select IRQ_FORCED_THREADING
409d15ffc8STejun Heo	select HAVE_MEMBLOCK
419d15ffc8STejun Heo	select HAVE_MEMBLOCK_NODE_MAP
429d15ffc8STejun Heo	select ARCH_DISCARD_MEMBLOCK
43360014a3SThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
444b054495SDavid Daney	select BUILDTIME_EXTABLE_SORT
45cde1794bSAnna-Maria Gleixner	select GENERIC_CLOCKEVENTS
46929de4ccSDeng-Cheng Zhu	select GENERIC_SCHED_CLOCK if !CAVIUM_OCTEON_SOC
47cde1794bSAnna-Maria Gleixner	select GENERIC_CMOS_UPDATE
48786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
494febd95aSStephen Rothwell	select VIRT_TO_BUS
502f12fb20SJoshua Kinard	select MODULES_USE_ELF_REL if MODULES
512f12fb20SJoshua Kinard	select MODULES_USE_ELF_RELA if MODULES && 64BIT
5250150d2bSAl Viro	select CLONE_BACKWARDS
53d1a1dc0bSDave Hansen	select HAVE_DEBUG_STACKOVERFLOW
5419952a92SKees Cook	select HAVE_CC_STACKPROTECTOR
55b1d4c6caSJames Hogan	select CPU_PM if CPU_IDLE
56cc7964afSPaul Burton	select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
5790cee759SPaul Burton	select ARCH_BINFMT_ELF_STATE
58d79d853dSMarkos Chandras	select SYSCTL_EXCEPTION_TRACE
59bb877e96SDeng-Cheng Zhu	select HAVE_VIRT_CPU_ACCOUNTING_GEN
60ec9ddad3SDeng-Cheng Zhu	select HAVE_IRQ_TIME_ACCOUNTING
611da177e4SLinus Torvalds
621da177e4SLinus Torvaldsmenu "Machine selection"
631da177e4SLinus Torvalds
645e83d430SRalf Baechlechoice
655e83d430SRalf Baechle	prompt "System type"
665e83d430SRalf Baechle	default SGI_IP22
671da177e4SLinus Torvalds
6842a4f17dSManuel Laussconfig MIPS_ALCHEMY
69c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
7034adb28dSRalf Baechle	select ARCH_PHYS_ADDR_T_64BIT
71f772cdb2SRalf Baechle	select CEVT_R4K
72d7ea335cSSteven J. Hill	select CSRC_R4K
7342a4f17dSManuel Lauss	select IRQ_CPU
7488e9a93cSManuel Lauss	select DMA_MAYBE_COHERENT	# Au1000,1500,1100 aren't, rest is
7542a4f17dSManuel Lauss	select SYS_HAS_CPU_MIPS32_R1
7642a4f17dSManuel Lauss	select SYS_SUPPORTS_32BIT_KERNEL
7742a4f17dSManuel Lauss	select SYS_SUPPORTS_APM_EMULATION
78efb12436SAlexandre Courbot	select ARCH_REQUIRE_GPIOLIB
791b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
8047440229SManuel Lauss	select COMMON_CLK
811da177e4SLinus Torvalds
827ca5dc14SFlorian Fainelliconfig AR7
837ca5dc14SFlorian Fainelli	bool "Texas Instruments AR7"
847ca5dc14SFlorian Fainelli	select BOOT_ELF32
857ca5dc14SFlorian Fainelli	select DMA_NONCOHERENT
867ca5dc14SFlorian Fainelli	select CEVT_R4K
877ca5dc14SFlorian Fainelli	select CSRC_R4K
887ca5dc14SFlorian Fainelli	select IRQ_CPU
897ca5dc14SFlorian Fainelli	select NO_EXCEPT_FILL
907ca5dc14SFlorian Fainelli	select SWAP_IO_SPACE
917ca5dc14SFlorian Fainelli	select SYS_HAS_CPU_MIPS32_R1
927ca5dc14SFlorian Fainelli	select SYS_HAS_EARLY_PRINTK
937ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_32BIT_KERNEL
947ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_LITTLE_ENDIAN
95377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
961b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT_UART16550
975f3c9098SFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
987ca5dc14SFlorian Fainelli	select VLYNQ
998551fb64SYoichi Yuasa	select HAVE_CLK
1007ca5dc14SFlorian Fainelli	help
1017ca5dc14SFlorian Fainelli	  Support for the Texas Instruments AR7 System-on-a-Chip
1027ca5dc14SFlorian Fainelli	  family: TNETD7100, 7200 and 7300.
1037ca5dc14SFlorian Fainelli
10443cc739fSSergey Ryazanovconfig ATH25
10543cc739fSSergey Ryazanov	bool "Atheros AR231x/AR531x SoC support"
10643cc739fSSergey Ryazanov	select CEVT_R4K
10743cc739fSSergey Ryazanov	select CSRC_R4K
10843cc739fSSergey Ryazanov	select DMA_NONCOHERENT
10943cc739fSSergey Ryazanov	select IRQ_CPU
1101753e74eSSergey Ryazanov	select IRQ_DOMAIN
11143cc739fSSergey Ryazanov	select SYS_HAS_CPU_MIPS32_R1
11243cc739fSSergey Ryazanov	select SYS_SUPPORTS_BIG_ENDIAN
11343cc739fSSergey Ryazanov	select SYS_SUPPORTS_32BIT_KERNEL
1148aaa7278SSergey Ryazanov	select SYS_HAS_EARLY_PRINTK
11543cc739fSSergey Ryazanov	help
11643cc739fSSergey Ryazanov	  Support for Atheros AR231x and Atheros AR531x based boards
11743cc739fSSergey Ryazanov
118d4a67d9dSGabor Juhosconfig ATH79
119d4a67d9dSGabor Juhos	bool "Atheros AR71XX/AR724X/AR913X based boards"
1206eae43c5SGabor Juhos	select ARCH_REQUIRE_GPIOLIB
121d4a67d9dSGabor Juhos	select BOOT_RAW
122d4a67d9dSGabor Juhos	select CEVT_R4K
123d4a67d9dSGabor Juhos	select CSRC_R4K
124d4a67d9dSGabor Juhos	select DMA_NONCOHERENT
12594638067SGabor Juhos	select HAVE_CLK
1262c4f1ac5SGabor Juhos	select CLKDEV_LOOKUP
127d4a67d9dSGabor Juhos	select IRQ_CPU
1280aabf1a4SGabor Juhos	select MIPS_MACHINE
129d4a67d9dSGabor Juhos	select SYS_HAS_CPU_MIPS32_R2
130d4a67d9dSGabor Juhos	select SYS_HAS_EARLY_PRINTK
131d4a67d9dSGabor Juhos	select SYS_SUPPORTS_32BIT_KERNEL
132d4a67d9dSGabor Juhos	select SYS_SUPPORTS_BIG_ENDIAN
133377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
134d4a67d9dSGabor Juhos	help
135d4a67d9dSGabor Juhos	  Support for the Atheros AR71XX/AR724X/AR913X SoCs.
136d4a67d9dSGabor Juhos
1375f2d4459SKevin Cernekeeconfig BMIPS_GENERIC
1385f2d4459SKevin Cernekee	bool "Broadcom Generic BMIPS kernel"
139d666cd02SKevin Cernekee	select BOOT_RAW
140d666cd02SKevin Cernekee	select NO_EXCEPT_FILL
141d666cd02SKevin Cernekee	select USE_OF
142d666cd02SKevin Cernekee	select CEVT_R4K
143d666cd02SKevin Cernekee	select CSRC_R4K
144d666cd02SKevin Cernekee	select SYNC_R4K
145d666cd02SKevin Cernekee	select COMMON_CLK
14660b858f2SKevin Cernekee	select BCM7038_L1_IRQ
14760b858f2SKevin Cernekee	select BCM7120_L2_IRQ
14860b858f2SKevin Cernekee	select BRCMSTB_L2_IRQ
149d666cd02SKevin Cernekee	select IRQ_CPU
15060b858f2SKevin Cernekee	select RAW_IRQ_ACCESSORS
15160b858f2SKevin Cernekee	select DMA_NONCOHERENT
152d666cd02SKevin Cernekee	select SYS_SUPPORTS_32BIT_KERNEL
15360b858f2SKevin Cernekee	select SYS_SUPPORTS_LITTLE_ENDIAN
154d666cd02SKevin Cernekee	select SYS_SUPPORTS_BIG_ENDIAN
155d666cd02SKevin Cernekee	select SYS_SUPPORTS_HIGHMEM
15660b858f2SKevin Cernekee	select SYS_HAS_CPU_BMIPS32_3300
15760b858f2SKevin Cernekee	select SYS_HAS_CPU_BMIPS4350
15860b858f2SKevin Cernekee	select SYS_HAS_CPU_BMIPS4380
159d666cd02SKevin Cernekee	select SYS_HAS_CPU_BMIPS5000
160d666cd02SKevin Cernekee	select SWAP_IO_SPACE
16160b858f2SKevin Cernekee	select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
16260b858f2SKevin Cernekee	select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
16360b858f2SKevin Cernekee	select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
16460b858f2SKevin Cernekee	select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
165d666cd02SKevin Cernekee	help
1665f2d4459SKevin Cernekee	  Build a generic DT-based kernel image that boots on select
1675f2d4459SKevin Cernekee	  BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top
1685f2d4459SKevin Cernekee	  box chips.  Note that CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN
1695f2d4459SKevin Cernekee	  must be set appropriately for your board.
170d666cd02SKevin Cernekee
1711c0c13ebSAurelien Jarnoconfig BCM47XX
172c619366eSFlorian Fainelli	bool "Broadcom BCM47XX based boards"
1732da4c74dSHauke Mehrtens	select ARCH_WANT_OPTIONAL_GPIOLIB
174fe08f8c2SHauke Mehrtens	select BOOT_RAW
17542f77542SRalf Baechle	select CEVT_R4K
176940f6b48SRalf Baechle	select CSRC_R4K
1771c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
1781c0c13ebSAurelien Jarno	select HW_HAS_PCI
1791c0c13ebSAurelien Jarno	select IRQ_CPU
180314878d2SMarkos Chandras	select SYS_HAS_CPU_MIPS32_R1
181dd54deddSHauke Mehrtens	select NO_EXCEPT_FILL
1821c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
1831c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
184377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
18525e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
186e6086557SRalf Baechle	select USE_GENERIC_EARLY_PRINTK_8250
187c949c0bcSRafał Miłecki	select GPIOLIB
188c949c0bcSRafał Miłecki	select LEDS_GPIO_REGISTER
1891c0c13ebSAurelien Jarno	help
1901c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
1911c0c13ebSAurelien Jarno
192e7300d04SMaxime Bizonconfig BCM63XX
193e7300d04SMaxime Bizon	bool "Broadcom BCM63XX based boards"
194ae8de61cSFlorian Fainelli	select BOOT_RAW
195e7300d04SMaxime Bizon	select CEVT_R4K
196e7300d04SMaxime Bizon	select CSRC_R4K
197fc264022SJonas Gorski	select SYNC_R4K
198e7300d04SMaxime Bizon	select DMA_NONCOHERENT
199e7300d04SMaxime Bizon	select IRQ_CPU
200e7300d04SMaxime Bizon	select SYS_SUPPORTS_32BIT_KERNEL
201e7300d04SMaxime Bizon	select SYS_SUPPORTS_BIG_ENDIAN
202e7300d04SMaxime Bizon	select SYS_HAS_EARLY_PRINTK
203e7300d04SMaxime Bizon	select SWAP_IO_SPACE
204e7300d04SMaxime Bizon	select ARCH_REQUIRE_GPIOLIB
2053e82eeebSYoichi Yuasa	select HAVE_CLK
206af2418beSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_4
207e7300d04SMaxime Bizon	help
208e7300d04SMaxime Bizon	 Support for BCM63XX based boards
209e7300d04SMaxime Bizon
2101da177e4SLinus Torvaldsconfig MIPS_COBALT
2113fa986faSMartin Michlmayr	bool "Cobalt Server"
21242f77542SRalf Baechle	select CEVT_R4K
213940f6b48SRalf Baechle	select CSRC_R4K
2141097c6acSYoichi Yuasa	select CEVT_GT641XX
2151da177e4SLinus Torvalds	select DMA_NONCOHERENT
2161da177e4SLinus Torvalds	select HW_HAS_PCI
217d865bea4SRalf Baechle	select I8253
2181da177e4SLinus Torvalds	select I8259
2191da177e4SLinus Torvalds	select IRQ_CPU
220d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
221252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
222e25bfc92SYoichi Yuasa	select PCI
2237cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2240a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
225ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2260e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
2275e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
228e6086557SRalf Baechle	select USE_GENERIC_EARLY_PRINTK_8250
2291da177e4SLinus Torvalds
2301da177e4SLinus Torvaldsconfig MACH_DECSTATION
2313fa986faSMartin Michlmayr	bool "DECstations"
2321da177e4SLinus Torvalds	select BOOT_ELF32
2336457d9fcSYoichi Yuasa	select CEVT_DS1287
23481d10badSMaciej W. Rozycki	select CEVT_R4K if CPU_R4X00
2354247417dSYoichi Yuasa	select CSRC_IOASIC
23681d10badSMaciej W. Rozycki	select CSRC_R4K if CPU_R4X00
23720d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
23820d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
23920d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
2401da177e4SLinus Torvalds	select DMA_NONCOHERENT
241ce816fa8SUwe Kleine-König	select NO_IOPORT_MAP
2421da177e4SLinus Torvalds	select IRQ_CPU
2437cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
2447cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
245ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2467d60717eSKees Cook	select SYS_SUPPORTS_64BIT_KERNEL
2475e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2481723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
2491723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
2501723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
251930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_4
2525e83d430SRalf Baechle	help
2531da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
2541da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
2551da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
2561da177e4SLinus Torvalds
2571da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
2581da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
2591da177e4SLinus Torvalds
2601da177e4SLinus Torvalds		DECstation 5000/50
2611da177e4SLinus Torvalds		DECstation 5000/150
2621da177e4SLinus Torvalds		DECstation 5000/260
2631da177e4SLinus Torvalds		DECsystem 5900/260
2641da177e4SLinus Torvalds
2651da177e4SLinus Torvalds	  otherwise choose R3000.
2661da177e4SLinus Torvalds
2675e83d430SRalf Baechleconfig MACH_JAZZ
2683fa986faSMartin Michlmayr	bool "Jazz family of machines"
2690e2794b0SRalf Baechle	select FW_ARC
2700e2794b0SRalf Baechle	select FW_ARC32
2715e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
27242f77542SRalf Baechle	select CEVT_R4K
273940f6b48SRalf Baechle	select CSRC_R4K
274e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
2755e83d430SRalf Baechle	select GENERIC_ISA_DMA
2768a118c38SRalf Baechle	select HAVE_PCSPKR_PLATFORM
277ea202c63SThomas Bogendoerfer	select IRQ_CPU
278d865bea4SRalf Baechle	select I8253
2795e83d430SRalf Baechle	select I8259
2805e83d430SRalf Baechle	select ISA
2817cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
2825e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
2837d60717eSKees Cook	select SYS_SUPPORTS_64BIT_KERNEL
2841723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
2851da177e4SLinus Torvalds	help
2865e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
2875e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
288692105b8SMatt LaPlante	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
2895e83d430SRalf Baechle	 Olivetti M700-10 workstations.
2905e83d430SRalf Baechle
2915ebabe59SLars-Peter Clausenconfig MACH_JZ4740
2925ebabe59SLars-Peter Clausen	bool "Ingenic JZ4740 based machines"
2935ebabe59SLars-Peter Clausen	select SYS_HAS_CPU_MIPS32_R1
2945ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_32BIT_KERNEL
2955ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_LITTLE_ENDIAN
296f9c9affcSLluís Batlle i Rossell	select SYS_SUPPORTS_ZBOOT_UART16550
2975ebabe59SLars-Peter Clausen	select DMA_NONCOHERENT
2985ebabe59SLars-Peter Clausen	select IRQ_CPU
2995ebabe59SLars-Peter Clausen	select ARCH_REQUIRE_GPIOLIB
3005ebabe59SLars-Peter Clausen	select SYS_HAS_EARLY_PRINTK
301ab5330ebSMaurus Cuelenaere	select HAVE_CLK
30283bc7692SLars-Peter Clausen	select GENERIC_IRQ_CHIP
3035ebabe59SLars-Peter Clausen
304171bb2f1SJohn Crispinconfig LANTIQ
305171bb2f1SJohn Crispin	bool "Lantiq based platforms"
306171bb2f1SJohn Crispin	select DMA_NONCOHERENT
307171bb2f1SJohn Crispin	select IRQ_CPU
308171bb2f1SJohn Crispin	select CEVT_R4K
309171bb2f1SJohn Crispin	select CSRC_R4K
310171bb2f1SJohn Crispin	select SYS_HAS_CPU_MIPS32_R1
311171bb2f1SJohn Crispin	select SYS_HAS_CPU_MIPS32_R2
312171bb2f1SJohn Crispin	select SYS_SUPPORTS_BIG_ENDIAN
313171bb2f1SJohn Crispin	select SYS_SUPPORTS_32BIT_KERNEL
314377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
315171bb2f1SJohn Crispin	select SYS_SUPPORTS_MULTITHREADING
316171bb2f1SJohn Crispin	select SYS_HAS_EARLY_PRINTK
317171bb2f1SJohn Crispin	select ARCH_REQUIRE_GPIOLIB
318171bb2f1SJohn Crispin	select SWAP_IO_SPACE
319171bb2f1SJohn Crispin	select BOOT_RAW
320287e3f3fSJohn Crispin	select HAVE_MACH_CLKDEV
321287e3f3fSJohn Crispin	select CLKDEV_LOOKUP
322a0392222SJohn Crispin	select USE_OF
3233f8c50c9SJohn Crispin	select PINCTRL
3243f8c50c9SJohn Crispin	select PINCTRL_LANTIQ
325c530781cSJohn Crispin	select ARCH_HAS_RESET_CONTROLLER
326c530781cSJohn Crispin	select RESET_CONTROLLER
327171bb2f1SJohn Crispin
3281f21d2bdSBrian Murphyconfig LASAT
3291f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
33042f77542SRalf Baechle	select CEVT_R4K
33116f0bbbcSRalf Baechle	select CRC32
332940f6b48SRalf Baechle	select CSRC_R4K
3331f21d2bdSBrian Murphy	select DMA_NONCOHERENT
3341f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
3351f21d2bdSBrian Murphy	select HW_HAS_PCI
336a5ccfe5cSRalf Baechle	select IRQ_CPU
3371f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
3381f21d2bdSBrian Murphy	select MIPS_NILE4
3391f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
3401f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
3411f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
3421f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
3431f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
3441f21d2bdSBrian Murphy
34585749d24SWu Zhangjinconfig MACH_LOONGSON
34685749d24SWu Zhangjin	bool "Loongson family of machines"
347c7e8c668SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
348ade299d8SYoichi Yuasa	help
34985749d24SWu Zhangjin	  This enables the support of Loongson family of machines.
35085749d24SWu Zhangjin
35185749d24SWu Zhangjin	  Loongson is a family of general-purpose MIPS-compatible CPUs.
35285749d24SWu Zhangjin	  developed at Institute of Computing Technology (ICT),
35385749d24SWu Zhangjin	  Chinese Academy of Sciences (CAS) in the People's Republic
35485749d24SWu Zhangjin	  of China. The chief architect is Professor Weiwu Hu.
355ade299d8SYoichi Yuasa
356ca585cf9SKelvin Cheungconfig MACH_LOONGSON1
357ca585cf9SKelvin Cheung	bool "Loongson 1 family of machines"
358ca585cf9SKelvin Cheung	select SYS_SUPPORTS_ZBOOT
359ca585cf9SKelvin Cheung	help
360ca585cf9SKelvin Cheung	  This enables support for the Loongson 1 based machines.
361ca585cf9SKelvin Cheung
362ca585cf9SKelvin Cheung	  Loongson 1 is a family of 32-bit MIPS-compatible SoCs developed by
363ca585cf9SKelvin Cheung	  the ICT (Institute of Computing Technology) and the Chinese Academy
364ca585cf9SKelvin Cheung	  of Sciences.
365ca585cf9SKelvin Cheung
3666a438309SAndrew Brestickerconfig MACH_PISTACHIO
3676a438309SAndrew Bresticker	bool "IMG Pistachio SoC based boards"
3686a438309SAndrew Bresticker	select ARCH_REQUIRE_GPIOLIB
3696a438309SAndrew Bresticker	select BOOT_ELF32
3706a438309SAndrew Bresticker	select BOOT_RAW
3716a438309SAndrew Bresticker	select CEVT_R4K
3726a438309SAndrew Bresticker	select CLKSRC_MIPS_GIC
3736a438309SAndrew Bresticker	select COMMON_CLK
3746a438309SAndrew Bresticker	select CSRC_R4K
3756a438309SAndrew Bresticker	select DMA_MAYBE_COHERENT
3766a438309SAndrew Bresticker	select IRQ_CPU
3776a438309SAndrew Bresticker	select LIBFDT
3786a438309SAndrew Bresticker	select MFD_SYSCON
3796a438309SAndrew Bresticker	select MIPS_CPU_SCACHE
3806a438309SAndrew Bresticker	select MIPS_GIC
3816a438309SAndrew Bresticker	select PINCTRL
3826a438309SAndrew Bresticker	select REGULATOR
3836a438309SAndrew Bresticker	select SYS_HAS_CPU_MIPS32_R2
3846a438309SAndrew Bresticker	select SYS_SUPPORTS_32BIT_KERNEL
3856a438309SAndrew Bresticker	select SYS_SUPPORTS_LITTLE_ENDIAN
3866a438309SAndrew Bresticker	select SYS_SUPPORTS_MIPS_CPS
3876a438309SAndrew Bresticker	select SYS_SUPPORTS_MULTITHREADING
3886a438309SAndrew Bresticker	select SYS_SUPPORTS_ZBOOT
3896a438309SAndrew Bresticker	select USE_OF
3906a438309SAndrew Bresticker	help
3916a438309SAndrew Bresticker	  This enables support for the IMG Pistachio SoC platform.
3926a438309SAndrew Bresticker
3931da177e4SLinus Torvaldsconfig MIPS_MALTA
3943fa986faSMartin Michlmayr	bool "MIPS Malta board"
39561ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
3961da177e4SLinus Torvalds	select BOOT_ELF32
397fa71c960SRalf Baechle	select BOOT_RAW
39842f77542SRalf Baechle	select CEVT_R4K
399940f6b48SRalf Baechle	select CSRC_R4K
400fa5635a2SAndrew Bresticker	select CLKSRC_MIPS_GIC
401885014bcSFelix Fietkau	select DMA_MAYBE_COHERENT
4021da177e4SLinus Torvalds	select GENERIC_ISA_DMA
4038a118c38SRalf Baechle	select HAVE_PCSPKR_PLATFORM
404aa414dffSRalf Baechle	select IRQ_CPU
4058a19b8f1SAndrew Bresticker	select MIPS_GIC
4061da177e4SLinus Torvalds	select HW_HAS_PCI
407d865bea4SRalf Baechle	select I8253
4081da177e4SLinus Torvalds	select I8259
4095e83d430SRalf Baechle	select MIPS_BONITO64
4109318c51aSChris Dearman	select MIPS_CPU_SCACHE
411a7ef1eadSKevin Cernekee	select MIPS_L1_CACHE_SHIFT_6
412252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
4135e83d430SRalf Baechle	select MIPS_MSC
4141da177e4SLinus Torvalds	select SWAP_IO_SPACE
4157cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
4167cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
417bfc3c5a6SMarkos Chandras	select SYS_HAS_CPU_MIPS32_R3_5
418575509b6SMarkos Chandras	select SYS_HAS_CPU_MIPS32_R6
4197cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
4205d9fbed1SLeonid Yegoshin	select SYS_HAS_CPU_MIPS64_R2
421575509b6SMarkos Chandras	select SYS_HAS_CPU_MIPS64_R6
4227cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
4237cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
424ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
425ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4265e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4275e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
428424ebcdfSMaciej W. Rozycki	select SYS_SUPPORTS_MICROMIPS
4290365070fSTim Anderson	select SYS_SUPPORTS_MIPS_CMP
430e56b6aa6SPaul Burton	select SYS_SUPPORTS_MIPS_CPS
431377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
432f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
4339693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
4341b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
4351da177e4SLinus Torvalds	help
436f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
4371da177e4SLinus Torvalds	  board.
4381da177e4SLinus Torvalds
439ec47b274SSteven J. Hillconfig MIPS_SEAD3
440ec47b274SSteven J. Hill	bool "MIPS SEAD3 board"
441ec47b274SSteven J. Hill	select BOOT_ELF32
442ec47b274SSteven J. Hill	select BOOT_RAW
443f262b5f2SAndrew Bresticker	select BUILTIN_DTB
444ec47b274SSteven J. Hill	select CEVT_R4K
445ec47b274SSteven J. Hill	select CSRC_R4K
446fa5635a2SAndrew Bresticker	select CLKSRC_MIPS_GIC
447ec47b274SSteven J. Hill	select CPU_MIPSR2_IRQ_VI
448ec47b274SSteven J. Hill	select CPU_MIPSR2_IRQ_EI
449ec47b274SSteven J. Hill	select DMA_NONCOHERENT
450ec47b274SSteven J. Hill	select IRQ_CPU
4518a19b8f1SAndrew Bresticker	select MIPS_GIC
45244327236SQais Yousef	select LIBFDT
453ec47b274SSteven J. Hill	select MIPS_MSC
454ec47b274SSteven J. Hill	select SYS_HAS_CPU_MIPS32_R1
455ec47b274SSteven J. Hill	select SYS_HAS_CPU_MIPS32_R2
456ec47b274SSteven J. Hill	select SYS_HAS_CPU_MIPS64_R1
457ec47b274SSteven J. Hill	select SYS_HAS_EARLY_PRINTK
458ec47b274SSteven J. Hill	select SYS_SUPPORTS_32BIT_KERNEL
459ec47b274SSteven J. Hill	select SYS_SUPPORTS_64BIT_KERNEL
460ec47b274SSteven J. Hill	select SYS_SUPPORTS_BIG_ENDIAN
461ec47b274SSteven J. Hill	select SYS_SUPPORTS_LITTLE_ENDIAN
462ec47b274SSteven J. Hill	select SYS_SUPPORTS_SMARTMIPS
463a6a4834cSSteven J. Hill	select SYS_SUPPORTS_MICROMIPS
464377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
465ec47b274SSteven J. Hill	select USB_EHCI_BIG_ENDIAN_DESC
466ec47b274SSteven J. Hill	select USB_EHCI_BIG_ENDIAN_MMIO
4679b731009SSteven J. Hill	select USE_OF
468ec47b274SSteven J. Hill	help
469ec47b274SSteven J. Hill	  This enables support for the MIPS Technologies SEAD3 evaluation
470ec47b274SSteven J. Hill	  board.
471ec47b274SSteven J. Hill
472a83860c2SRalf Baechleconfig NEC_MARKEINS
473a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
474a83860c2SRalf Baechle	select SOC_EMMA2RH
475a83860c2SRalf Baechle	select HW_HAS_PCI
476a83860c2SRalf Baechle	help
477a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
478ade299d8SYoichi Yuasa
4795e83d430SRalf Baechleconfig MACH_VR41XX
48074142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
48142f77542SRalf Baechle	select CEVT_R4K
482940f6b48SRalf Baechle	select CSRC_R4K
4837cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
484377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
48527fdd325SYoichi Yuasa	select ARCH_REQUIRE_GPIOLIB
4865e83d430SRalf Baechle
487edb6310aSDaniel Lairdconfig NXP_STB220
488edb6310aSDaniel Laird	bool "NXP STB220 board"
489edb6310aSDaniel Laird	select SOC_PNX833X
490edb6310aSDaniel Laird	help
491edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
492edb6310aSDaniel Laird
493edb6310aSDaniel Lairdconfig NXP_STB225
494edb6310aSDaniel Laird	bool "NXP 225 board"
495edb6310aSDaniel Laird	select SOC_PNX833X
496edb6310aSDaniel Laird	select SOC_PNX8335
497edb6310aSDaniel Laird	help
498edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
499edb6310aSDaniel Laird
5009267a30dSMarc St-Jeanconfig PMC_MSP
5019267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
50239d30c13SAnoop P A	select CEVT_R4K
50339d30c13SAnoop P A	select CSRC_R4K
5049267a30dSMarc St-Jean	select DMA_NONCOHERENT
5059267a30dSMarc St-Jean	select SWAP_IO_SPACE
5069267a30dSMarc St-Jean	select NO_EXCEPT_FILL
5079267a30dSMarc St-Jean	select BOOT_RAW
5089267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
5099267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
5109267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
5119267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
512377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
5139267a30dSMarc St-Jean	select IRQ_CPU
5149267a30dSMarc St-Jean	select SERIAL_8250
5159267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
5169296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_MMIO
5179296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_DESC
5189267a30dSMarc St-Jean	help
5199267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
5209267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
5219267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
5229267a30dSMarc St-Jean	  a variety of MIPS cores.
5239267a30dSMarc St-Jean
524ae2b5bb6SJohn Crispinconfig RALINK
525ae2b5bb6SJohn Crispin	bool "Ralink based machines"
526ae2b5bb6SJohn Crispin	select CEVT_R4K
527ae2b5bb6SJohn Crispin	select CSRC_R4K
528ae2b5bb6SJohn Crispin	select BOOT_RAW
529ae2b5bb6SJohn Crispin	select DMA_NONCOHERENT
530ae2b5bb6SJohn Crispin	select IRQ_CPU
531ae2b5bb6SJohn Crispin	select USE_OF
532ae2b5bb6SJohn Crispin	select SYS_HAS_CPU_MIPS32_R1
533ae2b5bb6SJohn Crispin	select SYS_HAS_CPU_MIPS32_R2
534ae2b5bb6SJohn Crispin	select SYS_SUPPORTS_32BIT_KERNEL
535ae2b5bb6SJohn Crispin	select SYS_SUPPORTS_LITTLE_ENDIAN
536377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
537ae2b5bb6SJohn Crispin	select SYS_HAS_EARLY_PRINTK
538ae2b5bb6SJohn Crispin	select HAVE_MACH_CLKDEV
539ae2b5bb6SJohn Crispin	select CLKDEV_LOOKUP
5402a153f1cSJohn Crispin	select ARCH_HAS_RESET_CONTROLLER
5412a153f1cSJohn Crispin	select RESET_CONTROLLER
542ae2b5bb6SJohn Crispin
5431da177e4SLinus Torvaldsconfig SGI_IP22
5443fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
5450e2794b0SRalf Baechle	select FW_ARC
5460e2794b0SRalf Baechle	select FW_ARC32
5471da177e4SLinus Torvalds	select BOOT_ELF32
54842f77542SRalf Baechle	select CEVT_R4K
549940f6b48SRalf Baechle	select CSRC_R4K
550e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
5511da177e4SLinus Torvalds	select DMA_NONCOHERENT
5525e83d430SRalf Baechle	select HW_HAS_EISA
553d865bea4SRalf Baechle	select I8253
55468de4803SThomas Bogendoerfer	select I8259
5551da177e4SLinus Torvalds	select IP22_CPU_SCACHE
5561da177e4SLinus Torvalds	select IRQ_CPU
557aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
558e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
559e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
56036e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
561e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
562e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
563e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
5641da177e4SLinus Torvalds	select SWAP_IO_SPACE
5657cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5667cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
5672b5e63f6SMartin Michlmayr	#
5682b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
5692b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
5702b5e63f6SMartin Michlmayr	#
5712b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
5722b5e63f6SMartin Michlmayr	# for a more details discussion
5732b5e63f6SMartin Michlmayr	#
5742b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
575ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
576ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
5775e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
578930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_7
5791da177e4SLinus Torvalds	help
5801da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
5811da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
5821da177e4SLinus Torvalds	  that runs on these, say Y here.
5831da177e4SLinus Torvalds
5841da177e4SLinus Torvaldsconfig SGI_IP27
5853fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
5860e2794b0SRalf Baechle	select FW_ARC
5870e2794b0SRalf Baechle	select FW_ARC64
5885e83d430SRalf Baechle	select BOOT_ELF64
589e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
590634286f1SRalf Baechle	select DMA_COHERENT
59136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
5921da177e4SLinus Torvalds	select HW_HAS_PCI
593130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
5947cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
595ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
5965e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
597d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
5981a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
599930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_7
6001da177e4SLinus Torvalds	help
6011da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
6021da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
6031da177e4SLinus Torvalds	  here.
6041da177e4SLinus Torvalds
605e2defae5SThomas Bogendoerferconfig SGI_IP28
6067d60717eSKees Cook	bool "SGI IP28 (Indigo2 R10k)"
6070e2794b0SRalf Baechle	select FW_ARC
6080e2794b0SRalf Baechle	select FW_ARC64
609e2defae5SThomas Bogendoerfer	select BOOT_ELF64
610e2defae5SThomas Bogendoerfer	select CEVT_R4K
611e2defae5SThomas Bogendoerfer	select CSRC_R4K
612e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
613e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
614e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
615e2defae5SThomas Bogendoerfer	select IRQ_CPU
616e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
617e2defae5SThomas Bogendoerfer	select I8253
618e2defae5SThomas Bogendoerfer	select I8259
619e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
620e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
6215b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
622e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
623e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
624e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
625e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
626e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
6272b5e63f6SMartin Michlmayr	#
6282b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
6292b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
6302b5e63f6SMartin Michlmayr	#
6312b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
6322b5e63f6SMartin Michlmayr	# for a more details discussion
6332b5e63f6SMartin Michlmayr	#
6342b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
635e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
636e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
637dc24d68dSThomas Bogendoerfer	select MIPS_L1_CACHE_SHIFT_7
638e2defae5SThomas Bogendoerfer      help
639e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
640e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
641e2defae5SThomas Bogendoerfer
6421da177e4SLinus Torvaldsconfig SGI_IP32
643cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
6440e2794b0SRalf Baechle	select FW_ARC
6450e2794b0SRalf Baechle	select FW_ARC32
6461da177e4SLinus Torvalds	select BOOT_ELF32
64742f77542SRalf Baechle	select CEVT_R4K
648940f6b48SRalf Baechle	select CSRC_R4K
6491da177e4SLinus Torvalds	select DMA_NONCOHERENT
6501da177e4SLinus Torvalds	select HW_HAS_PCI
651dd67b155SRalf Baechle	select IRQ_CPU
6521da177e4SLinus Torvalds	select R5000_CPU_SCACHE
6531da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
6547cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
6557cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
6567cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
657dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
658ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
6595e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6601da177e4SLinus Torvalds	help
6611da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
6621da177e4SLinus Torvalds
663ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
664ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
6655e83d430SRalf Baechle	select BOOT_ELF32
6665e83d430SRalf Baechle	select DMA_COHERENT
6675e83d430SRalf Baechle	select SIBYTE_BCM1120
6685e83d430SRalf Baechle	select SWAP_IO_SPACE
6697cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
6705e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6715e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6725e83d430SRalf Baechle
673ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
674ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
6755e83d430SRalf Baechle	select BOOT_ELF32
6765e83d430SRalf Baechle	select DMA_COHERENT
6775e83d430SRalf Baechle	select SIBYTE_BCM1120
6785e83d430SRalf Baechle	select SWAP_IO_SPACE
6797cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
6805e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6815e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6825e83d430SRalf Baechle
6835e83d430SRalf Baechleconfig SIBYTE_CRHONE
6843fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
6855e83d430SRalf Baechle	select BOOT_ELF32
6865e83d430SRalf Baechle	select DMA_COHERENT
6875e83d430SRalf Baechle	select SIBYTE_BCM1125
6885e83d430SRalf Baechle	select SWAP_IO_SPACE
6897cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
6905e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6915e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6925e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6935e83d430SRalf Baechle
694ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
695ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
696ade299d8SYoichi Yuasa	select BOOT_ELF32
697ade299d8SYoichi Yuasa	select DMA_COHERENT
698ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
699ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
700ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
701ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
702ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
703ade299d8SYoichi Yuasa
704ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
705ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
706ade299d8SYoichi Yuasa	select BOOT_ELF32
707ade299d8SYoichi Yuasa	select DMA_COHERENT
708fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
709ade299d8SYoichi Yuasa	select SIBYTE_SB1250
710ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
711ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
712ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
713ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
714ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
715cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
716ade299d8SYoichi Yuasa
717ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
718ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
719ade299d8SYoichi Yuasa	select BOOT_ELF32
720ade299d8SYoichi Yuasa	select DMA_COHERENT
721fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
722ade299d8SYoichi Yuasa	select SIBYTE_SB1250
723ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
724ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
725ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
726ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
727ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
728ade299d8SYoichi Yuasa
729ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
730ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
731ade299d8SYoichi Yuasa	select BOOT_ELF32
732ade299d8SYoichi Yuasa	select DMA_COHERENT
733ade299d8SYoichi Yuasa	select SIBYTE_SB1250
734ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
735ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
736ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
737ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
738ade299d8SYoichi Yuasa
739ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
740ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
741ade299d8SYoichi Yuasa	select BOOT_ELF32
742ade299d8SYoichi Yuasa	select DMA_COHERENT
743ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
744ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
745ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
746ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
747ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
748651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
749ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
750cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
751ade299d8SYoichi Yuasa
75214b36af4SThomas Bogendoerferconfig SNI_RM
75314b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
7540e2794b0SRalf Baechle	select FW_ARC if CPU_LITTLE_ENDIAN
7550e2794b0SRalf Baechle	select FW_ARC32 if CPU_LITTLE_ENDIAN
756aaa9fad3SPaul Bolle	select FW_SNIPROM if CPU_BIG_ENDIAN
7575e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
7585e83d430SRalf Baechle	select BOOT_ELF32
75942f77542SRalf Baechle	select CEVT_R4K
760940f6b48SRalf Baechle	select CSRC_R4K
761e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
7625e83d430SRalf Baechle	select DMA_NONCOHERENT
7635e83d430SRalf Baechle	select GENERIC_ISA_DMA
7648a118c38SRalf Baechle	select HAVE_PCSPKR_PLATFORM
7655e83d430SRalf Baechle	select HW_HAS_EISA
7665e83d430SRalf Baechle	select HW_HAS_PCI
767c066a32aSThomas Bogendoerfer	select IRQ_CPU
768d865bea4SRalf Baechle	select I8253
7695e83d430SRalf Baechle	select I8259
7705e83d430SRalf Baechle	select ISA
7714a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
7727cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
7734a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
774c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
7754a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
77636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
777ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
7787d60717eSKees Cook	select SYS_SUPPORTS_64BIT_KERNEL
7794a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
7805e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
7815e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
7821da177e4SLinus Torvalds	help
78314b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
78414b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
7855e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
7865e83d430SRalf Baechle	  support this machine type.
7871da177e4SLinus Torvalds
788edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
789edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
7905e83d430SRalf Baechle
791edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
792edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
79323fbee9dSRalf Baechle
79473b4390fSRalf Baechleconfig MIKROTIK_RB532
79573b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
79673b4390fSRalf Baechle	select CEVT_R4K
79773b4390fSRalf Baechle	select CSRC_R4K
79873b4390fSRalf Baechle	select DMA_NONCOHERENT
79973b4390fSRalf Baechle	select HW_HAS_PCI
80073b4390fSRalf Baechle	select IRQ_CPU
80173b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
80273b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
80373b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
80473b4390fSRalf Baechle	select SWAP_IO_SPACE
80573b4390fSRalf Baechle	select BOOT_RAW
806d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
807930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_4
80873b4390fSRalf Baechle	help
80973b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
81073b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
81173b4390fSRalf Baechle
8129ddebc46SDavid Daneyconfig CAVIUM_OCTEON_SOC
8139ddebc46SDavid Daney	bool "Cavium Networks Octeon SoC based boards"
814a86c7f72SDavid Daney	select CEVT_R4K
81534adb28dSRalf Baechle	select ARCH_PHYS_ADDR_T_64BIT
816a86c7f72SDavid Daney	select DMA_COHERENT
817a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
818a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
819f65aad41SRalf Baechle	select EDAC_SUPPORT
82073569d87SDavid Daney	select SYS_SUPPORTS_LITTLE_ENDIAN
82173569d87SDavid Daney	select SYS_SUPPORTS_HOTPLUG_CPU if CPU_BIG_ENDIAN
822a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
8235e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
824a86c7f72SDavid Daney	select SWAP_IO_SPACE
825e8635b48SDavid Daney	select HW_HAS_PCI
826f00e001eSDavid Daney	select ZONE_DMA32
827465aaed0SDavid Daney	select HOLES_IN_ZONE
82899cab4bbSDavid Daney	select ARCH_REQUIRE_GPIOLIB
8296e511163SDavid Daney	select LIBFDT
8306e511163SDavid Daney	select USE_OF
8316e511163SDavid Daney	select ARCH_SPARSEMEM_ENABLE
8326e511163SDavid Daney	select SYS_SUPPORTS_SMP
8336e511163SDavid Daney	select NR_CPUS_DEFAULT_16
834e326479fSAndrew Bresticker	select BUILTIN_DTB
835a86c7f72SDavid Daney	help
836a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
837a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
838a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
839a86c7f72SDavid Daney	  Some of the supported boards are:
840a86c7f72SDavid Daney		EBT3000
841a86c7f72SDavid Daney		EBH3000
842a86c7f72SDavid Daney		EBH3100
843a86c7f72SDavid Daney		Thunder
844a86c7f72SDavid Daney		Kodama
845a86c7f72SDavid Daney		Hikari
846a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
847a86c7f72SDavid Daney
8487f058e85SJayachandran Cconfig NLM_XLR_BOARD
8497f058e85SJayachandran C	bool "Netlogic XLR/XLS based systems"
8507f058e85SJayachandran C	select BOOT_ELF32
8517f058e85SJayachandran C	select NLM_COMMON
8527f058e85SJayachandran C	select SYS_HAS_CPU_XLR
8537f058e85SJayachandran C	select SYS_SUPPORTS_SMP
8547f058e85SJayachandran C	select HW_HAS_PCI
8557f058e85SJayachandran C	select SWAP_IO_SPACE
8567f058e85SJayachandran C	select SYS_SUPPORTS_32BIT_KERNEL
8577f058e85SJayachandran C	select SYS_SUPPORTS_64BIT_KERNEL
85834adb28dSRalf Baechle	select ARCH_PHYS_ADDR_T_64BIT
8597f058e85SJayachandran C	select SYS_SUPPORTS_BIG_ENDIAN
8607f058e85SJayachandran C	select SYS_SUPPORTS_HIGHMEM
8617f058e85SJayachandran C	select DMA_COHERENT
8627f058e85SJayachandran C	select NR_CPUS_DEFAULT_32
8637f058e85SJayachandran C	select CEVT_R4K
8647f058e85SJayachandran C	select CSRC_R4K
8657f058e85SJayachandran C	select IRQ_CPU
866b97215fdSJayachandran C	select ZONE_DMA32 if 64BIT
8677f058e85SJayachandran C	select SYNC_R4K
8687f058e85SJayachandran C	select SYS_HAS_EARLY_PRINTK
8698f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT
8708f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT_UART16550
8717f058e85SJayachandran C	help
8727f058e85SJayachandran C	  Support for systems based on Netlogic XLR and XLS processors.
8737f058e85SJayachandran C	  Say Y here if you have a XLR or XLS based board.
8747f058e85SJayachandran C
8751c773ea4SJayachandran Cconfig NLM_XLP_BOARD
8761c773ea4SJayachandran C	bool "Netlogic XLP based systems"
8771c773ea4SJayachandran C	select BOOT_ELF32
8781c773ea4SJayachandran C	select NLM_COMMON
8791c773ea4SJayachandran C	select SYS_HAS_CPU_XLP
8801c773ea4SJayachandran C	select SYS_SUPPORTS_SMP
8811c773ea4SJayachandran C	select HW_HAS_PCI
8821c773ea4SJayachandran C	select SYS_SUPPORTS_32BIT_KERNEL
8831c773ea4SJayachandran C	select SYS_SUPPORTS_64BIT_KERNEL
88434adb28dSRalf Baechle	select ARCH_PHYS_ADDR_T_64BIT
8851c773ea4SJayachandran C	select SYS_SUPPORTS_BIG_ENDIAN
8861c773ea4SJayachandran C	select SYS_SUPPORTS_LITTLE_ENDIAN
8871c773ea4SJayachandran C	select SYS_SUPPORTS_HIGHMEM
8881c773ea4SJayachandran C	select DMA_COHERENT
8891c773ea4SJayachandran C	select NR_CPUS_DEFAULT_32
8901c773ea4SJayachandran C	select CEVT_R4K
8911c773ea4SJayachandran C	select CSRC_R4K
8921c773ea4SJayachandran C	select IRQ_CPU
893b97215fdSJayachandran C	select ZONE_DMA32 if 64BIT
8941c773ea4SJayachandran C	select SYNC_R4K
8951c773ea4SJayachandran C	select SYS_HAS_EARLY_PRINTK
8962f6528e1SJayachandran C	select USE_OF
8978f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT
8988f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT_UART16550
8991c773ea4SJayachandran C	help
9001c773ea4SJayachandran C	  This board is based on Netlogic XLP Processor.
9011c773ea4SJayachandran C	  Say Y here if you have a XLP based board.
9021c773ea4SJayachandran C
9039bc463beSDavid Daneyconfig MIPS_PARAVIRT
9049bc463beSDavid Daney	bool "Para-Virtualized guest system"
9059bc463beSDavid Daney	select CEVT_R4K
9069bc463beSDavid Daney	select CSRC_R4K
9079bc463beSDavid Daney	select DMA_COHERENT
9089bc463beSDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
9099bc463beSDavid Daney	select SYS_SUPPORTS_32BIT_KERNEL
9109bc463beSDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
9119bc463beSDavid Daney	select SYS_SUPPORTS_SMP
9129bc463beSDavid Daney	select NR_CPUS_DEFAULT_4
9139bc463beSDavid Daney	select SYS_HAS_EARLY_PRINTK
9149bc463beSDavid Daney	select SYS_HAS_CPU_MIPS32_R2
9159bc463beSDavid Daney	select SYS_HAS_CPU_MIPS64_R2
9169bc463beSDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
9179bc463beSDavid Daney	select HW_HAS_PCI
9189bc463beSDavid Daney	select SWAP_IO_SPACE
9199bc463beSDavid Daney	help
9209bc463beSDavid Daney	  This option supports guest running under ????
9219bc463beSDavid Daney
9221da177e4SLinus Torvaldsendchoice
9231da177e4SLinus Torvalds
924e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
9253b12308fSSergey Ryazanovsource "arch/mips/ath25/Kconfig"
926d4a67d9dSGabor Juhossource "arch/mips/ath79/Kconfig"
927a656ffcbSHauke Mehrtenssource "arch/mips/bcm47xx/Kconfig"
928e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig"
929*8945e37eSKevin Cernekeesource "arch/mips/bmips/Kconfig"
9305e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
9315ebabe59SLars-Peter Clausensource "arch/mips/jz4740/Kconfig"
9328ec6d935SJohn Crispinsource "arch/mips/lantiq/Kconfig"
9331f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
9340f3a05cbSRalf Baechlesource "arch/mips/pmcs-msp71xx/Kconfig"
935ae2b5bb6SJohn Crispinsource "arch/mips/ralink/Kconfig"
93629c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
93738b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
93822b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
9395e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
940a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
94185749d24SWu Zhangjinsource "arch/mips/loongson/Kconfig"
942ca585cf9SKelvin Cheungsource "arch/mips/loongson1/Kconfig"
9437f058e85SJayachandran Csource "arch/mips/netlogic/Kconfig"
944ae6e7e63SDavid Daneysource "arch/mips/paravirt/Kconfig"
94538b18f72SRalf Baechle
9465e83d430SRalf Baechleendmenu
9475e83d430SRalf Baechle
9481da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
9491da177e4SLinus Torvalds	bool
9501da177e4SLinus Torvalds	default y
9511da177e4SLinus Torvalds
9521da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
9531da177e4SLinus Torvalds	bool
9541da177e4SLinus Torvalds
955f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
956f0d1b0b3SDavid Howells	bool
957f0d1b0b3SDavid Howells	default n
958f0d1b0b3SDavid Howells
959f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
960f0d1b0b3SDavid Howells	bool
961f0d1b0b3SDavid Howells	default n
962f0d1b0b3SDavid Howells
9633c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
9643c9ee7efSAkinobu Mita	bool
9653c9ee7efSAkinobu Mita	default y
9663c9ee7efSAkinobu Mita
9671da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
9681da177e4SLinus Torvalds	bool
9691da177e4SLinus Torvalds	default y
9701da177e4SLinus Torvalds
971ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
9721cc89038SAtsushi Nemoto	bool
9731cc89038SAtsushi Nemoto	default y
9741cc89038SAtsushi Nemoto
9751da177e4SLinus Torvalds#
9761da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
9771da177e4SLinus Torvalds#
9780e2794b0SRalf Baechleconfig FW_ARC
9791da177e4SLinus Torvalds	bool
9801da177e4SLinus Torvalds
98161ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
98261ed242dSRalf Baechle	bool
98361ed242dSRalf Baechle
9849267a30dSMarc St-Jeanconfig BOOT_RAW
9859267a30dSMarc St-Jean	bool
9869267a30dSMarc St-Jean
987217dd11eSRalf Baechleconfig CEVT_BCM1480
988217dd11eSRalf Baechle	bool
989217dd11eSRalf Baechle
9906457d9fcSYoichi Yuasaconfig CEVT_DS1287
9916457d9fcSYoichi Yuasa	bool
9926457d9fcSYoichi Yuasa
9931097c6acSYoichi Yuasaconfig CEVT_GT641XX
9941097c6acSYoichi Yuasa	bool
9951097c6acSYoichi Yuasa
99642f77542SRalf Baechleconfig CEVT_R4K
99742f77542SRalf Baechle	bool
99842f77542SRalf Baechle
999217dd11eSRalf Baechleconfig CEVT_SB1250
1000217dd11eSRalf Baechle	bool
1001217dd11eSRalf Baechle
1002229f773eSAtsushi Nemotoconfig CEVT_TXX9
1003229f773eSAtsushi Nemoto	bool
1004229f773eSAtsushi Nemoto
1005217dd11eSRalf Baechleconfig CSRC_BCM1480
1006217dd11eSRalf Baechle	bool
1007217dd11eSRalf Baechle
10084247417dSYoichi Yuasaconfig CSRC_IOASIC
10094247417dSYoichi Yuasa	bool
10104247417dSYoichi Yuasa
1011940f6b48SRalf Baechleconfig CSRC_R4K
1012940f6b48SRalf Baechle	bool
1013940f6b48SRalf Baechle
1014217dd11eSRalf Baechleconfig CSRC_SB1250
1015217dd11eSRalf Baechle	bool
1016217dd11eSRalf Baechle
1017a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
10187444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
1019a9aec7feSAtsushi Nemoto	bool
1020a9aec7feSAtsushi Nemoto
10210e2794b0SRalf Baechleconfig FW_CFE
1022df78b5c8SAurelien Jarno	bool
1023df78b5c8SAurelien Jarno
10244bafad92SFUJITA Tomonoriconfig ARCH_DMA_ADDR_T_64BIT
102534adb28dSRalf Baechle	def_bool (HIGHMEM && ARCH_PHYS_ADDR_T_64BIT) || 64BIT
10264bafad92SFUJITA Tomonori
1027885014bcSFelix Fietkauconfig DMA_MAYBE_COHERENT
1028885014bcSFelix Fietkau	select DMA_NONCOHERENT
1029885014bcSFelix Fietkau	bool
1030885014bcSFelix Fietkau
10311da177e4SLinus Torvaldsconfig DMA_COHERENT
10321da177e4SLinus Torvalds	bool
10331da177e4SLinus Torvalds
10341da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
10351da177e4SLinus Torvalds	bool
1036e1e02b32SFUJITA Tomonori	select NEED_DMA_MAP_STATE
10374ce588cdSRalf Baechle
1038e1e02b32SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
10394ce588cdSRalf Baechle	bool
10401da177e4SLinus Torvalds
104136a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
10421da177e4SLinus Torvalds	bool
10431da177e4SLinus Torvalds
1044dbb74540SRalf Baechleconfig HOTPLUG_CPU
10451b2bc75cSRalf Baechle	bool "Support for hot-pluggable CPUs"
104640b31360SStephen Rothwell	depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU
10471b2bc75cSRalf Baechle	help
10481b2bc75cSRalf Baechle	  Say Y here to allow turning CPUs off and on. CPUs can be
10491b2bc75cSRalf Baechle	  controlled through /sys/devices/system/cpu.
10501b2bc75cSRalf Baechle	  (Note: power management support will enable this option
10511b2bc75cSRalf Baechle	    automatically on SMP systems. )
10521b2bc75cSRalf Baechle	  Say N if you want to disable CPU hotplug.
10531b2bc75cSRalf Baechle
10541b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU
1055dbb74540SRalf Baechle	bool
1056dbb74540SRalf Baechle
10571da177e4SLinus Torvaldsconfig I8259
10581da177e4SLinus Torvalds	bool
1059079a4601SAndrew Bresticker	select IRQ_DOMAIN
10601da177e4SLinus Torvalds
10611da177e4SLinus Torvaldsconfig MIPS_BONITO64
10621da177e4SLinus Torvalds	bool
10631da177e4SLinus Torvalds
10641da177e4SLinus Torvaldsconfig MIPS_MSC
10651da177e4SLinus Torvalds	bool
10661da177e4SLinus Torvalds
10671f21d2bdSBrian Murphyconfig MIPS_NILE4
10681f21d2bdSBrian Murphy	bool
10691f21d2bdSBrian Murphy
107039b8d525SRalf Baechleconfig SYNC_R4K
107139b8d525SRalf Baechle	bool
107239b8d525SRalf Baechle
1073487d70d0SGabor Juhosconfig MIPS_MACHINE
1074487d70d0SGabor Juhos	def_bool n
1075487d70d0SGabor Juhos
1076ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP
1077d388d685SMaciej W. Rozycki	def_bool n
1078d388d685SMaciej W. Rozycki
10794e0748f5SMarkos Chandrasconfig GENERIC_CSUM
10804e0748f5SMarkos Chandras	bool
10814e0748f5SMarkos Chandras
10828313da30SRalf Baechleconfig GENERIC_ISA_DMA
10838313da30SRalf Baechle	bool
10848313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
1085a35bee8aSNamhyung Kim	select ISA_DMA_API
10868313da30SRalf Baechle
1087aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
1088aa414dffSRalf Baechle	bool
10898313da30SRalf Baechle	select GENERIC_ISA_DMA
1090aa414dffSRalf Baechle
1091a35bee8aSNamhyung Kimconfig ISA_DMA_API
1092a35bee8aSNamhyung Kim	bool
1093a35bee8aSNamhyung Kim
1094465aaed0SDavid Daneyconfig HOLES_IN_ZONE
1095465aaed0SDavid Daney	bool
1096465aaed0SDavid Daney
10975e83d430SRalf Baechle#
10986b2aac42SMasanari Iida# Endianness selection.  Sufficiently obscure so many users don't know what to
10995e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
11005e83d430SRalf Baechle# choice statement should be more obvious to the user.
11015e83d430SRalf Baechle#
11025e83d430SRalf Baechlechoice
11036b2aac42SMasanari Iida	prompt "Endianness selection"
11041da177e4SLinus Torvalds	help
11051da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
11065e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
11073cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
11085e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
11093dde6ad8SDavid Sterba	  one or the other endianness.
11105e83d430SRalf Baechle
11115e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
11125e83d430SRalf Baechle	bool "Big endian"
11135e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
11145e83d430SRalf Baechle
11155e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
11165e83d430SRalf Baechle	bool "Little endian"
11175e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
11185e83d430SRalf Baechle
11195e83d430SRalf Baechleendchoice
11205e83d430SRalf Baechle
112122b0763aSDavid Daneyconfig EXPORT_UASM
112222b0763aSDavid Daney	bool
112322b0763aSDavid Daney
11242116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
11252116245eSRalf Baechle	bool
11262116245eSRalf Baechle
11275e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
11285e83d430SRalf Baechle	bool
11295e83d430SRalf Baechle
11305e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
11315e83d430SRalf Baechle	bool
11321da177e4SLinus Torvalds
11339cffd154SDavid Daneyconfig SYS_SUPPORTS_HUGETLBFS
11349cffd154SDavid Daney	bool
11359cffd154SDavid Daney	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
11369cffd154SDavid Daney	default y
11379cffd154SDavid Daney
1138aa1762f4SDavid Daneyconfig MIPS_HUGE_TLB_SUPPORT
1139aa1762f4SDavid Daney	def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
1140aa1762f4SDavid Daney
11411da177e4SLinus Torvaldsconfig IRQ_CPU
11421da177e4SLinus Torvalds	bool
11430f84c305SAndrew Bresticker	select IRQ_DOMAIN
11441da177e4SLinus Torvalds
11451da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
11461da177e4SLinus Torvalds	bool
11471da177e4SLinus Torvalds
11489267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
11499267a30dSMarc St-Jean	bool
11509267a30dSMarc St-Jean
11519267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
11529267a30dSMarc St-Jean	bool
11539267a30dSMarc St-Jean
11548420fd00SAtsushi Nemotoconfig IRQ_TXX9
11558420fd00SAtsushi Nemoto	bool
11568420fd00SAtsushi Nemoto
1157d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
1158d5ab1a69SYoichi Yuasa	bool
1159d5ab1a69SYoichi Yuasa
1160252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
11611da177e4SLinus Torvalds	bool
11621da177e4SLinus Torvalds
11639267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
11649267a30dSMarc St-Jean	bool
11659267a30dSMarc St-Jean
1166a83860c2SRalf Baechleconfig SOC_EMMA2RH
1167a83860c2SRalf Baechle	bool
1168a83860c2SRalf Baechle	select CEVT_R4K
1169a83860c2SRalf Baechle	select CSRC_R4K
1170a83860c2SRalf Baechle	select DMA_NONCOHERENT
1171a83860c2SRalf Baechle	select IRQ_CPU
1172a83860c2SRalf Baechle	select SWAP_IO_SPACE
1173a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
1174a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1175a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
1176a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1177a83860c2SRalf Baechle
1178edb6310aSDaniel Lairdconfig SOC_PNX833X
1179edb6310aSDaniel Laird	bool
1180edb6310aSDaniel Laird	select CEVT_R4K
1181edb6310aSDaniel Laird	select CSRC_R4K
1182edb6310aSDaniel Laird	select IRQ_CPU
1183edb6310aSDaniel Laird	select DMA_NONCOHERENT
1184edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
1185edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
1186edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
1187edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
1188377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
1189edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
1190edb6310aSDaniel Laird
1191edb6310aSDaniel Lairdconfig SOC_PNX8335
1192edb6310aSDaniel Laird	bool
1193edb6310aSDaniel Laird	select SOC_PNX833X
1194edb6310aSDaniel Laird
1195a7e07b1aSMarkos Chandrasconfig MIPS_SPRAM
1196a7e07b1aSMarkos Chandras	bool
1197a7e07b1aSMarkos Chandras
11981da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
11991da177e4SLinus Torvalds	bool
12001da177e4SLinus Torvalds
1201e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
1202e2defae5SThomas Bogendoerfer	bool
1203e2defae5SThomas Bogendoerfer
12045b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
12055b438c44SThomas Bogendoerfer	bool
12065b438c44SThomas Bogendoerfer
1207e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
1208e2defae5SThomas Bogendoerfer	bool
1209e2defae5SThomas Bogendoerfer
1210e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
1211e2defae5SThomas Bogendoerfer	bool
1212e2defae5SThomas Bogendoerfer
1213e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
1214e2defae5SThomas Bogendoerfer	bool
1215e2defae5SThomas Bogendoerfer
1216e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1217e2defae5SThomas Bogendoerfer	bool
1218e2defae5SThomas Bogendoerfer
1219e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1220e2defae5SThomas Bogendoerfer	bool
1221e2defae5SThomas Bogendoerfer
12220e2794b0SRalf Baechleconfig FW_ARC32
12235e83d430SRalf Baechle	bool
12245e83d430SRalf Baechle
1225aaa9fad3SPaul Bolleconfig FW_SNIPROM
1226231a35d3SThomas Bogendoerfer	bool
1227231a35d3SThomas Bogendoerfer
12281da177e4SLinus Torvaldsconfig BOOT_ELF32
12291da177e4SLinus Torvalds	bool
12301da177e4SLinus Torvalds
1231930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_4
1232930beb5aSFlorian Fainelli	bool
1233930beb5aSFlorian Fainelli
1234930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_5
1235930beb5aSFlorian Fainelli	bool
1236930beb5aSFlorian Fainelli
1237930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_6
1238930beb5aSFlorian Fainelli	bool
1239930beb5aSFlorian Fainelli
1240930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_7
1241930beb5aSFlorian Fainelli	bool
1242930beb5aSFlorian Fainelli
12431da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
12441da177e4SLinus Torvalds	int
1245a4c0201eSFlorian Fainelli	default "7" if MIPS_L1_CACHE_SHIFT_7
12465432eeb6SKevin Cernekee	default "6" if MIPS_L1_CACHE_SHIFT_6
12475432eeb6SKevin Cernekee	default "5" if MIPS_L1_CACHE_SHIFT_5
12485432eeb6SKevin Cernekee	default "4" if MIPS_L1_CACHE_SHIFT_4
12491da177e4SLinus Torvalds	default "5"
12501da177e4SLinus Torvalds
12511da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
12521da177e4SLinus Torvalds	bool
12531da177e4SLinus Torvalds
12541da177e4SLinus Torvaldsconfig ARC_CONSOLE
12551da177e4SLinus Torvalds	bool "ARC console support"
1256e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
12571da177e4SLinus Torvalds
12581da177e4SLinus Torvaldsconfig ARC_MEMORY
12591da177e4SLinus Torvalds	bool
126014b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
12611da177e4SLinus Torvalds	default y
12621da177e4SLinus Torvalds
12631da177e4SLinus Torvaldsconfig ARC_PROMLIB
12641da177e4SLinus Torvalds	bool
1265e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
12661da177e4SLinus Torvalds	default y
12671da177e4SLinus Torvalds
12680e2794b0SRalf Baechleconfig FW_ARC64
12691da177e4SLinus Torvalds	bool
12701da177e4SLinus Torvalds
12711da177e4SLinus Torvaldsconfig BOOT_ELF64
12721da177e4SLinus Torvalds	bool
12731da177e4SLinus Torvalds
12741da177e4SLinus Torvaldsmenu "CPU selection"
12751da177e4SLinus Torvalds
12761da177e4SLinus Torvaldschoice
12771da177e4SLinus Torvalds	prompt "CPU type"
12781da177e4SLinus Torvalds	default CPU_R4X00
12791da177e4SLinus Torvalds
12800e476d91SHuacai Chenconfig CPU_LOONGSON3
12810e476d91SHuacai Chen	bool "Loongson 3 CPU"
12820e476d91SHuacai Chen	depends on SYS_HAS_CPU_LOONGSON3
12830e476d91SHuacai Chen	select CPU_SUPPORTS_64BIT_KERNEL
12840e476d91SHuacai Chen	select CPU_SUPPORTS_HIGHMEM
12850e476d91SHuacai Chen	select CPU_SUPPORTS_HUGEPAGES
12860e476d91SHuacai Chen	select WEAK_ORDERING
12870e476d91SHuacai Chen	select WEAK_REORDERING_BEYOND_LLSC
12880e476d91SHuacai Chen	help
12890e476d91SHuacai Chen		The Loongson 3 processor implements the MIPS64R2 instruction
12900e476d91SHuacai Chen		set with many extensions.
12910e476d91SHuacai Chen
12923702bba5SWu Zhangjinconfig CPU_LOONGSON2E
12933702bba5SWu Zhangjin	bool "Loongson 2E"
12943702bba5SWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2E
12953702bba5SWu Zhangjin	select CPU_LOONGSON2
12962a21c730SFuxin Zhang	help
12972a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
12982a21c730SFuxin Zhang	  with many extensions.
12992a21c730SFuxin Zhang
130025985edcSLucas De Marchi	  It has an internal FPGA northbridge, which is compatible to
13016f7a251aSWu Zhangjin	  bonito64.
13026f7a251aSWu Zhangjin
13036f7a251aSWu Zhangjinconfig CPU_LOONGSON2F
13046f7a251aSWu Zhangjin	bool "Loongson 2F"
13056f7a251aSWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2F
13066f7a251aSWu Zhangjin	select CPU_LOONGSON2
1307c197da91SArnaud Patard	select ARCH_REQUIRE_GPIOLIB
13086f7a251aSWu Zhangjin	help
13096f7a251aSWu Zhangjin	  The Loongson 2F processor implements the MIPS III instruction set
13106f7a251aSWu Zhangjin	  with many extensions.
13116f7a251aSWu Zhangjin
13126f7a251aSWu Zhangjin	  Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
13136f7a251aSWu Zhangjin	  have a similar programming interface with FPGA northbridge used in
13146f7a251aSWu Zhangjin	  Loongson2E.
13156f7a251aSWu Zhangjin
1316ca585cf9SKelvin Cheungconfig CPU_LOONGSON1B
1317ca585cf9SKelvin Cheung	bool "Loongson 1B"
1318ca585cf9SKelvin Cheung	depends on SYS_HAS_CPU_LOONGSON1B
1319ca585cf9SKelvin Cheung	select CPU_LOONGSON1
1320ca585cf9SKelvin Cheung	help
1321ca585cf9SKelvin Cheung	  The Loongson 1B is a 32-bit SoC, which implements the MIPS32
1322ca585cf9SKelvin Cheung	  release 2 instruction set.
1323ca585cf9SKelvin Cheung
13246e760c8dSRalf Baechleconfig CPU_MIPS32_R1
13256e760c8dSRalf Baechle	bool "MIPS32 Release 1"
13267cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
13276e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1328797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1329ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13306e760c8dSRalf Baechle	help
13315e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
13321e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
13331e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
13341e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
13351e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
13361e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
13371e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
13381e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
13391e5f1caaSRalf Baechle	  performance.
13401e5f1caaSRalf Baechle
13411e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
13421e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
13437cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
13441e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1345797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1346ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1347a5e9a69eSPaul Burton	select CPU_SUPPORTS_MSA
13482235a54dSSanjay Lal	select HAVE_KVM
13491e5f1caaSRalf Baechle	help
13505e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
13516e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
13526e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
13536e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
13546e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
13551da177e4SLinus Torvalds
13567fd08ca5SLeonid Yegoshinconfig CPU_MIPS32_R6
13577fd08ca5SLeonid Yegoshin	bool "MIPS32 Release 6 (EXPERIMENTAL)"
13587fd08ca5SLeonid Yegoshin	depends on SYS_HAS_CPU_MIPS32_R6
13597fd08ca5SLeonid Yegoshin	select CPU_HAS_PREFETCH
13607fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_32BIT_KERNEL
13617fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_HIGHMEM
13627fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_MSA
13634e0748f5SMarkos Chandras	select GENERIC_CSUM
13647fd08ca5SLeonid Yegoshin	select HAVE_KVM
13657fd08ca5SLeonid Yegoshin	select MIPS_O32_FP64_SUPPORT
13667fd08ca5SLeonid Yegoshin	help
13677fd08ca5SLeonid Yegoshin	  Choose this option to build a kernel for release 6 or later of the
13687fd08ca5SLeonid Yegoshin	  MIPS32 architecture.  New MIPS processors, starting with the Warrior
13697fd08ca5SLeonid Yegoshin	  family, are based on a MIPS32r6 processor. If you own an older
13707fd08ca5SLeonid Yegoshin	  processor, you probably need to select MIPS32r1 or MIPS32r2 instead.
13717fd08ca5SLeonid Yegoshin
13726e760c8dSRalf Baechleconfig CPU_MIPS64_R1
13736e760c8dSRalf Baechle	bool "MIPS64 Release 1"
13747cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1375797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1376ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1377ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1378ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13799cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
13806e760c8dSRalf Baechle	help
13816e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
13826e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
13836e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
13846e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
13856e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
13861e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
13871e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
13881e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
13891e5f1caaSRalf Baechle	  performance.
13901e5f1caaSRalf Baechle
13911e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
13921e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
13937cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1394797798c1SRalf Baechle	select CPU_HAS_PREFETCH
13951e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
13961e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1397ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13989cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1399a5e9a69eSPaul Burton	select CPU_SUPPORTS_MSA
14001e5f1caaSRalf Baechle	help
14011e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
14021e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
14031e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
14041e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
14051e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
14061da177e4SLinus Torvalds
14077fd08ca5SLeonid Yegoshinconfig CPU_MIPS64_R6
14087fd08ca5SLeonid Yegoshin	bool "MIPS64 Release 6 (EXPERIMENTAL)"
14097fd08ca5SLeonid Yegoshin	depends on SYS_HAS_CPU_MIPS64_R6
14107fd08ca5SLeonid Yegoshin	select CPU_HAS_PREFETCH
14117fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_32BIT_KERNEL
14127fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_64BIT_KERNEL
14137fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_HIGHMEM
14147fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_MSA
14154e0748f5SMarkos Chandras	select GENERIC_CSUM
14167fd08ca5SLeonid Yegoshin	help
14177fd08ca5SLeonid Yegoshin	  Choose this option to build a kernel for release 6 or later of the
14187fd08ca5SLeonid Yegoshin	  MIPS64 architecture.  New MIPS processors, starting with the Warrior
14197fd08ca5SLeonid Yegoshin	  family, are based on a MIPS64r6 processor. If you own an older
14207fd08ca5SLeonid Yegoshin	  processor, you probably need to select MIPS64r1 or MIPS64r2 instead.
14217fd08ca5SLeonid Yegoshin
14221da177e4SLinus Torvaldsconfig CPU_R3000
14231da177e4SLinus Torvalds	bool "R3000"
14247cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1425f7062ddbSRalf Baechle	select CPU_HAS_WB
1426ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1427797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
14281da177e4SLinus Torvalds	help
14291da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
14301da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
14311da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
14321da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
14331da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
14341da177e4SLinus Torvalds	  try to recompile with R3000.
14351da177e4SLinus Torvalds
14361da177e4SLinus Torvaldsconfig CPU_TX39XX
14371da177e4SLinus Torvalds	bool "R39XX"
14387cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1439ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
14401da177e4SLinus Torvalds
14411da177e4SLinus Torvaldsconfig CPU_VR41XX
14421da177e4SLinus Torvalds	bool "R41xx"
14437cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1444ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1445ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
14461da177e4SLinus Torvalds	help
14475e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
14481da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
14491da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
14501da177e4SLinus Torvalds	  processor or vice versa.
14511da177e4SLinus Torvalds
14521da177e4SLinus Torvaldsconfig CPU_R4300
14531da177e4SLinus Torvalds	bool "R4300"
14547cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1455ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1456ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
14571da177e4SLinus Torvalds	help
14581da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
14591da177e4SLinus Torvalds
14601da177e4SLinus Torvaldsconfig CPU_R4X00
14611da177e4SLinus Torvalds	bool "R4x00"
14627cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1463ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1464ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1465970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14661da177e4SLinus Torvalds	help
14671da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
14681da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
14691da177e4SLinus Torvalds
14701da177e4SLinus Torvaldsconfig CPU_TX49XX
14711da177e4SLinus Torvalds	bool "R49XX"
14727cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1473de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1474ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1475ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1476970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14771da177e4SLinus Torvalds
14781da177e4SLinus Torvaldsconfig CPU_R5000
14791da177e4SLinus Torvalds	bool "R5000"
14807cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1481ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1482ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1483970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14841da177e4SLinus Torvalds	help
14851da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
14861da177e4SLinus Torvalds
14871da177e4SLinus Torvaldsconfig CPU_R5432
14881da177e4SLinus Torvalds	bool "R5432"
14897cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
14905e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
14915e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1492970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14931da177e4SLinus Torvalds
1494542c1020SShinya Kuribayashiconfig CPU_R5500
1495542c1020SShinya Kuribayashi	bool "R5500"
1496542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1497542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1498542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
14999cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1500542c1020SShinya Kuribayashi	help
1501542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1502542c1020SShinya Kuribayashi	  instruction set.
1503542c1020SShinya Kuribayashi
15041da177e4SLinus Torvaldsconfig CPU_R6000
15051da177e4SLinus Torvalds	bool "R6000"
15067cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1507ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
15081da177e4SLinus Torvalds	help
15091da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1510c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
15111da177e4SLinus Torvalds
15121da177e4SLinus Torvaldsconfig CPU_NEVADA
15131da177e4SLinus Torvalds	bool "RM52xx"
15147cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1515ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1516ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1517970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
15181da177e4SLinus Torvalds	help
15191da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
15201da177e4SLinus Torvalds
15211da177e4SLinus Torvaldsconfig CPU_R8000
15221da177e4SLinus Torvalds	bool "R8000"
15237cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
15245e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1525ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
15261da177e4SLinus Torvalds	help
15271da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
15281da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
15291da177e4SLinus Torvalds
15301da177e4SLinus Torvaldsconfig CPU_R10000
15311da177e4SLinus Torvalds	bool "R10000"
15327cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
15335e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1534ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1535ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1536797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1537970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
15381da177e4SLinus Torvalds	help
15391da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
15401da177e4SLinus Torvalds
15411da177e4SLinus Torvaldsconfig CPU_RM7000
15421da177e4SLinus Torvalds	bool "RM7000"
15437cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
15445e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1545ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1546ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1547797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1548970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
15491da177e4SLinus Torvalds
15501da177e4SLinus Torvaldsconfig CPU_SB1
15511da177e4SLinus Torvalds	bool "SB1"
15527cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1553ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1554ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1555797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1556970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
15570004a9dfSRalf Baechle	select WEAK_ORDERING
15581da177e4SLinus Torvalds
1559a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1560a86c7f72SDavid Daney	bool "Cavium Octeon processor"
15615e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1562a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1563a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1564a86c7f72SDavid Daney	select WEAK_ORDERING
1565a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
15669cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
15679296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_MMIO
1568930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_7
1569a86c7f72SDavid Daney	help
1570a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1571a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1572a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1573a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1574a86c7f72SDavid Daney
1575cd746249SJonas Gorskiconfig CPU_BMIPS
1576cd746249SJonas Gorski	bool "Broadcom BMIPS"
1577cd746249SJonas Gorski	depends on SYS_HAS_CPU_BMIPS
1578cd746249SJonas Gorski	select CPU_MIPS32
1579fe7f62c0SJonas Gorski	select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300
1580cd746249SJonas Gorski	select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350
1581cd746249SJonas Gorski	select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380
1582cd746249SJonas Gorski	select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
1583cd746249SJonas Gorski	select CPU_SUPPORTS_32BIT_KERNEL
1584cd746249SJonas Gorski	select DMA_NONCOHERENT
1585cd746249SJonas Gorski	select IRQ_CPU
1586cd746249SJonas Gorski	select SWAP_IO_SPACE
1587cd746249SJonas Gorski	select WEAK_ORDERING
1588c1c0c461SKevin Cernekee	select CPU_SUPPORTS_HIGHMEM
158969aaf9c8SJonas Gorski	select CPU_HAS_PREFETCH
1590c1c0c461SKevin Cernekee	help
1591fe7f62c0SJonas Gorski	  Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
1592c1c0c461SKevin Cernekee
15937f058e85SJayachandran Cconfig CPU_XLR
15947f058e85SJayachandran C	bool "Netlogic XLR SoC"
15957f058e85SJayachandran C	depends on SYS_HAS_CPU_XLR
15967f058e85SJayachandran C	select CPU_SUPPORTS_32BIT_KERNEL
15977f058e85SJayachandran C	select CPU_SUPPORTS_64BIT_KERNEL
15987f058e85SJayachandran C	select CPU_SUPPORTS_HIGHMEM
1599970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
16007f058e85SJayachandran C	select WEAK_ORDERING
16017f058e85SJayachandran C	select WEAK_REORDERING_BEYOND_LLSC
16027f058e85SJayachandran C	help
16037f058e85SJayachandran C	  Netlogic Microsystems XLR/XLS processors.
16041c773ea4SJayachandran C
16051c773ea4SJayachandran Cconfig CPU_XLP
16061c773ea4SJayachandran C	bool "Netlogic XLP SoC"
16071c773ea4SJayachandran C	depends on SYS_HAS_CPU_XLP
16081c773ea4SJayachandran C	select CPU_SUPPORTS_32BIT_KERNEL
16091c773ea4SJayachandran C	select CPU_SUPPORTS_64BIT_KERNEL
16101c773ea4SJayachandran C	select CPU_SUPPORTS_HIGHMEM
16111c773ea4SJayachandran C	select WEAK_ORDERING
16121c773ea4SJayachandran C	select WEAK_REORDERING_BEYOND_LLSC
16131c773ea4SJayachandran C	select CPU_HAS_PREFETCH
1614d6504846SJayachandran C	select CPU_MIPSR2
16151c773ea4SJayachandran C	help
16161c773ea4SJayachandran C	  Netlogic Microsystems XLP processors.
16171da177e4SLinus Torvaldsendchoice
16181da177e4SLinus Torvalds
1619a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_FEATURES
1620a6e18781SLeonid Yegoshin	bool "MIPS32 Release 3.5 Features"
1621a6e18781SLeonid Yegoshin	depends on SYS_HAS_CPU_MIPS32_R3_5
16227fd08ca5SLeonid Yegoshin	depends on CPU_MIPS32_R2 || CPU_MIPS32_R6
1623a6e18781SLeonid Yegoshin	help
1624a6e18781SLeonid Yegoshin	  Choose this option to build a kernel for release 2 or later of the
1625a6e18781SLeonid Yegoshin	  MIPS32 architecture including features from the 3.5 release such as
1626a6e18781SLeonid Yegoshin	  support for Enhanced Virtual Addressing (EVA).
1627a6e18781SLeonid Yegoshin
1628a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_EVA
1629a6e18781SLeonid Yegoshin	bool "Enhanced Virtual Addressing (EVA)"
1630a6e18781SLeonid Yegoshin	depends on CPU_MIPS32_3_5_FEATURES
1631a6e18781SLeonid Yegoshin	select EVA
1632a6e18781SLeonid Yegoshin	default y
1633a6e18781SLeonid Yegoshin	help
1634a6e18781SLeonid Yegoshin	  Choose this option if you want to enable the Enhanced Virtual
1635a6e18781SLeonid Yegoshin	  Addressing (EVA) on your MIPS32 core (such as proAptiv).
1636a6e18781SLeonid Yegoshin	  One of its primary benefits is an increase in the maximum size
1637a6e18781SLeonid Yegoshin	  of lowmem (up to 3GB). If unsure, say 'N' here.
1638a6e18781SLeonid Yegoshin
1639622844bfSWu Zhangjinif CPU_LOONGSON2F
1640622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS
1641622844bfSWu Zhangjin	bool
1642622844bfSWu Zhangjin
1643622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS
1644622844bfSWu Zhangjin	bool
1645622844bfSWu Zhangjin
1646622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS
1647622844bfSWu Zhangjin	bool "Loongson 2F Workarounds"
1648622844bfSWu Zhangjin	default y
1649622844bfSWu Zhangjin	select CPU_NOP_WORKAROUNDS
1650622844bfSWu Zhangjin	select CPU_JUMP_WORKAROUNDS
1651622844bfSWu Zhangjin	help
1652622844bfSWu Zhangjin	  Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1653622844bfSWu Zhangjin	  require workarounds.  Without workarounds the system may hang
1654622844bfSWu Zhangjin	  unexpectedly.  For more information please refer to the gas
1655622844bfSWu Zhangjin	  -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1656622844bfSWu Zhangjin
1657622844bfSWu Zhangjin	  Loongson 2F03 and later have fixed these issues and no workarounds
1658622844bfSWu Zhangjin	  are needed.  The workarounds have no significant side effect on them
1659622844bfSWu Zhangjin	  but may decrease the performance of the system so this option should
1660622844bfSWu Zhangjin	  be disabled unless the kernel is intended to be run on 2F01 or 2F02
1661622844bfSWu Zhangjin	  systems.
1662622844bfSWu Zhangjin
1663622844bfSWu Zhangjin	  If unsure, please say Y.
1664622844bfSWu Zhangjinendif # CPU_LOONGSON2F
1665622844bfSWu Zhangjin
16661b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT
16671b93b3c3SWu Zhangjin	bool
16681b93b3c3SWu Zhangjin	select HAVE_KERNEL_GZIP
16691b93b3c3SWu Zhangjin	select HAVE_KERNEL_BZIP2
167031c4867dSFlorian Fainelli	select HAVE_KERNEL_LZ4
16711b93b3c3SWu Zhangjin	select HAVE_KERNEL_LZMA
1672fe1d45e0SWu Zhangjin	select HAVE_KERNEL_LZO
16734e23eb63SFlorian Fainelli	select HAVE_KERNEL_XZ
16741b93b3c3SWu Zhangjin
16751b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550
16761b93b3c3SWu Zhangjin	bool
16771b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
16781b93b3c3SWu Zhangjin
16793702bba5SWu Zhangjinconfig CPU_LOONGSON2
16803702bba5SWu Zhangjin	bool
16813702bba5SWu Zhangjin	select CPU_SUPPORTS_32BIT_KERNEL
16823702bba5SWu Zhangjin	select CPU_SUPPORTS_64BIT_KERNEL
16833702bba5SWu Zhangjin	select CPU_SUPPORTS_HIGHMEM
1684970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
16853702bba5SWu Zhangjin
1686ca585cf9SKelvin Cheungconfig CPU_LOONGSON1
1687ca585cf9SKelvin Cheung	bool
1688ca585cf9SKelvin Cheung	select CPU_MIPS32
1689ca585cf9SKelvin Cheung	select CPU_MIPSR2
1690ca585cf9SKelvin Cheung	select CPU_HAS_PREFETCH
1691ca585cf9SKelvin Cheung	select CPU_SUPPORTS_32BIT_KERNEL
1692ca585cf9SKelvin Cheung	select CPU_SUPPORTS_HIGHMEM
1693f29ad10dSKelvin Cheung	select CPU_SUPPORTS_CPUFREQ
1694ca585cf9SKelvin Cheung
1695fe7f62c0SJonas Gorskiconfig CPU_BMIPS32_3300
169604fa8bf7SJonas Gorski	select SMP_UP if SMP
16971bbb6c1bSKevin Cernekee	bool
1698cd746249SJonas Gorski
1699cd746249SJonas Gorskiconfig CPU_BMIPS4350
1700cd746249SJonas Gorski	bool
1701cd746249SJonas Gorski	select SYS_SUPPORTS_SMP
1702cd746249SJonas Gorski	select SYS_SUPPORTS_HOTPLUG_CPU
1703cd746249SJonas Gorski
1704cd746249SJonas Gorskiconfig CPU_BMIPS4380
1705cd746249SJonas Gorski	bool
1706bbf2ba67SKevin Cernekee	select MIPS_L1_CACHE_SHIFT_6
1707cd746249SJonas Gorski	select SYS_SUPPORTS_SMP
1708cd746249SJonas Gorski	select SYS_SUPPORTS_HOTPLUG_CPU
1709cd746249SJonas Gorski
1710cd746249SJonas Gorskiconfig CPU_BMIPS5000
1711cd746249SJonas Gorski	bool
1712cd746249SJonas Gorski	select MIPS_CPU_SCACHE
1713bbf2ba67SKevin Cernekee	select MIPS_L1_CACHE_SHIFT_7
1714cd746249SJonas Gorski	select SYS_SUPPORTS_SMP
1715cd746249SJonas Gorski	select SYS_SUPPORTS_HOTPLUG_CPU
17161bbb6c1bSKevin Cernekee
17170e476d91SHuacai Chenconfig SYS_HAS_CPU_LOONGSON3
17180e476d91SHuacai Chen	bool
17190e476d91SHuacai Chen	select CPU_SUPPORTS_CPUFREQ
17200e476d91SHuacai Chen
17213702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E
17222a21c730SFuxin Zhang	bool
17232a21c730SFuxin Zhang
17246f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F
17256f7a251aSWu Zhangjin	bool
172655045ff5SWu Zhangjin	select CPU_SUPPORTS_CPUFREQ
172755045ff5SWu Zhangjin	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
172822f1fdfdSWu Zhangjin	select CPU_SUPPORTS_UNCACHED_ACCELERATED
17296f7a251aSWu Zhangjin
1730ca585cf9SKelvin Cheungconfig SYS_HAS_CPU_LOONGSON1B
1731ca585cf9SKelvin Cheung	bool
1732ca585cf9SKelvin Cheung
17337cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
17347cf8053bSRalf Baechle	bool
17357cf8053bSRalf Baechle
17367cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
17377cf8053bSRalf Baechle	bool
17387cf8053bSRalf Baechle
1739a6e18781SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS32_R3_5
1740a6e18781SLeonid Yegoshin	bool
1741a6e18781SLeonid Yegoshin
17427fd08ca5SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS32_R6
17437fd08ca5SLeonid Yegoshin	bool
17447fd08ca5SLeonid Yegoshin
17457cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
17467cf8053bSRalf Baechle	bool
17477cf8053bSRalf Baechle
17487cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
17497cf8053bSRalf Baechle	bool
17507cf8053bSRalf Baechle
17517fd08ca5SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS64_R6
17527fd08ca5SLeonid Yegoshin	bool
17537fd08ca5SLeonid Yegoshin
17547cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
17557cf8053bSRalf Baechle	bool
17567cf8053bSRalf Baechle
17577cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
17587cf8053bSRalf Baechle	bool
17597cf8053bSRalf Baechle
17607cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
17617cf8053bSRalf Baechle	bool
17627cf8053bSRalf Baechle
17637cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
17647cf8053bSRalf Baechle	bool
17657cf8053bSRalf Baechle
17667cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
17677cf8053bSRalf Baechle	bool
17687cf8053bSRalf Baechle
17697cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
17707cf8053bSRalf Baechle	bool
17717cf8053bSRalf Baechle
17727cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
17737cf8053bSRalf Baechle	bool
17747cf8053bSRalf Baechle
17757cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
17767cf8053bSRalf Baechle	bool
17777cf8053bSRalf Baechle
1778542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1779542c1020SShinya Kuribayashi	bool
1780542c1020SShinya Kuribayashi
17817cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
17827cf8053bSRalf Baechle	bool
17837cf8053bSRalf Baechle
17847cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
17857cf8053bSRalf Baechle	bool
17867cf8053bSRalf Baechle
17877cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
17887cf8053bSRalf Baechle	bool
17897cf8053bSRalf Baechle
17907cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
17917cf8053bSRalf Baechle	bool
17927cf8053bSRalf Baechle
17937cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
17947cf8053bSRalf Baechle	bool
17957cf8053bSRalf Baechle
17967cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
17977cf8053bSRalf Baechle	bool
17987cf8053bSRalf Baechle
17995e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
18005e683389SDavid Daney	bool
18015e683389SDavid Daney
1802cd746249SJonas Gorskiconfig SYS_HAS_CPU_BMIPS
1803c1c0c461SKevin Cernekee	bool
1804c1c0c461SKevin Cernekee
1805fe7f62c0SJonas Gorskiconfig SYS_HAS_CPU_BMIPS32_3300
1806c1c0c461SKevin Cernekee	bool
1807cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1808c1c0c461SKevin Cernekee
1809c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4350
1810c1c0c461SKevin Cernekee	bool
1811cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1812c1c0c461SKevin Cernekee
1813c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4380
1814c1c0c461SKevin Cernekee	bool
1815cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1816c1c0c461SKevin Cernekee
1817c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS5000
1818c1c0c461SKevin Cernekee	bool
1819cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1820c1c0c461SKevin Cernekee
18217f058e85SJayachandran Cconfig SYS_HAS_CPU_XLR
18227f058e85SJayachandran C	bool
18237f058e85SJayachandran C
18241c773ea4SJayachandran Cconfig SYS_HAS_CPU_XLP
18251c773ea4SJayachandran C	bool
18261c773ea4SJayachandran C
1827b6911bbaSPaul Burtonconfig MIPS_MALTA_PM
1828b6911bbaSPaul Burton	depends on MIPS_MALTA
1829b6911bbaSPaul Burton	depends on PCI
1830b6911bbaSPaul Burton	bool
1831b6911bbaSPaul Burton	default y
1832b6911bbaSPaul Burton
183317099b11SRalf Baechle#
183417099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
183517099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
183617099b11SRalf Baechle#
18370004a9dfSRalf Baechleconfig WEAK_ORDERING
18380004a9dfSRalf Baechle	bool
183917099b11SRalf Baechle
184017099b11SRalf Baechle#
184117099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
184217099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
184317099b11SRalf Baechle#
184417099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
184517099b11SRalf Baechle	bool
18465e83d430SRalf Baechleendmenu
18475e83d430SRalf Baechle
18485e83d430SRalf Baechle#
18495e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
18505e83d430SRalf Baechle#
18515e83d430SRalf Baechleconfig CPU_MIPS32
18525e83d430SRalf Baechle	bool
18537fd08ca5SLeonid Yegoshin	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6
18545e83d430SRalf Baechle
18555e83d430SRalf Baechleconfig CPU_MIPS64
18565e83d430SRalf Baechle	bool
18577fd08ca5SLeonid Yegoshin	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6
18585e83d430SRalf Baechle
18595e83d430SRalf Baechle#
1860c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
18615e83d430SRalf Baechle#
18625e83d430SRalf Baechleconfig CPU_MIPSR1
18635e83d430SRalf Baechle	bool
18645e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
18655e83d430SRalf Baechle
18665e83d430SRalf Baechleconfig CPU_MIPSR2
18675e83d430SRalf Baechle	bool
1868a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
1869a7e07b1aSMarkos Chandras	select MIPS_SPRAM
18705e83d430SRalf Baechle
18717fd08ca5SLeonid Yegoshinconfig CPU_MIPSR6
18727fd08ca5SLeonid Yegoshin	bool
18737fd08ca5SLeonid Yegoshin	default y if CPU_MIPS32_R6 || CPU_MIPS64_R6
1874a7e07b1aSMarkos Chandras	select MIPS_SPRAM
18755e83d430SRalf Baechle
1876a6e18781SLeonid Yegoshinconfig EVA
1877a6e18781SLeonid Yegoshin	bool
1878a6e18781SLeonid Yegoshin
18795e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
18805e83d430SRalf Baechle	bool
18815e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
18825e83d430SRalf Baechle	bool
18835e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
18845e83d430SRalf Baechle	bool
18855e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
18865e83d430SRalf Baechle	bool
188755045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ
188855045ff5SWu Zhangjin	bool
188955045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG
189055045ff5SWu Zhangjin	bool
18919cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES
18929cffd154SDavid Daney	bool
189322f1fdfdSWu Zhangjinconfig CPU_SUPPORTS_UNCACHED_ACCELERATED
189422f1fdfdSWu Zhangjin	bool
189582622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT
189682622284SDavid Daney	bool
1897d6504846SJayachandran C	default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
18985e83d430SRalf Baechle
18998192c9eaSDavid Daney#
19008192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
19018192c9eaSDavid Daney#
19028192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
19038192c9eaSDavid Daney       bool
1904f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
19058192c9eaSDavid Daney
19065e83d430SRalf Baechlemenu "Kernel type"
19075e83d430SRalf Baechle
19085e83d430SRalf Baechlechoice
19095e83d430SRalf Baechle	prompt "Kernel code model"
19105e83d430SRalf Baechle	help
19115e83d430SRalf Baechle	  You should only select this option if you have a workload that
19125e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
19135e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
19145e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
19155e83d430SRalf Baechle
19165e83d430SRalf Baechleconfig 32BIT
19175e83d430SRalf Baechle	bool "32-bit kernel"
19185e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
19195e83d430SRalf Baechle	select TRAD_SIGNALS
19205e83d430SRalf Baechle	help
19215e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
19225e83d430SRalf Baechleconfig 64BIT
19235e83d430SRalf Baechle	bool "64-bit kernel"
19245e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
19255e83d430SRalf Baechle	help
19265e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
19275e83d430SRalf Baechle
19285e83d430SRalf Baechleendchoice
19295e83d430SRalf Baechle
19302235a54dSSanjay Lalconfig KVM_GUEST
19312235a54dSSanjay Lal	bool "KVM Guest Kernel"
1932f2a5b1d7SJames Hogan	depends on BROKEN_ON_SMP
19332235a54dSSanjay Lal	help
19342235a54dSSanjay Lal	  Select this option if building a guest kernel for KVM (Trap & Emulate) mode
19352235a54dSSanjay Lal
1936eda3d33cSJames Hoganconfig KVM_GUEST_TIMER_FREQ
1937eda3d33cSJames Hogan	int "Count/Compare Timer Frequency (MHz)"
19382235a54dSSanjay Lal	depends on KVM_GUEST
1939eda3d33cSJames Hogan	default 100
19402235a54dSSanjay Lal	help
1941eda3d33cSJames Hogan	  Set this to non-zero if building a guest kernel for KVM to skip RTC
1942eda3d33cSJames Hogan	  emulation when determining guest CPU Frequency. Instead, the guest's
1943eda3d33cSJames Hogan	  timer frequency is specified directly.
19442235a54dSSanjay Lal
19451da177e4SLinus Torvaldschoice
19461da177e4SLinus Torvalds	prompt "Kernel page size"
19471da177e4SLinus Torvalds	default PAGE_SIZE_4KB
19481da177e4SLinus Torvalds
19491da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
19501da177e4SLinus Torvalds	bool "4kB"
19510e476d91SHuacai Chen	depends on !CPU_LOONGSON2 && !CPU_LOONGSON3
19521da177e4SLinus Torvalds	help
19531da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
19541da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
19551da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
19561da177e4SLinus Torvalds	 recommended for low memory systems.
19571da177e4SLinus Torvalds
19581da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
19591da177e4SLinus Torvalds	bool "8kB"
19607d60717eSKees Cook	depends on CPU_R8000 || CPU_CAVIUM_OCTEON
19611da177e4SLinus Torvalds	help
19621da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
19631da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
1964c52399beSRalf Baechle	  only on R8000 and cnMIPS processors.  Note that you will need a
1965c52399beSRalf Baechle	  suitable Linux distribution to support this.
19661da177e4SLinus Torvalds
19671da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
19681da177e4SLinus Torvalds	bool "16kB"
1969714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
19701da177e4SLinus Torvalds	help
19711da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
19721da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1973714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1974714bfad6SRalf Baechle	  Linux distribution to support this.
19751da177e4SLinus Torvalds
1976c52399beSRalf Baechleconfig PAGE_SIZE_32KB
1977c52399beSRalf Baechle	bool "32kB"
1978c52399beSRalf Baechle	depends on CPU_CAVIUM_OCTEON
1979c52399beSRalf Baechle	help
1980c52399beSRalf Baechle	  Using 32kB page size will result in higher performance kernel at
1981c52399beSRalf Baechle	  the price of higher memory consumption.  This option is available
1982c52399beSRalf Baechle	  only on cnMIPS cores.  Note that you will need a suitable Linux
1983c52399beSRalf Baechle	  distribution to support this.
1984c52399beSRalf Baechle
19851da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
19861da177e4SLinus Torvalds	bool "64kB"
19877d60717eSKees Cook	depends on !CPU_R3000 && !CPU_TX39XX
19881da177e4SLinus Torvalds	help
19891da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
19901da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
19911da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1992714bfad6SRalf Baechle	  writing this option is still high experimental.
19931da177e4SLinus Torvalds
19941da177e4SLinus Torvaldsendchoice
19951da177e4SLinus Torvalds
1996c9bace7cSDavid Daneyconfig FORCE_MAX_ZONEORDER
1997c9bace7cSDavid Daney	int "Maximum zone order"
1998e4362d1eSAlex Smith	range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
1999e4362d1eSAlex Smith	default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
2000e4362d1eSAlex Smith	range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
2001e4362d1eSAlex Smith	default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
2002e4362d1eSAlex Smith	range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
2003e4362d1eSAlex Smith	default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
2004c9bace7cSDavid Daney	range 11 64
2005c9bace7cSDavid Daney	default "11"
2006c9bace7cSDavid Daney	help
2007c9bace7cSDavid Daney	  The kernel memory allocator divides physically contiguous memory
2008c9bace7cSDavid Daney	  blocks into "zones", where each zone is a power of two number of
2009c9bace7cSDavid Daney	  pages.  This option selects the largest power of two that the kernel
2010c9bace7cSDavid Daney	  keeps in the memory allocator.  If you need to allocate very large
2011c9bace7cSDavid Daney	  blocks of physically contiguous memory, then you may need to
2012c9bace7cSDavid Daney	  increase this value.
2013c9bace7cSDavid Daney
2014c9bace7cSDavid Daney	  This config option is actually maximum order plus one. For example,
2015c9bace7cSDavid Daney	  a value of 11 means that the largest free memory block is 2^10 pages.
2016c9bace7cSDavid Daney
2017c9bace7cSDavid Daney	  The page size is not necessarily 4KB.  Keep this in mind
2018c9bace7cSDavid Daney	  when choosing a value for this option.
2019c9bace7cSDavid Daney
20201da177e4SLinus Torvaldsconfig BOARD_SCACHE
20211da177e4SLinus Torvalds	bool
20221da177e4SLinus Torvalds
20231da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
20241da177e4SLinus Torvalds	bool
20251da177e4SLinus Torvalds	select BOARD_SCACHE
20261da177e4SLinus Torvalds
20279318c51aSChris Dearman#
20289318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
20299318c51aSChris Dearman#
20309318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
20319318c51aSChris Dearman	bool
20329318c51aSChris Dearman	select BOARD_SCACHE
20339318c51aSChris Dearman
20341da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
20351da177e4SLinus Torvalds	bool
20361da177e4SLinus Torvalds	select BOARD_SCACHE
20371da177e4SLinus Torvalds
20381da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
20391da177e4SLinus Torvalds	bool
20401da177e4SLinus Torvalds	select BOARD_SCACHE
20411da177e4SLinus Torvalds
20421da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
20431da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
20441da177e4SLinus Torvalds	depends on CPU_SB1
20451da177e4SLinus Torvalds	help
20461da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
20471da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
20481da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
20491da177e4SLinus Torvalds
20501da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
2051c8094b53SRalf Baechle	bool
20521da177e4SLinus Torvalds
20533165c846SFlorian Fainelliconfig CPU_GENERIC_DUMP_TLB
20543165c846SFlorian Fainelli	bool
20553165c846SFlorian Fainelli	default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
20563165c846SFlorian Fainelli
205791405eb6SFlorian Fainelliconfig CPU_R4K_FPU
205891405eb6SFlorian Fainelli	bool
205991405eb6SFlorian Fainelli	default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
206091405eb6SFlorian Fainelli
206162cedc4fSFlorian Fainelliconfig CPU_R4K_CACHE_TLB
206262cedc4fSFlorian Fainelli	bool
206362cedc4fSFlorian Fainelli	default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
206462cedc4fSFlorian Fainelli
206559d6ab86SRalf Baechleconfig MIPS_MT_SMP
2066a92b7f87SMarkos Chandras	bool "MIPS MT SMP support (1 TC on each available VPE)"
206759d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
206859d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
2069d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
2070c080faa5SSteven J. Hill	select SYNC_R4K
20710c2cb004SPaul Burton	select MIPS_GIC_IPI
207259d6ab86SRalf Baechle	select MIPS_MT
207359d6ab86SRalf Baechle	select SMP
207487353d8aSRalf Baechle	select SMP_UP
2075c080faa5SSteven J. Hill	select SYS_SUPPORTS_SMP
2076c080faa5SSteven J. Hill	select SYS_SUPPORTS_SCHED_SMT
2077399aaa25SAl Cooper	select MIPS_PERF_SHARED_TC_COUNTERS
207859d6ab86SRalf Baechle	help
2079c080faa5SSteven J. Hill	  This is a kernel model which is known as SMVP. This is supported
2080c080faa5SSteven J. Hill	  on cores with the MT ASE and uses the available VPEs to implement
2081c080faa5SSteven J. Hill	  virtual processors which supports SMP. This is equivalent to the
2082c080faa5SSteven J. Hill	  Intel Hyperthreading feature. For further information go to
2083c080faa5SSteven J. Hill	  <http://www.imgtec.com/mips/mips-multithreading.asp>.
208459d6ab86SRalf Baechle
2085f41ae0b2SRalf Baechleconfig MIPS_MT
2086f41ae0b2SRalf Baechle	bool
2087f41ae0b2SRalf Baechle
20880ab7aefcSRalf Baechleconfig SCHED_SMT
20890ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
20900ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
20910ab7aefcSRalf Baechle	default n
20920ab7aefcSRalf Baechle	help
20930ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
20940ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
20950ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
20960ab7aefcSRalf Baechle
20970ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
20980ab7aefcSRalf Baechle	bool
20990ab7aefcSRalf Baechle
2100f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
2101f41ae0b2SRalf Baechle	bool
2102f41ae0b2SRalf Baechle
2103f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
2104f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
2105f088fc84SRalf Baechle	default y
2106b633648cSRalf Baechle	depends on MIPS_MT_SMP
210707cc0c9eSRalf Baechle
2108b0a668fbSLeonid Yegoshinconfig MIPSR2_TO_R6_EMULATOR
2109b0a668fbSLeonid Yegoshin	bool "MIPS R2-to-R6 emulator"
2110b0a668fbSLeonid Yegoshin	depends on CPU_MIPSR6 && !SMP
2111b0a668fbSLeonid Yegoshin	default y
2112b0a668fbSLeonid Yegoshin	help
2113b0a668fbSLeonid Yegoshin	  Choose this option if you want to run non-R6 MIPS userland code.
2114b0a668fbSLeonid Yegoshin	  Even if you say 'Y' here, the emulator will still be disabled by
2115b0a668fbSLeonid Yegoshin	  default. You can enable it using the 'mipsr2emul' kernel option.
2116b0a668fbSLeonid Yegoshin	  The only reason this is a build-time option is to save ~14K from the
2117b0a668fbSLeonid Yegoshin	  final kernel image.
2118b0a668fbSLeonid Yegoshincomment "MIPS R2-to-R6 emulator is only available for UP kernels"
2119b0a668fbSLeonid Yegoshin	depends on SMP && CPU_MIPSR6
2120b0a668fbSLeonid Yegoshin
212107cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
212207cc0c9eSRalf Baechle	bool "VPE loader support."
2123704e6460SMarkos Chandras	depends on SYS_SUPPORTS_MULTITHREADING && MODULES
212407cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
212507cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
212607cc0c9eSRalf Baechle	select MIPS_MT
212707cc0c9eSRalf Baechle	help
212807cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
212907cc0c9eSRalf Baechle	  onto another VPE and running it.
2130f088fc84SRalf Baechle
213117a1d523SDeng-Cheng Zhuconfig MIPS_VPE_LOADER_CMP
213217a1d523SDeng-Cheng Zhu	bool
213317a1d523SDeng-Cheng Zhu	default "y"
213417a1d523SDeng-Cheng Zhu	depends on MIPS_VPE_LOADER && MIPS_CMP
213517a1d523SDeng-Cheng Zhu
21361a2a6d7eSDeng-Cheng Zhuconfig MIPS_VPE_LOADER_MT
21371a2a6d7eSDeng-Cheng Zhu	bool
21381a2a6d7eSDeng-Cheng Zhu	default "y"
21391a2a6d7eSDeng-Cheng Zhu	depends on MIPS_VPE_LOADER && !MIPS_CMP
21401a2a6d7eSDeng-Cheng Zhu
2141e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
2142e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
2143e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
2144e01402b1SRalf Baechle	default y
2145e01402b1SRalf Baechle	help
2146e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
2147e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
2148e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
2149e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
2150e01402b1SRalf Baechle
2151e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
2152e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
2153e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
21545e83d430SRalf Baechle	help
2155e01402b1SRalf Baechle
2156da615cf6SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_CMP
2157da615cf6SDeng-Cheng Zhu	bool
2158da615cf6SDeng-Cheng Zhu	default "y"
2159da615cf6SDeng-Cheng Zhu	depends on MIPS_VPE_APSP_API && MIPS_CMP
2160da615cf6SDeng-Cheng Zhu
21612c973ef0SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_MT
21622c973ef0SDeng-Cheng Zhu	bool
21632c973ef0SDeng-Cheng Zhu	default "y"
21642c973ef0SDeng-Cheng Zhu	depends on MIPS_VPE_APSP_API && !MIPS_CMP
21652c973ef0SDeng-Cheng Zhu
21664a16ff4cSRalf Baechleconfig MIPS_CMP
21675cac93b3SPaul Burton	bool "MIPS CMP framework support (DEPRECATED)"
2168b633648cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
216972e20142SPaul Burton	select MIPS_GIC_IPI
2170b10b43baSMarkos Chandras	select SMP
2171eb9b5141STim Anderson	select SYNC_R4K
2172b10b43baSMarkos Chandras	select SYS_SUPPORTS_SMP
21734a16ff4cSRalf Baechle	select WEAK_ORDERING
21744a16ff4cSRalf Baechle	default n
21754a16ff4cSRalf Baechle	help
2176044505c7SPaul Burton	  Select this if you are using a bootloader which implements the "CMP
2177044505c7SPaul Burton	  framework" protocol (ie. YAMON) and want your kernel to make use of
2178044505c7SPaul Burton	  its ability to start secondary CPUs.
21794a16ff4cSRalf Baechle
21805cac93b3SPaul Burton	  Unless you have a specific need, you should use CONFIG_MIPS_CPS
21815cac93b3SPaul Burton	  instead of this.
21825cac93b3SPaul Burton
21830ee958e1SPaul Burtonconfig MIPS_CPS
21840ee958e1SPaul Burton	bool "MIPS Coherent Processing System support"
21850ee958e1SPaul Burton	depends on SYS_SUPPORTS_MIPS_CPS
21860ee958e1SPaul Burton	select MIPS_CM
21870ee958e1SPaul Burton	select MIPS_CPC
21881d8f1f5aSPaul Burton	select MIPS_CPS_PM if HOTPLUG_CPU
21890ee958e1SPaul Burton	select MIPS_GIC_IPI
21900ee958e1SPaul Burton	select SMP
21910ee958e1SPaul Burton	select SYNC_R4K if (CEVT_R4K || CSRC_R4K)
21921d8f1f5aSPaul Burton	select SYS_SUPPORTS_HOTPLUG_CPU
21930ee958e1SPaul Burton	select SYS_SUPPORTS_SMP
21940ee958e1SPaul Burton	select WEAK_ORDERING
21950ee958e1SPaul Burton	help
21960ee958e1SPaul Burton	  Select this if you wish to run an SMP kernel across multiple cores
21970ee958e1SPaul Burton	  within a MIPS Coherent Processing System. When this option is
21980ee958e1SPaul Burton	  enabled the kernel will probe for other cores and boot them with
21990ee958e1SPaul Burton	  no external assistance. It is safe to enable this when hardware
22000ee958e1SPaul Burton	  support is unavailable.
22010ee958e1SPaul Burton
22023179d37eSPaul Burtonconfig MIPS_CPS_PM
220339a59593SMarkos Chandras	depends on MIPS_CPS
2204a8b84677SPaul Burton	select MIPS_CPC
22053179d37eSPaul Burton	bool
22063179d37eSPaul Burton
220772e20142SPaul Burtonconfig MIPS_GIC_IPI
220872e20142SPaul Burton	bool
220972e20142SPaul Burton
22109f98f3ddSPaul Burtonconfig MIPS_CM
22119f98f3ddSPaul Burton	bool
22129f98f3ddSPaul Burton
22139c38cf44SPaul Burtonconfig MIPS_CPC
22149c38cf44SPaul Burton	bool
22152600990eSRalf Baechle
22161da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
22171da177e4SLinus Torvalds	bool
22181da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
22191da177e4SLinus Torvalds	default y
22201da177e4SLinus Torvalds
22211da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
22221da177e4SLinus Torvalds	bool
22231da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
22241da177e4SLinus Torvalds	default y
22251da177e4SLinus Torvalds
22261da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
22271da177e4SLinus Torvalds	bool
22281da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
22291da177e4SLinus Torvalds	default y
22301da177e4SLinus Torvalds
22312235a54dSSanjay Lal
223260ec6571Spascal@pabr.orgconfig ARCH_PHYS_ADDR_T_64BIT
223334adb28dSRalf Baechle       bool
223460ec6571Spascal@pabr.org
22359e2b5372SMarkos Chandraschoice
22369e2b5372SMarkos Chandras	prompt "SmartMIPS or microMIPS ASE support"
22379e2b5372SMarkos Chandras
22389e2b5372SMarkos Chandrasconfig CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS
22399e2b5372SMarkos Chandras	bool "None"
22409e2b5372SMarkos Chandras	help
22419e2b5372SMarkos Chandras	  Select this if you want neither microMIPS nor SmartMIPS support
22429e2b5372SMarkos Chandras
22439693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
22449693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
22459e2b5372SMarkos Chandras	bool "SmartMIPS"
22469693a853SFranck Bui-Huu	help
22479693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
22489693a853SFranck Bui-Huu	  increased security at both hardware and software level for
22499693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
22509693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
22519693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
22529693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
22539693a853SFranck Bui-Huu	  here.
22549693a853SFranck Bui-Huu
2255bce86083SSteven J. Hillconfig CPU_MICROMIPS
22567fd08ca5SLeonid Yegoshin	depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6
22579e2b5372SMarkos Chandras	bool "microMIPS"
2258bce86083SSteven J. Hill	help
2259bce86083SSteven J. Hill	  When this option is enabled the kernel will be built using the
2260bce86083SSteven J. Hill	  microMIPS ISA
2261bce86083SSteven J. Hill
22629e2b5372SMarkos Chandrasendchoice
22639e2b5372SMarkos Chandras
2264a5e9a69eSPaul Burtonconfig CPU_HAS_MSA
22654af94d5dSPaul Burton	bool "Support for the MIPS SIMD Architecture (EXPERIMENTAL)"
2266a5e9a69eSPaul Burton	depends on CPU_SUPPORTS_MSA
22672a6cb669SPaul Burton	depends on 64BIT || MIPS_O32_FP64_SUPPORT
2268a5e9a69eSPaul Burton	help
2269a5e9a69eSPaul Burton	  MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers
2270a5e9a69eSPaul Burton	  and a set of SIMD instructions to operate on them. When this option
22711db1af84SPaul Burton	  is enabled the kernel will support allocating & switching MSA
22721db1af84SPaul Burton	  vector register contexts. If you know that your kernel will only be
22731db1af84SPaul Burton	  running on CPUs which do not support MSA or that your userland will
22741db1af84SPaul Burton	  not be making use of it then you may wish to say N here to reduce
22751db1af84SPaul Burton	  the size & complexity of your kernel.
2276a5e9a69eSPaul Burton
2277a5e9a69eSPaul Burton	  If unsure, say Y.
2278a5e9a69eSPaul Burton
22791da177e4SLinus Torvaldsconfig CPU_HAS_WB
2280f7062ddbSRalf Baechle	bool
2281e01402b1SRalf Baechle
2282df0ac8a4SKevin Cernekeeconfig XKS01
2283df0ac8a4SKevin Cernekee	bool
2284df0ac8a4SKevin Cernekee
2285f41ae0b2SRalf Baechle#
2286f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
2287f41ae0b2SRalf Baechle#
2288e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
2289f41ae0b2SRalf Baechle	bool
2290e01402b1SRalf Baechle
2291f41ae0b2SRalf Baechle#
2292f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
2293f41ae0b2SRalf Baechle#
2294e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
2295f41ae0b2SRalf Baechle	bool
2296e01402b1SRalf Baechle
22971da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
22981da177e4SLinus Torvalds	bool
22991da177e4SLinus Torvalds	depends on !CPU_R3000
23001da177e4SLinus Torvalds	default y
23011da177e4SLinus Torvalds
23021da177e4SLinus Torvalds#
230320d60d99SMaciej W. Rozycki# CPU non-features
230420d60d99SMaciej W. Rozycki#
230520d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
230620d60d99SMaciej W. Rozycki	bool
230720d60d99SMaciej W. Rozycki
230820d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
230920d60d99SMaciej W. Rozycki	bool
231020d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
231120d60d99SMaciej W. Rozycki
231220d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
231320d60d99SMaciej W. Rozycki	bool
231420d60d99SMaciej W. Rozycki
231520d60d99SMaciej W. Rozycki#
23161da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
23171da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
23181da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
23191da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
23201da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
23211da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
23221da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
23231da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
2324797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
2325797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
2326797798c1SRalf Baechle#   support.
23271da177e4SLinus Torvalds#
23281da177e4SLinus Torvaldsconfig HIGHMEM
23291da177e4SLinus Torvalds	bool "High Memory Support"
2330a6e18781SLeonid Yegoshin	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA
2331797798c1SRalf Baechle
2332797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
2333797798c1SRalf Baechle	bool
2334797798c1SRalf Baechle
2335797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
2336797798c1SRalf Baechle	bool
23371da177e4SLinus Torvalds
23389693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
23399693a853SFranck Bui-Huu	bool
23409693a853SFranck Bui-Huu
2341a6a4834cSSteven J. Hillconfig SYS_SUPPORTS_MICROMIPS
2342a6a4834cSSteven J. Hill	bool
2343a6a4834cSSteven J. Hill
2344377cb1b6SRalf Baechleconfig SYS_SUPPORTS_MIPS16
2345377cb1b6SRalf Baechle	bool
2346377cb1b6SRalf Baechle	help
2347377cb1b6SRalf Baechle	  This option must be set if a kernel might be executed on a MIPS16-
2348377cb1b6SRalf Baechle	  enabled CPU even if MIPS16 is not actually being used.  In other
2349377cb1b6SRalf Baechle	  words, it makes the kernel MIPS16-tolerant.
2350377cb1b6SRalf Baechle
2351a5e9a69eSPaul Burtonconfig CPU_SUPPORTS_MSA
2352a5e9a69eSPaul Burton	bool
2353a5e9a69eSPaul Burton
2354b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
2355b4819b59SYoichi Yuasa	def_bool y
2356f133f22dSWu Zhangjin	depends on !NUMA && !CPU_LOONGSON2
2357b4819b59SYoichi Yuasa
2358d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
2359d8cb4e11SRalf Baechle	bool
2360d8cb4e11SRalf Baechle	default y if SGI_IP27
2361d8cb4e11SRalf Baechle	help
23623dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
2363d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
2364d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
2365d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
2366d8cb4e11SRalf Baechle
2367b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
2368b1c6cd42SAtsushi Nemoto	bool
23697de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
237031473747SAtsushi Nemoto
2371d8cb4e11SRalf Baechleconfig NUMA
2372d8cb4e11SRalf Baechle	bool "NUMA Support"
2373d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
2374d8cb4e11SRalf Baechle	help
2375d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
2376d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
2377d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
2378d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
2379d8cb4e11SRalf Baechle	  disabled.
2380d8cb4e11SRalf Baechle
2381d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
2382d8cb4e11SRalf Baechle	bool
2383d8cb4e11SRalf Baechle
2384c80d79d7SYasunori Gotoconfig NODES_SHIFT
2385c80d79d7SYasunori Goto	int
2386c80d79d7SYasunori Goto	default "6"
2387c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
2388c80d79d7SYasunori Goto
238914f70012SDeng-Cheng Zhuconfig HW_PERF_EVENTS
239014f70012SDeng-Cheng Zhu	bool "Enable hardware performance counter support for perf events"
2391b633648cSRalf Baechle	depends on PERF_EVENTS && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP)
239214f70012SDeng-Cheng Zhu	default y
239314f70012SDeng-Cheng Zhu	help
239414f70012SDeng-Cheng Zhu	  Enable hardware performance counter support for perf events. If
239514f70012SDeng-Cheng Zhu	  disabled, perf events will use software events only.
239614f70012SDeng-Cheng Zhu
2397b4819b59SYoichi Yuasasource "mm/Kconfig"
2398b4819b59SYoichi Yuasa
23991da177e4SLinus Torvaldsconfig SMP
24001da177e4SLinus Torvalds	bool "Multi-Processing support"
2401e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
2402e73ea273SRalf Baechle	help
24031da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
24044a474157SRobert Graffham	  a system with only one CPU, say N. If you have a system with more
24054a474157SRobert Graffham	  than one CPU, say Y.
24061da177e4SLinus Torvalds
24074a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
24081da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
24091da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
24104a474157SRobert Graffham	  uniprocessor machines. On a uniprocessor machine, the kernel
24111da177e4SLinus Torvalds	  will run faster if you say N here.
24121da177e4SLinus Torvalds
24131da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
24141da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
24151da177e4SLinus Torvalds
241603502faaSAdrian Bunk	  See also the SMP-HOWTO available at
241703502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
24181da177e4SLinus Torvalds
24191da177e4SLinus Torvalds	  If you don't know what to do here, say N.
24201da177e4SLinus Torvalds
242187353d8aSRalf Baechleconfig SMP_UP
242287353d8aSRalf Baechle	bool
242387353d8aSRalf Baechle
24244a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
24254a16ff4cSRalf Baechle	bool
24264a16ff4cSRalf Baechle
24270ee958e1SPaul Burtonconfig SYS_SUPPORTS_MIPS_CPS
24280ee958e1SPaul Burton	bool
24290ee958e1SPaul Burton
2430e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
2431e73ea273SRalf Baechle	bool
2432e73ea273SRalf Baechle
2433130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
2434130e2fb7SRalf Baechle	bool
2435130e2fb7SRalf Baechle
2436130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
2437130e2fb7SRalf Baechle	bool
2438130e2fb7SRalf Baechle
2439130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
2440130e2fb7SRalf Baechle	bool
2441130e2fb7SRalf Baechle
2442130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
2443130e2fb7SRalf Baechle	bool
2444130e2fb7SRalf Baechle
2445130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
2446130e2fb7SRalf Baechle	bool
2447130e2fb7SRalf Baechle
24481da177e4SLinus Torvaldsconfig NR_CPUS
2449a91796a9SJayachandran C	int "Maximum number of CPUs (2-256)"
2450a91796a9SJayachandran C	range 2 256
24511da177e4SLinus Torvalds	depends on SMP
2452130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
2453130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
2454130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
2455130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
2456130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
24571da177e4SLinus Torvalds	help
24581da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
24591da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
24601da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
246172ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
246272ede9b1SAtsushi Nemoto	  and 2 for all others.
24631da177e4SLinus Torvalds
24641da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
246572ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
246672ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
246772ede9b1SAtsushi Nemoto	  power of two.
24681da177e4SLinus Torvalds
2469399aaa25SAl Cooperconfig MIPS_PERF_SHARED_TC_COUNTERS
2470399aaa25SAl Cooper	bool
2471399aaa25SAl Cooper
24721723b4a3SAtsushi Nemoto#
24731723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
24741723b4a3SAtsushi Nemoto#
24751723b4a3SAtsushi Nemoto
24761723b4a3SAtsushi Nemotochoice
24771723b4a3SAtsushi Nemoto	prompt "Timer frequency"
24781723b4a3SAtsushi Nemoto	default HZ_250
24791723b4a3SAtsushi Nemoto	help
24801723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
24811723b4a3SAtsushi Nemoto
24821723b4a3SAtsushi Nemoto	config HZ_48
24830f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
24841723b4a3SAtsushi Nemoto
24851723b4a3SAtsushi Nemoto	config HZ_100
24861723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
24871723b4a3SAtsushi Nemoto
24881723b4a3SAtsushi Nemoto	config HZ_128
24891723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
24901723b4a3SAtsushi Nemoto
24911723b4a3SAtsushi Nemoto	config HZ_250
24921723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
24931723b4a3SAtsushi Nemoto
24941723b4a3SAtsushi Nemoto	config HZ_256
24951723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
24961723b4a3SAtsushi Nemoto
24971723b4a3SAtsushi Nemoto	config HZ_1000
24981723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
24991723b4a3SAtsushi Nemoto
25001723b4a3SAtsushi Nemoto	config HZ_1024
25011723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
25021723b4a3SAtsushi Nemoto
25031723b4a3SAtsushi Nemotoendchoice
25041723b4a3SAtsushi Nemoto
25051723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
25061723b4a3SAtsushi Nemoto	bool
25071723b4a3SAtsushi Nemoto
25081723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
25091723b4a3SAtsushi Nemoto	bool
25101723b4a3SAtsushi Nemoto
25111723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
25121723b4a3SAtsushi Nemoto	bool
25131723b4a3SAtsushi Nemoto
25141723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
25151723b4a3SAtsushi Nemoto	bool
25161723b4a3SAtsushi Nemoto
25171723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
25181723b4a3SAtsushi Nemoto	bool
25191723b4a3SAtsushi Nemoto
25201723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
25211723b4a3SAtsushi Nemoto	bool
25221723b4a3SAtsushi Nemoto
25231723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
25241723b4a3SAtsushi Nemoto	bool
25251723b4a3SAtsushi Nemoto
25261723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
25271723b4a3SAtsushi Nemoto	bool
25281723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
25291723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
25301723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
25311723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
25321723b4a3SAtsushi Nemoto
25331723b4a3SAtsushi Nemotoconfig HZ
25341723b4a3SAtsushi Nemoto	int
25351723b4a3SAtsushi Nemoto	default 48 if HZ_48
25361723b4a3SAtsushi Nemoto	default 100 if HZ_100
25371723b4a3SAtsushi Nemoto	default 128 if HZ_128
25381723b4a3SAtsushi Nemoto	default 250 if HZ_250
25391723b4a3SAtsushi Nemoto	default 256 if HZ_256
25401723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
25411723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
25421723b4a3SAtsushi Nemoto
254396685b17SDeng-Cheng Zhuconfig SCHED_HRTICK
254496685b17SDeng-Cheng Zhu	def_bool HIGH_RES_TIMERS
254596685b17SDeng-Cheng Zhu
2546e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
25471da177e4SLinus Torvalds
2548ea6e942bSAtsushi Nemotoconfig KEXEC
25497d60717eSKees Cook	bool "Kexec system call"
2550ea6e942bSAtsushi Nemoto	help
2551ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
2552ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
25533dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
2554ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
2555ea6e942bSAtsushi Nemoto
255601dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
2557ea6e942bSAtsushi Nemoto
2558ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
2559ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
2560bf220695SGeert Uytterhoeven	  initially work for you.  As of this writing the exact hardware
2561bf220695SGeert Uytterhoeven	  interface is strongly in flux, so no good recommendation can be
2562bf220695SGeert Uytterhoeven	  made.
2563ea6e942bSAtsushi Nemoto
25647aa1c8f4SRalf Baechleconfig CRASH_DUMP
25657aa1c8f4SRalf Baechle	  bool "Kernel crash dumps"
25667aa1c8f4SRalf Baechle	  help
25677aa1c8f4SRalf Baechle	  Generate crash dump after being started by kexec.
25687aa1c8f4SRalf Baechle	  This should be normally only set in special crash dump kernels
25697aa1c8f4SRalf Baechle	  which are loaded in the main kernel with kexec-tools into
25707aa1c8f4SRalf Baechle	  a specially reserved region and then later executed after
25717aa1c8f4SRalf Baechle	  a crash by kdump/kexec. The crash dump kernel must be compiled
25727aa1c8f4SRalf Baechle	  to a memory address not used by the main kernel or firmware using
25737aa1c8f4SRalf Baechle	  PHYSICAL_START.
25747aa1c8f4SRalf Baechle
25757aa1c8f4SRalf Baechleconfig PHYSICAL_START
25767aa1c8f4SRalf Baechle	  hex "Physical address where the kernel is loaded"
25777aa1c8f4SRalf Baechle	  default "0xffffffff84000000" if 64BIT
25787aa1c8f4SRalf Baechle	  default "0x84000000" if 32BIT
25797aa1c8f4SRalf Baechle	  depends on CRASH_DUMP
25807aa1c8f4SRalf Baechle	  help
25817aa1c8f4SRalf Baechle	  This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
25827aa1c8f4SRalf Baechle	  If you plan to use kernel for capturing the crash dump change
25837aa1c8f4SRalf Baechle	  this value to start of the reserved region (the "X" value as
25847aa1c8f4SRalf Baechle	  specified in the "crashkernel=YM@XM" command line boot parameter
25857aa1c8f4SRalf Baechle	  passed to the panic-ed kernel).
25867aa1c8f4SRalf Baechle
2587ea6e942bSAtsushi Nemotoconfig SECCOMP
2588ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
2589293c5bd1SRalf Baechle	depends on PROC_FS
2590ea6e942bSAtsushi Nemoto	default y
2591ea6e942bSAtsushi Nemoto	help
2592ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
2593ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
2594ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
2595ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
2596ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
2597ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
2598ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
2599ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
2600ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
2601ea6e942bSAtsushi Nemoto
2602ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
2603ea6e942bSAtsushi Nemoto
2604597ce172SPaul Burtonconfig MIPS_O32_FP64_SUPPORT
260506e2e882SPaul Burton	bool "Support for O32 binaries using 64-bit FP (EXPERIMENTAL)"
2606597ce172SPaul Burton	depends on 32BIT || MIPS32_O32
2607597ce172SPaul Burton	help
2608597ce172SPaul Burton	  When this is enabled, the kernel will support use of 64-bit floating
2609597ce172SPaul Burton	  point registers with binaries using the O32 ABI along with the
2610597ce172SPaul Burton	  EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On
2611597ce172SPaul Burton	  32-bit MIPS systems this support is at the cost of increasing the
2612597ce172SPaul Burton	  size and complexity of the compiled FPU emulator. Thus if you are
2613597ce172SPaul Burton	  running a MIPS32 system and know that none of your userland binaries
2614597ce172SPaul Burton	  will require 64-bit floating point, you may wish to reduce the size
2615597ce172SPaul Burton	  of your kernel & potentially improve FP emulation performance by
2616597ce172SPaul Burton	  saying N here.
2617597ce172SPaul Burton
261806e2e882SPaul Burton	  Although binutils currently supports use of this flag the details
261906e2e882SPaul Burton	  concerning its effect upon the O32 ABI in userland are still being
262006e2e882SPaul Burton	  worked on. In order to avoid userland becoming dependant upon current
262106e2e882SPaul Burton	  behaviour before the details have been finalised, this option should
262206e2e882SPaul Burton	  be considered experimental and only enabled by those working upon
262306e2e882SPaul Burton	  said details.
262406e2e882SPaul Burton
262506e2e882SPaul Burton	  If unsure, say N.
2626597ce172SPaul Burton
2627f2ffa5abSDezhong Diaoconfig USE_OF
26280b3e06fdSJonas Gorski	bool
2629f2ffa5abSDezhong Diao	select OF
2630e6ce1324SStephen Neuendorffer	select OF_EARLY_FLATTREE
2631abd2363fSGrant Likely	select IRQ_DOMAIN
2632f2ffa5abSDezhong Diao
26337fafb068SAndrew Brestickerconfig BUILTIN_DTB
26347fafb068SAndrew Bresticker	bool
26357fafb068SAndrew Bresticker
26365e83d430SRalf Baechleendmenu
26375e83d430SRalf Baechle
26381df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
26391df0f0ffSAtsushi Nemoto	bool
26401df0f0ffSAtsushi Nemoto	default y
26411df0f0ffSAtsushi Nemoto
26421df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
26431df0f0ffSAtsushi Nemoto	bool
26441df0f0ffSAtsushi Nemoto	default y
26451df0f0ffSAtsushi Nemoto
2646b6c3539bSRalf Baechlesource "init/Kconfig"
2647b6c3539bSRalf Baechle
2648dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
2649dc52ddc0SMatt Helsley
26501da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
26511da177e4SLinus Torvalds
26525e83d430SRalf Baechleconfig HW_HAS_EISA
26535e83d430SRalf Baechle	bool
26541da177e4SLinus Torvaldsconfig HW_HAS_PCI
26551da177e4SLinus Torvalds	bool
26561da177e4SLinus Torvalds
26571da177e4SLinus Torvaldsconfig PCI
26581da177e4SLinus Torvalds	bool "Support for PCI controller"
26591da177e4SLinus Torvalds	depends on HW_HAS_PCI
2660abb4ae46SRalf Baechle	select PCI_DOMAINS
26610f3b3956SMichael S. Tsirkin	select NO_GENERIC_PCI_IOPORT_MAP
26621da177e4SLinus Torvalds	help
26631da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
26641da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
26651da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
26661da177e4SLinus Torvalds	  say Y, otherwise N.
26671da177e4SLinus Torvalds
26680e476d91SHuacai Chenconfig HT_PCI
26690e476d91SHuacai Chen	bool "Support for HT-linked PCI"
26700e476d91SHuacai Chen	default y
26710e476d91SHuacai Chen	depends on CPU_LOONGSON3
26720e476d91SHuacai Chen	select PCI
26730e476d91SHuacai Chen	select PCI_DOMAINS
26740e476d91SHuacai Chen	help
26750e476d91SHuacai Chen	  Loongson family machines use Hyper-Transport bus for inter-core
26760e476d91SHuacai Chen	  connection and device connection. The PCI bus is a subordinate
26770e476d91SHuacai Chen	  linked at HT. Choose Y for Loongson-3 based machines.
26780e476d91SHuacai Chen
26791da177e4SLinus Torvaldsconfig PCI_DOMAINS
26801da177e4SLinus Torvalds	bool
26811da177e4SLinus Torvalds
26821da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
26831da177e4SLinus Torvalds
26843f787ca4SJonas Gorskisource "drivers/pci/pcie/Kconfig"
26853f787ca4SJonas Gorski
26861da177e4SLinus Torvalds#
26871da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
26881da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
26891da177e4SLinus Torvalds# users to choose the right thing ...
26901da177e4SLinus Torvalds#
26911da177e4SLinus Torvaldsconfig ISA
26921da177e4SLinus Torvalds	bool
26931da177e4SLinus Torvalds
26941da177e4SLinus Torvaldsconfig EISA
26951da177e4SLinus Torvalds	bool "EISA support"
26965e83d430SRalf Baechle	depends on HW_HAS_EISA
26971da177e4SLinus Torvalds	select ISA
2698aa414dffSRalf Baechle	select GENERIC_ISA_DMA
26991da177e4SLinus Torvalds	---help---
27001da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
27011da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
27021da177e4SLinus Torvalds
27031da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
27041da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
27051da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
27061da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
27071da177e4SLinus Torvalds
27081da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
27091da177e4SLinus Torvalds
27101da177e4SLinus Torvalds	  Otherwise, say N.
27111da177e4SLinus Torvalds
27121da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
27131da177e4SLinus Torvalds
27141da177e4SLinus Torvaldsconfig TC
27151da177e4SLinus Torvalds	bool "TURBOchannel support"
27161da177e4SLinus Torvalds	depends on MACH_DECSTATION
27171da177e4SLinus Torvalds	help
271850a23e6eSJustin P. Mattock	  TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
271950a23e6eSJustin P. Mattock	  processors.  TURBOchannel programming specifications are available
272050a23e6eSJustin P. Mattock	  at:
272150a23e6eSJustin P. Mattock	  <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
272250a23e6eSJustin P. Mattock	  and:
272350a23e6eSJustin P. Mattock	  <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
272450a23e6eSJustin P. Mattock	  Linux driver support status is documented at:
272550a23e6eSJustin P. Mattock	  <http://www.linux-mips.org/wiki/DECstation>
27261da177e4SLinus Torvalds
27271da177e4SLinus Torvaldsconfig MMU
27281da177e4SLinus Torvalds	bool
27291da177e4SLinus Torvalds	default y
27301da177e4SLinus Torvalds
2731d865bea4SRalf Baechleconfig I8253
2732d865bea4SRalf Baechle	bool
2733798778b8SRussell King	select CLKSRC_I8253
27342d02612fSThomas Gleixner	select CLKEVT_I8253
27359726b43aSWu Zhangjin	select MIPS_EXTERNAL_TIMER
2736d865bea4SRalf Baechle
2737e05eb3f8SRalf Baechleconfig ZONE_DMA
2738e05eb3f8SRalf Baechle	bool
2739e05eb3f8SRalf Baechle
2740cce335aeSRalf Baechleconfig ZONE_DMA32
2741cce335aeSRalf Baechle	bool
2742cce335aeSRalf Baechle
27431da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
27441da177e4SLinus Torvalds
27451da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
27461da177e4SLinus Torvalds
2747388b78adSAlexandre Bounineconfig RAPIDIO
274856abde72SAlexandre Bounine	tristate "RapidIO support"
2749388b78adSAlexandre Bounine	depends on PCI
2750388b78adSAlexandre Bounine	default n
2751388b78adSAlexandre Bounine	help
2752388b78adSAlexandre Bounine	  If you say Y here, the kernel will include drivers and
2753388b78adSAlexandre Bounine	  infrastructure code to support RapidIO interconnect devices.
2754388b78adSAlexandre Bounine
2755388b78adSAlexandre Bouninesource "drivers/rapidio/Kconfig"
2756388b78adSAlexandre Bounine
27571da177e4SLinus Torvaldsendmenu
27581da177e4SLinus Torvalds
27591da177e4SLinus Torvaldsmenu "Executable file formats"
27601da177e4SLinus Torvalds
27611da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
27621da177e4SLinus Torvalds
27631da177e4SLinus Torvaldsconfig TRAD_SIGNALS
27641da177e4SLinus Torvalds	bool
27651da177e4SLinus Torvalds
27661da177e4SLinus Torvaldsconfig MIPS32_COMPAT
276778aaf956SRalf Baechle	bool
27681da177e4SLinus Torvalds
27691da177e4SLinus Torvaldsconfig COMPAT
27701da177e4SLinus Torvalds	bool
27711da177e4SLinus Torvalds
277205e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
277305e43966SAtsushi Nemoto	bool
277405e43966SAtsushi Nemoto
27751da177e4SLinus Torvaldsconfig MIPS32_O32
27761da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
277778aaf956SRalf Baechle	depends on 64BIT
277878aaf956SRalf Baechle	select ARCH_WANT_OLD_COMPAT_IPC
277978aaf956SRalf Baechle	select COMPAT
278078aaf956SRalf Baechle	select MIPS32_COMPAT
278178aaf956SRalf Baechle	select SYSVIPC_COMPAT if SYSVIPC
27821da177e4SLinus Torvalds	help
27831da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
27841da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
27851da177e4SLinus Torvalds	  existing binaries are in this format.
27861da177e4SLinus Torvalds
27871da177e4SLinus Torvalds	  If unsure, say Y.
27881da177e4SLinus Torvalds
27891da177e4SLinus Torvaldsconfig MIPS32_N32
27901da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
2791c22eacfeSRalf Baechle	depends on 64BIT
279278aaf956SRalf Baechle	select COMPAT
279378aaf956SRalf Baechle	select MIPS32_COMPAT
279478aaf956SRalf Baechle	select SYSVIPC_COMPAT if SYSVIPC
27951da177e4SLinus Torvalds	help
27961da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
27971da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
27981da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
27991da177e4SLinus Torvalds	  cases.
28001da177e4SLinus Torvalds
28011da177e4SLinus Torvalds	  If unsure, say N.
28021da177e4SLinus Torvalds
28031da177e4SLinus Torvaldsconfig BINFMT_ELF32
28041da177e4SLinus Torvalds	bool
28051da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
28061da177e4SLinus Torvalds
28072116245eSRalf Baechleendmenu
28081da177e4SLinus Torvalds
28092116245eSRalf Baechlemenu "Power management options"
2810952fa954SRodolfo Giometti
2811363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE
2812363c55caSWu Zhangjin	def_bool y
28133f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2814363c55caSWu Zhangjin
2815f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2816f4cb5700SJohannes Berg	def_bool y
28173f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2818f4cb5700SJohannes Berg
28192116245eSRalf Baechlesource "kernel/power/Kconfig"
2820952fa954SRodolfo Giometti
28211da177e4SLinus Torvaldsendmenu
28221da177e4SLinus Torvalds
28237a998935SViresh Kumarconfig MIPS_EXTERNAL_TIMER
28247a998935SViresh Kumar	bool
28257a998935SViresh Kumar
28267a998935SViresh Kumarmenu "CPU Power Management"
2827c095ebafSPaul Burton
2828c095ebafSPaul Burtonif CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
28297a998935SViresh Kumarsource "drivers/cpufreq/Kconfig"
28307a998935SViresh Kumarendif
28319726b43aSWu Zhangjin
2832c095ebafSPaul Burtonsource "drivers/cpuidle/Kconfig"
2833c095ebafSPaul Burton
2834c095ebafSPaul Burtonendmenu
2835c095ebafSPaul Burton
2836d5950b43SSam Ravnborgsource "net/Kconfig"
2837d5950b43SSam Ravnborg
28381da177e4SLinus Torvaldssource "drivers/Kconfig"
28391da177e4SLinus Torvalds
284098cdee0eSRalf Baechlesource "drivers/firmware/Kconfig"
284198cdee0eSRalf Baechle
28421da177e4SLinus Torvaldssource "fs/Kconfig"
28431da177e4SLinus Torvalds
28441da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
28451da177e4SLinus Torvalds
28461da177e4SLinus Torvaldssource "security/Kconfig"
28471da177e4SLinus Torvalds
28481da177e4SLinus Torvaldssource "crypto/Kconfig"
28491da177e4SLinus Torvalds
28501da177e4SLinus Torvaldssource "lib/Kconfig"
28512235a54dSSanjay Lal
28522235a54dSSanjay Lalsource "arch/mips/kvm/Kconfig"
2853