xref: /linux/arch/mips/Kconfig (revision cbfb3ea7f8c8da2e12d6d5aeca6d483de4297427)
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
46cde1794bSAnna-Maria Gleixner	select GENERIC_CMOS_UPDATE
47786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
484febd95aSStephen Rothwell	select VIRT_TO_BUS
492f12fb20SJoshua Kinard	select MODULES_USE_ELF_REL if MODULES
502f12fb20SJoshua Kinard	select MODULES_USE_ELF_RELA if MODULES && 64BIT
5150150d2bSAl Viro	select CLONE_BACKWARDS
52d1a1dc0bSDave Hansen	select HAVE_DEBUG_STACKOVERFLOW
5319952a92SKees Cook	select HAVE_CC_STACKPROTECTOR
54b1d4c6caSJames Hogan	select CPU_PM if CPU_IDLE
55cc7964afSPaul Burton	select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
5690cee759SPaul Burton	select ARCH_BINFMT_ELF_STATE
57d79d853dSMarkos Chandras	select SYSCTL_EXCEPTION_TRACE
581da177e4SLinus Torvalds
591da177e4SLinus Torvaldsmenu "Machine selection"
601da177e4SLinus Torvalds
615e83d430SRalf Baechlechoice
625e83d430SRalf Baechle	prompt "System type"
635e83d430SRalf Baechle	default SGI_IP22
641da177e4SLinus Torvalds
6542a4f17dSManuel Laussconfig MIPS_ALCHEMY
66c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
6734adb28dSRalf Baechle	select ARCH_PHYS_ADDR_T_64BIT
68f772cdb2SRalf Baechle	select CEVT_R4K
69d7ea335cSSteven J. Hill	select CSRC_R4K
7042a4f17dSManuel Lauss	select IRQ_CPU
7188e9a93cSManuel Lauss	select DMA_MAYBE_COHERENT	# Au1000,1500,1100 aren't, rest is
7242a4f17dSManuel Lauss	select SYS_HAS_CPU_MIPS32_R1
7342a4f17dSManuel Lauss	select SYS_SUPPORTS_32BIT_KERNEL
7442a4f17dSManuel Lauss	select SYS_SUPPORTS_APM_EMULATION
75efb12436SAlexandre Courbot	select ARCH_REQUIRE_GPIOLIB
761b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
7747440229SManuel Lauss	select COMMON_CLK
781da177e4SLinus Torvalds
797ca5dc14SFlorian Fainelliconfig AR7
807ca5dc14SFlorian Fainelli	bool "Texas Instruments AR7"
817ca5dc14SFlorian Fainelli	select BOOT_ELF32
827ca5dc14SFlorian Fainelli	select DMA_NONCOHERENT
837ca5dc14SFlorian Fainelli	select CEVT_R4K
847ca5dc14SFlorian Fainelli	select CSRC_R4K
857ca5dc14SFlorian Fainelli	select IRQ_CPU
867ca5dc14SFlorian Fainelli	select NO_EXCEPT_FILL
877ca5dc14SFlorian Fainelli	select SWAP_IO_SPACE
887ca5dc14SFlorian Fainelli	select SYS_HAS_CPU_MIPS32_R1
897ca5dc14SFlorian Fainelli	select SYS_HAS_EARLY_PRINTK
907ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_32BIT_KERNEL
917ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_LITTLE_ENDIAN
92377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
931b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT_UART16550
945f3c9098SFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
957ca5dc14SFlorian Fainelli	select VLYNQ
968551fb64SYoichi Yuasa	select HAVE_CLK
977ca5dc14SFlorian Fainelli	help
987ca5dc14SFlorian Fainelli	  Support for the Texas Instruments AR7 System-on-a-Chip
997ca5dc14SFlorian Fainelli	  family: TNETD7100, 7200 and 7300.
1007ca5dc14SFlorian Fainelli
10143cc739fSSergey Ryazanovconfig ATH25
10243cc739fSSergey Ryazanov	bool "Atheros AR231x/AR531x SoC support"
10343cc739fSSergey Ryazanov	select CEVT_R4K
10443cc739fSSergey Ryazanov	select CSRC_R4K
10543cc739fSSergey Ryazanov	select DMA_NONCOHERENT
10643cc739fSSergey Ryazanov	select IRQ_CPU
1071753e74eSSergey Ryazanov	select IRQ_DOMAIN
10843cc739fSSergey Ryazanov	select SYS_HAS_CPU_MIPS32_R1
10943cc739fSSergey Ryazanov	select SYS_SUPPORTS_BIG_ENDIAN
11043cc739fSSergey Ryazanov	select SYS_SUPPORTS_32BIT_KERNEL
1118aaa7278SSergey Ryazanov	select SYS_HAS_EARLY_PRINTK
11243cc739fSSergey Ryazanov	help
11343cc739fSSergey Ryazanov	  Support for Atheros AR231x and Atheros AR531x based boards
11443cc739fSSergey Ryazanov
115d4a67d9dSGabor Juhosconfig ATH79
116d4a67d9dSGabor Juhos	bool "Atheros AR71XX/AR724X/AR913X based boards"
1176eae43c5SGabor Juhos	select ARCH_REQUIRE_GPIOLIB
118d4a67d9dSGabor Juhos	select BOOT_RAW
119d4a67d9dSGabor Juhos	select CEVT_R4K
120d4a67d9dSGabor Juhos	select CSRC_R4K
121d4a67d9dSGabor Juhos	select DMA_NONCOHERENT
12294638067SGabor Juhos	select HAVE_CLK
1232c4f1ac5SGabor Juhos	select CLKDEV_LOOKUP
124d4a67d9dSGabor Juhos	select IRQ_CPU
1250aabf1a4SGabor Juhos	select MIPS_MACHINE
126d4a67d9dSGabor Juhos	select SYS_HAS_CPU_MIPS32_R2
127d4a67d9dSGabor Juhos	select SYS_HAS_EARLY_PRINTK
128d4a67d9dSGabor Juhos	select SYS_SUPPORTS_32BIT_KERNEL
129d4a67d9dSGabor Juhos	select SYS_SUPPORTS_BIG_ENDIAN
130377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
131d4a67d9dSGabor Juhos	help
132d4a67d9dSGabor Juhos	  Support for the Atheros AR71XX/AR724X/AR913X SoCs.
133d4a67d9dSGabor Juhos
134d666cd02SKevin Cernekeeconfig BCM3384
135d666cd02SKevin Cernekee	bool "Broadcom BCM3384 based boards"
136d666cd02SKevin Cernekee	select BOOT_RAW
137d666cd02SKevin Cernekee	select NO_EXCEPT_FILL
138d666cd02SKevin Cernekee	select USE_OF
139d666cd02SKevin Cernekee	select CEVT_R4K
140d666cd02SKevin Cernekee	select CSRC_R4K
141d666cd02SKevin Cernekee	select SYNC_R4K
142d666cd02SKevin Cernekee	select COMMON_CLK
143d666cd02SKevin Cernekee	select DMA_NONCOHERENT
144d666cd02SKevin Cernekee	select IRQ_CPU
145d666cd02SKevin Cernekee	select SYS_SUPPORTS_32BIT_KERNEL
146d666cd02SKevin Cernekee	select SYS_SUPPORTS_BIG_ENDIAN
147d666cd02SKevin Cernekee	select SYS_SUPPORTS_HIGHMEM
148d666cd02SKevin Cernekee	select SYS_HAS_CPU_BMIPS5000
149d666cd02SKevin Cernekee	select SWAP_IO_SPACE
150d666cd02SKevin Cernekee	select USB_EHCI_BIG_ENDIAN_DESC
151d666cd02SKevin Cernekee	select USB_EHCI_BIG_ENDIAN_MMIO
152d666cd02SKevin Cernekee	select USB_OHCI_BIG_ENDIAN_DESC
153d666cd02SKevin Cernekee	select USB_OHCI_BIG_ENDIAN_MMIO
154d666cd02SKevin Cernekee	help
155d666cd02SKevin Cernekee	  Support for BCM3384 based boards.  BCM3384/BCM33843 is a cable modem
156d666cd02SKevin Cernekee	  chipset with a Linux application processor that is often used to
157d666cd02SKevin Cernekee	  provide Samba services, a CUPS print server, and/or advanced routing
158d666cd02SKevin Cernekee	  features.
159d666cd02SKevin Cernekee
1601c0c13ebSAurelien Jarnoconfig BCM47XX
161c619366eSFlorian Fainelli	bool "Broadcom BCM47XX based boards"
1622da4c74dSHauke Mehrtens	select ARCH_WANT_OPTIONAL_GPIOLIB
163fe08f8c2SHauke Mehrtens	select BOOT_RAW
16442f77542SRalf Baechle	select CEVT_R4K
165940f6b48SRalf Baechle	select CSRC_R4K
1661c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
1671c0c13ebSAurelien Jarno	select HW_HAS_PCI
1681c0c13ebSAurelien Jarno	select IRQ_CPU
169314878d2SMarkos Chandras	select SYS_HAS_CPU_MIPS32_R1
170dd54deddSHauke Mehrtens	select NO_EXCEPT_FILL
1711c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
1721c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
173377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
17425e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
175e6086557SRalf Baechle	select USE_GENERIC_EARLY_PRINTK_8250
176c949c0bcSRafał Miłecki	select GPIOLIB
177c949c0bcSRafał Miłecki	select LEDS_GPIO_REGISTER
1781c0c13ebSAurelien Jarno	help
1791c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
1801c0c13ebSAurelien Jarno
181e7300d04SMaxime Bizonconfig BCM63XX
182e7300d04SMaxime Bizon	bool "Broadcom BCM63XX based boards"
183ae8de61cSFlorian Fainelli	select BOOT_RAW
184e7300d04SMaxime Bizon	select CEVT_R4K
185e7300d04SMaxime Bizon	select CSRC_R4K
186fc264022SJonas Gorski	select SYNC_R4K
187e7300d04SMaxime Bizon	select DMA_NONCOHERENT
188e7300d04SMaxime Bizon	select IRQ_CPU
189e7300d04SMaxime Bizon	select SYS_SUPPORTS_32BIT_KERNEL
190e7300d04SMaxime Bizon	select SYS_SUPPORTS_BIG_ENDIAN
191e7300d04SMaxime Bizon	select SYS_HAS_EARLY_PRINTK
192e7300d04SMaxime Bizon	select SWAP_IO_SPACE
193e7300d04SMaxime Bizon	select ARCH_REQUIRE_GPIOLIB
1943e82eeebSYoichi Yuasa	select HAVE_CLK
195af2418beSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_4
196e7300d04SMaxime Bizon	help
197e7300d04SMaxime Bizon	 Support for BCM63XX based boards
198e7300d04SMaxime Bizon
1991da177e4SLinus Torvaldsconfig MIPS_COBALT
2003fa986faSMartin Michlmayr	bool "Cobalt Server"
20142f77542SRalf Baechle	select CEVT_R4K
202940f6b48SRalf Baechle	select CSRC_R4K
2031097c6acSYoichi Yuasa	select CEVT_GT641XX
2041da177e4SLinus Torvalds	select DMA_NONCOHERENT
2051da177e4SLinus Torvalds	select HW_HAS_PCI
206d865bea4SRalf Baechle	select I8253
2071da177e4SLinus Torvalds	select I8259
2081da177e4SLinus Torvalds	select IRQ_CPU
209d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
210252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
211e25bfc92SYoichi Yuasa	select PCI
2127cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2130a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
214ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2150e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
2165e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
217e6086557SRalf Baechle	select USE_GENERIC_EARLY_PRINTK_8250
2181da177e4SLinus Torvalds
2191da177e4SLinus Torvaldsconfig MACH_DECSTATION
2203fa986faSMartin Michlmayr	bool "DECstations"
2211da177e4SLinus Torvalds	select BOOT_ELF32
2226457d9fcSYoichi Yuasa	select CEVT_DS1287
22381d10badSMaciej W. Rozycki	select CEVT_R4K if CPU_R4X00
2244247417dSYoichi Yuasa	select CSRC_IOASIC
22581d10badSMaciej W. Rozycki	select CSRC_R4K if CPU_R4X00
22620d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
22720d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
22820d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
2291da177e4SLinus Torvalds	select DMA_NONCOHERENT
230ce816fa8SUwe Kleine-König	select NO_IOPORT_MAP
2311da177e4SLinus Torvalds	select IRQ_CPU
2327cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
2337cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
234ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2357d60717eSKees Cook	select SYS_SUPPORTS_64BIT_KERNEL
2365e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2371723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
2381723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
2391723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
240930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_4
2415e83d430SRalf Baechle	help
2421da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
2431da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
2441da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
2451da177e4SLinus Torvalds
2461da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
2471da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
2481da177e4SLinus Torvalds
2491da177e4SLinus Torvalds		DECstation 5000/50
2501da177e4SLinus Torvalds		DECstation 5000/150
2511da177e4SLinus Torvalds		DECstation 5000/260
2521da177e4SLinus Torvalds		DECsystem 5900/260
2531da177e4SLinus Torvalds
2541da177e4SLinus Torvalds	  otherwise choose R3000.
2551da177e4SLinus Torvalds
2565e83d430SRalf Baechleconfig MACH_JAZZ
2573fa986faSMartin Michlmayr	bool "Jazz family of machines"
2580e2794b0SRalf Baechle	select FW_ARC
2590e2794b0SRalf Baechle	select FW_ARC32
2605e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
26142f77542SRalf Baechle	select CEVT_R4K
262940f6b48SRalf Baechle	select CSRC_R4K
263e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
2645e83d430SRalf Baechle	select GENERIC_ISA_DMA
2658a118c38SRalf Baechle	select HAVE_PCSPKR_PLATFORM
266ea202c63SThomas Bogendoerfer	select IRQ_CPU
267d865bea4SRalf Baechle	select I8253
2685e83d430SRalf Baechle	select I8259
2695e83d430SRalf Baechle	select ISA
2707cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
2715e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
2727d60717eSKees Cook	select SYS_SUPPORTS_64BIT_KERNEL
2731723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
2741da177e4SLinus Torvalds	help
2755e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
2765e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
277692105b8SMatt LaPlante	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
2785e83d430SRalf Baechle	 Olivetti M700-10 workstations.
2795e83d430SRalf Baechle
2805ebabe59SLars-Peter Clausenconfig MACH_JZ4740
2815ebabe59SLars-Peter Clausen	bool "Ingenic JZ4740 based machines"
2825ebabe59SLars-Peter Clausen	select SYS_HAS_CPU_MIPS32_R1
2835ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_32BIT_KERNEL
2845ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_LITTLE_ENDIAN
285f9c9affcSLluís Batlle i Rossell	select SYS_SUPPORTS_ZBOOT_UART16550
2865ebabe59SLars-Peter Clausen	select DMA_NONCOHERENT
2875ebabe59SLars-Peter Clausen	select IRQ_CPU
2885ebabe59SLars-Peter Clausen	select ARCH_REQUIRE_GPIOLIB
2895ebabe59SLars-Peter Clausen	select SYS_HAS_EARLY_PRINTK
290ab5330ebSMaurus Cuelenaere	select HAVE_CLK
29183bc7692SLars-Peter Clausen	select GENERIC_IRQ_CHIP
2925ebabe59SLars-Peter Clausen
293171bb2f1SJohn Crispinconfig LANTIQ
294171bb2f1SJohn Crispin	bool "Lantiq based platforms"
295171bb2f1SJohn Crispin	select DMA_NONCOHERENT
296171bb2f1SJohn Crispin	select IRQ_CPU
297171bb2f1SJohn Crispin	select CEVT_R4K
298171bb2f1SJohn Crispin	select CSRC_R4K
299171bb2f1SJohn Crispin	select SYS_HAS_CPU_MIPS32_R1
300171bb2f1SJohn Crispin	select SYS_HAS_CPU_MIPS32_R2
301171bb2f1SJohn Crispin	select SYS_SUPPORTS_BIG_ENDIAN
302171bb2f1SJohn Crispin	select SYS_SUPPORTS_32BIT_KERNEL
303377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
304171bb2f1SJohn Crispin	select SYS_SUPPORTS_MULTITHREADING
305171bb2f1SJohn Crispin	select SYS_HAS_EARLY_PRINTK
306171bb2f1SJohn Crispin	select ARCH_REQUIRE_GPIOLIB
307171bb2f1SJohn Crispin	select SWAP_IO_SPACE
308171bb2f1SJohn Crispin	select BOOT_RAW
309287e3f3fSJohn Crispin	select HAVE_MACH_CLKDEV
310287e3f3fSJohn Crispin	select CLKDEV_LOOKUP
311a0392222SJohn Crispin	select USE_OF
3123f8c50c9SJohn Crispin	select PINCTRL
3133f8c50c9SJohn Crispin	select PINCTRL_LANTIQ
314c530781cSJohn Crispin	select ARCH_HAS_RESET_CONTROLLER
315c530781cSJohn Crispin	select RESET_CONTROLLER
316171bb2f1SJohn Crispin
3171f21d2bdSBrian Murphyconfig LASAT
3181f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
31942f77542SRalf Baechle	select CEVT_R4K
32016f0bbbcSRalf Baechle	select CRC32
321940f6b48SRalf Baechle	select CSRC_R4K
3221f21d2bdSBrian Murphy	select DMA_NONCOHERENT
3231f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
3241f21d2bdSBrian Murphy	select HW_HAS_PCI
325a5ccfe5cSRalf Baechle	select IRQ_CPU
3261f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
3271f21d2bdSBrian Murphy	select MIPS_NILE4
3281f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
3291f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
3301f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
3311f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
3321f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
3331f21d2bdSBrian Murphy
33485749d24SWu Zhangjinconfig MACH_LOONGSON
33585749d24SWu Zhangjin	bool "Loongson family of machines"
336c7e8c668SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
337ade299d8SYoichi Yuasa	help
33885749d24SWu Zhangjin	  This enables the support of Loongson family of machines.
33985749d24SWu Zhangjin
34085749d24SWu Zhangjin	  Loongson is a family of general-purpose MIPS-compatible CPUs.
34185749d24SWu Zhangjin	  developed at Institute of Computing Technology (ICT),
34285749d24SWu Zhangjin	  Chinese Academy of Sciences (CAS) in the People's Republic
34385749d24SWu Zhangjin	  of China. The chief architect is Professor Weiwu Hu.
344ade299d8SYoichi Yuasa
345ca585cf9SKelvin Cheungconfig MACH_LOONGSON1
346ca585cf9SKelvin Cheung	bool "Loongson 1 family of machines"
347ca585cf9SKelvin Cheung	select SYS_SUPPORTS_ZBOOT
348ca585cf9SKelvin Cheung	help
349ca585cf9SKelvin Cheung	  This enables support for the Loongson 1 based machines.
350ca585cf9SKelvin Cheung
351ca585cf9SKelvin Cheung	  Loongson 1 is a family of 32-bit MIPS-compatible SoCs developed by
352ca585cf9SKelvin Cheung	  the ICT (Institute of Computing Technology) and the Chinese Academy
353ca585cf9SKelvin Cheung	  of Sciences.
354ca585cf9SKelvin Cheung
3551da177e4SLinus Torvaldsconfig MIPS_MALTA
3563fa986faSMartin Michlmayr	bool "MIPS Malta board"
35761ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
3581da177e4SLinus Torvalds	select BOOT_ELF32
359fa71c960SRalf Baechle	select BOOT_RAW
36042f77542SRalf Baechle	select CEVT_R4K
361940f6b48SRalf Baechle	select CSRC_R4K
362fa5635a2SAndrew Bresticker	select CLKSRC_MIPS_GIC
363885014bcSFelix Fietkau	select DMA_MAYBE_COHERENT
3641da177e4SLinus Torvalds	select GENERIC_ISA_DMA
3658a118c38SRalf Baechle	select HAVE_PCSPKR_PLATFORM
366aa414dffSRalf Baechle	select IRQ_CPU
3678a19b8f1SAndrew Bresticker	select MIPS_GIC
3681da177e4SLinus Torvalds	select HW_HAS_PCI
369d865bea4SRalf Baechle	select I8253
3701da177e4SLinus Torvalds	select I8259
3715e83d430SRalf Baechle	select MIPS_BONITO64
3729318c51aSChris Dearman	select MIPS_CPU_SCACHE
373a7ef1eadSKevin Cernekee	select MIPS_L1_CACHE_SHIFT_6
374252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
3755e83d430SRalf Baechle	select MIPS_MSC
3761da177e4SLinus Torvalds	select SWAP_IO_SPACE
3777cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
3787cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
379bfc3c5a6SMarkos Chandras	select SYS_HAS_CPU_MIPS32_R3_5
380575509b6SMarkos Chandras	select SYS_HAS_CPU_MIPS32_R6
3817cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
3825d9fbed1SLeonid Yegoshin	select SYS_HAS_CPU_MIPS64_R2
383575509b6SMarkos Chandras	select SYS_HAS_CPU_MIPS64_R6
3847cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
3857cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
386ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
387ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3885e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3895e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
390424ebcdfSMaciej W. Rozycki	select SYS_SUPPORTS_MICROMIPS
3910365070fSTim Anderson	select SYS_SUPPORTS_MIPS_CMP
392e56b6aa6SPaul Burton	select SYS_SUPPORTS_MIPS_CPS
393377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
394f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
3959693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
3961b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
3971da177e4SLinus Torvalds	help
398f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
3991da177e4SLinus Torvalds	  board.
4001da177e4SLinus Torvalds
401ec47b274SSteven J. Hillconfig MIPS_SEAD3
402ec47b274SSteven J. Hill	bool "MIPS SEAD3 board"
403ec47b274SSteven J. Hill	select BOOT_ELF32
404ec47b274SSteven J. Hill	select BOOT_RAW
405f262b5f2SAndrew Bresticker	select BUILTIN_DTB
406ec47b274SSteven J. Hill	select CEVT_R4K
407ec47b274SSteven J. Hill	select CSRC_R4K
408fa5635a2SAndrew Bresticker	select CLKSRC_MIPS_GIC
409ec47b274SSteven J. Hill	select CPU_MIPSR2_IRQ_VI
410ec47b274SSteven J. Hill	select CPU_MIPSR2_IRQ_EI
411ec47b274SSteven J. Hill	select DMA_NONCOHERENT
412ec47b274SSteven J. Hill	select IRQ_CPU
4138a19b8f1SAndrew Bresticker	select MIPS_GIC
41444327236SQais Yousef	select LIBFDT
415ec47b274SSteven J. Hill	select MIPS_MSC
416ec47b274SSteven J. Hill	select SYS_HAS_CPU_MIPS32_R1
417ec47b274SSteven J. Hill	select SYS_HAS_CPU_MIPS32_R2
418ec47b274SSteven J. Hill	select SYS_HAS_CPU_MIPS64_R1
419ec47b274SSteven J. Hill	select SYS_HAS_EARLY_PRINTK
420ec47b274SSteven J. Hill	select SYS_SUPPORTS_32BIT_KERNEL
421ec47b274SSteven J. Hill	select SYS_SUPPORTS_64BIT_KERNEL
422ec47b274SSteven J. Hill	select SYS_SUPPORTS_BIG_ENDIAN
423ec47b274SSteven J. Hill	select SYS_SUPPORTS_LITTLE_ENDIAN
424ec47b274SSteven J. Hill	select SYS_SUPPORTS_SMARTMIPS
425a6a4834cSSteven J. Hill	select SYS_SUPPORTS_MICROMIPS
426377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
427ec47b274SSteven J. Hill	select USB_EHCI_BIG_ENDIAN_DESC
428ec47b274SSteven J. Hill	select USB_EHCI_BIG_ENDIAN_MMIO
4299b731009SSteven J. Hill	select USE_OF
430ec47b274SSteven J. Hill	help
431ec47b274SSteven J. Hill	  This enables support for the MIPS Technologies SEAD3 evaluation
432ec47b274SSteven J. Hill	  board.
433ec47b274SSteven J. Hill
434a83860c2SRalf Baechleconfig NEC_MARKEINS
435a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
436a83860c2SRalf Baechle	select SOC_EMMA2RH
437a83860c2SRalf Baechle	select HW_HAS_PCI
438a83860c2SRalf Baechle	help
439a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
440ade299d8SYoichi Yuasa
4415e83d430SRalf Baechleconfig MACH_VR41XX
44274142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
44342f77542SRalf Baechle	select CEVT_R4K
444940f6b48SRalf Baechle	select CSRC_R4K
4457cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
446377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
44727fdd325SYoichi Yuasa	select ARCH_REQUIRE_GPIOLIB
4485e83d430SRalf Baechle
449edb6310aSDaniel Lairdconfig NXP_STB220
450edb6310aSDaniel Laird	bool "NXP STB220 board"
451edb6310aSDaniel Laird	select SOC_PNX833X
452edb6310aSDaniel Laird	help
453edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
454edb6310aSDaniel Laird
455edb6310aSDaniel Lairdconfig NXP_STB225
456edb6310aSDaniel Laird	bool "NXP 225 board"
457edb6310aSDaniel Laird	select SOC_PNX833X
458edb6310aSDaniel Laird	select SOC_PNX8335
459edb6310aSDaniel Laird	help
460edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
461edb6310aSDaniel Laird
4629267a30dSMarc St-Jeanconfig PMC_MSP
4639267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
46439d30c13SAnoop P A	select CEVT_R4K
46539d30c13SAnoop P A	select CSRC_R4K
4669267a30dSMarc St-Jean	select DMA_NONCOHERENT
4679267a30dSMarc St-Jean	select SWAP_IO_SPACE
4689267a30dSMarc St-Jean	select NO_EXCEPT_FILL
4699267a30dSMarc St-Jean	select BOOT_RAW
4709267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
4719267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
4729267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
4739267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
474377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
4759267a30dSMarc St-Jean	select IRQ_CPU
4769267a30dSMarc St-Jean	select SERIAL_8250
4779267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
4789296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_MMIO
4799296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_DESC
4809267a30dSMarc St-Jean	help
4819267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
4829267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
4839267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
4849267a30dSMarc St-Jean	  a variety of MIPS cores.
4859267a30dSMarc St-Jean
486ae2b5bb6SJohn Crispinconfig RALINK
487ae2b5bb6SJohn Crispin	bool "Ralink based machines"
488ae2b5bb6SJohn Crispin	select CEVT_R4K
489ae2b5bb6SJohn Crispin	select CSRC_R4K
490ae2b5bb6SJohn Crispin	select BOOT_RAW
491ae2b5bb6SJohn Crispin	select DMA_NONCOHERENT
492ae2b5bb6SJohn Crispin	select IRQ_CPU
493ae2b5bb6SJohn Crispin	select USE_OF
494ae2b5bb6SJohn Crispin	select SYS_HAS_CPU_MIPS32_R1
495ae2b5bb6SJohn Crispin	select SYS_HAS_CPU_MIPS32_R2
496ae2b5bb6SJohn Crispin	select SYS_SUPPORTS_32BIT_KERNEL
497ae2b5bb6SJohn Crispin	select SYS_SUPPORTS_LITTLE_ENDIAN
498377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
499ae2b5bb6SJohn Crispin	select SYS_HAS_EARLY_PRINTK
500ae2b5bb6SJohn Crispin	select HAVE_MACH_CLKDEV
501ae2b5bb6SJohn Crispin	select CLKDEV_LOOKUP
5022a153f1cSJohn Crispin	select ARCH_HAS_RESET_CONTROLLER
5032a153f1cSJohn Crispin	select RESET_CONTROLLER
504ae2b5bb6SJohn Crispin
5051da177e4SLinus Torvaldsconfig SGI_IP22
5063fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
5070e2794b0SRalf Baechle	select FW_ARC
5080e2794b0SRalf Baechle	select FW_ARC32
5091da177e4SLinus Torvalds	select BOOT_ELF32
51042f77542SRalf Baechle	select CEVT_R4K
511940f6b48SRalf Baechle	select CSRC_R4K
512e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
5131da177e4SLinus Torvalds	select DMA_NONCOHERENT
5145e83d430SRalf Baechle	select HW_HAS_EISA
515d865bea4SRalf Baechle	select I8253
51668de4803SThomas Bogendoerfer	select I8259
5171da177e4SLinus Torvalds	select IP22_CPU_SCACHE
5181da177e4SLinus Torvalds	select IRQ_CPU
519aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
520e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
521e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
52236e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
523e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
524e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
525e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
5261da177e4SLinus Torvalds	select SWAP_IO_SPACE
5277cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5287cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
5292b5e63f6SMartin Michlmayr	#
5302b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
5312b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
5322b5e63f6SMartin Michlmayr	#
5332b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
5342b5e63f6SMartin Michlmayr	# for a more details discussion
5352b5e63f6SMartin Michlmayr	#
5362b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
537ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
538ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
5395e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
540930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_7
5411da177e4SLinus Torvalds	help
5421da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
5431da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
5441da177e4SLinus Torvalds	  that runs on these, say Y here.
5451da177e4SLinus Torvalds
5461da177e4SLinus Torvaldsconfig SGI_IP27
5473fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
5480e2794b0SRalf Baechle	select FW_ARC
5490e2794b0SRalf Baechle	select FW_ARC64
5505e83d430SRalf Baechle	select BOOT_ELF64
551e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
552634286f1SRalf Baechle	select DMA_COHERENT
55336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
5541da177e4SLinus Torvalds	select HW_HAS_PCI
555130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
5567cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
557ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
5585e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
559d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
5601a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
561930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_7
5621da177e4SLinus Torvalds	help
5631da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
5641da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
5651da177e4SLinus Torvalds	  here.
5661da177e4SLinus Torvalds
567e2defae5SThomas Bogendoerferconfig SGI_IP28
5687d60717eSKees Cook	bool "SGI IP28 (Indigo2 R10k)"
5690e2794b0SRalf Baechle	select FW_ARC
5700e2794b0SRalf Baechle	select FW_ARC64
571e2defae5SThomas Bogendoerfer	select BOOT_ELF64
572e2defae5SThomas Bogendoerfer	select CEVT_R4K
573e2defae5SThomas Bogendoerfer	select CSRC_R4K
574e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
575e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
576e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
577e2defae5SThomas Bogendoerfer	select IRQ_CPU
578e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
579e2defae5SThomas Bogendoerfer	select I8253
580e2defae5SThomas Bogendoerfer	select I8259
581e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
582e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
5835b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
584e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
585e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
586e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
587e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
588e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5892b5e63f6SMartin Michlmayr	#
5902b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
5912b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
5922b5e63f6SMartin Michlmayr	#
5932b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
5942b5e63f6SMartin Michlmayr	# for a more details discussion
5952b5e63f6SMartin Michlmayr	#
5962b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
597e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
598e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
599dc24d68dSThomas Bogendoerfer	select MIPS_L1_CACHE_SHIFT_7
600e2defae5SThomas Bogendoerfer      help
601e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
602e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
603e2defae5SThomas Bogendoerfer
6041da177e4SLinus Torvaldsconfig SGI_IP32
605cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
6060e2794b0SRalf Baechle	select FW_ARC
6070e2794b0SRalf Baechle	select FW_ARC32
6081da177e4SLinus Torvalds	select BOOT_ELF32
60942f77542SRalf Baechle	select CEVT_R4K
610940f6b48SRalf Baechle	select CSRC_R4K
6111da177e4SLinus Torvalds	select DMA_NONCOHERENT
6121da177e4SLinus Torvalds	select HW_HAS_PCI
613dd67b155SRalf Baechle	select IRQ_CPU
6141da177e4SLinus Torvalds	select R5000_CPU_SCACHE
6151da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
6167cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
6177cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
6187cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
619dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
620ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
6215e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6221da177e4SLinus Torvalds	help
6231da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
6241da177e4SLinus Torvalds
625ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
626ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
6275e83d430SRalf Baechle	select BOOT_ELF32
6285e83d430SRalf Baechle	select DMA_COHERENT
6295e83d430SRalf Baechle	select SIBYTE_BCM1120
6305e83d430SRalf Baechle	select SWAP_IO_SPACE
6317cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
6325e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6335e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6345e83d430SRalf Baechle
635ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
636ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
6375e83d430SRalf Baechle	select BOOT_ELF32
6385e83d430SRalf Baechle	select DMA_COHERENT
6395e83d430SRalf Baechle	select SIBYTE_BCM1120
6405e83d430SRalf Baechle	select SWAP_IO_SPACE
6417cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
6425e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6435e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6445e83d430SRalf Baechle
6455e83d430SRalf Baechleconfig SIBYTE_CRHONE
6463fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
6475e83d430SRalf Baechle	select BOOT_ELF32
6485e83d430SRalf Baechle	select DMA_COHERENT
6495e83d430SRalf Baechle	select SIBYTE_BCM1125
6505e83d430SRalf Baechle	select SWAP_IO_SPACE
6517cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
6525e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6535e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6545e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6555e83d430SRalf Baechle
656ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
657ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
658ade299d8SYoichi Yuasa	select BOOT_ELF32
659ade299d8SYoichi Yuasa	select DMA_COHERENT
660ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
661ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
662ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
663ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
664ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
665ade299d8SYoichi Yuasa
666ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
667ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
668ade299d8SYoichi Yuasa	select BOOT_ELF32
669ade299d8SYoichi Yuasa	select DMA_COHERENT
670fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
671ade299d8SYoichi Yuasa	select SIBYTE_SB1250
672ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
673ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
674ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
675ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
676ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
677cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
678ade299d8SYoichi Yuasa
679ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
680ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
681ade299d8SYoichi Yuasa	select BOOT_ELF32
682ade299d8SYoichi Yuasa	select DMA_COHERENT
683fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
684ade299d8SYoichi Yuasa	select SIBYTE_SB1250
685ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
686ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
687ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
688ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
689ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
690ade299d8SYoichi Yuasa
691ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
692ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
693ade299d8SYoichi Yuasa	select BOOT_ELF32
694ade299d8SYoichi Yuasa	select DMA_COHERENT
695ade299d8SYoichi Yuasa	select SIBYTE_SB1250
696ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
697ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
698ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
699ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
700ade299d8SYoichi Yuasa
701ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
702ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
703ade299d8SYoichi Yuasa	select BOOT_ELF32
704ade299d8SYoichi Yuasa	select DMA_COHERENT
705ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
706ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
707ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
708ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
709ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
710651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
711ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
712cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
713ade299d8SYoichi Yuasa
71414b36af4SThomas Bogendoerferconfig SNI_RM
71514b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
7160e2794b0SRalf Baechle	select FW_ARC if CPU_LITTLE_ENDIAN
7170e2794b0SRalf Baechle	select FW_ARC32 if CPU_LITTLE_ENDIAN
718aaa9fad3SPaul Bolle	select FW_SNIPROM if CPU_BIG_ENDIAN
7195e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
7205e83d430SRalf Baechle	select BOOT_ELF32
72142f77542SRalf Baechle	select CEVT_R4K
722940f6b48SRalf Baechle	select CSRC_R4K
723e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
7245e83d430SRalf Baechle	select DMA_NONCOHERENT
7255e83d430SRalf Baechle	select GENERIC_ISA_DMA
7268a118c38SRalf Baechle	select HAVE_PCSPKR_PLATFORM
7275e83d430SRalf Baechle	select HW_HAS_EISA
7285e83d430SRalf Baechle	select HW_HAS_PCI
729c066a32aSThomas Bogendoerfer	select IRQ_CPU
730d865bea4SRalf Baechle	select I8253
7315e83d430SRalf Baechle	select I8259
7325e83d430SRalf Baechle	select ISA
7334a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
7347cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
7354a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
736c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
7374a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
73836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
739ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
7407d60717eSKees Cook	select SYS_SUPPORTS_64BIT_KERNEL
7414a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
7425e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
7435e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
7441da177e4SLinus Torvalds	help
74514b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
74614b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
7475e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
7485e83d430SRalf Baechle	  support this machine type.
7491da177e4SLinus Torvalds
750edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
751edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
7525e83d430SRalf Baechle
753edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
754edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
75523fbee9dSRalf Baechle
75673b4390fSRalf Baechleconfig MIKROTIK_RB532
75773b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
75873b4390fSRalf Baechle	select CEVT_R4K
75973b4390fSRalf Baechle	select CSRC_R4K
76073b4390fSRalf Baechle	select DMA_NONCOHERENT
76173b4390fSRalf Baechle	select HW_HAS_PCI
76273b4390fSRalf Baechle	select IRQ_CPU
76373b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
76473b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
76573b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
76673b4390fSRalf Baechle	select SWAP_IO_SPACE
76773b4390fSRalf Baechle	select BOOT_RAW
768d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
769930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_4
77073b4390fSRalf Baechle	help
77173b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
77273b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
77373b4390fSRalf Baechle
7749ddebc46SDavid Daneyconfig CAVIUM_OCTEON_SOC
7759ddebc46SDavid Daney	bool "Cavium Networks Octeon SoC based boards"
776a86c7f72SDavid Daney	select CEVT_R4K
77734adb28dSRalf Baechle	select ARCH_PHYS_ADDR_T_64BIT
778a86c7f72SDavid Daney	select DMA_COHERENT
779a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
780a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
781f65aad41SRalf Baechle	select EDAC_SUPPORT
782773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
783a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
7845e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
785a86c7f72SDavid Daney	select SWAP_IO_SPACE
786e8635b48SDavid Daney	select HW_HAS_PCI
787f00e001eSDavid Daney	select ZONE_DMA32
788465aaed0SDavid Daney	select HOLES_IN_ZONE
78999cab4bbSDavid Daney	select ARCH_REQUIRE_GPIOLIB
7906e511163SDavid Daney	select LIBFDT
7916e511163SDavid Daney	select USE_OF
7926e511163SDavid Daney	select ARCH_SPARSEMEM_ENABLE
7936e511163SDavid Daney	select SYS_SUPPORTS_SMP
7946e511163SDavid Daney	select NR_CPUS_DEFAULT_16
795e326479fSAndrew Bresticker	select BUILTIN_DTB
796a86c7f72SDavid Daney	help
797a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
798a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
799a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
800a86c7f72SDavid Daney	  Some of the supported boards are:
801a86c7f72SDavid Daney		EBT3000
802a86c7f72SDavid Daney		EBH3000
803a86c7f72SDavid Daney		EBH3100
804a86c7f72SDavid Daney		Thunder
805a86c7f72SDavid Daney		Kodama
806a86c7f72SDavid Daney		Hikari
807a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
808a86c7f72SDavid Daney
8097f058e85SJayachandran Cconfig NLM_XLR_BOARD
8107f058e85SJayachandran C	bool "Netlogic XLR/XLS based systems"
8117f058e85SJayachandran C	select BOOT_ELF32
8127f058e85SJayachandran C	select NLM_COMMON
8137f058e85SJayachandran C	select SYS_HAS_CPU_XLR
8147f058e85SJayachandran C	select SYS_SUPPORTS_SMP
8157f058e85SJayachandran C	select HW_HAS_PCI
8167f058e85SJayachandran C	select SWAP_IO_SPACE
8177f058e85SJayachandran C	select SYS_SUPPORTS_32BIT_KERNEL
8187f058e85SJayachandran C	select SYS_SUPPORTS_64BIT_KERNEL
81934adb28dSRalf Baechle	select ARCH_PHYS_ADDR_T_64BIT
8207f058e85SJayachandran C	select SYS_SUPPORTS_BIG_ENDIAN
8217f058e85SJayachandran C	select SYS_SUPPORTS_HIGHMEM
8227f058e85SJayachandran C	select DMA_COHERENT
8237f058e85SJayachandran C	select NR_CPUS_DEFAULT_32
8247f058e85SJayachandran C	select CEVT_R4K
8257f058e85SJayachandran C	select CSRC_R4K
8267f058e85SJayachandran C	select IRQ_CPU
827b97215fdSJayachandran C	select ZONE_DMA32 if 64BIT
8287f058e85SJayachandran C	select SYNC_R4K
8297f058e85SJayachandran C	select SYS_HAS_EARLY_PRINTK
8308f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT
8318f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT_UART16550
8327f058e85SJayachandran C	help
8337f058e85SJayachandran C	  Support for systems based on Netlogic XLR and XLS processors.
8347f058e85SJayachandran C	  Say Y here if you have a XLR or XLS based board.
8357f058e85SJayachandran C
8361c773ea4SJayachandran Cconfig NLM_XLP_BOARD
8371c773ea4SJayachandran C	bool "Netlogic XLP based systems"
8381c773ea4SJayachandran C	select BOOT_ELF32
8391c773ea4SJayachandran C	select NLM_COMMON
8401c773ea4SJayachandran C	select SYS_HAS_CPU_XLP
8411c773ea4SJayachandran C	select SYS_SUPPORTS_SMP
8421c773ea4SJayachandran C	select HW_HAS_PCI
8431c773ea4SJayachandran C	select SYS_SUPPORTS_32BIT_KERNEL
8441c773ea4SJayachandran C	select SYS_SUPPORTS_64BIT_KERNEL
84534adb28dSRalf Baechle	select ARCH_PHYS_ADDR_T_64BIT
8461c773ea4SJayachandran C	select SYS_SUPPORTS_BIG_ENDIAN
8471c773ea4SJayachandran C	select SYS_SUPPORTS_LITTLE_ENDIAN
8481c773ea4SJayachandran C	select SYS_SUPPORTS_HIGHMEM
8491c773ea4SJayachandran C	select DMA_COHERENT
8501c773ea4SJayachandran C	select NR_CPUS_DEFAULT_32
8511c773ea4SJayachandran C	select CEVT_R4K
8521c773ea4SJayachandran C	select CSRC_R4K
8531c773ea4SJayachandran C	select IRQ_CPU
854b97215fdSJayachandran C	select ZONE_DMA32 if 64BIT
8551c773ea4SJayachandran C	select SYNC_R4K
8561c773ea4SJayachandran C	select SYS_HAS_EARLY_PRINTK
8572f6528e1SJayachandran C	select USE_OF
8588f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT
8598f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT_UART16550
8601c773ea4SJayachandran C	help
8611c773ea4SJayachandran C	  This board is based on Netlogic XLP Processor.
8621c773ea4SJayachandran C	  Say Y here if you have a XLP based board.
8631c773ea4SJayachandran C
8649bc463beSDavid Daneyconfig MIPS_PARAVIRT
8659bc463beSDavid Daney	bool "Para-Virtualized guest system"
8669bc463beSDavid Daney	select CEVT_R4K
8679bc463beSDavid Daney	select CSRC_R4K
8689bc463beSDavid Daney	select DMA_COHERENT
8699bc463beSDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
8709bc463beSDavid Daney	select SYS_SUPPORTS_32BIT_KERNEL
8719bc463beSDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
8729bc463beSDavid Daney	select SYS_SUPPORTS_SMP
8739bc463beSDavid Daney	select NR_CPUS_DEFAULT_4
8749bc463beSDavid Daney	select SYS_HAS_EARLY_PRINTK
8759bc463beSDavid Daney	select SYS_HAS_CPU_MIPS32_R2
8769bc463beSDavid Daney	select SYS_HAS_CPU_MIPS64_R2
8779bc463beSDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
8789bc463beSDavid Daney	select HW_HAS_PCI
8799bc463beSDavid Daney	select SWAP_IO_SPACE
8809bc463beSDavid Daney	help
8819bc463beSDavid Daney	  This option supports guest running under ????
8829bc463beSDavid Daney
8831da177e4SLinus Torvaldsendchoice
8841da177e4SLinus Torvalds
885e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
8863b12308fSSergey Ryazanovsource "arch/mips/ath25/Kconfig"
887d4a67d9dSGabor Juhossource "arch/mips/ath79/Kconfig"
888a656ffcbSHauke Mehrtenssource "arch/mips/bcm47xx/Kconfig"
889e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig"
8905e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
8915ebabe59SLars-Peter Clausensource "arch/mips/jz4740/Kconfig"
8928ec6d935SJohn Crispinsource "arch/mips/lantiq/Kconfig"
8931f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
8940f3a05cbSRalf Baechlesource "arch/mips/pmcs-msp71xx/Kconfig"
895ae2b5bb6SJohn Crispinsource "arch/mips/ralink/Kconfig"
89629c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
89738b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
89822b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
8995e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
900a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
90185749d24SWu Zhangjinsource "arch/mips/loongson/Kconfig"
902ca585cf9SKelvin Cheungsource "arch/mips/loongson1/Kconfig"
9037f058e85SJayachandran Csource "arch/mips/netlogic/Kconfig"
904ae6e7e63SDavid Daneysource "arch/mips/paravirt/Kconfig"
90538b18f72SRalf Baechle
9065e83d430SRalf Baechleendmenu
9075e83d430SRalf Baechle
9081da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
9091da177e4SLinus Torvalds	bool
9101da177e4SLinus Torvalds	default y
9111da177e4SLinus Torvalds
9121da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
9131da177e4SLinus Torvalds	bool
9141da177e4SLinus Torvalds
915f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
916f0d1b0b3SDavid Howells	bool
917f0d1b0b3SDavid Howells	default n
918f0d1b0b3SDavid Howells
919f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
920f0d1b0b3SDavid Howells	bool
921f0d1b0b3SDavid Howells	default n
922f0d1b0b3SDavid Howells
9233c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
9243c9ee7efSAkinobu Mita	bool
9253c9ee7efSAkinobu Mita	default y
9263c9ee7efSAkinobu Mita
9271da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
9281da177e4SLinus Torvalds	bool
9291da177e4SLinus Torvalds	default y
9301da177e4SLinus Torvalds
931ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
9321cc89038SAtsushi Nemoto	bool
9331cc89038SAtsushi Nemoto	default y
9341cc89038SAtsushi Nemoto
9351da177e4SLinus Torvalds#
9361da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
9371da177e4SLinus Torvalds#
9380e2794b0SRalf Baechleconfig FW_ARC
9391da177e4SLinus Torvalds	bool
9401da177e4SLinus Torvalds
94161ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
94261ed242dSRalf Baechle	bool
94361ed242dSRalf Baechle
9449267a30dSMarc St-Jeanconfig BOOT_RAW
9459267a30dSMarc St-Jean	bool
9469267a30dSMarc St-Jean
947217dd11eSRalf Baechleconfig CEVT_BCM1480
948217dd11eSRalf Baechle	bool
949217dd11eSRalf Baechle
9506457d9fcSYoichi Yuasaconfig CEVT_DS1287
9516457d9fcSYoichi Yuasa	bool
9526457d9fcSYoichi Yuasa
9531097c6acSYoichi Yuasaconfig CEVT_GT641XX
9541097c6acSYoichi Yuasa	bool
9551097c6acSYoichi Yuasa
95642f77542SRalf Baechleconfig CEVT_R4K
95742f77542SRalf Baechle	bool
95842f77542SRalf Baechle
959217dd11eSRalf Baechleconfig CEVT_SB1250
960217dd11eSRalf Baechle	bool
961217dd11eSRalf Baechle
962229f773eSAtsushi Nemotoconfig CEVT_TXX9
963229f773eSAtsushi Nemoto	bool
964229f773eSAtsushi Nemoto
965217dd11eSRalf Baechleconfig CSRC_BCM1480
966217dd11eSRalf Baechle	bool
967217dd11eSRalf Baechle
9684247417dSYoichi Yuasaconfig CSRC_IOASIC
9694247417dSYoichi Yuasa	bool
9704247417dSYoichi Yuasa
971940f6b48SRalf Baechleconfig CSRC_R4K
972940f6b48SRalf Baechle	bool
973940f6b48SRalf Baechle
974217dd11eSRalf Baechleconfig CSRC_SB1250
975217dd11eSRalf Baechle	bool
976217dd11eSRalf Baechle
977a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
9787444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
979a9aec7feSAtsushi Nemoto	bool
980a9aec7feSAtsushi Nemoto
9810e2794b0SRalf Baechleconfig FW_CFE
982df78b5c8SAurelien Jarno	bool
983df78b5c8SAurelien Jarno
9844bafad92SFUJITA Tomonoriconfig ARCH_DMA_ADDR_T_64BIT
98534adb28dSRalf Baechle	def_bool (HIGHMEM && ARCH_PHYS_ADDR_T_64BIT) || 64BIT
9864bafad92SFUJITA Tomonori
987885014bcSFelix Fietkauconfig DMA_MAYBE_COHERENT
988885014bcSFelix Fietkau	select DMA_NONCOHERENT
989885014bcSFelix Fietkau	bool
990885014bcSFelix Fietkau
9911da177e4SLinus Torvaldsconfig DMA_COHERENT
9921da177e4SLinus Torvalds	bool
9931da177e4SLinus Torvalds
9941da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
9951da177e4SLinus Torvalds	bool
996e1e02b32SFUJITA Tomonori	select NEED_DMA_MAP_STATE
9974ce588cdSRalf Baechle
998e1e02b32SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
9994ce588cdSRalf Baechle	bool
10001da177e4SLinus Torvalds
100136a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
10021da177e4SLinus Torvalds	bool
10031da177e4SLinus Torvalds
1004dbb74540SRalf Baechleconfig HOTPLUG_CPU
10051b2bc75cSRalf Baechle	bool "Support for hot-pluggable CPUs"
100640b31360SStephen Rothwell	depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU
10071b2bc75cSRalf Baechle	help
10081b2bc75cSRalf Baechle	  Say Y here to allow turning CPUs off and on. CPUs can be
10091b2bc75cSRalf Baechle	  controlled through /sys/devices/system/cpu.
10101b2bc75cSRalf Baechle	  (Note: power management support will enable this option
10111b2bc75cSRalf Baechle	    automatically on SMP systems. )
10121b2bc75cSRalf Baechle	  Say N if you want to disable CPU hotplug.
10131b2bc75cSRalf Baechle
10141b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU
1015dbb74540SRalf Baechle	bool
1016dbb74540SRalf Baechle
10171da177e4SLinus Torvaldsconfig I8259
10181da177e4SLinus Torvalds	bool
1019079a4601SAndrew Bresticker	select IRQ_DOMAIN
10201da177e4SLinus Torvalds
10211da177e4SLinus Torvaldsconfig MIPS_BONITO64
10221da177e4SLinus Torvalds	bool
10231da177e4SLinus Torvalds
10241da177e4SLinus Torvaldsconfig MIPS_MSC
10251da177e4SLinus Torvalds	bool
10261da177e4SLinus Torvalds
10271f21d2bdSBrian Murphyconfig MIPS_NILE4
10281f21d2bdSBrian Murphy	bool
10291f21d2bdSBrian Murphy
103039b8d525SRalf Baechleconfig SYNC_R4K
103139b8d525SRalf Baechle	bool
103239b8d525SRalf Baechle
1033487d70d0SGabor Juhosconfig MIPS_MACHINE
1034487d70d0SGabor Juhos	def_bool n
1035487d70d0SGabor Juhos
1036ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP
1037d388d685SMaciej W. Rozycki	def_bool n
1038d388d685SMaciej W. Rozycki
10394e0748f5SMarkos Chandrasconfig GENERIC_CSUM
10404e0748f5SMarkos Chandras	bool
10414e0748f5SMarkos Chandras
10428313da30SRalf Baechleconfig GENERIC_ISA_DMA
10438313da30SRalf Baechle	bool
10448313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
1045a35bee8aSNamhyung Kim	select ISA_DMA_API
10468313da30SRalf Baechle
1047aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
1048aa414dffSRalf Baechle	bool
10498313da30SRalf Baechle	select GENERIC_ISA_DMA
1050aa414dffSRalf Baechle
1051a35bee8aSNamhyung Kimconfig ISA_DMA_API
1052a35bee8aSNamhyung Kim	bool
1053a35bee8aSNamhyung Kim
1054465aaed0SDavid Daneyconfig HOLES_IN_ZONE
1055465aaed0SDavid Daney	bool
1056465aaed0SDavid Daney
10575e83d430SRalf Baechle#
10586b2aac42SMasanari Iida# Endianness selection.  Sufficiently obscure so many users don't know what to
10595e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
10605e83d430SRalf Baechle# choice statement should be more obvious to the user.
10615e83d430SRalf Baechle#
10625e83d430SRalf Baechlechoice
10636b2aac42SMasanari Iida	prompt "Endianness selection"
10641da177e4SLinus Torvalds	help
10651da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
10665e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
10673cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
10685e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
10693dde6ad8SDavid Sterba	  one or the other endianness.
10705e83d430SRalf Baechle
10715e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
10725e83d430SRalf Baechle	bool "Big endian"
10735e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
10745e83d430SRalf Baechle
10755e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
10765e83d430SRalf Baechle	bool "Little endian"
10775e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
10785e83d430SRalf Baechle
10795e83d430SRalf Baechleendchoice
10805e83d430SRalf Baechle
108122b0763aSDavid Daneyconfig EXPORT_UASM
108222b0763aSDavid Daney	bool
108322b0763aSDavid Daney
10842116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
10852116245eSRalf Baechle	bool
10862116245eSRalf Baechle
10875e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
10885e83d430SRalf Baechle	bool
10895e83d430SRalf Baechle
10905e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
10915e83d430SRalf Baechle	bool
10921da177e4SLinus Torvalds
10939cffd154SDavid Daneyconfig SYS_SUPPORTS_HUGETLBFS
10949cffd154SDavid Daney	bool
10959cffd154SDavid Daney	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
10969cffd154SDavid Daney	default y
10979cffd154SDavid Daney
1098aa1762f4SDavid Daneyconfig MIPS_HUGE_TLB_SUPPORT
1099aa1762f4SDavid Daney	def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
1100aa1762f4SDavid Daney
11011da177e4SLinus Torvaldsconfig IRQ_CPU
11021da177e4SLinus Torvalds	bool
11030f84c305SAndrew Bresticker	select IRQ_DOMAIN
11041da177e4SLinus Torvalds
11051da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
11061da177e4SLinus Torvalds	bool
11071da177e4SLinus Torvalds
11089267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
11099267a30dSMarc St-Jean	bool
11109267a30dSMarc St-Jean
11119267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
11129267a30dSMarc St-Jean	bool
11139267a30dSMarc St-Jean
11148420fd00SAtsushi Nemotoconfig IRQ_TXX9
11158420fd00SAtsushi Nemoto	bool
11168420fd00SAtsushi Nemoto
1117d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
1118d5ab1a69SYoichi Yuasa	bool
1119d5ab1a69SYoichi Yuasa
1120252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
11211da177e4SLinus Torvalds	bool
11221da177e4SLinus Torvalds
11239267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
11249267a30dSMarc St-Jean	bool
11259267a30dSMarc St-Jean
1126a83860c2SRalf Baechleconfig SOC_EMMA2RH
1127a83860c2SRalf Baechle	bool
1128a83860c2SRalf Baechle	select CEVT_R4K
1129a83860c2SRalf Baechle	select CSRC_R4K
1130a83860c2SRalf Baechle	select DMA_NONCOHERENT
1131a83860c2SRalf Baechle	select IRQ_CPU
1132a83860c2SRalf Baechle	select SWAP_IO_SPACE
1133a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
1134a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1135a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
1136a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1137a83860c2SRalf Baechle
1138edb6310aSDaniel Lairdconfig SOC_PNX833X
1139edb6310aSDaniel Laird	bool
1140edb6310aSDaniel Laird	select CEVT_R4K
1141edb6310aSDaniel Laird	select CSRC_R4K
1142edb6310aSDaniel Laird	select IRQ_CPU
1143edb6310aSDaniel Laird	select DMA_NONCOHERENT
1144edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
1145edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
1146edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
1147edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
1148377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
1149edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
1150edb6310aSDaniel Laird
1151edb6310aSDaniel Lairdconfig SOC_PNX8335
1152edb6310aSDaniel Laird	bool
1153edb6310aSDaniel Laird	select SOC_PNX833X
1154edb6310aSDaniel Laird
1155a7e07b1aSMarkos Chandrasconfig MIPS_SPRAM
1156a7e07b1aSMarkos Chandras	bool
1157a7e07b1aSMarkos Chandras
11581da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
11591da177e4SLinus Torvalds	bool
11601da177e4SLinus Torvalds
1161e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
1162e2defae5SThomas Bogendoerfer	bool
1163e2defae5SThomas Bogendoerfer
11645b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
11655b438c44SThomas Bogendoerfer	bool
11665b438c44SThomas Bogendoerfer
1167e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
1168e2defae5SThomas Bogendoerfer	bool
1169e2defae5SThomas Bogendoerfer
1170e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
1171e2defae5SThomas Bogendoerfer	bool
1172e2defae5SThomas Bogendoerfer
1173e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
1174e2defae5SThomas Bogendoerfer	bool
1175e2defae5SThomas Bogendoerfer
1176e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1177e2defae5SThomas Bogendoerfer	bool
1178e2defae5SThomas Bogendoerfer
1179e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1180e2defae5SThomas Bogendoerfer	bool
1181e2defae5SThomas Bogendoerfer
11820e2794b0SRalf Baechleconfig FW_ARC32
11835e83d430SRalf Baechle	bool
11845e83d430SRalf Baechle
1185aaa9fad3SPaul Bolleconfig FW_SNIPROM
1186231a35d3SThomas Bogendoerfer	bool
1187231a35d3SThomas Bogendoerfer
11881da177e4SLinus Torvaldsconfig BOOT_ELF32
11891da177e4SLinus Torvalds	bool
11901da177e4SLinus Torvalds
1191930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_4
1192930beb5aSFlorian Fainelli	bool
1193930beb5aSFlorian Fainelli
1194930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_5
1195930beb5aSFlorian Fainelli	bool
1196930beb5aSFlorian Fainelli
1197930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_6
1198930beb5aSFlorian Fainelli	bool
1199930beb5aSFlorian Fainelli
1200930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_7
1201930beb5aSFlorian Fainelli	bool
1202930beb5aSFlorian Fainelli
12031da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
12041da177e4SLinus Torvalds	int
1205a4c0201eSFlorian Fainelli	default "4" if MIPS_L1_CACHE_SHIFT_4
1206a4c0201eSFlorian Fainelli	default "5" if MIPS_L1_CACHE_SHIFT_5
1207a4c0201eSFlorian Fainelli	default "6" if MIPS_L1_CACHE_SHIFT_6
1208a4c0201eSFlorian Fainelli	default "7" if MIPS_L1_CACHE_SHIFT_7
12091da177e4SLinus Torvalds	default "5"
12101da177e4SLinus Torvalds
12111da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
12121da177e4SLinus Torvalds	bool
12131da177e4SLinus Torvalds
12141da177e4SLinus Torvaldsconfig ARC_CONSOLE
12151da177e4SLinus Torvalds	bool "ARC console support"
1216e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
12171da177e4SLinus Torvalds
12181da177e4SLinus Torvaldsconfig ARC_MEMORY
12191da177e4SLinus Torvalds	bool
122014b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
12211da177e4SLinus Torvalds	default y
12221da177e4SLinus Torvalds
12231da177e4SLinus Torvaldsconfig ARC_PROMLIB
12241da177e4SLinus Torvalds	bool
1225e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
12261da177e4SLinus Torvalds	default y
12271da177e4SLinus Torvalds
12280e2794b0SRalf Baechleconfig FW_ARC64
12291da177e4SLinus Torvalds	bool
12301da177e4SLinus Torvalds
12311da177e4SLinus Torvaldsconfig BOOT_ELF64
12321da177e4SLinus Torvalds	bool
12331da177e4SLinus Torvalds
12341da177e4SLinus Torvaldsmenu "CPU selection"
12351da177e4SLinus Torvalds
12361da177e4SLinus Torvaldschoice
12371da177e4SLinus Torvalds	prompt "CPU type"
12381da177e4SLinus Torvalds	default CPU_R4X00
12391da177e4SLinus Torvalds
12400e476d91SHuacai Chenconfig CPU_LOONGSON3
12410e476d91SHuacai Chen	bool "Loongson 3 CPU"
12420e476d91SHuacai Chen	depends on SYS_HAS_CPU_LOONGSON3
12430e476d91SHuacai Chen	select CPU_SUPPORTS_64BIT_KERNEL
12440e476d91SHuacai Chen	select CPU_SUPPORTS_HIGHMEM
12450e476d91SHuacai Chen	select CPU_SUPPORTS_HUGEPAGES
12460e476d91SHuacai Chen	select WEAK_ORDERING
12470e476d91SHuacai Chen	select WEAK_REORDERING_BEYOND_LLSC
1248*cbfb3ea7SHuacai Chen	select ARCH_REQUIRE_GPIOLIB
12490e476d91SHuacai Chen	help
12500e476d91SHuacai Chen		The Loongson 3 processor implements the MIPS64R2 instruction
12510e476d91SHuacai Chen		set with many extensions.
12520e476d91SHuacai Chen
12533702bba5SWu Zhangjinconfig CPU_LOONGSON2E
12543702bba5SWu Zhangjin	bool "Loongson 2E"
12553702bba5SWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2E
12563702bba5SWu Zhangjin	select CPU_LOONGSON2
12572a21c730SFuxin Zhang	help
12582a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
12592a21c730SFuxin Zhang	  with many extensions.
12602a21c730SFuxin Zhang
126125985edcSLucas De Marchi	  It has an internal FPGA northbridge, which is compatible to
12626f7a251aSWu Zhangjin	  bonito64.
12636f7a251aSWu Zhangjin
12646f7a251aSWu Zhangjinconfig CPU_LOONGSON2F
12656f7a251aSWu Zhangjin	bool "Loongson 2F"
12666f7a251aSWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2F
12676f7a251aSWu Zhangjin	select CPU_LOONGSON2
1268c197da91SArnaud Patard	select ARCH_REQUIRE_GPIOLIB
12696f7a251aSWu Zhangjin	help
12706f7a251aSWu Zhangjin	  The Loongson 2F processor implements the MIPS III instruction set
12716f7a251aSWu Zhangjin	  with many extensions.
12726f7a251aSWu Zhangjin
12736f7a251aSWu Zhangjin	  Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
12746f7a251aSWu Zhangjin	  have a similar programming interface with FPGA northbridge used in
12756f7a251aSWu Zhangjin	  Loongson2E.
12766f7a251aSWu Zhangjin
1277ca585cf9SKelvin Cheungconfig CPU_LOONGSON1B
1278ca585cf9SKelvin Cheung	bool "Loongson 1B"
1279ca585cf9SKelvin Cheung	depends on SYS_HAS_CPU_LOONGSON1B
1280ca585cf9SKelvin Cheung	select CPU_LOONGSON1
1281ca585cf9SKelvin Cheung	help
1282ca585cf9SKelvin Cheung	  The Loongson 1B is a 32-bit SoC, which implements the MIPS32
1283ca585cf9SKelvin Cheung	  release 2 instruction set.
1284ca585cf9SKelvin Cheung
12856e760c8dSRalf Baechleconfig CPU_MIPS32_R1
12866e760c8dSRalf Baechle	bool "MIPS32 Release 1"
12877cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
12886e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1289797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1290ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12916e760c8dSRalf Baechle	help
12925e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
12931e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
12941e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
12951e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
12961e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
12971e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
12981e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
12991e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
13001e5f1caaSRalf Baechle	  performance.
13011e5f1caaSRalf Baechle
13021e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
13031e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
13047cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
13051e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1306797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1307ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1308a5e9a69eSPaul Burton	select CPU_SUPPORTS_MSA
13092235a54dSSanjay Lal	select HAVE_KVM
13101e5f1caaSRalf Baechle	help
13115e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
13126e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
13136e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
13146e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
13156e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
13161da177e4SLinus Torvalds
13177fd08ca5SLeonid Yegoshinconfig CPU_MIPS32_R6
13187fd08ca5SLeonid Yegoshin	bool "MIPS32 Release 6 (EXPERIMENTAL)"
13197fd08ca5SLeonid Yegoshin	depends on SYS_HAS_CPU_MIPS32_R6
13207fd08ca5SLeonid Yegoshin	select CPU_HAS_PREFETCH
13217fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_32BIT_KERNEL
13227fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_HIGHMEM
13237fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_MSA
13244e0748f5SMarkos Chandras	select GENERIC_CSUM
13257fd08ca5SLeonid Yegoshin	select HAVE_KVM
13267fd08ca5SLeonid Yegoshin	select MIPS_O32_FP64_SUPPORT
13277fd08ca5SLeonid Yegoshin	help
13287fd08ca5SLeonid Yegoshin	  Choose this option to build a kernel for release 6 or later of the
13297fd08ca5SLeonid Yegoshin	  MIPS32 architecture.  New MIPS processors, starting with the Warrior
13307fd08ca5SLeonid Yegoshin	  family, are based on a MIPS32r6 processor. If you own an older
13317fd08ca5SLeonid Yegoshin	  processor, you probably need to select MIPS32r1 or MIPS32r2 instead.
13327fd08ca5SLeonid Yegoshin
13336e760c8dSRalf Baechleconfig CPU_MIPS64_R1
13346e760c8dSRalf Baechle	bool "MIPS64 Release 1"
13357cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1336797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1337ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1338ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1339ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13409cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
13416e760c8dSRalf Baechle	help
13426e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
13436e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
13446e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
13456e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
13466e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
13471e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
13481e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
13491e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
13501e5f1caaSRalf Baechle	  performance.
13511e5f1caaSRalf Baechle
13521e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
13531e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
13547cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1355797798c1SRalf Baechle	select CPU_HAS_PREFETCH
13561e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
13571e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1358ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13599cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1360a5e9a69eSPaul Burton	select CPU_SUPPORTS_MSA
13611e5f1caaSRalf Baechle	help
13621e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
13631e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
13641e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
13651e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
13661e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
13671da177e4SLinus Torvalds
13687fd08ca5SLeonid Yegoshinconfig CPU_MIPS64_R6
13697fd08ca5SLeonid Yegoshin	bool "MIPS64 Release 6 (EXPERIMENTAL)"
13707fd08ca5SLeonid Yegoshin	depends on SYS_HAS_CPU_MIPS64_R6
13717fd08ca5SLeonid Yegoshin	select CPU_HAS_PREFETCH
13727fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_32BIT_KERNEL
13737fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_64BIT_KERNEL
13747fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_HIGHMEM
13757fd08ca5SLeonid Yegoshin	select CPU_SUPPORTS_MSA
13764e0748f5SMarkos Chandras	select GENERIC_CSUM
13777fd08ca5SLeonid Yegoshin	help
13787fd08ca5SLeonid Yegoshin	  Choose this option to build a kernel for release 6 or later of the
13797fd08ca5SLeonid Yegoshin	  MIPS64 architecture.  New MIPS processors, starting with the Warrior
13807fd08ca5SLeonid Yegoshin	  family, are based on a MIPS64r6 processor. If you own an older
13817fd08ca5SLeonid Yegoshin	  processor, you probably need to select MIPS64r1 or MIPS64r2 instead.
13827fd08ca5SLeonid Yegoshin
13831da177e4SLinus Torvaldsconfig CPU_R3000
13841da177e4SLinus Torvalds	bool "R3000"
13857cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1386f7062ddbSRalf Baechle	select CPU_HAS_WB
1387ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1388797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13891da177e4SLinus Torvalds	help
13901da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
13911da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
13921da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
13931da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
13941da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
13951da177e4SLinus Torvalds	  try to recompile with R3000.
13961da177e4SLinus Torvalds
13971da177e4SLinus Torvaldsconfig CPU_TX39XX
13981da177e4SLinus Torvalds	bool "R39XX"
13997cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1400ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
14011da177e4SLinus Torvalds
14021da177e4SLinus Torvaldsconfig CPU_VR41XX
14031da177e4SLinus Torvalds	bool "R41xx"
14047cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1405ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1406ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
14071da177e4SLinus Torvalds	help
14085e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
14091da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
14101da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
14111da177e4SLinus Torvalds	  processor or vice versa.
14121da177e4SLinus Torvalds
14131da177e4SLinus Torvaldsconfig CPU_R4300
14141da177e4SLinus Torvalds	bool "R4300"
14157cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1416ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1417ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
14181da177e4SLinus Torvalds	help
14191da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
14201da177e4SLinus Torvalds
14211da177e4SLinus Torvaldsconfig CPU_R4X00
14221da177e4SLinus Torvalds	bool "R4x00"
14237cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1424ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1425ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1426970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14271da177e4SLinus Torvalds	help
14281da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
14291da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
14301da177e4SLinus Torvalds
14311da177e4SLinus Torvaldsconfig CPU_TX49XX
14321da177e4SLinus Torvalds	bool "R49XX"
14337cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1434de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1435ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1436ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1437970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14381da177e4SLinus Torvalds
14391da177e4SLinus Torvaldsconfig CPU_R5000
14401da177e4SLinus Torvalds	bool "R5000"
14417cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1442ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1443ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1444970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14451da177e4SLinus Torvalds	help
14461da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
14471da177e4SLinus Torvalds
14481da177e4SLinus Torvaldsconfig CPU_R5432
14491da177e4SLinus Torvalds	bool "R5432"
14507cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
14515e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
14525e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1453970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14541da177e4SLinus Torvalds
1455542c1020SShinya Kuribayashiconfig CPU_R5500
1456542c1020SShinya Kuribayashi	bool "R5500"
1457542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1458542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1459542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
14609cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1461542c1020SShinya Kuribayashi	help
1462542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1463542c1020SShinya Kuribayashi	  instruction set.
1464542c1020SShinya Kuribayashi
14651da177e4SLinus Torvaldsconfig CPU_R6000
14661da177e4SLinus Torvalds	bool "R6000"
14677cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1468ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
14691da177e4SLinus Torvalds	help
14701da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1471c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
14721da177e4SLinus Torvalds
14731da177e4SLinus Torvaldsconfig CPU_NEVADA
14741da177e4SLinus Torvalds	bool "RM52xx"
14757cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1476ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1477ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1478970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14791da177e4SLinus Torvalds	help
14801da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
14811da177e4SLinus Torvalds
14821da177e4SLinus Torvaldsconfig CPU_R8000
14831da177e4SLinus Torvalds	bool "R8000"
14847cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
14855e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1486ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
14871da177e4SLinus Torvalds	help
14881da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
14891da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
14901da177e4SLinus Torvalds
14911da177e4SLinus Torvaldsconfig CPU_R10000
14921da177e4SLinus Torvalds	bool "R10000"
14937cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
14945e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1495ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1496ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1497797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1498970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14991da177e4SLinus Torvalds	help
15001da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
15011da177e4SLinus Torvalds
15021da177e4SLinus Torvaldsconfig CPU_RM7000
15031da177e4SLinus Torvalds	bool "RM7000"
15047cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
15055e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1506ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1507ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1508797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1509970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
15101da177e4SLinus Torvalds
15111da177e4SLinus Torvaldsconfig CPU_SB1
15121da177e4SLinus Torvalds	bool "SB1"
15137cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1514ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1515ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1516797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1517970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
15180004a9dfSRalf Baechle	select WEAK_ORDERING
15191da177e4SLinus Torvalds
1520a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1521a86c7f72SDavid Daney	bool "Cavium Octeon processor"
15225e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1523a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1524a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1525a86c7f72SDavid Daney	select WEAK_ORDERING
1526a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
15279cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
15289296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_MMIO
1529930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_7
1530a86c7f72SDavid Daney	help
1531a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1532a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1533a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1534a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1535a86c7f72SDavid Daney
1536cd746249SJonas Gorskiconfig CPU_BMIPS
1537cd746249SJonas Gorski	bool "Broadcom BMIPS"
1538cd746249SJonas Gorski	depends on SYS_HAS_CPU_BMIPS
1539cd746249SJonas Gorski	select CPU_MIPS32
1540fe7f62c0SJonas Gorski	select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300
1541cd746249SJonas Gorski	select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350
1542cd746249SJonas Gorski	select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380
1543cd746249SJonas Gorski	select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
1544cd746249SJonas Gorski	select CPU_SUPPORTS_32BIT_KERNEL
1545cd746249SJonas Gorski	select DMA_NONCOHERENT
1546cd746249SJonas Gorski	select IRQ_CPU
1547cd746249SJonas Gorski	select SWAP_IO_SPACE
1548cd746249SJonas Gorski	select WEAK_ORDERING
1549c1c0c461SKevin Cernekee	select CPU_SUPPORTS_HIGHMEM
155069aaf9c8SJonas Gorski	select CPU_HAS_PREFETCH
1551c1c0c461SKevin Cernekee	help
1552fe7f62c0SJonas Gorski	  Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
1553c1c0c461SKevin Cernekee
15547f058e85SJayachandran Cconfig CPU_XLR
15557f058e85SJayachandran C	bool "Netlogic XLR SoC"
15567f058e85SJayachandran C	depends on SYS_HAS_CPU_XLR
15577f058e85SJayachandran C	select CPU_SUPPORTS_32BIT_KERNEL
15587f058e85SJayachandran C	select CPU_SUPPORTS_64BIT_KERNEL
15597f058e85SJayachandran C	select CPU_SUPPORTS_HIGHMEM
1560970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
15617f058e85SJayachandran C	select WEAK_ORDERING
15627f058e85SJayachandran C	select WEAK_REORDERING_BEYOND_LLSC
15637f058e85SJayachandran C	help
15647f058e85SJayachandran C	  Netlogic Microsystems XLR/XLS processors.
15651c773ea4SJayachandran C
15661c773ea4SJayachandran Cconfig CPU_XLP
15671c773ea4SJayachandran C	bool "Netlogic XLP SoC"
15681c773ea4SJayachandran C	depends on SYS_HAS_CPU_XLP
15691c773ea4SJayachandran C	select CPU_SUPPORTS_32BIT_KERNEL
15701c773ea4SJayachandran C	select CPU_SUPPORTS_64BIT_KERNEL
15711c773ea4SJayachandran C	select CPU_SUPPORTS_HIGHMEM
15721c773ea4SJayachandran C	select WEAK_ORDERING
15731c773ea4SJayachandran C	select WEAK_REORDERING_BEYOND_LLSC
15741c773ea4SJayachandran C	select CPU_HAS_PREFETCH
1575d6504846SJayachandran C	select CPU_MIPSR2
15761c773ea4SJayachandran C	help
15771c773ea4SJayachandran C	  Netlogic Microsystems XLP processors.
15781da177e4SLinus Torvaldsendchoice
15791da177e4SLinus Torvalds
1580a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_FEATURES
1581a6e18781SLeonid Yegoshin	bool "MIPS32 Release 3.5 Features"
1582a6e18781SLeonid Yegoshin	depends on SYS_HAS_CPU_MIPS32_R3_5
15837fd08ca5SLeonid Yegoshin	depends on CPU_MIPS32_R2 || CPU_MIPS32_R6
1584a6e18781SLeonid Yegoshin	help
1585a6e18781SLeonid Yegoshin	  Choose this option to build a kernel for release 2 or later of the
1586a6e18781SLeonid Yegoshin	  MIPS32 architecture including features from the 3.5 release such as
1587a6e18781SLeonid Yegoshin	  support for Enhanced Virtual Addressing (EVA).
1588a6e18781SLeonid Yegoshin
1589a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_EVA
1590a6e18781SLeonid Yegoshin	bool "Enhanced Virtual Addressing (EVA)"
1591a6e18781SLeonid Yegoshin	depends on CPU_MIPS32_3_5_FEATURES
1592a6e18781SLeonid Yegoshin	select EVA
1593a6e18781SLeonid Yegoshin	default y
1594a6e18781SLeonid Yegoshin	help
1595a6e18781SLeonid Yegoshin	  Choose this option if you want to enable the Enhanced Virtual
1596a6e18781SLeonid Yegoshin	  Addressing (EVA) on your MIPS32 core (such as proAptiv).
1597a6e18781SLeonid Yegoshin	  One of its primary benefits is an increase in the maximum size
1598a6e18781SLeonid Yegoshin	  of lowmem (up to 3GB). If unsure, say 'N' here.
1599a6e18781SLeonid Yegoshin
1600622844bfSWu Zhangjinif CPU_LOONGSON2F
1601622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS
1602622844bfSWu Zhangjin	bool
1603622844bfSWu Zhangjin
1604622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS
1605622844bfSWu Zhangjin	bool
1606622844bfSWu Zhangjin
1607622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS
1608622844bfSWu Zhangjin	bool "Loongson 2F Workarounds"
1609622844bfSWu Zhangjin	default y
1610622844bfSWu Zhangjin	select CPU_NOP_WORKAROUNDS
1611622844bfSWu Zhangjin	select CPU_JUMP_WORKAROUNDS
1612622844bfSWu Zhangjin	help
1613622844bfSWu Zhangjin	  Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1614622844bfSWu Zhangjin	  require workarounds.  Without workarounds the system may hang
1615622844bfSWu Zhangjin	  unexpectedly.  For more information please refer to the gas
1616622844bfSWu Zhangjin	  -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1617622844bfSWu Zhangjin
1618622844bfSWu Zhangjin	  Loongson 2F03 and later have fixed these issues and no workarounds
1619622844bfSWu Zhangjin	  are needed.  The workarounds have no significant side effect on them
1620622844bfSWu Zhangjin	  but may decrease the performance of the system so this option should
1621622844bfSWu Zhangjin	  be disabled unless the kernel is intended to be run on 2F01 or 2F02
1622622844bfSWu Zhangjin	  systems.
1623622844bfSWu Zhangjin
1624622844bfSWu Zhangjin	  If unsure, please say Y.
1625622844bfSWu Zhangjinendif # CPU_LOONGSON2F
1626622844bfSWu Zhangjin
16271b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT
16281b93b3c3SWu Zhangjin	bool
16291b93b3c3SWu Zhangjin	select HAVE_KERNEL_GZIP
16301b93b3c3SWu Zhangjin	select HAVE_KERNEL_BZIP2
163131c4867dSFlorian Fainelli	select HAVE_KERNEL_LZ4
16321b93b3c3SWu Zhangjin	select HAVE_KERNEL_LZMA
1633fe1d45e0SWu Zhangjin	select HAVE_KERNEL_LZO
16344e23eb63SFlorian Fainelli	select HAVE_KERNEL_XZ
16351b93b3c3SWu Zhangjin
16361b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550
16371b93b3c3SWu Zhangjin	bool
16381b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
16391b93b3c3SWu Zhangjin
16403702bba5SWu Zhangjinconfig CPU_LOONGSON2
16413702bba5SWu Zhangjin	bool
16423702bba5SWu Zhangjin	select CPU_SUPPORTS_32BIT_KERNEL
16433702bba5SWu Zhangjin	select CPU_SUPPORTS_64BIT_KERNEL
16443702bba5SWu Zhangjin	select CPU_SUPPORTS_HIGHMEM
1645970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
16463702bba5SWu Zhangjin
1647ca585cf9SKelvin Cheungconfig CPU_LOONGSON1
1648ca585cf9SKelvin Cheung	bool
1649ca585cf9SKelvin Cheung	select CPU_MIPS32
1650ca585cf9SKelvin Cheung	select CPU_MIPSR2
1651ca585cf9SKelvin Cheung	select CPU_HAS_PREFETCH
1652ca585cf9SKelvin Cheung	select CPU_SUPPORTS_32BIT_KERNEL
1653ca585cf9SKelvin Cheung	select CPU_SUPPORTS_HIGHMEM
1654f29ad10dSKelvin Cheung	select CPU_SUPPORTS_CPUFREQ
1655ca585cf9SKelvin Cheung
1656fe7f62c0SJonas Gorskiconfig CPU_BMIPS32_3300
165704fa8bf7SJonas Gorski	select SMP_UP if SMP
16581bbb6c1bSKevin Cernekee	bool
1659cd746249SJonas Gorski
1660cd746249SJonas Gorskiconfig CPU_BMIPS4350
1661cd746249SJonas Gorski	bool
1662cd746249SJonas Gorski	select SYS_SUPPORTS_SMP
1663cd746249SJonas Gorski	select SYS_SUPPORTS_HOTPLUG_CPU
1664cd746249SJonas Gorski
1665cd746249SJonas Gorskiconfig CPU_BMIPS4380
1666cd746249SJonas Gorski	bool
1667bbf2ba67SKevin Cernekee	select MIPS_L1_CACHE_SHIFT_6
1668cd746249SJonas Gorski	select SYS_SUPPORTS_SMP
1669cd746249SJonas Gorski	select SYS_SUPPORTS_HOTPLUG_CPU
1670cd746249SJonas Gorski
1671cd746249SJonas Gorskiconfig CPU_BMIPS5000
1672cd746249SJonas Gorski	bool
1673cd746249SJonas Gorski	select MIPS_CPU_SCACHE
1674bbf2ba67SKevin Cernekee	select MIPS_L1_CACHE_SHIFT_7
1675cd746249SJonas Gorski	select SYS_SUPPORTS_SMP
1676cd746249SJonas Gorski	select SYS_SUPPORTS_HOTPLUG_CPU
16771bbb6c1bSKevin Cernekee
16780e476d91SHuacai Chenconfig SYS_HAS_CPU_LOONGSON3
16790e476d91SHuacai Chen	bool
16800e476d91SHuacai Chen	select CPU_SUPPORTS_CPUFREQ
16810e476d91SHuacai Chen
16823702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E
16832a21c730SFuxin Zhang	bool
16842a21c730SFuxin Zhang
16856f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F
16866f7a251aSWu Zhangjin	bool
168755045ff5SWu Zhangjin	select CPU_SUPPORTS_CPUFREQ
168855045ff5SWu Zhangjin	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
168922f1fdfdSWu Zhangjin	select CPU_SUPPORTS_UNCACHED_ACCELERATED
16906f7a251aSWu Zhangjin
1691ca585cf9SKelvin Cheungconfig SYS_HAS_CPU_LOONGSON1B
1692ca585cf9SKelvin Cheung	bool
1693ca585cf9SKelvin Cheung
16947cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
16957cf8053bSRalf Baechle	bool
16967cf8053bSRalf Baechle
16977cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
16987cf8053bSRalf Baechle	bool
16997cf8053bSRalf Baechle
1700a6e18781SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS32_R3_5
1701a6e18781SLeonid Yegoshin	bool
1702a6e18781SLeonid Yegoshin
17037fd08ca5SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS32_R6
17047fd08ca5SLeonid Yegoshin	bool
17057fd08ca5SLeonid Yegoshin
17067cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
17077cf8053bSRalf Baechle	bool
17087cf8053bSRalf Baechle
17097cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
17107cf8053bSRalf Baechle	bool
17117cf8053bSRalf Baechle
17127fd08ca5SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS64_R6
17137fd08ca5SLeonid Yegoshin	bool
17147fd08ca5SLeonid Yegoshin
17157cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
17167cf8053bSRalf Baechle	bool
17177cf8053bSRalf Baechle
17187cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
17197cf8053bSRalf Baechle	bool
17207cf8053bSRalf Baechle
17217cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
17227cf8053bSRalf Baechle	bool
17237cf8053bSRalf Baechle
17247cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
17257cf8053bSRalf Baechle	bool
17267cf8053bSRalf Baechle
17277cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
17287cf8053bSRalf Baechle	bool
17297cf8053bSRalf Baechle
17307cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
17317cf8053bSRalf Baechle	bool
17327cf8053bSRalf Baechle
17337cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
17347cf8053bSRalf Baechle	bool
17357cf8053bSRalf Baechle
17367cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
17377cf8053bSRalf Baechle	bool
17387cf8053bSRalf Baechle
1739542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1740542c1020SShinya Kuribayashi	bool
1741542c1020SShinya Kuribayashi
17427cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
17437cf8053bSRalf Baechle	bool
17447cf8053bSRalf Baechle
17457cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
17467cf8053bSRalf Baechle	bool
17477cf8053bSRalf Baechle
17487cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
17497cf8053bSRalf Baechle	bool
17507cf8053bSRalf Baechle
17517cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
17527cf8053bSRalf Baechle	bool
17537cf8053bSRalf Baechle
17547cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
17557cf8053bSRalf Baechle	bool
17567cf8053bSRalf Baechle
17577cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
17587cf8053bSRalf Baechle	bool
17597cf8053bSRalf Baechle
17605e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
17615e683389SDavid Daney	bool
17625e683389SDavid Daney
1763cd746249SJonas Gorskiconfig SYS_HAS_CPU_BMIPS
1764c1c0c461SKevin Cernekee	bool
1765c1c0c461SKevin Cernekee
1766fe7f62c0SJonas Gorskiconfig SYS_HAS_CPU_BMIPS32_3300
1767c1c0c461SKevin Cernekee	bool
1768cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1769c1c0c461SKevin Cernekee
1770c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4350
1771c1c0c461SKevin Cernekee	bool
1772cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1773c1c0c461SKevin Cernekee
1774c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4380
1775c1c0c461SKevin Cernekee	bool
1776cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1777c1c0c461SKevin Cernekee
1778c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS5000
1779c1c0c461SKevin Cernekee	bool
1780cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1781c1c0c461SKevin Cernekee
17827f058e85SJayachandran Cconfig SYS_HAS_CPU_XLR
17837f058e85SJayachandran C	bool
17847f058e85SJayachandran C
17851c773ea4SJayachandran Cconfig SYS_HAS_CPU_XLP
17861c773ea4SJayachandran C	bool
17871c773ea4SJayachandran C
1788b6911bbaSPaul Burtonconfig MIPS_MALTA_PM
1789b6911bbaSPaul Burton	depends on MIPS_MALTA
1790b6911bbaSPaul Burton	depends on PCI
1791b6911bbaSPaul Burton	bool
1792b6911bbaSPaul Burton	default y
1793b6911bbaSPaul Burton
179417099b11SRalf Baechle#
179517099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
179617099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
179717099b11SRalf Baechle#
17980004a9dfSRalf Baechleconfig WEAK_ORDERING
17990004a9dfSRalf Baechle	bool
180017099b11SRalf Baechle
180117099b11SRalf Baechle#
180217099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
180317099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
180417099b11SRalf Baechle#
180517099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
180617099b11SRalf Baechle	bool
18075e83d430SRalf Baechleendmenu
18085e83d430SRalf Baechle
18095e83d430SRalf Baechle#
18105e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
18115e83d430SRalf Baechle#
18125e83d430SRalf Baechleconfig CPU_MIPS32
18135e83d430SRalf Baechle	bool
18147fd08ca5SLeonid Yegoshin	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6
18155e83d430SRalf Baechle
18165e83d430SRalf Baechleconfig CPU_MIPS64
18175e83d430SRalf Baechle	bool
18187fd08ca5SLeonid Yegoshin	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6
18195e83d430SRalf Baechle
18205e83d430SRalf Baechle#
1821c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
18225e83d430SRalf Baechle#
18235e83d430SRalf Baechleconfig CPU_MIPSR1
18245e83d430SRalf Baechle	bool
18255e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
18265e83d430SRalf Baechle
18275e83d430SRalf Baechleconfig CPU_MIPSR2
18285e83d430SRalf Baechle	bool
1829a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
1830a7e07b1aSMarkos Chandras	select MIPS_SPRAM
18315e83d430SRalf Baechle
18327fd08ca5SLeonid Yegoshinconfig CPU_MIPSR6
18337fd08ca5SLeonid Yegoshin	bool
18347fd08ca5SLeonid Yegoshin	default y if CPU_MIPS32_R6 || CPU_MIPS64_R6
1835a7e07b1aSMarkos Chandras	select MIPS_SPRAM
18365e83d430SRalf Baechle
1837a6e18781SLeonid Yegoshinconfig EVA
1838a6e18781SLeonid Yegoshin	bool
1839a6e18781SLeonid Yegoshin
18405e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
18415e83d430SRalf Baechle	bool
18425e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
18435e83d430SRalf Baechle	bool
18445e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
18455e83d430SRalf Baechle	bool
18465e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
18475e83d430SRalf Baechle	bool
184855045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ
184955045ff5SWu Zhangjin	bool
185055045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG
185155045ff5SWu Zhangjin	bool
18529cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES
18539cffd154SDavid Daney	bool
185422f1fdfdSWu Zhangjinconfig CPU_SUPPORTS_UNCACHED_ACCELERATED
185522f1fdfdSWu Zhangjin	bool
185682622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT
185782622284SDavid Daney	bool
1858d6504846SJayachandran C	default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
18595e83d430SRalf Baechle
18608192c9eaSDavid Daney#
18618192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
18628192c9eaSDavid Daney#
18638192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
18648192c9eaSDavid Daney       bool
1865f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
18668192c9eaSDavid Daney
18675e83d430SRalf Baechlemenu "Kernel type"
18685e83d430SRalf Baechle
18695e83d430SRalf Baechlechoice
18705e83d430SRalf Baechle	prompt "Kernel code model"
18715e83d430SRalf Baechle	help
18725e83d430SRalf Baechle	  You should only select this option if you have a workload that
18735e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
18745e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
18755e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
18765e83d430SRalf Baechle
18775e83d430SRalf Baechleconfig 32BIT
18785e83d430SRalf Baechle	bool "32-bit kernel"
18795e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
18805e83d430SRalf Baechle	select TRAD_SIGNALS
18815e83d430SRalf Baechle	help
18825e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
18835e83d430SRalf Baechleconfig 64BIT
18845e83d430SRalf Baechle	bool "64-bit kernel"
18855e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
18865e83d430SRalf Baechle	help
18875e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
18885e83d430SRalf Baechle
18895e83d430SRalf Baechleendchoice
18905e83d430SRalf Baechle
18912235a54dSSanjay Lalconfig KVM_GUEST
18922235a54dSSanjay Lal	bool "KVM Guest Kernel"
1893f2a5b1d7SJames Hogan	depends on BROKEN_ON_SMP
18942235a54dSSanjay Lal	help
18952235a54dSSanjay Lal	  Select this option if building a guest kernel for KVM (Trap & Emulate) mode
18962235a54dSSanjay Lal
1897eda3d33cSJames Hoganconfig KVM_GUEST_TIMER_FREQ
1898eda3d33cSJames Hogan	int "Count/Compare Timer Frequency (MHz)"
18992235a54dSSanjay Lal	depends on KVM_GUEST
1900eda3d33cSJames Hogan	default 100
19012235a54dSSanjay Lal	help
1902eda3d33cSJames Hogan	  Set this to non-zero if building a guest kernel for KVM to skip RTC
1903eda3d33cSJames Hogan	  emulation when determining guest CPU Frequency. Instead, the guest's
1904eda3d33cSJames Hogan	  timer frequency is specified directly.
19052235a54dSSanjay Lal
19061da177e4SLinus Torvaldschoice
19071da177e4SLinus Torvalds	prompt "Kernel page size"
19081da177e4SLinus Torvalds	default PAGE_SIZE_4KB
19091da177e4SLinus Torvalds
19101da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
19111da177e4SLinus Torvalds	bool "4kB"
19120e476d91SHuacai Chen	depends on !CPU_LOONGSON2 && !CPU_LOONGSON3
19131da177e4SLinus Torvalds	help
19141da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
19151da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
19161da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
19171da177e4SLinus Torvalds	 recommended for low memory systems.
19181da177e4SLinus Torvalds
19191da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
19201da177e4SLinus Torvalds	bool "8kB"
19217d60717eSKees Cook	depends on CPU_R8000 || CPU_CAVIUM_OCTEON
19221da177e4SLinus Torvalds	help
19231da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
19241da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
1925c52399beSRalf Baechle	  only on R8000 and cnMIPS processors.  Note that you will need a
1926c52399beSRalf Baechle	  suitable Linux distribution to support this.
19271da177e4SLinus Torvalds
19281da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
19291da177e4SLinus Torvalds	bool "16kB"
1930714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
19311da177e4SLinus Torvalds	help
19321da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
19331da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1934714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1935714bfad6SRalf Baechle	  Linux distribution to support this.
19361da177e4SLinus Torvalds
1937c52399beSRalf Baechleconfig PAGE_SIZE_32KB
1938c52399beSRalf Baechle	bool "32kB"
1939c52399beSRalf Baechle	depends on CPU_CAVIUM_OCTEON
1940c52399beSRalf Baechle	help
1941c52399beSRalf Baechle	  Using 32kB page size will result in higher performance kernel at
1942c52399beSRalf Baechle	  the price of higher memory consumption.  This option is available
1943c52399beSRalf Baechle	  only on cnMIPS cores.  Note that you will need a suitable Linux
1944c52399beSRalf Baechle	  distribution to support this.
1945c52399beSRalf Baechle
19461da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
19471da177e4SLinus Torvalds	bool "64kB"
19487d60717eSKees Cook	depends on !CPU_R3000 && !CPU_TX39XX
19491da177e4SLinus Torvalds	help
19501da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
19511da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
19521da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1953714bfad6SRalf Baechle	  writing this option is still high experimental.
19541da177e4SLinus Torvalds
19551da177e4SLinus Torvaldsendchoice
19561da177e4SLinus Torvalds
1957c9bace7cSDavid Daneyconfig FORCE_MAX_ZONEORDER
1958c9bace7cSDavid Daney	int "Maximum zone order"
1959e4362d1eSAlex Smith	range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
1960e4362d1eSAlex Smith	default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
1961e4362d1eSAlex Smith	range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
1962e4362d1eSAlex Smith	default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
1963e4362d1eSAlex Smith	range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
1964e4362d1eSAlex Smith	default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
1965c9bace7cSDavid Daney	range 11 64
1966c9bace7cSDavid Daney	default "11"
1967c9bace7cSDavid Daney	help
1968c9bace7cSDavid Daney	  The kernel memory allocator divides physically contiguous memory
1969c9bace7cSDavid Daney	  blocks into "zones", where each zone is a power of two number of
1970c9bace7cSDavid Daney	  pages.  This option selects the largest power of two that the kernel
1971c9bace7cSDavid Daney	  keeps in the memory allocator.  If you need to allocate very large
1972c9bace7cSDavid Daney	  blocks of physically contiguous memory, then you may need to
1973c9bace7cSDavid Daney	  increase this value.
1974c9bace7cSDavid Daney
1975c9bace7cSDavid Daney	  This config option is actually maximum order plus one. For example,
1976c9bace7cSDavid Daney	  a value of 11 means that the largest free memory block is 2^10 pages.
1977c9bace7cSDavid Daney
1978c9bace7cSDavid Daney	  The page size is not necessarily 4KB.  Keep this in mind
1979c9bace7cSDavid Daney	  when choosing a value for this option.
1980c9bace7cSDavid Daney
19811da177e4SLinus Torvaldsconfig BOARD_SCACHE
19821da177e4SLinus Torvalds	bool
19831da177e4SLinus Torvalds
19841da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
19851da177e4SLinus Torvalds	bool
19861da177e4SLinus Torvalds	select BOARD_SCACHE
19871da177e4SLinus Torvalds
19889318c51aSChris Dearman#
19899318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
19909318c51aSChris Dearman#
19919318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
19929318c51aSChris Dearman	bool
19939318c51aSChris Dearman	select BOARD_SCACHE
19949318c51aSChris Dearman
19951da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
19961da177e4SLinus Torvalds	bool
19971da177e4SLinus Torvalds	select BOARD_SCACHE
19981da177e4SLinus Torvalds
19991da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
20001da177e4SLinus Torvalds	bool
20011da177e4SLinus Torvalds	select BOARD_SCACHE
20021da177e4SLinus Torvalds
20031da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
20041da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
20051da177e4SLinus Torvalds	depends on CPU_SB1
20061da177e4SLinus Torvalds	help
20071da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
20081da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
20091da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
20101da177e4SLinus Torvalds
20111da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
2012c8094b53SRalf Baechle	bool
20131da177e4SLinus Torvalds
20143165c846SFlorian Fainelliconfig CPU_GENERIC_DUMP_TLB
20153165c846SFlorian Fainelli	bool
20163165c846SFlorian Fainelli	default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
20173165c846SFlorian Fainelli
201891405eb6SFlorian Fainelliconfig CPU_R4K_FPU
201991405eb6SFlorian Fainelli	bool
202091405eb6SFlorian Fainelli	default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
202191405eb6SFlorian Fainelli
202262cedc4fSFlorian Fainelliconfig CPU_R4K_CACHE_TLB
202362cedc4fSFlorian Fainelli	bool
202462cedc4fSFlorian Fainelli	default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
202562cedc4fSFlorian Fainelli
202659d6ab86SRalf Baechleconfig MIPS_MT_SMP
2027a92b7f87SMarkos Chandras	bool "MIPS MT SMP support (1 TC on each available VPE)"
202859d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
202959d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
2030d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
2031c080faa5SSteven J. Hill	select SYNC_R4K
20320c2cb004SPaul Burton	select MIPS_GIC_IPI
203359d6ab86SRalf Baechle	select MIPS_MT
203459d6ab86SRalf Baechle	select SMP
203587353d8aSRalf Baechle	select SMP_UP
2036c080faa5SSteven J. Hill	select SYS_SUPPORTS_SMP
2037c080faa5SSteven J. Hill	select SYS_SUPPORTS_SCHED_SMT
2038399aaa25SAl Cooper	select MIPS_PERF_SHARED_TC_COUNTERS
203959d6ab86SRalf Baechle	help
2040c080faa5SSteven J. Hill	  This is a kernel model which is known as SMVP. This is supported
2041c080faa5SSteven J. Hill	  on cores with the MT ASE and uses the available VPEs to implement
2042c080faa5SSteven J. Hill	  virtual processors which supports SMP. This is equivalent to the
2043c080faa5SSteven J. Hill	  Intel Hyperthreading feature. For further information go to
2044c080faa5SSteven J. Hill	  <http://www.imgtec.com/mips/mips-multithreading.asp>.
204559d6ab86SRalf Baechle
2046f41ae0b2SRalf Baechleconfig MIPS_MT
2047f41ae0b2SRalf Baechle	bool
2048f41ae0b2SRalf Baechle
20490ab7aefcSRalf Baechleconfig SCHED_SMT
20500ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
20510ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
20520ab7aefcSRalf Baechle	default n
20530ab7aefcSRalf Baechle	help
20540ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
20550ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
20560ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
20570ab7aefcSRalf Baechle
20580ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
20590ab7aefcSRalf Baechle	bool
20600ab7aefcSRalf Baechle
2061f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
2062f41ae0b2SRalf Baechle	bool
2063f41ae0b2SRalf Baechle
2064f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
2065f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
2066f088fc84SRalf Baechle	default y
2067b633648cSRalf Baechle	depends on MIPS_MT_SMP
206807cc0c9eSRalf Baechle
2069b0a668fbSLeonid Yegoshinconfig MIPSR2_TO_R6_EMULATOR
2070b0a668fbSLeonid Yegoshin	bool "MIPS R2-to-R6 emulator"
2071b0a668fbSLeonid Yegoshin	depends on CPU_MIPSR6 && !SMP
2072b0a668fbSLeonid Yegoshin	default y
2073b0a668fbSLeonid Yegoshin	help
2074b0a668fbSLeonid Yegoshin	  Choose this option if you want to run non-R6 MIPS userland code.
2075b0a668fbSLeonid Yegoshin	  Even if you say 'Y' here, the emulator will still be disabled by
2076b0a668fbSLeonid Yegoshin	  default. You can enable it using the 'mipsr2emul' kernel option.
2077b0a668fbSLeonid Yegoshin	  The only reason this is a build-time option is to save ~14K from the
2078b0a668fbSLeonid Yegoshin	  final kernel image.
2079b0a668fbSLeonid Yegoshincomment "MIPS R2-to-R6 emulator is only available for UP kernels"
2080b0a668fbSLeonid Yegoshin	depends on SMP && CPU_MIPSR6
2081b0a668fbSLeonid Yegoshin
208207cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
208307cc0c9eSRalf Baechle	bool "VPE loader support."
2084704e6460SMarkos Chandras	depends on SYS_SUPPORTS_MULTITHREADING && MODULES
208507cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
208607cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
208707cc0c9eSRalf Baechle	select MIPS_MT
208807cc0c9eSRalf Baechle	help
208907cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
209007cc0c9eSRalf Baechle	  onto another VPE and running it.
2091f088fc84SRalf Baechle
209217a1d523SDeng-Cheng Zhuconfig MIPS_VPE_LOADER_CMP
209317a1d523SDeng-Cheng Zhu	bool
209417a1d523SDeng-Cheng Zhu	default "y"
209517a1d523SDeng-Cheng Zhu	depends on MIPS_VPE_LOADER && MIPS_CMP
209617a1d523SDeng-Cheng Zhu
20971a2a6d7eSDeng-Cheng Zhuconfig MIPS_VPE_LOADER_MT
20981a2a6d7eSDeng-Cheng Zhu	bool
20991a2a6d7eSDeng-Cheng Zhu	default "y"
21001a2a6d7eSDeng-Cheng Zhu	depends on MIPS_VPE_LOADER && !MIPS_CMP
21011a2a6d7eSDeng-Cheng Zhu
2102e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
2103e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
2104e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
2105e01402b1SRalf Baechle	default y
2106e01402b1SRalf Baechle	help
2107e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
2108e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
2109e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
2110e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
2111e01402b1SRalf Baechle
2112e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
2113e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
2114e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
21155e83d430SRalf Baechle	help
2116e01402b1SRalf Baechle
2117da615cf6SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_CMP
2118da615cf6SDeng-Cheng Zhu	bool
2119da615cf6SDeng-Cheng Zhu	default "y"
2120da615cf6SDeng-Cheng Zhu	depends on MIPS_VPE_APSP_API && MIPS_CMP
2121da615cf6SDeng-Cheng Zhu
21222c973ef0SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_MT
21232c973ef0SDeng-Cheng Zhu	bool
21242c973ef0SDeng-Cheng Zhu	default "y"
21252c973ef0SDeng-Cheng Zhu	depends on MIPS_VPE_APSP_API && !MIPS_CMP
21262c973ef0SDeng-Cheng Zhu
21274a16ff4cSRalf Baechleconfig MIPS_CMP
21285cac93b3SPaul Burton	bool "MIPS CMP framework support (DEPRECATED)"
2129b633648cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
213072e20142SPaul Burton	select MIPS_GIC_IPI
2131b10b43baSMarkos Chandras	select SMP
2132eb9b5141STim Anderson	select SYNC_R4K
2133b10b43baSMarkos Chandras	select SYS_SUPPORTS_SMP
21344a16ff4cSRalf Baechle	select WEAK_ORDERING
21354a16ff4cSRalf Baechle	default n
21364a16ff4cSRalf Baechle	help
2137044505c7SPaul Burton	  Select this if you are using a bootloader which implements the "CMP
2138044505c7SPaul Burton	  framework" protocol (ie. YAMON) and want your kernel to make use of
2139044505c7SPaul Burton	  its ability to start secondary CPUs.
21404a16ff4cSRalf Baechle
21415cac93b3SPaul Burton	  Unless you have a specific need, you should use CONFIG_MIPS_CPS
21425cac93b3SPaul Burton	  instead of this.
21435cac93b3SPaul Burton
21440ee958e1SPaul Burtonconfig MIPS_CPS
21450ee958e1SPaul Burton	bool "MIPS Coherent Processing System support"
21460ee958e1SPaul Burton	depends on SYS_SUPPORTS_MIPS_CPS
21470ee958e1SPaul Burton	select MIPS_CM
21480ee958e1SPaul Burton	select MIPS_CPC
21491d8f1f5aSPaul Burton	select MIPS_CPS_PM if HOTPLUG_CPU
21500ee958e1SPaul Burton	select MIPS_GIC_IPI
21510ee958e1SPaul Burton	select SMP
21520ee958e1SPaul Burton	select SYNC_R4K if (CEVT_R4K || CSRC_R4K)
21531d8f1f5aSPaul Burton	select SYS_SUPPORTS_HOTPLUG_CPU
21540ee958e1SPaul Burton	select SYS_SUPPORTS_SMP
21550ee958e1SPaul Burton	select WEAK_ORDERING
21560ee958e1SPaul Burton	help
21570ee958e1SPaul Burton	  Select this if you wish to run an SMP kernel across multiple cores
21580ee958e1SPaul Burton	  within a MIPS Coherent Processing System. When this option is
21590ee958e1SPaul Burton	  enabled the kernel will probe for other cores and boot them with
21600ee958e1SPaul Burton	  no external assistance. It is safe to enable this when hardware
21610ee958e1SPaul Burton	  support is unavailable.
21620ee958e1SPaul Burton
21633179d37eSPaul Burtonconfig MIPS_CPS_PM
216439a59593SMarkos Chandras	depends on MIPS_CPS
2165a8b84677SPaul Burton	select MIPS_CPC
21663179d37eSPaul Burton	bool
21673179d37eSPaul Burton
216872e20142SPaul Burtonconfig MIPS_GIC_IPI
216972e20142SPaul Burton	bool
217072e20142SPaul Burton
21719f98f3ddSPaul Burtonconfig MIPS_CM
21729f98f3ddSPaul Burton	bool
21739f98f3ddSPaul Burton
21749c38cf44SPaul Burtonconfig MIPS_CPC
21759c38cf44SPaul Burton	bool
21762600990eSRalf Baechle
21771da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
21781da177e4SLinus Torvalds	bool
21791da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
21801da177e4SLinus Torvalds	default y
21811da177e4SLinus Torvalds
21821da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
21831da177e4SLinus Torvalds	bool
21841da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
21851da177e4SLinus Torvalds	default y
21861da177e4SLinus Torvalds
21871da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
21881da177e4SLinus Torvalds	bool
21891da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
21901da177e4SLinus Torvalds	default y
21911da177e4SLinus Torvalds
21922235a54dSSanjay Lal
219360ec6571Spascal@pabr.orgconfig ARCH_PHYS_ADDR_T_64BIT
219434adb28dSRalf Baechle       bool
219560ec6571Spascal@pabr.org
21969e2b5372SMarkos Chandraschoice
21979e2b5372SMarkos Chandras	prompt "SmartMIPS or microMIPS ASE support"
21989e2b5372SMarkos Chandras
21999e2b5372SMarkos Chandrasconfig CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS
22009e2b5372SMarkos Chandras	bool "None"
22019e2b5372SMarkos Chandras	help
22029e2b5372SMarkos Chandras	  Select this if you want neither microMIPS nor SmartMIPS support
22039e2b5372SMarkos Chandras
22049693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
22059693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
22069e2b5372SMarkos Chandras	bool "SmartMIPS"
22079693a853SFranck Bui-Huu	help
22089693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
22099693a853SFranck Bui-Huu	  increased security at both hardware and software level for
22109693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
22119693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
22129693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
22139693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
22149693a853SFranck Bui-Huu	  here.
22159693a853SFranck Bui-Huu
2216bce86083SSteven J. Hillconfig CPU_MICROMIPS
22177fd08ca5SLeonid Yegoshin	depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6
22189e2b5372SMarkos Chandras	bool "microMIPS"
2219bce86083SSteven J. Hill	help
2220bce86083SSteven J. Hill	  When this option is enabled the kernel will be built using the
2221bce86083SSteven J. Hill	  microMIPS ISA
2222bce86083SSteven J. Hill
22239e2b5372SMarkos Chandrasendchoice
22249e2b5372SMarkos Chandras
2225a5e9a69eSPaul Burtonconfig CPU_HAS_MSA
22264af94d5dSPaul Burton	bool "Support for the MIPS SIMD Architecture (EXPERIMENTAL)"
2227a5e9a69eSPaul Burton	depends on CPU_SUPPORTS_MSA
22282a6cb669SPaul Burton	depends on 64BIT || MIPS_O32_FP64_SUPPORT
2229a5e9a69eSPaul Burton	help
2230a5e9a69eSPaul Burton	  MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers
2231a5e9a69eSPaul Burton	  and a set of SIMD instructions to operate on them. When this option
22321db1af84SPaul Burton	  is enabled the kernel will support allocating & switching MSA
22331db1af84SPaul Burton	  vector register contexts. If you know that your kernel will only be
22341db1af84SPaul Burton	  running on CPUs which do not support MSA or that your userland will
22351db1af84SPaul Burton	  not be making use of it then you may wish to say N here to reduce
22361db1af84SPaul Burton	  the size & complexity of your kernel.
2237a5e9a69eSPaul Burton
2238a5e9a69eSPaul Burton	  If unsure, say Y.
2239a5e9a69eSPaul Burton
22401da177e4SLinus Torvaldsconfig CPU_HAS_WB
2241f7062ddbSRalf Baechle	bool
2242e01402b1SRalf Baechle
2243df0ac8a4SKevin Cernekeeconfig XKS01
2244df0ac8a4SKevin Cernekee	bool
2245df0ac8a4SKevin Cernekee
2246f41ae0b2SRalf Baechle#
2247f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
2248f41ae0b2SRalf Baechle#
2249e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
2250f41ae0b2SRalf Baechle	bool
2251e01402b1SRalf Baechle
2252f41ae0b2SRalf Baechle#
2253f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
2254f41ae0b2SRalf Baechle#
2255e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
2256f41ae0b2SRalf Baechle	bool
2257e01402b1SRalf Baechle
22581da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
22591da177e4SLinus Torvalds	bool
22601da177e4SLinus Torvalds	depends on !CPU_R3000
22611da177e4SLinus Torvalds	default y
22621da177e4SLinus Torvalds
22631da177e4SLinus Torvalds#
226420d60d99SMaciej W. Rozycki# CPU non-features
226520d60d99SMaciej W. Rozycki#
226620d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
226720d60d99SMaciej W. Rozycki	bool
226820d60d99SMaciej W. Rozycki
226920d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
227020d60d99SMaciej W. Rozycki	bool
227120d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
227220d60d99SMaciej W. Rozycki
227320d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
227420d60d99SMaciej W. Rozycki	bool
227520d60d99SMaciej W. Rozycki
227620d60d99SMaciej W. Rozycki#
22771da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
22781da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
22791da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
22801da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
22811da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
22821da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
22831da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
22841da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
2285797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
2286797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
2287797798c1SRalf Baechle#   support.
22881da177e4SLinus Torvalds#
22891da177e4SLinus Torvaldsconfig HIGHMEM
22901da177e4SLinus Torvalds	bool "High Memory Support"
2291a6e18781SLeonid Yegoshin	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA
2292797798c1SRalf Baechle
2293797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
2294797798c1SRalf Baechle	bool
2295797798c1SRalf Baechle
2296797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
2297797798c1SRalf Baechle	bool
22981da177e4SLinus Torvalds
22999693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
23009693a853SFranck Bui-Huu	bool
23019693a853SFranck Bui-Huu
2302a6a4834cSSteven J. Hillconfig SYS_SUPPORTS_MICROMIPS
2303a6a4834cSSteven J. Hill	bool
2304a6a4834cSSteven J. Hill
2305377cb1b6SRalf Baechleconfig SYS_SUPPORTS_MIPS16
2306377cb1b6SRalf Baechle	bool
2307377cb1b6SRalf Baechle	help
2308377cb1b6SRalf Baechle	  This option must be set if a kernel might be executed on a MIPS16-
2309377cb1b6SRalf Baechle	  enabled CPU even if MIPS16 is not actually being used.  In other
2310377cb1b6SRalf Baechle	  words, it makes the kernel MIPS16-tolerant.
2311377cb1b6SRalf Baechle
2312a5e9a69eSPaul Burtonconfig CPU_SUPPORTS_MSA
2313a5e9a69eSPaul Burton	bool
2314a5e9a69eSPaul Burton
2315b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
2316b4819b59SYoichi Yuasa	def_bool y
2317f133f22dSWu Zhangjin	depends on !NUMA && !CPU_LOONGSON2
2318b4819b59SYoichi Yuasa
2319d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
2320d8cb4e11SRalf Baechle	bool
2321d8cb4e11SRalf Baechle	default y if SGI_IP27
2322d8cb4e11SRalf Baechle	help
23233dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
2324d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
2325d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
2326d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
2327d8cb4e11SRalf Baechle
2328b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
2329b1c6cd42SAtsushi Nemoto	bool
23307de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
233131473747SAtsushi Nemoto
2332d8cb4e11SRalf Baechleconfig NUMA
2333d8cb4e11SRalf Baechle	bool "NUMA Support"
2334d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
2335d8cb4e11SRalf Baechle	help
2336d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
2337d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
2338d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
2339d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
2340d8cb4e11SRalf Baechle	  disabled.
2341d8cb4e11SRalf Baechle
2342d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
2343d8cb4e11SRalf Baechle	bool
2344d8cb4e11SRalf Baechle
2345c80d79d7SYasunori Gotoconfig NODES_SHIFT
2346c80d79d7SYasunori Goto	int
2347c80d79d7SYasunori Goto	default "6"
2348c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
2349c80d79d7SYasunori Goto
235014f70012SDeng-Cheng Zhuconfig HW_PERF_EVENTS
235114f70012SDeng-Cheng Zhu	bool "Enable hardware performance counter support for perf events"
2352b633648cSRalf Baechle	depends on PERF_EVENTS && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP)
235314f70012SDeng-Cheng Zhu	default y
235414f70012SDeng-Cheng Zhu	help
235514f70012SDeng-Cheng Zhu	  Enable hardware performance counter support for perf events. If
235614f70012SDeng-Cheng Zhu	  disabled, perf events will use software events only.
235714f70012SDeng-Cheng Zhu
2358b4819b59SYoichi Yuasasource "mm/Kconfig"
2359b4819b59SYoichi Yuasa
23601da177e4SLinus Torvaldsconfig SMP
23611da177e4SLinus Torvalds	bool "Multi-Processing support"
2362e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
2363e73ea273SRalf Baechle	help
23641da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
23654a474157SRobert Graffham	  a system with only one CPU, say N. If you have a system with more
23664a474157SRobert Graffham	  than one CPU, say Y.
23671da177e4SLinus Torvalds
23684a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
23691da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
23701da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
23714a474157SRobert Graffham	  uniprocessor machines. On a uniprocessor machine, the kernel
23721da177e4SLinus Torvalds	  will run faster if you say N here.
23731da177e4SLinus Torvalds
23741da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
23751da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
23761da177e4SLinus Torvalds
237703502faaSAdrian Bunk	  See also the SMP-HOWTO available at
237803502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
23791da177e4SLinus Torvalds
23801da177e4SLinus Torvalds	  If you don't know what to do here, say N.
23811da177e4SLinus Torvalds
238287353d8aSRalf Baechleconfig SMP_UP
238387353d8aSRalf Baechle	bool
238487353d8aSRalf Baechle
23854a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
23864a16ff4cSRalf Baechle	bool
23874a16ff4cSRalf Baechle
23880ee958e1SPaul Burtonconfig SYS_SUPPORTS_MIPS_CPS
23890ee958e1SPaul Burton	bool
23900ee958e1SPaul Burton
2391e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
2392e73ea273SRalf Baechle	bool
2393e73ea273SRalf Baechle
2394130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
2395130e2fb7SRalf Baechle	bool
2396130e2fb7SRalf Baechle
2397130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
2398130e2fb7SRalf Baechle	bool
2399130e2fb7SRalf Baechle
2400130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
2401130e2fb7SRalf Baechle	bool
2402130e2fb7SRalf Baechle
2403130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
2404130e2fb7SRalf Baechle	bool
2405130e2fb7SRalf Baechle
2406130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
2407130e2fb7SRalf Baechle	bool
2408130e2fb7SRalf Baechle
24091da177e4SLinus Torvaldsconfig NR_CPUS
2410a91796a9SJayachandran C	int "Maximum number of CPUs (2-256)"
2411a91796a9SJayachandran C	range 2 256
24121da177e4SLinus Torvalds	depends on SMP
2413130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
2414130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
2415130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
2416130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
2417130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
24181da177e4SLinus Torvalds	help
24191da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
24201da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
24211da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
242272ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
242372ede9b1SAtsushi Nemoto	  and 2 for all others.
24241da177e4SLinus Torvalds
24251da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
242672ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
242772ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
242872ede9b1SAtsushi Nemoto	  power of two.
24291da177e4SLinus Torvalds
2430399aaa25SAl Cooperconfig MIPS_PERF_SHARED_TC_COUNTERS
2431399aaa25SAl Cooper	bool
2432399aaa25SAl Cooper
24331723b4a3SAtsushi Nemoto#
24341723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
24351723b4a3SAtsushi Nemoto#
24361723b4a3SAtsushi Nemoto
24371723b4a3SAtsushi Nemotochoice
24381723b4a3SAtsushi Nemoto	prompt "Timer frequency"
24391723b4a3SAtsushi Nemoto	default HZ_250
24401723b4a3SAtsushi Nemoto	help
24411723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
24421723b4a3SAtsushi Nemoto
24431723b4a3SAtsushi Nemoto	config HZ_48
24440f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
24451723b4a3SAtsushi Nemoto
24461723b4a3SAtsushi Nemoto	config HZ_100
24471723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
24481723b4a3SAtsushi Nemoto
24491723b4a3SAtsushi Nemoto	config HZ_128
24501723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
24511723b4a3SAtsushi Nemoto
24521723b4a3SAtsushi Nemoto	config HZ_250
24531723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
24541723b4a3SAtsushi Nemoto
24551723b4a3SAtsushi Nemoto	config HZ_256
24561723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
24571723b4a3SAtsushi Nemoto
24581723b4a3SAtsushi Nemoto	config HZ_1000
24591723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
24601723b4a3SAtsushi Nemoto
24611723b4a3SAtsushi Nemoto	config HZ_1024
24621723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
24631723b4a3SAtsushi Nemoto
24641723b4a3SAtsushi Nemotoendchoice
24651723b4a3SAtsushi Nemoto
24661723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
24671723b4a3SAtsushi Nemoto	bool
24681723b4a3SAtsushi Nemoto
24691723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
24701723b4a3SAtsushi Nemoto	bool
24711723b4a3SAtsushi Nemoto
24721723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
24731723b4a3SAtsushi Nemoto	bool
24741723b4a3SAtsushi Nemoto
24751723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
24761723b4a3SAtsushi Nemoto	bool
24771723b4a3SAtsushi Nemoto
24781723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
24791723b4a3SAtsushi Nemoto	bool
24801723b4a3SAtsushi Nemoto
24811723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
24821723b4a3SAtsushi Nemoto	bool
24831723b4a3SAtsushi Nemoto
24841723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
24851723b4a3SAtsushi Nemoto	bool
24861723b4a3SAtsushi Nemoto
24871723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
24881723b4a3SAtsushi Nemoto	bool
24891723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
24901723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
24911723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
24921723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
24931723b4a3SAtsushi Nemoto
24941723b4a3SAtsushi Nemotoconfig HZ
24951723b4a3SAtsushi Nemoto	int
24961723b4a3SAtsushi Nemoto	default 48 if HZ_48
24971723b4a3SAtsushi Nemoto	default 100 if HZ_100
24981723b4a3SAtsushi Nemoto	default 128 if HZ_128
24991723b4a3SAtsushi Nemoto	default 250 if HZ_250
25001723b4a3SAtsushi Nemoto	default 256 if HZ_256
25011723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
25021723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
25031723b4a3SAtsushi Nemoto
2504e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
25051da177e4SLinus Torvalds
2506ea6e942bSAtsushi Nemotoconfig KEXEC
25077d60717eSKees Cook	bool "Kexec system call"
2508ea6e942bSAtsushi Nemoto	help
2509ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
2510ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
25113dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
2512ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
2513ea6e942bSAtsushi Nemoto
251401dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
2515ea6e942bSAtsushi Nemoto
2516ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
2517ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
2518bf220695SGeert Uytterhoeven	  initially work for you.  As of this writing the exact hardware
2519bf220695SGeert Uytterhoeven	  interface is strongly in flux, so no good recommendation can be
2520bf220695SGeert Uytterhoeven	  made.
2521ea6e942bSAtsushi Nemoto
25227aa1c8f4SRalf Baechleconfig CRASH_DUMP
25237aa1c8f4SRalf Baechle	  bool "Kernel crash dumps"
25247aa1c8f4SRalf Baechle	  help
25257aa1c8f4SRalf Baechle	  Generate crash dump after being started by kexec.
25267aa1c8f4SRalf Baechle	  This should be normally only set in special crash dump kernels
25277aa1c8f4SRalf Baechle	  which are loaded in the main kernel with kexec-tools into
25287aa1c8f4SRalf Baechle	  a specially reserved region and then later executed after
25297aa1c8f4SRalf Baechle	  a crash by kdump/kexec. The crash dump kernel must be compiled
25307aa1c8f4SRalf Baechle	  to a memory address not used by the main kernel or firmware using
25317aa1c8f4SRalf Baechle	  PHYSICAL_START.
25327aa1c8f4SRalf Baechle
25337aa1c8f4SRalf Baechleconfig PHYSICAL_START
25347aa1c8f4SRalf Baechle	  hex "Physical address where the kernel is loaded"
25357aa1c8f4SRalf Baechle	  default "0xffffffff84000000" if 64BIT
25367aa1c8f4SRalf Baechle	  default "0x84000000" if 32BIT
25377aa1c8f4SRalf Baechle	  depends on CRASH_DUMP
25387aa1c8f4SRalf Baechle	  help
25397aa1c8f4SRalf Baechle	  This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
25407aa1c8f4SRalf Baechle	  If you plan to use kernel for capturing the crash dump change
25417aa1c8f4SRalf Baechle	  this value to start of the reserved region (the "X" value as
25427aa1c8f4SRalf Baechle	  specified in the "crashkernel=YM@XM" command line boot parameter
25437aa1c8f4SRalf Baechle	  passed to the panic-ed kernel).
25447aa1c8f4SRalf Baechle
2545ea6e942bSAtsushi Nemotoconfig SECCOMP
2546ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
2547293c5bd1SRalf Baechle	depends on PROC_FS
2548ea6e942bSAtsushi Nemoto	default y
2549ea6e942bSAtsushi Nemoto	help
2550ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
2551ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
2552ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
2553ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
2554ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
2555ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
2556ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
2557ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
2558ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
2559ea6e942bSAtsushi Nemoto
2560ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
2561ea6e942bSAtsushi Nemoto
2562597ce172SPaul Burtonconfig MIPS_O32_FP64_SUPPORT
256306e2e882SPaul Burton	bool "Support for O32 binaries using 64-bit FP (EXPERIMENTAL)"
2564597ce172SPaul Burton	depends on 32BIT || MIPS32_O32
2565597ce172SPaul Burton	help
2566597ce172SPaul Burton	  When this is enabled, the kernel will support use of 64-bit floating
2567597ce172SPaul Burton	  point registers with binaries using the O32 ABI along with the
2568597ce172SPaul Burton	  EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On
2569597ce172SPaul Burton	  32-bit MIPS systems this support is at the cost of increasing the
2570597ce172SPaul Burton	  size and complexity of the compiled FPU emulator. Thus if you are
2571597ce172SPaul Burton	  running a MIPS32 system and know that none of your userland binaries
2572597ce172SPaul Burton	  will require 64-bit floating point, you may wish to reduce the size
2573597ce172SPaul Burton	  of your kernel & potentially improve FP emulation performance by
2574597ce172SPaul Burton	  saying N here.
2575597ce172SPaul Burton
257606e2e882SPaul Burton	  Although binutils currently supports use of this flag the details
257706e2e882SPaul Burton	  concerning its effect upon the O32 ABI in userland are still being
257806e2e882SPaul Burton	  worked on. In order to avoid userland becoming dependant upon current
257906e2e882SPaul Burton	  behaviour before the details have been finalised, this option should
258006e2e882SPaul Burton	  be considered experimental and only enabled by those working upon
258106e2e882SPaul Burton	  said details.
258206e2e882SPaul Burton
258306e2e882SPaul Burton	  If unsure, say N.
2584597ce172SPaul Burton
2585f2ffa5abSDezhong Diaoconfig USE_OF
25860b3e06fdSJonas Gorski	bool
2587f2ffa5abSDezhong Diao	select OF
2588e6ce1324SStephen Neuendorffer	select OF_EARLY_FLATTREE
2589abd2363fSGrant Likely	select IRQ_DOMAIN
2590f2ffa5abSDezhong Diao
25917fafb068SAndrew Brestickerconfig BUILTIN_DTB
25927fafb068SAndrew Bresticker	bool
25937fafb068SAndrew Bresticker
25945e83d430SRalf Baechleendmenu
25955e83d430SRalf Baechle
25961df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
25971df0f0ffSAtsushi Nemoto	bool
25981df0f0ffSAtsushi Nemoto	default y
25991df0f0ffSAtsushi Nemoto
26001df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
26011df0f0ffSAtsushi Nemoto	bool
26021df0f0ffSAtsushi Nemoto	default y
26031df0f0ffSAtsushi Nemoto
2604b6c3539bSRalf Baechlesource "init/Kconfig"
2605b6c3539bSRalf Baechle
2606dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
2607dc52ddc0SMatt Helsley
26081da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
26091da177e4SLinus Torvalds
26105e83d430SRalf Baechleconfig HW_HAS_EISA
26115e83d430SRalf Baechle	bool
26121da177e4SLinus Torvaldsconfig HW_HAS_PCI
26131da177e4SLinus Torvalds	bool
26141da177e4SLinus Torvalds
26151da177e4SLinus Torvaldsconfig PCI
26161da177e4SLinus Torvalds	bool "Support for PCI controller"
26171da177e4SLinus Torvalds	depends on HW_HAS_PCI
2618abb4ae46SRalf Baechle	select PCI_DOMAINS
26190f3b3956SMichael S. Tsirkin	select NO_GENERIC_PCI_IOPORT_MAP
26201da177e4SLinus Torvalds	help
26211da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
26221da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
26231da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
26241da177e4SLinus Torvalds	  say Y, otherwise N.
26251da177e4SLinus Torvalds
26260e476d91SHuacai Chenconfig HT_PCI
26270e476d91SHuacai Chen	bool "Support for HT-linked PCI"
26280e476d91SHuacai Chen	default y
26290e476d91SHuacai Chen	depends on CPU_LOONGSON3
26300e476d91SHuacai Chen	select PCI
26310e476d91SHuacai Chen	select PCI_DOMAINS
26320e476d91SHuacai Chen	help
26330e476d91SHuacai Chen	  Loongson family machines use Hyper-Transport bus for inter-core
26340e476d91SHuacai Chen	  connection and device connection. The PCI bus is a subordinate
26350e476d91SHuacai Chen	  linked at HT. Choose Y for Loongson-3 based machines.
26360e476d91SHuacai Chen
26371da177e4SLinus Torvaldsconfig PCI_DOMAINS
26381da177e4SLinus Torvalds	bool
26391da177e4SLinus Torvalds
26401da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
26411da177e4SLinus Torvalds
26423f787ca4SJonas Gorskisource "drivers/pci/pcie/Kconfig"
26433f787ca4SJonas Gorski
26441da177e4SLinus Torvalds#
26451da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
26461da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
26471da177e4SLinus Torvalds# users to choose the right thing ...
26481da177e4SLinus Torvalds#
26491da177e4SLinus Torvaldsconfig ISA
26501da177e4SLinus Torvalds	bool
26511da177e4SLinus Torvalds
26521da177e4SLinus Torvaldsconfig EISA
26531da177e4SLinus Torvalds	bool "EISA support"
26545e83d430SRalf Baechle	depends on HW_HAS_EISA
26551da177e4SLinus Torvalds	select ISA
2656aa414dffSRalf Baechle	select GENERIC_ISA_DMA
26571da177e4SLinus Torvalds	---help---
26581da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
26591da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
26601da177e4SLinus Torvalds
26611da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
26621da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
26631da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
26641da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
26651da177e4SLinus Torvalds
26661da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
26671da177e4SLinus Torvalds
26681da177e4SLinus Torvalds	  Otherwise, say N.
26691da177e4SLinus Torvalds
26701da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
26711da177e4SLinus Torvalds
26721da177e4SLinus Torvaldsconfig TC
26731da177e4SLinus Torvalds	bool "TURBOchannel support"
26741da177e4SLinus Torvalds	depends on MACH_DECSTATION
26751da177e4SLinus Torvalds	help
267650a23e6eSJustin P. Mattock	  TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
267750a23e6eSJustin P. Mattock	  processors.  TURBOchannel programming specifications are available
267850a23e6eSJustin P. Mattock	  at:
267950a23e6eSJustin P. Mattock	  <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
268050a23e6eSJustin P. Mattock	  and:
268150a23e6eSJustin P. Mattock	  <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
268250a23e6eSJustin P. Mattock	  Linux driver support status is documented at:
268350a23e6eSJustin P. Mattock	  <http://www.linux-mips.org/wiki/DECstation>
26841da177e4SLinus Torvalds
26851da177e4SLinus Torvaldsconfig MMU
26861da177e4SLinus Torvalds	bool
26871da177e4SLinus Torvalds	default y
26881da177e4SLinus Torvalds
2689d865bea4SRalf Baechleconfig I8253
2690d865bea4SRalf Baechle	bool
2691798778b8SRussell King	select CLKSRC_I8253
26922d02612fSThomas Gleixner	select CLKEVT_I8253
26939726b43aSWu Zhangjin	select MIPS_EXTERNAL_TIMER
2694d865bea4SRalf Baechle
2695e05eb3f8SRalf Baechleconfig ZONE_DMA
2696e05eb3f8SRalf Baechle	bool
2697e05eb3f8SRalf Baechle
2698cce335aeSRalf Baechleconfig ZONE_DMA32
2699cce335aeSRalf Baechle	bool
2700cce335aeSRalf Baechle
27011da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
27021da177e4SLinus Torvalds
27031da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
27041da177e4SLinus Torvalds
2705388b78adSAlexandre Bounineconfig RAPIDIO
270656abde72SAlexandre Bounine	tristate "RapidIO support"
2707388b78adSAlexandre Bounine	depends on PCI
2708388b78adSAlexandre Bounine	default n
2709388b78adSAlexandre Bounine	help
2710388b78adSAlexandre Bounine	  If you say Y here, the kernel will include drivers and
2711388b78adSAlexandre Bounine	  infrastructure code to support RapidIO interconnect devices.
2712388b78adSAlexandre Bounine
2713388b78adSAlexandre Bouninesource "drivers/rapidio/Kconfig"
2714388b78adSAlexandre Bounine
27151da177e4SLinus Torvaldsendmenu
27161da177e4SLinus Torvalds
27171da177e4SLinus Torvaldsmenu "Executable file formats"
27181da177e4SLinus Torvalds
27191da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
27201da177e4SLinus Torvalds
27211da177e4SLinus Torvaldsconfig TRAD_SIGNALS
27221da177e4SLinus Torvalds	bool
27231da177e4SLinus Torvalds
27241da177e4SLinus Torvaldsconfig MIPS32_COMPAT
272578aaf956SRalf Baechle	bool
27261da177e4SLinus Torvalds
27271da177e4SLinus Torvaldsconfig COMPAT
27281da177e4SLinus Torvalds	bool
27291da177e4SLinus Torvalds
273005e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
273105e43966SAtsushi Nemoto	bool
273205e43966SAtsushi Nemoto
27331da177e4SLinus Torvaldsconfig MIPS32_O32
27341da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
273578aaf956SRalf Baechle	depends on 64BIT
273678aaf956SRalf Baechle	select ARCH_WANT_OLD_COMPAT_IPC
273778aaf956SRalf Baechle	select COMPAT
273878aaf956SRalf Baechle	select MIPS32_COMPAT
273978aaf956SRalf Baechle	select SYSVIPC_COMPAT if SYSVIPC
27401da177e4SLinus Torvalds	help
27411da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
27421da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
27431da177e4SLinus Torvalds	  existing binaries are in this format.
27441da177e4SLinus Torvalds
27451da177e4SLinus Torvalds	  If unsure, say Y.
27461da177e4SLinus Torvalds
27471da177e4SLinus Torvaldsconfig MIPS32_N32
27481da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
2749c22eacfeSRalf Baechle	depends on 64BIT
275078aaf956SRalf Baechle	select COMPAT
275178aaf956SRalf Baechle	select MIPS32_COMPAT
275278aaf956SRalf Baechle	select SYSVIPC_COMPAT if SYSVIPC
27531da177e4SLinus Torvalds	help
27541da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
27551da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
27561da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
27571da177e4SLinus Torvalds	  cases.
27581da177e4SLinus Torvalds
27591da177e4SLinus Torvalds	  If unsure, say N.
27601da177e4SLinus Torvalds
27611da177e4SLinus Torvaldsconfig BINFMT_ELF32
27621da177e4SLinus Torvalds	bool
27631da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
27641da177e4SLinus Torvalds
27652116245eSRalf Baechleendmenu
27661da177e4SLinus Torvalds
27672116245eSRalf Baechlemenu "Power management options"
2768952fa954SRodolfo Giometti
2769363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE
2770363c55caSWu Zhangjin	def_bool y
27713f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2772363c55caSWu Zhangjin
2773f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2774f4cb5700SJohannes Berg	def_bool y
27753f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2776f4cb5700SJohannes Berg
27772116245eSRalf Baechlesource "kernel/power/Kconfig"
2778952fa954SRodolfo Giometti
27791da177e4SLinus Torvaldsendmenu
27801da177e4SLinus Torvalds
27817a998935SViresh Kumarconfig MIPS_EXTERNAL_TIMER
27827a998935SViresh Kumar	bool
27837a998935SViresh Kumar
27847a998935SViresh Kumarmenu "CPU Power Management"
2785c095ebafSPaul Burton
2786c095ebafSPaul Burtonif CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
27877a998935SViresh Kumarsource "drivers/cpufreq/Kconfig"
27887a998935SViresh Kumarendif
27899726b43aSWu Zhangjin
2790c095ebafSPaul Burtonsource "drivers/cpuidle/Kconfig"
2791c095ebafSPaul Burton
2792c095ebafSPaul Burtonendmenu
2793c095ebafSPaul Burton
2794d5950b43SSam Ravnborgsource "net/Kconfig"
2795d5950b43SSam Ravnborg
27961da177e4SLinus Torvaldssource "drivers/Kconfig"
27971da177e4SLinus Torvalds
279898cdee0eSRalf Baechlesource "drivers/firmware/Kconfig"
279998cdee0eSRalf Baechle
28001da177e4SLinus Torvaldssource "fs/Kconfig"
28011da177e4SLinus Torvalds
28021da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
28031da177e4SLinus Torvalds
28041da177e4SLinus Torvaldssource "security/Kconfig"
28051da177e4SLinus Torvalds
28061da177e4SLinus Torvaldssource "crypto/Kconfig"
28071da177e4SLinus Torvalds
28081da177e4SLinus Torvaldssource "lib/Kconfig"
28092235a54dSSanjay Lal
28102235a54dSSanjay Lalsource "arch/mips/kvm/Kconfig"
2811