xref: /linux/arch/mips/Kconfig (revision d79d853df126553f9a185151e310f6dc74205ae5)
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
57*d79d853dSMarkos 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
3807cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
3815d9fbed1SLeonid Yegoshin	select SYS_HAS_CPU_MIPS64_R2
3827cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
3837cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
384ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
385ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3865e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3875e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
388424ebcdfSMaciej W. Rozycki	select SYS_SUPPORTS_MICROMIPS
3890365070fSTim Anderson	select SYS_SUPPORTS_MIPS_CMP
390e56b6aa6SPaul Burton	select SYS_SUPPORTS_MIPS_CPS
391377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
392f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
3939693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
3941b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
3951da177e4SLinus Torvalds	help
396f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
3971da177e4SLinus Torvalds	  board.
3981da177e4SLinus Torvalds
399ec47b274SSteven J. Hillconfig MIPS_SEAD3
400ec47b274SSteven J. Hill	bool "MIPS SEAD3 board"
401ec47b274SSteven J. Hill	select BOOT_ELF32
402ec47b274SSteven J. Hill	select BOOT_RAW
403f262b5f2SAndrew Bresticker	select BUILTIN_DTB
404ec47b274SSteven J. Hill	select CEVT_R4K
405ec47b274SSteven J. Hill	select CSRC_R4K
406fa5635a2SAndrew Bresticker	select CLKSRC_MIPS_GIC
407ec47b274SSteven J. Hill	select CPU_MIPSR2_IRQ_VI
408ec47b274SSteven J. Hill	select CPU_MIPSR2_IRQ_EI
409ec47b274SSteven J. Hill	select DMA_NONCOHERENT
410ec47b274SSteven J. Hill	select IRQ_CPU
4118a19b8f1SAndrew Bresticker	select MIPS_GIC
41244327236SQais Yousef	select LIBFDT
413ec47b274SSteven J. Hill	select MIPS_MSC
414ec47b274SSteven J. Hill	select SYS_HAS_CPU_MIPS32_R1
415ec47b274SSteven J. Hill	select SYS_HAS_CPU_MIPS32_R2
416ec47b274SSteven J. Hill	select SYS_HAS_CPU_MIPS64_R1
417ec47b274SSteven J. Hill	select SYS_HAS_EARLY_PRINTK
418ec47b274SSteven J. Hill	select SYS_SUPPORTS_32BIT_KERNEL
419ec47b274SSteven J. Hill	select SYS_SUPPORTS_64BIT_KERNEL
420ec47b274SSteven J. Hill	select SYS_SUPPORTS_BIG_ENDIAN
421ec47b274SSteven J. Hill	select SYS_SUPPORTS_LITTLE_ENDIAN
422ec47b274SSteven J. Hill	select SYS_SUPPORTS_SMARTMIPS
423a6a4834cSSteven J. Hill	select SYS_SUPPORTS_MICROMIPS
424377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
425ec47b274SSteven J. Hill	select USB_EHCI_BIG_ENDIAN_DESC
426ec47b274SSteven J. Hill	select USB_EHCI_BIG_ENDIAN_MMIO
4279b731009SSteven J. Hill	select USE_OF
428ec47b274SSteven J. Hill	help
429ec47b274SSteven J. Hill	  This enables support for the MIPS Technologies SEAD3 evaluation
430ec47b274SSteven J. Hill	  board.
431ec47b274SSteven J. Hill
432a83860c2SRalf Baechleconfig NEC_MARKEINS
433a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
434a83860c2SRalf Baechle	select SOC_EMMA2RH
435a83860c2SRalf Baechle	select HW_HAS_PCI
436a83860c2SRalf Baechle	help
437a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
438ade299d8SYoichi Yuasa
4395e83d430SRalf Baechleconfig MACH_VR41XX
44074142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
44142f77542SRalf Baechle	select CEVT_R4K
442940f6b48SRalf Baechle	select CSRC_R4K
4437cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
444377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
44527fdd325SYoichi Yuasa	select ARCH_REQUIRE_GPIOLIB
4465e83d430SRalf Baechle
447edb6310aSDaniel Lairdconfig NXP_STB220
448edb6310aSDaniel Laird	bool "NXP STB220 board"
449edb6310aSDaniel Laird	select SOC_PNX833X
450edb6310aSDaniel Laird	help
451edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
452edb6310aSDaniel Laird
453edb6310aSDaniel Lairdconfig NXP_STB225
454edb6310aSDaniel Laird	bool "NXP 225 board"
455edb6310aSDaniel Laird	select SOC_PNX833X
456edb6310aSDaniel Laird	select SOC_PNX8335
457edb6310aSDaniel Laird	help
458edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
459edb6310aSDaniel Laird
4609267a30dSMarc St-Jeanconfig PMC_MSP
4619267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
46239d30c13SAnoop P A	select CEVT_R4K
46339d30c13SAnoop P A	select CSRC_R4K
4649267a30dSMarc St-Jean	select DMA_NONCOHERENT
4659267a30dSMarc St-Jean	select SWAP_IO_SPACE
4669267a30dSMarc St-Jean	select NO_EXCEPT_FILL
4679267a30dSMarc St-Jean	select BOOT_RAW
4689267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
4699267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
4709267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
4719267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
472377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
4739267a30dSMarc St-Jean	select IRQ_CPU
4749267a30dSMarc St-Jean	select SERIAL_8250
4759267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
4769296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_MMIO
4779296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_DESC
4789267a30dSMarc St-Jean	help
4799267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
4809267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
4819267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
4829267a30dSMarc St-Jean	  a variety of MIPS cores.
4839267a30dSMarc St-Jean
484ae2b5bb6SJohn Crispinconfig RALINK
485ae2b5bb6SJohn Crispin	bool "Ralink based machines"
486ae2b5bb6SJohn Crispin	select CEVT_R4K
487ae2b5bb6SJohn Crispin	select CSRC_R4K
488ae2b5bb6SJohn Crispin	select BOOT_RAW
489ae2b5bb6SJohn Crispin	select DMA_NONCOHERENT
490ae2b5bb6SJohn Crispin	select IRQ_CPU
491ae2b5bb6SJohn Crispin	select USE_OF
492ae2b5bb6SJohn Crispin	select SYS_HAS_CPU_MIPS32_R1
493ae2b5bb6SJohn Crispin	select SYS_HAS_CPU_MIPS32_R2
494ae2b5bb6SJohn Crispin	select SYS_SUPPORTS_32BIT_KERNEL
495ae2b5bb6SJohn Crispin	select SYS_SUPPORTS_LITTLE_ENDIAN
496377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
497ae2b5bb6SJohn Crispin	select SYS_HAS_EARLY_PRINTK
498ae2b5bb6SJohn Crispin	select HAVE_MACH_CLKDEV
499ae2b5bb6SJohn Crispin	select CLKDEV_LOOKUP
5002a153f1cSJohn Crispin	select ARCH_HAS_RESET_CONTROLLER
5012a153f1cSJohn Crispin	select RESET_CONTROLLER
502ae2b5bb6SJohn Crispin
5031da177e4SLinus Torvaldsconfig SGI_IP22
5043fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
5050e2794b0SRalf Baechle	select FW_ARC
5060e2794b0SRalf Baechle	select FW_ARC32
5071da177e4SLinus Torvalds	select BOOT_ELF32
50842f77542SRalf Baechle	select CEVT_R4K
509940f6b48SRalf Baechle	select CSRC_R4K
510e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
5111da177e4SLinus Torvalds	select DMA_NONCOHERENT
5125e83d430SRalf Baechle	select HW_HAS_EISA
513d865bea4SRalf Baechle	select I8253
51468de4803SThomas Bogendoerfer	select I8259
5151da177e4SLinus Torvalds	select IP22_CPU_SCACHE
5161da177e4SLinus Torvalds	select IRQ_CPU
517aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
518e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
519e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
52036e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
521e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
522e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
523e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
5241da177e4SLinus Torvalds	select SWAP_IO_SPACE
5257cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5267cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
5272b5e63f6SMartin Michlmayr	#
5282b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
5292b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
5302b5e63f6SMartin Michlmayr	#
5312b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
5322b5e63f6SMartin Michlmayr	# for a more details discussion
5332b5e63f6SMartin Michlmayr	#
5342b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
535ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
536ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
5375e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
538930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_7
5391da177e4SLinus Torvalds	help
5401da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
5411da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
5421da177e4SLinus Torvalds	  that runs on these, say Y here.
5431da177e4SLinus Torvalds
5441da177e4SLinus Torvaldsconfig SGI_IP27
5453fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
5460e2794b0SRalf Baechle	select FW_ARC
5470e2794b0SRalf Baechle	select FW_ARC64
5485e83d430SRalf Baechle	select BOOT_ELF64
549e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
550634286f1SRalf Baechle	select DMA_COHERENT
55136a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
5521da177e4SLinus Torvalds	select HW_HAS_PCI
553130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
5547cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
555ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
5565e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
557d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
5581a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
559930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_7
5601da177e4SLinus Torvalds	help
5611da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
5621da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
5631da177e4SLinus Torvalds	  here.
5641da177e4SLinus Torvalds
565e2defae5SThomas Bogendoerferconfig SGI_IP28
5667d60717eSKees Cook	bool "SGI IP28 (Indigo2 R10k)"
5670e2794b0SRalf Baechle	select FW_ARC
5680e2794b0SRalf Baechle	select FW_ARC64
569e2defae5SThomas Bogendoerfer	select BOOT_ELF64
570e2defae5SThomas Bogendoerfer	select CEVT_R4K
571e2defae5SThomas Bogendoerfer	select CSRC_R4K
572e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
573e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
574e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
575e2defae5SThomas Bogendoerfer	select IRQ_CPU
576e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
577e2defae5SThomas Bogendoerfer	select I8253
578e2defae5SThomas Bogendoerfer	select I8259
579e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
580e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
5815b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
582e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
583e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
584e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
585e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
586e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5872b5e63f6SMartin Michlmayr	#
5882b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
5892b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
5902b5e63f6SMartin Michlmayr	#
5912b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
5922b5e63f6SMartin Michlmayr	# for a more details discussion
5932b5e63f6SMartin Michlmayr	#
5942b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
595e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
596e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
597dc24d68dSThomas Bogendoerfer	select MIPS_L1_CACHE_SHIFT_7
598e2defae5SThomas Bogendoerfer      help
599e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
600e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
601e2defae5SThomas Bogendoerfer
6021da177e4SLinus Torvaldsconfig SGI_IP32
603cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
6040e2794b0SRalf Baechle	select FW_ARC
6050e2794b0SRalf Baechle	select FW_ARC32
6061da177e4SLinus Torvalds	select BOOT_ELF32
60742f77542SRalf Baechle	select CEVT_R4K
608940f6b48SRalf Baechle	select CSRC_R4K
6091da177e4SLinus Torvalds	select DMA_NONCOHERENT
6101da177e4SLinus Torvalds	select HW_HAS_PCI
611dd67b155SRalf Baechle	select IRQ_CPU
6121da177e4SLinus Torvalds	select R5000_CPU_SCACHE
6131da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
6147cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
6157cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
6167cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
617dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
618ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
6195e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6201da177e4SLinus Torvalds	help
6211da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
6221da177e4SLinus Torvalds
623ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
624ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
6255e83d430SRalf Baechle	select BOOT_ELF32
6265e83d430SRalf Baechle	select DMA_COHERENT
6275e83d430SRalf Baechle	select SIBYTE_BCM1120
6285e83d430SRalf Baechle	select SWAP_IO_SPACE
6297cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
6305e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6315e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6325e83d430SRalf Baechle
633ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
634ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
6355e83d430SRalf Baechle	select BOOT_ELF32
6365e83d430SRalf Baechle	select DMA_COHERENT
6375e83d430SRalf Baechle	select SIBYTE_BCM1120
6385e83d430SRalf Baechle	select SWAP_IO_SPACE
6397cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
6405e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6415e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6425e83d430SRalf Baechle
6435e83d430SRalf Baechleconfig SIBYTE_CRHONE
6443fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
6455e83d430SRalf Baechle	select BOOT_ELF32
6465e83d430SRalf Baechle	select DMA_COHERENT
6475e83d430SRalf Baechle	select SIBYTE_BCM1125
6485e83d430SRalf Baechle	select SWAP_IO_SPACE
6497cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
6505e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6515e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6525e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6535e83d430SRalf Baechle
654ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
655ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
656ade299d8SYoichi Yuasa	select BOOT_ELF32
657ade299d8SYoichi Yuasa	select DMA_COHERENT
658ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
659ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
660ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
661ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
662ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
663ade299d8SYoichi Yuasa
664ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
665ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
666ade299d8SYoichi Yuasa	select BOOT_ELF32
667ade299d8SYoichi Yuasa	select DMA_COHERENT
668fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
669ade299d8SYoichi Yuasa	select SIBYTE_SB1250
670ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
671ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
672ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
673ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
674ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
675cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
676ade299d8SYoichi Yuasa
677ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
678ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
679ade299d8SYoichi Yuasa	select BOOT_ELF32
680ade299d8SYoichi Yuasa	select DMA_COHERENT
681fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
682ade299d8SYoichi Yuasa	select SIBYTE_SB1250
683ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
684ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
685ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
686ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
687ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
688ade299d8SYoichi Yuasa
689ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
690ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
691ade299d8SYoichi Yuasa	select BOOT_ELF32
692ade299d8SYoichi Yuasa	select DMA_COHERENT
693ade299d8SYoichi Yuasa	select SIBYTE_SB1250
694ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
695ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
696ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
697ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
698ade299d8SYoichi Yuasa
699ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
700ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
701ade299d8SYoichi Yuasa	select BOOT_ELF32
702ade299d8SYoichi Yuasa	select DMA_COHERENT
703ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
704ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
705ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
706ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
707ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
708651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
709ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
710cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
711ade299d8SYoichi Yuasa
71214b36af4SThomas Bogendoerferconfig SNI_RM
71314b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
7140e2794b0SRalf Baechle	select FW_ARC if CPU_LITTLE_ENDIAN
7150e2794b0SRalf Baechle	select FW_ARC32 if CPU_LITTLE_ENDIAN
716aaa9fad3SPaul Bolle	select FW_SNIPROM if CPU_BIG_ENDIAN
7175e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
7185e83d430SRalf Baechle	select BOOT_ELF32
71942f77542SRalf Baechle	select CEVT_R4K
720940f6b48SRalf Baechle	select CSRC_R4K
721e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
7225e83d430SRalf Baechle	select DMA_NONCOHERENT
7235e83d430SRalf Baechle	select GENERIC_ISA_DMA
7248a118c38SRalf Baechle	select HAVE_PCSPKR_PLATFORM
7255e83d430SRalf Baechle	select HW_HAS_EISA
7265e83d430SRalf Baechle	select HW_HAS_PCI
727c066a32aSThomas Bogendoerfer	select IRQ_CPU
728d865bea4SRalf Baechle	select I8253
7295e83d430SRalf Baechle	select I8259
7305e83d430SRalf Baechle	select ISA
7314a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
7327cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
7334a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
734c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
7354a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
73636a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
737ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
7387d60717eSKees Cook	select SYS_SUPPORTS_64BIT_KERNEL
7394a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
7405e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
7415e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
7421da177e4SLinus Torvalds	help
74314b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
74414b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
7455e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
7465e83d430SRalf Baechle	  support this machine type.
7471da177e4SLinus Torvalds
748edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
749edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
7505e83d430SRalf Baechle
751edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
752edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
75323fbee9dSRalf Baechle
75473b4390fSRalf Baechleconfig MIKROTIK_RB532
75573b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
75673b4390fSRalf Baechle	select CEVT_R4K
75773b4390fSRalf Baechle	select CSRC_R4K
75873b4390fSRalf Baechle	select DMA_NONCOHERENT
75973b4390fSRalf Baechle	select HW_HAS_PCI
76073b4390fSRalf Baechle	select IRQ_CPU
76173b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
76273b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
76373b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
76473b4390fSRalf Baechle	select SWAP_IO_SPACE
76573b4390fSRalf Baechle	select BOOT_RAW
766d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
767930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_4
76873b4390fSRalf Baechle	help
76973b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
77073b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
77173b4390fSRalf Baechle
7729ddebc46SDavid Daneyconfig CAVIUM_OCTEON_SOC
7739ddebc46SDavid Daney	bool "Cavium Networks Octeon SoC based boards"
774a86c7f72SDavid Daney	select CEVT_R4K
77534adb28dSRalf Baechle	select ARCH_PHYS_ADDR_T_64BIT
776a86c7f72SDavid Daney	select DMA_COHERENT
777a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
778a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
779f65aad41SRalf Baechle	select EDAC_SUPPORT
780773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
781a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
7825e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
783a86c7f72SDavid Daney	select SWAP_IO_SPACE
784e8635b48SDavid Daney	select HW_HAS_PCI
785f00e001eSDavid Daney	select ZONE_DMA32
786465aaed0SDavid Daney	select HOLES_IN_ZONE
78799cab4bbSDavid Daney	select ARCH_REQUIRE_GPIOLIB
7886e511163SDavid Daney	select LIBFDT
7896e511163SDavid Daney	select USE_OF
7906e511163SDavid Daney	select ARCH_SPARSEMEM_ENABLE
7916e511163SDavid Daney	select SYS_SUPPORTS_SMP
7926e511163SDavid Daney	select NR_CPUS_DEFAULT_16
793e326479fSAndrew Bresticker	select BUILTIN_DTB
794a86c7f72SDavid Daney	help
795a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
796a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
797a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
798a86c7f72SDavid Daney	  Some of the supported boards are:
799a86c7f72SDavid Daney		EBT3000
800a86c7f72SDavid Daney		EBH3000
801a86c7f72SDavid Daney		EBH3100
802a86c7f72SDavid Daney		Thunder
803a86c7f72SDavid Daney		Kodama
804a86c7f72SDavid Daney		Hikari
805a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
806a86c7f72SDavid Daney
8077f058e85SJayachandran Cconfig NLM_XLR_BOARD
8087f058e85SJayachandran C	bool "Netlogic XLR/XLS based systems"
8097f058e85SJayachandran C	select BOOT_ELF32
8107f058e85SJayachandran C	select NLM_COMMON
8117f058e85SJayachandran C	select SYS_HAS_CPU_XLR
8127f058e85SJayachandran C	select SYS_SUPPORTS_SMP
8137f058e85SJayachandran C	select HW_HAS_PCI
8147f058e85SJayachandran C	select SWAP_IO_SPACE
8157f058e85SJayachandran C	select SYS_SUPPORTS_32BIT_KERNEL
8167f058e85SJayachandran C	select SYS_SUPPORTS_64BIT_KERNEL
81734adb28dSRalf Baechle	select ARCH_PHYS_ADDR_T_64BIT
8187f058e85SJayachandran C	select SYS_SUPPORTS_BIG_ENDIAN
8197f058e85SJayachandran C	select SYS_SUPPORTS_HIGHMEM
8207f058e85SJayachandran C	select DMA_COHERENT
8217f058e85SJayachandran C	select NR_CPUS_DEFAULT_32
8227f058e85SJayachandran C	select CEVT_R4K
8237f058e85SJayachandran C	select CSRC_R4K
8247f058e85SJayachandran C	select IRQ_CPU
825b97215fdSJayachandran C	select ZONE_DMA32 if 64BIT
8267f058e85SJayachandran C	select SYNC_R4K
8277f058e85SJayachandran C	select SYS_HAS_EARLY_PRINTK
8288f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT
8298f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT_UART16550
8307f058e85SJayachandran C	help
8317f058e85SJayachandran C	  Support for systems based on Netlogic XLR and XLS processors.
8327f058e85SJayachandran C	  Say Y here if you have a XLR or XLS based board.
8337f058e85SJayachandran C
8341c773ea4SJayachandran Cconfig NLM_XLP_BOARD
8351c773ea4SJayachandran C	bool "Netlogic XLP based systems"
8361c773ea4SJayachandran C	select BOOT_ELF32
8371c773ea4SJayachandran C	select NLM_COMMON
8381c773ea4SJayachandran C	select SYS_HAS_CPU_XLP
8391c773ea4SJayachandran C	select SYS_SUPPORTS_SMP
8401c773ea4SJayachandran C	select HW_HAS_PCI
8411c773ea4SJayachandran C	select SYS_SUPPORTS_32BIT_KERNEL
8421c773ea4SJayachandran C	select SYS_SUPPORTS_64BIT_KERNEL
84334adb28dSRalf Baechle	select ARCH_PHYS_ADDR_T_64BIT
8441c773ea4SJayachandran C	select SYS_SUPPORTS_BIG_ENDIAN
8451c773ea4SJayachandran C	select SYS_SUPPORTS_LITTLE_ENDIAN
8461c773ea4SJayachandran C	select SYS_SUPPORTS_HIGHMEM
8471c773ea4SJayachandran C	select DMA_COHERENT
8481c773ea4SJayachandran C	select NR_CPUS_DEFAULT_32
8491c773ea4SJayachandran C	select CEVT_R4K
8501c773ea4SJayachandran C	select CSRC_R4K
8511c773ea4SJayachandran C	select IRQ_CPU
852b97215fdSJayachandran C	select ZONE_DMA32 if 64BIT
8531c773ea4SJayachandran C	select SYNC_R4K
8541c773ea4SJayachandran C	select SYS_HAS_EARLY_PRINTK
8552f6528e1SJayachandran C	select USE_OF
8568f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT
8578f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT_UART16550
8581c773ea4SJayachandran C	help
8591c773ea4SJayachandran C	  This board is based on Netlogic XLP Processor.
8601c773ea4SJayachandran C	  Say Y here if you have a XLP based board.
8611c773ea4SJayachandran C
8629bc463beSDavid Daneyconfig MIPS_PARAVIRT
8639bc463beSDavid Daney	bool "Para-Virtualized guest system"
8649bc463beSDavid Daney	select CEVT_R4K
8659bc463beSDavid Daney	select CSRC_R4K
8669bc463beSDavid Daney	select DMA_COHERENT
8679bc463beSDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
8689bc463beSDavid Daney	select SYS_SUPPORTS_32BIT_KERNEL
8699bc463beSDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
8709bc463beSDavid Daney	select SYS_SUPPORTS_SMP
8719bc463beSDavid Daney	select NR_CPUS_DEFAULT_4
8729bc463beSDavid Daney	select SYS_HAS_EARLY_PRINTK
8739bc463beSDavid Daney	select SYS_HAS_CPU_MIPS32_R2
8749bc463beSDavid Daney	select SYS_HAS_CPU_MIPS64_R2
8759bc463beSDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
8769bc463beSDavid Daney	select HW_HAS_PCI
8779bc463beSDavid Daney	select SWAP_IO_SPACE
8789bc463beSDavid Daney	help
8799bc463beSDavid Daney	  This option supports guest running under ????
8809bc463beSDavid Daney
8811da177e4SLinus Torvaldsendchoice
8821da177e4SLinus Torvalds
883e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
8843b12308fSSergey Ryazanovsource "arch/mips/ath25/Kconfig"
885d4a67d9dSGabor Juhossource "arch/mips/ath79/Kconfig"
886a656ffcbSHauke Mehrtenssource "arch/mips/bcm47xx/Kconfig"
887e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig"
8885e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
8895ebabe59SLars-Peter Clausensource "arch/mips/jz4740/Kconfig"
8908ec6d935SJohn Crispinsource "arch/mips/lantiq/Kconfig"
8911f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
8920f3a05cbSRalf Baechlesource "arch/mips/pmcs-msp71xx/Kconfig"
893ae2b5bb6SJohn Crispinsource "arch/mips/ralink/Kconfig"
89429c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
89538b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
89622b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
8975e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
898a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
89985749d24SWu Zhangjinsource "arch/mips/loongson/Kconfig"
900ca585cf9SKelvin Cheungsource "arch/mips/loongson1/Kconfig"
9017f058e85SJayachandran Csource "arch/mips/netlogic/Kconfig"
902ae6e7e63SDavid Daneysource "arch/mips/paravirt/Kconfig"
90338b18f72SRalf Baechle
9045e83d430SRalf Baechleendmenu
9055e83d430SRalf Baechle
9061da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
9071da177e4SLinus Torvalds	bool
9081da177e4SLinus Torvalds	default y
9091da177e4SLinus Torvalds
9101da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
9111da177e4SLinus Torvalds	bool
9121da177e4SLinus Torvalds
913f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
914f0d1b0b3SDavid Howells	bool
915f0d1b0b3SDavid Howells	default n
916f0d1b0b3SDavid Howells
917f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
918f0d1b0b3SDavid Howells	bool
919f0d1b0b3SDavid Howells	default n
920f0d1b0b3SDavid Howells
9213c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
9223c9ee7efSAkinobu Mita	bool
9233c9ee7efSAkinobu Mita	default y
9243c9ee7efSAkinobu Mita
9251da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
9261da177e4SLinus Torvalds	bool
9271da177e4SLinus Torvalds	default y
9281da177e4SLinus Torvalds
929ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
9301cc89038SAtsushi Nemoto	bool
9311cc89038SAtsushi Nemoto	default y
9321cc89038SAtsushi Nemoto
9331da177e4SLinus Torvalds#
9341da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
9351da177e4SLinus Torvalds#
9360e2794b0SRalf Baechleconfig FW_ARC
9371da177e4SLinus Torvalds	bool
9381da177e4SLinus Torvalds
93961ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
94061ed242dSRalf Baechle	bool
94161ed242dSRalf Baechle
9429267a30dSMarc St-Jeanconfig BOOT_RAW
9439267a30dSMarc St-Jean	bool
9449267a30dSMarc St-Jean
945217dd11eSRalf Baechleconfig CEVT_BCM1480
946217dd11eSRalf Baechle	bool
947217dd11eSRalf Baechle
9486457d9fcSYoichi Yuasaconfig CEVT_DS1287
9496457d9fcSYoichi Yuasa	bool
9506457d9fcSYoichi Yuasa
9511097c6acSYoichi Yuasaconfig CEVT_GT641XX
9521097c6acSYoichi Yuasa	bool
9531097c6acSYoichi Yuasa
95442f77542SRalf Baechleconfig CEVT_R4K
95542f77542SRalf Baechle	bool
95642f77542SRalf Baechle
957217dd11eSRalf Baechleconfig CEVT_SB1250
958217dd11eSRalf Baechle	bool
959217dd11eSRalf Baechle
960229f773eSAtsushi Nemotoconfig CEVT_TXX9
961229f773eSAtsushi Nemoto	bool
962229f773eSAtsushi Nemoto
963217dd11eSRalf Baechleconfig CSRC_BCM1480
964217dd11eSRalf Baechle	bool
965217dd11eSRalf Baechle
9664247417dSYoichi Yuasaconfig CSRC_IOASIC
9674247417dSYoichi Yuasa	bool
9684247417dSYoichi Yuasa
969940f6b48SRalf Baechleconfig CSRC_R4K
970940f6b48SRalf Baechle	bool
971940f6b48SRalf Baechle
972217dd11eSRalf Baechleconfig CSRC_SB1250
973217dd11eSRalf Baechle	bool
974217dd11eSRalf Baechle
975a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
9767444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
977a9aec7feSAtsushi Nemoto	bool
978a9aec7feSAtsushi Nemoto
9790e2794b0SRalf Baechleconfig FW_CFE
980df78b5c8SAurelien Jarno	bool
981df78b5c8SAurelien Jarno
9824bafad92SFUJITA Tomonoriconfig ARCH_DMA_ADDR_T_64BIT
98334adb28dSRalf Baechle	def_bool (HIGHMEM && ARCH_PHYS_ADDR_T_64BIT) || 64BIT
9844bafad92SFUJITA Tomonori
985885014bcSFelix Fietkauconfig DMA_MAYBE_COHERENT
986885014bcSFelix Fietkau	select DMA_NONCOHERENT
987885014bcSFelix Fietkau	bool
988885014bcSFelix Fietkau
9891da177e4SLinus Torvaldsconfig DMA_COHERENT
9901da177e4SLinus Torvalds	bool
9911da177e4SLinus Torvalds
9921da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
9931da177e4SLinus Torvalds	bool
994e1e02b32SFUJITA Tomonori	select NEED_DMA_MAP_STATE
9954ce588cdSRalf Baechle
996e1e02b32SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
9974ce588cdSRalf Baechle	bool
9981da177e4SLinus Torvalds
99936a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
10001da177e4SLinus Torvalds	bool
10011da177e4SLinus Torvalds
1002dbb74540SRalf Baechleconfig HOTPLUG_CPU
10031b2bc75cSRalf Baechle	bool "Support for hot-pluggable CPUs"
100440b31360SStephen Rothwell	depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU
10051b2bc75cSRalf Baechle	help
10061b2bc75cSRalf Baechle	  Say Y here to allow turning CPUs off and on. CPUs can be
10071b2bc75cSRalf Baechle	  controlled through /sys/devices/system/cpu.
10081b2bc75cSRalf Baechle	  (Note: power management support will enable this option
10091b2bc75cSRalf Baechle	    automatically on SMP systems. )
10101b2bc75cSRalf Baechle	  Say N if you want to disable CPU hotplug.
10111b2bc75cSRalf Baechle
10121b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU
1013dbb74540SRalf Baechle	bool
1014dbb74540SRalf Baechle
10151da177e4SLinus Torvaldsconfig I8259
10161da177e4SLinus Torvalds	bool
1017079a4601SAndrew Bresticker	select IRQ_DOMAIN
10181da177e4SLinus Torvalds
10191da177e4SLinus Torvaldsconfig MIPS_BONITO64
10201da177e4SLinus Torvalds	bool
10211da177e4SLinus Torvalds
10221da177e4SLinus Torvaldsconfig MIPS_MSC
10231da177e4SLinus Torvalds	bool
10241da177e4SLinus Torvalds
10251f21d2bdSBrian Murphyconfig MIPS_NILE4
10261f21d2bdSBrian Murphy	bool
10271f21d2bdSBrian Murphy
102839b8d525SRalf Baechleconfig SYNC_R4K
102939b8d525SRalf Baechle	bool
103039b8d525SRalf Baechle
1031487d70d0SGabor Juhosconfig MIPS_MACHINE
1032487d70d0SGabor Juhos	def_bool n
1033487d70d0SGabor Juhos
1034ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP
1035d388d685SMaciej W. Rozycki	def_bool n
1036d388d685SMaciej W. Rozycki
10378313da30SRalf Baechleconfig GENERIC_ISA_DMA
10388313da30SRalf Baechle	bool
10398313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
1040a35bee8aSNamhyung Kim	select ISA_DMA_API
10418313da30SRalf Baechle
1042aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
1043aa414dffSRalf Baechle	bool
10448313da30SRalf Baechle	select GENERIC_ISA_DMA
1045aa414dffSRalf Baechle
1046a35bee8aSNamhyung Kimconfig ISA_DMA_API
1047a35bee8aSNamhyung Kim	bool
1048a35bee8aSNamhyung Kim
1049465aaed0SDavid Daneyconfig HOLES_IN_ZONE
1050465aaed0SDavid Daney	bool
1051465aaed0SDavid Daney
10525e83d430SRalf Baechle#
10536b2aac42SMasanari Iida# Endianness selection.  Sufficiently obscure so many users don't know what to
10545e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
10555e83d430SRalf Baechle# choice statement should be more obvious to the user.
10565e83d430SRalf Baechle#
10575e83d430SRalf Baechlechoice
10586b2aac42SMasanari Iida	prompt "Endianness selection"
10591da177e4SLinus Torvalds	help
10601da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
10615e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
10623cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
10635e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
10643dde6ad8SDavid Sterba	  one or the other endianness.
10655e83d430SRalf Baechle
10665e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
10675e83d430SRalf Baechle	bool "Big endian"
10685e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
10695e83d430SRalf Baechle
10705e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
10715e83d430SRalf Baechle	bool "Little endian"
10725e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
10735e83d430SRalf Baechle
10745e83d430SRalf Baechleendchoice
10755e83d430SRalf Baechle
107622b0763aSDavid Daneyconfig EXPORT_UASM
107722b0763aSDavid Daney	bool
107822b0763aSDavid Daney
10792116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
10802116245eSRalf Baechle	bool
10812116245eSRalf Baechle
10825e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
10835e83d430SRalf Baechle	bool
10845e83d430SRalf Baechle
10855e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
10865e83d430SRalf Baechle	bool
10871da177e4SLinus Torvalds
10889cffd154SDavid Daneyconfig SYS_SUPPORTS_HUGETLBFS
10899cffd154SDavid Daney	bool
10909cffd154SDavid Daney	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
10919cffd154SDavid Daney	default y
10929cffd154SDavid Daney
1093aa1762f4SDavid Daneyconfig MIPS_HUGE_TLB_SUPPORT
1094aa1762f4SDavid Daney	def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
1095aa1762f4SDavid Daney
10961da177e4SLinus Torvaldsconfig IRQ_CPU
10971da177e4SLinus Torvalds	bool
10980f84c305SAndrew Bresticker	select IRQ_DOMAIN
10991da177e4SLinus Torvalds
11001da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
11011da177e4SLinus Torvalds	bool
11021da177e4SLinus Torvalds
11039267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
11049267a30dSMarc St-Jean	bool
11059267a30dSMarc St-Jean
11069267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
11079267a30dSMarc St-Jean	bool
11089267a30dSMarc St-Jean
11098420fd00SAtsushi Nemotoconfig IRQ_TXX9
11108420fd00SAtsushi Nemoto	bool
11118420fd00SAtsushi Nemoto
1112d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
1113d5ab1a69SYoichi Yuasa	bool
1114d5ab1a69SYoichi Yuasa
1115252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
11161da177e4SLinus Torvalds	bool
11171da177e4SLinus Torvalds
11189267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
11199267a30dSMarc St-Jean	bool
11209267a30dSMarc St-Jean
1121a83860c2SRalf Baechleconfig SOC_EMMA2RH
1122a83860c2SRalf Baechle	bool
1123a83860c2SRalf Baechle	select CEVT_R4K
1124a83860c2SRalf Baechle	select CSRC_R4K
1125a83860c2SRalf Baechle	select DMA_NONCOHERENT
1126a83860c2SRalf Baechle	select IRQ_CPU
1127a83860c2SRalf Baechle	select SWAP_IO_SPACE
1128a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
1129a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1130a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
1131a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1132a83860c2SRalf Baechle
1133edb6310aSDaniel Lairdconfig SOC_PNX833X
1134edb6310aSDaniel Laird	bool
1135edb6310aSDaniel Laird	select CEVT_R4K
1136edb6310aSDaniel Laird	select CSRC_R4K
1137edb6310aSDaniel Laird	select IRQ_CPU
1138edb6310aSDaniel Laird	select DMA_NONCOHERENT
1139edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
1140edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
1141edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
1142edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
1143377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
1144edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
1145edb6310aSDaniel Laird
1146edb6310aSDaniel Lairdconfig SOC_PNX8335
1147edb6310aSDaniel Laird	bool
1148edb6310aSDaniel Laird	select SOC_PNX833X
1149edb6310aSDaniel Laird
11501da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
11511da177e4SLinus Torvalds	bool
11521da177e4SLinus Torvalds
1153e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
1154e2defae5SThomas Bogendoerfer	bool
1155e2defae5SThomas Bogendoerfer
11565b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
11575b438c44SThomas Bogendoerfer	bool
11585b438c44SThomas Bogendoerfer
1159e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
1160e2defae5SThomas Bogendoerfer	bool
1161e2defae5SThomas Bogendoerfer
1162e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
1163e2defae5SThomas Bogendoerfer	bool
1164e2defae5SThomas Bogendoerfer
1165e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
1166e2defae5SThomas Bogendoerfer	bool
1167e2defae5SThomas Bogendoerfer
1168e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1169e2defae5SThomas Bogendoerfer	bool
1170e2defae5SThomas Bogendoerfer
1171e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1172e2defae5SThomas Bogendoerfer	bool
1173e2defae5SThomas Bogendoerfer
11740e2794b0SRalf Baechleconfig FW_ARC32
11755e83d430SRalf Baechle	bool
11765e83d430SRalf Baechle
1177aaa9fad3SPaul Bolleconfig FW_SNIPROM
1178231a35d3SThomas Bogendoerfer	bool
1179231a35d3SThomas Bogendoerfer
11801da177e4SLinus Torvaldsconfig BOOT_ELF32
11811da177e4SLinus Torvalds	bool
11821da177e4SLinus Torvalds
1183930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_4
1184930beb5aSFlorian Fainelli	bool
1185930beb5aSFlorian Fainelli
1186930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_5
1187930beb5aSFlorian Fainelli	bool
1188930beb5aSFlorian Fainelli
1189930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_6
1190930beb5aSFlorian Fainelli	bool
1191930beb5aSFlorian Fainelli
1192930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_7
1193930beb5aSFlorian Fainelli	bool
1194930beb5aSFlorian Fainelli
11951da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
11961da177e4SLinus Torvalds	int
1197a4c0201eSFlorian Fainelli	default "4" if MIPS_L1_CACHE_SHIFT_4
1198a4c0201eSFlorian Fainelli	default "5" if MIPS_L1_CACHE_SHIFT_5
1199a4c0201eSFlorian Fainelli	default "6" if MIPS_L1_CACHE_SHIFT_6
1200a4c0201eSFlorian Fainelli	default "7" if MIPS_L1_CACHE_SHIFT_7
12011da177e4SLinus Torvalds	default "5"
12021da177e4SLinus Torvalds
12031da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
12041da177e4SLinus Torvalds	bool
12051da177e4SLinus Torvalds
12061da177e4SLinus Torvaldsconfig ARC_CONSOLE
12071da177e4SLinus Torvalds	bool "ARC console support"
1208e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
12091da177e4SLinus Torvalds
12101da177e4SLinus Torvaldsconfig ARC_MEMORY
12111da177e4SLinus Torvalds	bool
121214b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
12131da177e4SLinus Torvalds	default y
12141da177e4SLinus Torvalds
12151da177e4SLinus Torvaldsconfig ARC_PROMLIB
12161da177e4SLinus Torvalds	bool
1217e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
12181da177e4SLinus Torvalds	default y
12191da177e4SLinus Torvalds
12200e2794b0SRalf Baechleconfig FW_ARC64
12211da177e4SLinus Torvalds	bool
12221da177e4SLinus Torvalds
12231da177e4SLinus Torvaldsconfig BOOT_ELF64
12241da177e4SLinus Torvalds	bool
12251da177e4SLinus Torvalds
12261da177e4SLinus Torvaldsmenu "CPU selection"
12271da177e4SLinus Torvalds
12281da177e4SLinus Torvaldschoice
12291da177e4SLinus Torvalds	prompt "CPU type"
12301da177e4SLinus Torvalds	default CPU_R4X00
12311da177e4SLinus Torvalds
12320e476d91SHuacai Chenconfig CPU_LOONGSON3
12330e476d91SHuacai Chen	bool "Loongson 3 CPU"
12340e476d91SHuacai Chen	depends on SYS_HAS_CPU_LOONGSON3
12350e476d91SHuacai Chen	select CPU_SUPPORTS_64BIT_KERNEL
12360e476d91SHuacai Chen	select CPU_SUPPORTS_HIGHMEM
12370e476d91SHuacai Chen	select CPU_SUPPORTS_HUGEPAGES
12380e476d91SHuacai Chen	select WEAK_ORDERING
12390e476d91SHuacai Chen	select WEAK_REORDERING_BEYOND_LLSC
12400e476d91SHuacai Chen	help
12410e476d91SHuacai Chen		The Loongson 3 processor implements the MIPS64R2 instruction
12420e476d91SHuacai Chen		set with many extensions.
12430e476d91SHuacai Chen
12443702bba5SWu Zhangjinconfig CPU_LOONGSON2E
12453702bba5SWu Zhangjin	bool "Loongson 2E"
12463702bba5SWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2E
12473702bba5SWu Zhangjin	select CPU_LOONGSON2
12482a21c730SFuxin Zhang	help
12492a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
12502a21c730SFuxin Zhang	  with many extensions.
12512a21c730SFuxin Zhang
125225985edcSLucas De Marchi	  It has an internal FPGA northbridge, which is compatible to
12536f7a251aSWu Zhangjin	  bonito64.
12546f7a251aSWu Zhangjin
12556f7a251aSWu Zhangjinconfig CPU_LOONGSON2F
12566f7a251aSWu Zhangjin	bool "Loongson 2F"
12576f7a251aSWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2F
12586f7a251aSWu Zhangjin	select CPU_LOONGSON2
1259c197da91SArnaud Patard	select ARCH_REQUIRE_GPIOLIB
12606f7a251aSWu Zhangjin	help
12616f7a251aSWu Zhangjin	  The Loongson 2F processor implements the MIPS III instruction set
12626f7a251aSWu Zhangjin	  with many extensions.
12636f7a251aSWu Zhangjin
12646f7a251aSWu Zhangjin	  Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
12656f7a251aSWu Zhangjin	  have a similar programming interface with FPGA northbridge used in
12666f7a251aSWu Zhangjin	  Loongson2E.
12676f7a251aSWu Zhangjin
1268ca585cf9SKelvin Cheungconfig CPU_LOONGSON1B
1269ca585cf9SKelvin Cheung	bool "Loongson 1B"
1270ca585cf9SKelvin Cheung	depends on SYS_HAS_CPU_LOONGSON1B
1271ca585cf9SKelvin Cheung	select CPU_LOONGSON1
1272ca585cf9SKelvin Cheung	help
1273ca585cf9SKelvin Cheung	  The Loongson 1B is a 32-bit SoC, which implements the MIPS32
1274ca585cf9SKelvin Cheung	  release 2 instruction set.
1275ca585cf9SKelvin Cheung
12766e760c8dSRalf Baechleconfig CPU_MIPS32_R1
12776e760c8dSRalf Baechle	bool "MIPS32 Release 1"
12787cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
12796e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1280797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1281ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12826e760c8dSRalf Baechle	help
12835e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
12841e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
12851e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
12861e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
12871e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
12881e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
12891e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
12901e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
12911e5f1caaSRalf Baechle	  performance.
12921e5f1caaSRalf Baechle
12931e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
12941e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
12957cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
12961e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1297797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1298ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1299a5e9a69eSPaul Burton	select CPU_SUPPORTS_MSA
13002235a54dSSanjay Lal	select HAVE_KVM
13011e5f1caaSRalf Baechle	help
13025e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
13036e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
13046e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
13056e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
13066e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
13071da177e4SLinus Torvalds
13086e760c8dSRalf Baechleconfig CPU_MIPS64_R1
13096e760c8dSRalf Baechle	bool "MIPS64 Release 1"
13107cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1311797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1312ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1313ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1314ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13159cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
13166e760c8dSRalf Baechle	help
13176e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
13186e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
13196e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
13206e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
13216e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
13221e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
13231e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
13241e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
13251e5f1caaSRalf Baechle	  performance.
13261e5f1caaSRalf Baechle
13271e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
13281e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
13297cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1330797798c1SRalf Baechle	select CPU_HAS_PREFETCH
13311e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
13321e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1333ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13349cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1335a5e9a69eSPaul Burton	select CPU_SUPPORTS_MSA
13361e5f1caaSRalf Baechle	help
13371e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
13381e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
13391e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
13401e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
13411e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
13421da177e4SLinus Torvalds
13431da177e4SLinus Torvaldsconfig CPU_R3000
13441da177e4SLinus Torvalds	bool "R3000"
13457cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1346f7062ddbSRalf Baechle	select CPU_HAS_WB
1347ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1348797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13491da177e4SLinus Torvalds	help
13501da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
13511da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
13521da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
13531da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
13541da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
13551da177e4SLinus Torvalds	  try to recompile with R3000.
13561da177e4SLinus Torvalds
13571da177e4SLinus Torvaldsconfig CPU_TX39XX
13581da177e4SLinus Torvalds	bool "R39XX"
13597cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1360ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
13611da177e4SLinus Torvalds
13621da177e4SLinus Torvaldsconfig CPU_VR41XX
13631da177e4SLinus Torvalds	bool "R41xx"
13647cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1365ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1366ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
13671da177e4SLinus Torvalds	help
13685e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
13691da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
13701da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
13711da177e4SLinus Torvalds	  processor or vice versa.
13721da177e4SLinus Torvalds
13731da177e4SLinus Torvaldsconfig CPU_R4300
13741da177e4SLinus Torvalds	bool "R4300"
13757cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1376ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1377ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
13781da177e4SLinus Torvalds	help
13791da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
13801da177e4SLinus Torvalds
13811da177e4SLinus Torvaldsconfig CPU_R4X00
13821da177e4SLinus Torvalds	bool "R4x00"
13837cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1384ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1385ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1386970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
13871da177e4SLinus Torvalds	help
13881da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
13891da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
13901da177e4SLinus Torvalds
13911da177e4SLinus Torvaldsconfig CPU_TX49XX
13921da177e4SLinus Torvalds	bool "R49XX"
13937cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1394de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1395ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1396ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1397970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
13981da177e4SLinus Torvalds
13991da177e4SLinus Torvaldsconfig CPU_R5000
14001da177e4SLinus Torvalds	bool "R5000"
14017cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1402ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1403ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1404970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14051da177e4SLinus Torvalds	help
14061da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
14071da177e4SLinus Torvalds
14081da177e4SLinus Torvaldsconfig CPU_R5432
14091da177e4SLinus Torvalds	bool "R5432"
14107cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
14115e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
14125e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1413970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14141da177e4SLinus Torvalds
1415542c1020SShinya Kuribayashiconfig CPU_R5500
1416542c1020SShinya Kuribayashi	bool "R5500"
1417542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1418542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1419542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
14209cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1421542c1020SShinya Kuribayashi	help
1422542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1423542c1020SShinya Kuribayashi	  instruction set.
1424542c1020SShinya Kuribayashi
14251da177e4SLinus Torvaldsconfig CPU_R6000
14261da177e4SLinus Torvalds	bool "R6000"
14277cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1428ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
14291da177e4SLinus Torvalds	help
14301da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1431c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
14321da177e4SLinus Torvalds
14331da177e4SLinus Torvaldsconfig CPU_NEVADA
14341da177e4SLinus Torvalds	bool "RM52xx"
14357cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1436ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1437ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1438970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14391da177e4SLinus Torvalds	help
14401da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
14411da177e4SLinus Torvalds
14421da177e4SLinus Torvaldsconfig CPU_R8000
14431da177e4SLinus Torvalds	bool "R8000"
14447cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
14455e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1446ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
14471da177e4SLinus Torvalds	help
14481da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
14491da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
14501da177e4SLinus Torvalds
14511da177e4SLinus Torvaldsconfig CPU_R10000
14521da177e4SLinus Torvalds	bool "R10000"
14537cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
14545e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1455ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1456ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1457797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1458970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14591da177e4SLinus Torvalds	help
14601da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
14611da177e4SLinus Torvalds
14621da177e4SLinus Torvaldsconfig CPU_RM7000
14631da177e4SLinus Torvalds	bool "RM7000"
14647cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
14655e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1466ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1467ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1468797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1469970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14701da177e4SLinus Torvalds
14711da177e4SLinus Torvaldsconfig CPU_SB1
14721da177e4SLinus Torvalds	bool "SB1"
14737cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1474ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1475ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1476797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1477970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14780004a9dfSRalf Baechle	select WEAK_ORDERING
14791da177e4SLinus Torvalds
1480a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1481a86c7f72SDavid Daney	bool "Cavium Octeon processor"
14825e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1483a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1484a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1485a86c7f72SDavid Daney	select WEAK_ORDERING
1486a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
14879cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
14889296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_MMIO
1489930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_7
1490a86c7f72SDavid Daney	help
1491a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1492a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1493a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1494a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1495a86c7f72SDavid Daney
1496cd746249SJonas Gorskiconfig CPU_BMIPS
1497cd746249SJonas Gorski	bool "Broadcom BMIPS"
1498cd746249SJonas Gorski	depends on SYS_HAS_CPU_BMIPS
1499cd746249SJonas Gorski	select CPU_MIPS32
1500fe7f62c0SJonas Gorski	select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300
1501cd746249SJonas Gorski	select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350
1502cd746249SJonas Gorski	select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380
1503cd746249SJonas Gorski	select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
1504cd746249SJonas Gorski	select CPU_SUPPORTS_32BIT_KERNEL
1505cd746249SJonas Gorski	select DMA_NONCOHERENT
1506cd746249SJonas Gorski	select IRQ_CPU
1507cd746249SJonas Gorski	select SWAP_IO_SPACE
1508cd746249SJonas Gorski	select WEAK_ORDERING
1509c1c0c461SKevin Cernekee	select CPU_SUPPORTS_HIGHMEM
151069aaf9c8SJonas Gorski	select CPU_HAS_PREFETCH
1511c1c0c461SKevin Cernekee	help
1512fe7f62c0SJonas Gorski	  Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
1513c1c0c461SKevin Cernekee
15147f058e85SJayachandran Cconfig CPU_XLR
15157f058e85SJayachandran C	bool "Netlogic XLR SoC"
15167f058e85SJayachandran C	depends on SYS_HAS_CPU_XLR
15177f058e85SJayachandran C	select CPU_SUPPORTS_32BIT_KERNEL
15187f058e85SJayachandran C	select CPU_SUPPORTS_64BIT_KERNEL
15197f058e85SJayachandran C	select CPU_SUPPORTS_HIGHMEM
1520970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
15217f058e85SJayachandran C	select WEAK_ORDERING
15227f058e85SJayachandran C	select WEAK_REORDERING_BEYOND_LLSC
15237f058e85SJayachandran C	help
15247f058e85SJayachandran C	  Netlogic Microsystems XLR/XLS processors.
15251c773ea4SJayachandran C
15261c773ea4SJayachandran Cconfig CPU_XLP
15271c773ea4SJayachandran C	bool "Netlogic XLP SoC"
15281c773ea4SJayachandran C	depends on SYS_HAS_CPU_XLP
15291c773ea4SJayachandran C	select CPU_SUPPORTS_32BIT_KERNEL
15301c773ea4SJayachandran C	select CPU_SUPPORTS_64BIT_KERNEL
15311c773ea4SJayachandran C	select CPU_SUPPORTS_HIGHMEM
15321c773ea4SJayachandran C	select WEAK_ORDERING
15331c773ea4SJayachandran C	select WEAK_REORDERING_BEYOND_LLSC
15341c773ea4SJayachandran C	select CPU_HAS_PREFETCH
1535d6504846SJayachandran C	select CPU_MIPSR2
15361c773ea4SJayachandran C	help
15371c773ea4SJayachandran C	  Netlogic Microsystems XLP processors.
15381da177e4SLinus Torvaldsendchoice
15391da177e4SLinus Torvalds
1540a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_FEATURES
1541a6e18781SLeonid Yegoshin	bool "MIPS32 Release 3.5 Features"
1542a6e18781SLeonid Yegoshin	depends on SYS_HAS_CPU_MIPS32_R3_5
1543a6e18781SLeonid Yegoshin	depends on CPU_MIPS32_R2
1544a6e18781SLeonid Yegoshin	help
1545a6e18781SLeonid Yegoshin	  Choose this option to build a kernel for release 2 or later of the
1546a6e18781SLeonid Yegoshin	  MIPS32 architecture including features from the 3.5 release such as
1547a6e18781SLeonid Yegoshin	  support for Enhanced Virtual Addressing (EVA).
1548a6e18781SLeonid Yegoshin
1549a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_EVA
1550a6e18781SLeonid Yegoshin	bool "Enhanced Virtual Addressing (EVA)"
1551a6e18781SLeonid Yegoshin	depends on CPU_MIPS32_3_5_FEATURES
1552a6e18781SLeonid Yegoshin	select EVA
1553a6e18781SLeonid Yegoshin	default y
1554a6e18781SLeonid Yegoshin	help
1555a6e18781SLeonid Yegoshin	  Choose this option if you want to enable the Enhanced Virtual
1556a6e18781SLeonid Yegoshin	  Addressing (EVA) on your MIPS32 core (such as proAptiv).
1557a6e18781SLeonid Yegoshin	  One of its primary benefits is an increase in the maximum size
1558a6e18781SLeonid Yegoshin	  of lowmem (up to 3GB). If unsure, say 'N' here.
1559a6e18781SLeonid Yegoshin
1560622844bfSWu Zhangjinif CPU_LOONGSON2F
1561622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS
1562622844bfSWu Zhangjin	bool
1563622844bfSWu Zhangjin
1564622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS
1565622844bfSWu Zhangjin	bool
1566622844bfSWu Zhangjin
1567622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS
1568622844bfSWu Zhangjin	bool "Loongson 2F Workarounds"
1569622844bfSWu Zhangjin	default y
1570622844bfSWu Zhangjin	select CPU_NOP_WORKAROUNDS
1571622844bfSWu Zhangjin	select CPU_JUMP_WORKAROUNDS
1572622844bfSWu Zhangjin	help
1573622844bfSWu Zhangjin	  Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1574622844bfSWu Zhangjin	  require workarounds.  Without workarounds the system may hang
1575622844bfSWu Zhangjin	  unexpectedly.  For more information please refer to the gas
1576622844bfSWu Zhangjin	  -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1577622844bfSWu Zhangjin
1578622844bfSWu Zhangjin	  Loongson 2F03 and later have fixed these issues and no workarounds
1579622844bfSWu Zhangjin	  are needed.  The workarounds have no significant side effect on them
1580622844bfSWu Zhangjin	  but may decrease the performance of the system so this option should
1581622844bfSWu Zhangjin	  be disabled unless the kernel is intended to be run on 2F01 or 2F02
1582622844bfSWu Zhangjin	  systems.
1583622844bfSWu Zhangjin
1584622844bfSWu Zhangjin	  If unsure, please say Y.
1585622844bfSWu Zhangjinendif # CPU_LOONGSON2F
1586622844bfSWu Zhangjin
15871b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT
15881b93b3c3SWu Zhangjin	bool
15891b93b3c3SWu Zhangjin	select HAVE_KERNEL_GZIP
15901b93b3c3SWu Zhangjin	select HAVE_KERNEL_BZIP2
159131c4867dSFlorian Fainelli	select HAVE_KERNEL_LZ4
15921b93b3c3SWu Zhangjin	select HAVE_KERNEL_LZMA
1593fe1d45e0SWu Zhangjin	select HAVE_KERNEL_LZO
15944e23eb63SFlorian Fainelli	select HAVE_KERNEL_XZ
15951b93b3c3SWu Zhangjin
15961b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550
15971b93b3c3SWu Zhangjin	bool
15981b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
15991b93b3c3SWu Zhangjin
16003702bba5SWu Zhangjinconfig CPU_LOONGSON2
16013702bba5SWu Zhangjin	bool
16023702bba5SWu Zhangjin	select CPU_SUPPORTS_32BIT_KERNEL
16033702bba5SWu Zhangjin	select CPU_SUPPORTS_64BIT_KERNEL
16043702bba5SWu Zhangjin	select CPU_SUPPORTS_HIGHMEM
1605970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
16063702bba5SWu Zhangjin
1607ca585cf9SKelvin Cheungconfig CPU_LOONGSON1
1608ca585cf9SKelvin Cheung	bool
1609ca585cf9SKelvin Cheung	select CPU_MIPS32
1610ca585cf9SKelvin Cheung	select CPU_MIPSR2
1611ca585cf9SKelvin Cheung	select CPU_HAS_PREFETCH
1612ca585cf9SKelvin Cheung	select CPU_SUPPORTS_32BIT_KERNEL
1613ca585cf9SKelvin Cheung	select CPU_SUPPORTS_HIGHMEM
1614f29ad10dSKelvin Cheung	select CPU_SUPPORTS_CPUFREQ
1615ca585cf9SKelvin Cheung
1616fe7f62c0SJonas Gorskiconfig CPU_BMIPS32_3300
161704fa8bf7SJonas Gorski	select SMP_UP if SMP
16181bbb6c1bSKevin Cernekee	bool
1619cd746249SJonas Gorski
1620cd746249SJonas Gorskiconfig CPU_BMIPS4350
1621cd746249SJonas Gorski	bool
1622cd746249SJonas Gorski	select SYS_SUPPORTS_SMP
1623cd746249SJonas Gorski	select SYS_SUPPORTS_HOTPLUG_CPU
1624cd746249SJonas Gorski
1625cd746249SJonas Gorskiconfig CPU_BMIPS4380
1626cd746249SJonas Gorski	bool
1627bbf2ba67SKevin Cernekee	select MIPS_L1_CACHE_SHIFT_6
1628cd746249SJonas Gorski	select SYS_SUPPORTS_SMP
1629cd746249SJonas Gorski	select SYS_SUPPORTS_HOTPLUG_CPU
1630cd746249SJonas Gorski
1631cd746249SJonas Gorskiconfig CPU_BMIPS5000
1632cd746249SJonas Gorski	bool
1633cd746249SJonas Gorski	select MIPS_CPU_SCACHE
1634bbf2ba67SKevin Cernekee	select MIPS_L1_CACHE_SHIFT_7
1635cd746249SJonas Gorski	select SYS_SUPPORTS_SMP
1636cd746249SJonas Gorski	select SYS_SUPPORTS_HOTPLUG_CPU
16371bbb6c1bSKevin Cernekee
16380e476d91SHuacai Chenconfig SYS_HAS_CPU_LOONGSON3
16390e476d91SHuacai Chen	bool
16400e476d91SHuacai Chen	select CPU_SUPPORTS_CPUFREQ
16410e476d91SHuacai Chen
16423702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E
16432a21c730SFuxin Zhang	bool
16442a21c730SFuxin Zhang
16456f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F
16466f7a251aSWu Zhangjin	bool
164755045ff5SWu Zhangjin	select CPU_SUPPORTS_CPUFREQ
164855045ff5SWu Zhangjin	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
164922f1fdfdSWu Zhangjin	select CPU_SUPPORTS_UNCACHED_ACCELERATED
16506f7a251aSWu Zhangjin
1651ca585cf9SKelvin Cheungconfig SYS_HAS_CPU_LOONGSON1B
1652ca585cf9SKelvin Cheung	bool
1653ca585cf9SKelvin Cheung
16547cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
16557cf8053bSRalf Baechle	bool
16567cf8053bSRalf Baechle
16577cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
16587cf8053bSRalf Baechle	bool
16597cf8053bSRalf Baechle
1660a6e18781SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS32_R3_5
1661a6e18781SLeonid Yegoshin	bool
1662a6e18781SLeonid Yegoshin
16637cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
16647cf8053bSRalf Baechle	bool
16657cf8053bSRalf Baechle
16667cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
16677cf8053bSRalf Baechle	bool
16687cf8053bSRalf Baechle
16697cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
16707cf8053bSRalf Baechle	bool
16717cf8053bSRalf Baechle
16727cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
16737cf8053bSRalf Baechle	bool
16747cf8053bSRalf Baechle
16757cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
16767cf8053bSRalf Baechle	bool
16777cf8053bSRalf Baechle
16787cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
16797cf8053bSRalf Baechle	bool
16807cf8053bSRalf Baechle
16817cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
16827cf8053bSRalf Baechle	bool
16837cf8053bSRalf Baechle
16847cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
16857cf8053bSRalf Baechle	bool
16867cf8053bSRalf Baechle
16877cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
16887cf8053bSRalf Baechle	bool
16897cf8053bSRalf Baechle
16907cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
16917cf8053bSRalf Baechle	bool
16927cf8053bSRalf Baechle
1693542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1694542c1020SShinya Kuribayashi	bool
1695542c1020SShinya Kuribayashi
16967cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
16977cf8053bSRalf Baechle	bool
16987cf8053bSRalf Baechle
16997cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
17007cf8053bSRalf Baechle	bool
17017cf8053bSRalf Baechle
17027cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
17037cf8053bSRalf Baechle	bool
17047cf8053bSRalf Baechle
17057cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
17067cf8053bSRalf Baechle	bool
17077cf8053bSRalf Baechle
17087cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
17097cf8053bSRalf Baechle	bool
17107cf8053bSRalf Baechle
17117cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
17127cf8053bSRalf Baechle	bool
17137cf8053bSRalf Baechle
17145e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
17155e683389SDavid Daney	bool
17165e683389SDavid Daney
1717cd746249SJonas Gorskiconfig SYS_HAS_CPU_BMIPS
1718c1c0c461SKevin Cernekee	bool
1719c1c0c461SKevin Cernekee
1720fe7f62c0SJonas Gorskiconfig SYS_HAS_CPU_BMIPS32_3300
1721c1c0c461SKevin Cernekee	bool
1722cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1723c1c0c461SKevin Cernekee
1724c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4350
1725c1c0c461SKevin Cernekee	bool
1726cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1727c1c0c461SKevin Cernekee
1728c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4380
1729c1c0c461SKevin Cernekee	bool
1730cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1731c1c0c461SKevin Cernekee
1732c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS5000
1733c1c0c461SKevin Cernekee	bool
1734cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1735c1c0c461SKevin Cernekee
17367f058e85SJayachandran Cconfig SYS_HAS_CPU_XLR
17377f058e85SJayachandran C	bool
17387f058e85SJayachandran C
17391c773ea4SJayachandran Cconfig SYS_HAS_CPU_XLP
17401c773ea4SJayachandran C	bool
17411c773ea4SJayachandran C
1742b6911bbaSPaul Burtonconfig MIPS_MALTA_PM
1743b6911bbaSPaul Burton	depends on MIPS_MALTA
1744b6911bbaSPaul Burton	depends on PCI
1745b6911bbaSPaul Burton	bool
1746b6911bbaSPaul Burton	default y
1747b6911bbaSPaul Burton
174817099b11SRalf Baechle#
174917099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
175017099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
175117099b11SRalf Baechle#
17520004a9dfSRalf Baechleconfig WEAK_ORDERING
17530004a9dfSRalf Baechle	bool
175417099b11SRalf Baechle
175517099b11SRalf Baechle#
175617099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
175717099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
175817099b11SRalf Baechle#
175917099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
176017099b11SRalf Baechle	bool
17615e83d430SRalf Baechleendmenu
17625e83d430SRalf Baechle
17635e83d430SRalf Baechle#
17645e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
17655e83d430SRalf Baechle#
17665e83d430SRalf Baechleconfig CPU_MIPS32
17675e83d430SRalf Baechle	bool
17685e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
17695e83d430SRalf Baechle
17705e83d430SRalf Baechleconfig CPU_MIPS64
17715e83d430SRalf Baechle	bool
17725e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
17735e83d430SRalf Baechle
17745e83d430SRalf Baechle#
1775c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
17765e83d430SRalf Baechle#
17775e83d430SRalf Baechleconfig CPU_MIPSR1
17785e83d430SRalf Baechle	bool
17795e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
17805e83d430SRalf Baechle
17815e83d430SRalf Baechleconfig CPU_MIPSR2
17825e83d430SRalf Baechle	bool
1783a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
17845e83d430SRalf Baechle
1785a6e18781SLeonid Yegoshinconfig EVA
1786a6e18781SLeonid Yegoshin	bool
1787a6e18781SLeonid Yegoshin
17885e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
17895e83d430SRalf Baechle	bool
17905e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
17915e83d430SRalf Baechle	bool
17925e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
17935e83d430SRalf Baechle	bool
17945e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
17955e83d430SRalf Baechle	bool
179655045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ
179755045ff5SWu Zhangjin	bool
179855045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG
179955045ff5SWu Zhangjin	bool
18009cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES
18019cffd154SDavid Daney	bool
180222f1fdfdSWu Zhangjinconfig CPU_SUPPORTS_UNCACHED_ACCELERATED
180322f1fdfdSWu Zhangjin	bool
180482622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT
180582622284SDavid Daney	bool
1806d6504846SJayachandran C	default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
18075e83d430SRalf Baechle
18088192c9eaSDavid Daney#
18098192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
18108192c9eaSDavid Daney#
18118192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
18128192c9eaSDavid Daney       bool
1813f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
18148192c9eaSDavid Daney
18155e83d430SRalf Baechlemenu "Kernel type"
18165e83d430SRalf Baechle
18175e83d430SRalf Baechlechoice
18185e83d430SRalf Baechle	prompt "Kernel code model"
18195e83d430SRalf Baechle	help
18205e83d430SRalf Baechle	  You should only select this option if you have a workload that
18215e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
18225e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
18235e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
18245e83d430SRalf Baechle
18255e83d430SRalf Baechleconfig 32BIT
18265e83d430SRalf Baechle	bool "32-bit kernel"
18275e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
18285e83d430SRalf Baechle	select TRAD_SIGNALS
18295e83d430SRalf Baechle	help
18305e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
18315e83d430SRalf Baechleconfig 64BIT
18325e83d430SRalf Baechle	bool "64-bit kernel"
18335e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
18345e83d430SRalf Baechle	help
18355e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
18365e83d430SRalf Baechle
18375e83d430SRalf Baechleendchoice
18385e83d430SRalf Baechle
18392235a54dSSanjay Lalconfig KVM_GUEST
18402235a54dSSanjay Lal	bool "KVM Guest Kernel"
1841f2a5b1d7SJames Hogan	depends on BROKEN_ON_SMP
18422235a54dSSanjay Lal	help
18432235a54dSSanjay Lal	  Select this option if building a guest kernel for KVM (Trap & Emulate) mode
18442235a54dSSanjay Lal
1845eda3d33cSJames Hoganconfig KVM_GUEST_TIMER_FREQ
1846eda3d33cSJames Hogan	int "Count/Compare Timer Frequency (MHz)"
18472235a54dSSanjay Lal	depends on KVM_GUEST
1848eda3d33cSJames Hogan	default 100
18492235a54dSSanjay Lal	help
1850eda3d33cSJames Hogan	  Set this to non-zero if building a guest kernel for KVM to skip RTC
1851eda3d33cSJames Hogan	  emulation when determining guest CPU Frequency. Instead, the guest's
1852eda3d33cSJames Hogan	  timer frequency is specified directly.
18532235a54dSSanjay Lal
18541da177e4SLinus Torvaldschoice
18551da177e4SLinus Torvalds	prompt "Kernel page size"
18561da177e4SLinus Torvalds	default PAGE_SIZE_4KB
18571da177e4SLinus Torvalds
18581da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
18591da177e4SLinus Torvalds	bool "4kB"
18600e476d91SHuacai Chen	depends on !CPU_LOONGSON2 && !CPU_LOONGSON3
18611da177e4SLinus Torvalds	help
18621da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
18631da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
18641da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
18651da177e4SLinus Torvalds	 recommended for low memory systems.
18661da177e4SLinus Torvalds
18671da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
18681da177e4SLinus Torvalds	bool "8kB"
18697d60717eSKees Cook	depends on CPU_R8000 || CPU_CAVIUM_OCTEON
18701da177e4SLinus Torvalds	help
18711da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
18721da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
1873c52399beSRalf Baechle	  only on R8000 and cnMIPS processors.  Note that you will need a
1874c52399beSRalf Baechle	  suitable Linux distribution to support this.
18751da177e4SLinus Torvalds
18761da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
18771da177e4SLinus Torvalds	bool "16kB"
1878714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
18791da177e4SLinus Torvalds	help
18801da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
18811da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1882714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1883714bfad6SRalf Baechle	  Linux distribution to support this.
18841da177e4SLinus Torvalds
1885c52399beSRalf Baechleconfig PAGE_SIZE_32KB
1886c52399beSRalf Baechle	bool "32kB"
1887c52399beSRalf Baechle	depends on CPU_CAVIUM_OCTEON
1888c52399beSRalf Baechle	help
1889c52399beSRalf Baechle	  Using 32kB page size will result in higher performance kernel at
1890c52399beSRalf Baechle	  the price of higher memory consumption.  This option is available
1891c52399beSRalf Baechle	  only on cnMIPS cores.  Note that you will need a suitable Linux
1892c52399beSRalf Baechle	  distribution to support this.
1893c52399beSRalf Baechle
18941da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
18951da177e4SLinus Torvalds	bool "64kB"
18967d60717eSKees Cook	depends on !CPU_R3000 && !CPU_TX39XX
18971da177e4SLinus Torvalds	help
18981da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
18991da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
19001da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1901714bfad6SRalf Baechle	  writing this option is still high experimental.
19021da177e4SLinus Torvalds
19031da177e4SLinus Torvaldsendchoice
19041da177e4SLinus Torvalds
1905c9bace7cSDavid Daneyconfig FORCE_MAX_ZONEORDER
1906c9bace7cSDavid Daney	int "Maximum zone order"
1907e4362d1eSAlex Smith	range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
1908e4362d1eSAlex Smith	default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
1909e4362d1eSAlex Smith	range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
1910e4362d1eSAlex Smith	default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
1911e4362d1eSAlex Smith	range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
1912e4362d1eSAlex Smith	default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
1913c9bace7cSDavid Daney	range 11 64
1914c9bace7cSDavid Daney	default "11"
1915c9bace7cSDavid Daney	help
1916c9bace7cSDavid Daney	  The kernel memory allocator divides physically contiguous memory
1917c9bace7cSDavid Daney	  blocks into "zones", where each zone is a power of two number of
1918c9bace7cSDavid Daney	  pages.  This option selects the largest power of two that the kernel
1919c9bace7cSDavid Daney	  keeps in the memory allocator.  If you need to allocate very large
1920c9bace7cSDavid Daney	  blocks of physically contiguous memory, then you may need to
1921c9bace7cSDavid Daney	  increase this value.
1922c9bace7cSDavid Daney
1923c9bace7cSDavid Daney	  This config option is actually maximum order plus one. For example,
1924c9bace7cSDavid Daney	  a value of 11 means that the largest free memory block is 2^10 pages.
1925c9bace7cSDavid Daney
1926c9bace7cSDavid Daney	  The page size is not necessarily 4KB.  Keep this in mind
1927c9bace7cSDavid Daney	  when choosing a value for this option.
1928c9bace7cSDavid Daney
19291da177e4SLinus Torvaldsconfig BOARD_SCACHE
19301da177e4SLinus Torvalds	bool
19311da177e4SLinus Torvalds
19321da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
19331da177e4SLinus Torvalds	bool
19341da177e4SLinus Torvalds	select BOARD_SCACHE
19351da177e4SLinus Torvalds
19369318c51aSChris Dearman#
19379318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
19389318c51aSChris Dearman#
19399318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
19409318c51aSChris Dearman	bool
19419318c51aSChris Dearman	select BOARD_SCACHE
19429318c51aSChris Dearman
19431da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
19441da177e4SLinus Torvalds	bool
19451da177e4SLinus Torvalds	select BOARD_SCACHE
19461da177e4SLinus Torvalds
19471da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
19481da177e4SLinus Torvalds	bool
19491da177e4SLinus Torvalds	select BOARD_SCACHE
19501da177e4SLinus Torvalds
19511da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
19521da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
19531da177e4SLinus Torvalds	depends on CPU_SB1
19541da177e4SLinus Torvalds	help
19551da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
19561da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
19571da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
19581da177e4SLinus Torvalds
19591da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1960c8094b53SRalf Baechle	bool
19611da177e4SLinus Torvalds
19623165c846SFlorian Fainelliconfig CPU_GENERIC_DUMP_TLB
19633165c846SFlorian Fainelli	bool
19643165c846SFlorian Fainelli	default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
19653165c846SFlorian Fainelli
196691405eb6SFlorian Fainelliconfig CPU_R4K_FPU
196791405eb6SFlorian Fainelli	bool
196891405eb6SFlorian Fainelli	default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
196991405eb6SFlorian Fainelli
197062cedc4fSFlorian Fainelliconfig CPU_R4K_CACHE_TLB
197162cedc4fSFlorian Fainelli	bool
197262cedc4fSFlorian Fainelli	default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
197362cedc4fSFlorian Fainelli
197459d6ab86SRalf Baechleconfig MIPS_MT_SMP
1975a92b7f87SMarkos Chandras	bool "MIPS MT SMP support (1 TC on each available VPE)"
197659d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
197759d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1978d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1979c080faa5SSteven J. Hill	select SYNC_R4K
19800c2cb004SPaul Burton	select MIPS_GIC_IPI
198159d6ab86SRalf Baechle	select MIPS_MT
198259d6ab86SRalf Baechle	select SMP
198387353d8aSRalf Baechle	select SMP_UP
1984c080faa5SSteven J. Hill	select SYS_SUPPORTS_SMP
1985c080faa5SSteven J. Hill	select SYS_SUPPORTS_SCHED_SMT
1986399aaa25SAl Cooper	select MIPS_PERF_SHARED_TC_COUNTERS
198759d6ab86SRalf Baechle	help
1988c080faa5SSteven J. Hill	  This is a kernel model which is known as SMVP. This is supported
1989c080faa5SSteven J. Hill	  on cores with the MT ASE and uses the available VPEs to implement
1990c080faa5SSteven J. Hill	  virtual processors which supports SMP. This is equivalent to the
1991c080faa5SSteven J. Hill	  Intel Hyperthreading feature. For further information go to
1992c080faa5SSteven J. Hill	  <http://www.imgtec.com/mips/mips-multithreading.asp>.
199359d6ab86SRalf Baechle
1994f41ae0b2SRalf Baechleconfig MIPS_MT
1995f41ae0b2SRalf Baechle	bool
1996f41ae0b2SRalf Baechle
19970ab7aefcSRalf Baechleconfig SCHED_SMT
19980ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
19990ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
20000ab7aefcSRalf Baechle	default n
20010ab7aefcSRalf Baechle	help
20020ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
20030ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
20040ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
20050ab7aefcSRalf Baechle
20060ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
20070ab7aefcSRalf Baechle	bool
20080ab7aefcSRalf Baechle
2009f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
2010f41ae0b2SRalf Baechle	bool
2011f41ae0b2SRalf Baechle
2012f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
2013f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
2014f088fc84SRalf Baechle	default y
2015b633648cSRalf Baechle	depends on MIPS_MT_SMP
201607cc0c9eSRalf Baechle
201707cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
201807cc0c9eSRalf Baechle	bool "VPE loader support."
2019704e6460SMarkos Chandras	depends on SYS_SUPPORTS_MULTITHREADING && MODULES
202007cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
202107cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
202207cc0c9eSRalf Baechle	select MIPS_MT
202307cc0c9eSRalf Baechle	help
202407cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
202507cc0c9eSRalf Baechle	  onto another VPE and running it.
2026f088fc84SRalf Baechle
202717a1d523SDeng-Cheng Zhuconfig MIPS_VPE_LOADER_CMP
202817a1d523SDeng-Cheng Zhu	bool
202917a1d523SDeng-Cheng Zhu	default "y"
203017a1d523SDeng-Cheng Zhu	depends on MIPS_VPE_LOADER && MIPS_CMP
203117a1d523SDeng-Cheng Zhu
20321a2a6d7eSDeng-Cheng Zhuconfig MIPS_VPE_LOADER_MT
20331a2a6d7eSDeng-Cheng Zhu	bool
20341a2a6d7eSDeng-Cheng Zhu	default "y"
20351a2a6d7eSDeng-Cheng Zhu	depends on MIPS_VPE_LOADER && !MIPS_CMP
20361a2a6d7eSDeng-Cheng Zhu
2037e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
2038e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
2039e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
2040e01402b1SRalf Baechle	default y
2041e01402b1SRalf Baechle	help
2042e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
2043e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
2044e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
2045e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
2046e01402b1SRalf Baechle
2047e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
2048e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
2049e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
20505e83d430SRalf Baechle	help
2051e01402b1SRalf Baechle
2052da615cf6SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_CMP
2053da615cf6SDeng-Cheng Zhu	bool
2054da615cf6SDeng-Cheng Zhu	default "y"
2055da615cf6SDeng-Cheng Zhu	depends on MIPS_VPE_APSP_API && MIPS_CMP
2056da615cf6SDeng-Cheng Zhu
20572c973ef0SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_MT
20582c973ef0SDeng-Cheng Zhu	bool
20592c973ef0SDeng-Cheng Zhu	default "y"
20602c973ef0SDeng-Cheng Zhu	depends on MIPS_VPE_APSP_API && !MIPS_CMP
20612c973ef0SDeng-Cheng Zhu
20624a16ff4cSRalf Baechleconfig MIPS_CMP
20635cac93b3SPaul Burton	bool "MIPS CMP framework support (DEPRECATED)"
2064b633648cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
206572e20142SPaul Burton	select MIPS_GIC_IPI
2066b10b43baSMarkos Chandras	select SMP
2067eb9b5141STim Anderson	select SYNC_R4K
2068b10b43baSMarkos Chandras	select SYS_SUPPORTS_SMP
20694a16ff4cSRalf Baechle	select WEAK_ORDERING
20704a16ff4cSRalf Baechle	default n
20714a16ff4cSRalf Baechle	help
2072044505c7SPaul Burton	  Select this if you are using a bootloader which implements the "CMP
2073044505c7SPaul Burton	  framework" protocol (ie. YAMON) and want your kernel to make use of
2074044505c7SPaul Burton	  its ability to start secondary CPUs.
20754a16ff4cSRalf Baechle
20765cac93b3SPaul Burton	  Unless you have a specific need, you should use CONFIG_MIPS_CPS
20775cac93b3SPaul Burton	  instead of this.
20785cac93b3SPaul Burton
20790ee958e1SPaul Burtonconfig MIPS_CPS
20800ee958e1SPaul Burton	bool "MIPS Coherent Processing System support"
20810ee958e1SPaul Burton	depends on SYS_SUPPORTS_MIPS_CPS
20820ee958e1SPaul Burton	select MIPS_CM
20830ee958e1SPaul Burton	select MIPS_CPC
20841d8f1f5aSPaul Burton	select MIPS_CPS_PM if HOTPLUG_CPU
20850ee958e1SPaul Burton	select MIPS_GIC_IPI
20860ee958e1SPaul Burton	select SMP
20870ee958e1SPaul Burton	select SYNC_R4K if (CEVT_R4K || CSRC_R4K)
20881d8f1f5aSPaul Burton	select SYS_SUPPORTS_HOTPLUG_CPU
20890ee958e1SPaul Burton	select SYS_SUPPORTS_SMP
20900ee958e1SPaul Burton	select WEAK_ORDERING
20910ee958e1SPaul Burton	help
20920ee958e1SPaul Burton	  Select this if you wish to run an SMP kernel across multiple cores
20930ee958e1SPaul Burton	  within a MIPS Coherent Processing System. When this option is
20940ee958e1SPaul Burton	  enabled the kernel will probe for other cores and boot them with
20950ee958e1SPaul Burton	  no external assistance. It is safe to enable this when hardware
20960ee958e1SPaul Burton	  support is unavailable.
20970ee958e1SPaul Burton
20983179d37eSPaul Burtonconfig MIPS_CPS_PM
209939a59593SMarkos Chandras	depends on MIPS_CPS
2100a8b84677SPaul Burton	select MIPS_CPC
21013179d37eSPaul Burton	bool
21023179d37eSPaul Burton
210372e20142SPaul Burtonconfig MIPS_GIC_IPI
210472e20142SPaul Burton	bool
210572e20142SPaul Burton
21069f98f3ddSPaul Burtonconfig MIPS_CM
21079f98f3ddSPaul Burton	bool
21089f98f3ddSPaul Burton
21099c38cf44SPaul Burtonconfig MIPS_CPC
21109c38cf44SPaul Burton	bool
21112600990eSRalf Baechle
21121da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
21131da177e4SLinus Torvalds	bool
21141da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
21151da177e4SLinus Torvalds	default y
21161da177e4SLinus Torvalds
21171da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
21181da177e4SLinus Torvalds	bool
21191da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
21201da177e4SLinus Torvalds	default y
21211da177e4SLinus Torvalds
21221da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
21231da177e4SLinus Torvalds	bool
21241da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
21251da177e4SLinus Torvalds	default y
21261da177e4SLinus Torvalds
21272235a54dSSanjay Lal
212860ec6571Spascal@pabr.orgconfig ARCH_PHYS_ADDR_T_64BIT
212934adb28dSRalf Baechle       bool
213060ec6571Spascal@pabr.org
21319e2b5372SMarkos Chandraschoice
21329e2b5372SMarkos Chandras	prompt "SmartMIPS or microMIPS ASE support"
21339e2b5372SMarkos Chandras
21349e2b5372SMarkos Chandrasconfig CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS
21359e2b5372SMarkos Chandras	bool "None"
21369e2b5372SMarkos Chandras	help
21379e2b5372SMarkos Chandras	  Select this if you want neither microMIPS nor SmartMIPS support
21389e2b5372SMarkos Chandras
21399693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
21409693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
21419e2b5372SMarkos Chandras	bool "SmartMIPS"
21429693a853SFranck Bui-Huu	help
21439693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
21449693a853SFranck Bui-Huu	  increased security at both hardware and software level for
21459693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
21469693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
21479693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
21489693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
21499693a853SFranck Bui-Huu	  here.
21509693a853SFranck Bui-Huu
2151bce86083SSteven J. Hillconfig CPU_MICROMIPS
2152aec711d5SMaciej W. Rozycki	depends on 32BIT && SYS_SUPPORTS_MICROMIPS
21539e2b5372SMarkos Chandras	bool "microMIPS"
2154bce86083SSteven J. Hill	help
2155bce86083SSteven J. Hill	  When this option is enabled the kernel will be built using the
2156bce86083SSteven J. Hill	  microMIPS ISA
2157bce86083SSteven J. Hill
21589e2b5372SMarkos Chandrasendchoice
21599e2b5372SMarkos Chandras
2160a5e9a69eSPaul Burtonconfig CPU_HAS_MSA
21614af94d5dSPaul Burton	bool "Support for the MIPS SIMD Architecture (EXPERIMENTAL)"
2162a5e9a69eSPaul Burton	depends on CPU_SUPPORTS_MSA
21632a6cb669SPaul Burton	depends on 64BIT || MIPS_O32_FP64_SUPPORT
2164a5e9a69eSPaul Burton	help
2165a5e9a69eSPaul Burton	  MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers
2166a5e9a69eSPaul Burton	  and a set of SIMD instructions to operate on them. When this option
21671db1af84SPaul Burton	  is enabled the kernel will support allocating & switching MSA
21681db1af84SPaul Burton	  vector register contexts. If you know that your kernel will only be
21691db1af84SPaul Burton	  running on CPUs which do not support MSA or that your userland will
21701db1af84SPaul Burton	  not be making use of it then you may wish to say N here to reduce
21711db1af84SPaul Burton	  the size & complexity of your kernel.
2172a5e9a69eSPaul Burton
2173a5e9a69eSPaul Burton	  If unsure, say Y.
2174a5e9a69eSPaul Burton
21751da177e4SLinus Torvaldsconfig CPU_HAS_WB
2176f7062ddbSRalf Baechle	bool
2177e01402b1SRalf Baechle
2178df0ac8a4SKevin Cernekeeconfig XKS01
2179df0ac8a4SKevin Cernekee	bool
2180df0ac8a4SKevin Cernekee
2181f41ae0b2SRalf Baechle#
2182f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
2183f41ae0b2SRalf Baechle#
2184e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
2185f41ae0b2SRalf Baechle	bool
2186e01402b1SRalf Baechle
2187f41ae0b2SRalf Baechle#
2188f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
2189f41ae0b2SRalf Baechle#
2190e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
2191f41ae0b2SRalf Baechle	bool
2192e01402b1SRalf Baechle
21931da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
21941da177e4SLinus Torvalds	bool
21951da177e4SLinus Torvalds	depends on !CPU_R3000
21961da177e4SLinus Torvalds	default y
21971da177e4SLinus Torvalds
21981da177e4SLinus Torvalds#
219920d60d99SMaciej W. Rozycki# CPU non-features
220020d60d99SMaciej W. Rozycki#
220120d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
220220d60d99SMaciej W. Rozycki	bool
220320d60d99SMaciej W. Rozycki
220420d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
220520d60d99SMaciej W. Rozycki	bool
220620d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
220720d60d99SMaciej W. Rozycki
220820d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
220920d60d99SMaciej W. Rozycki	bool
221020d60d99SMaciej W. Rozycki
221120d60d99SMaciej W. Rozycki#
22121da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
22131da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
22141da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
22151da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
22161da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
22171da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
22181da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
22191da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
2220797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
2221797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
2222797798c1SRalf Baechle#   support.
22231da177e4SLinus Torvalds#
22241da177e4SLinus Torvaldsconfig HIGHMEM
22251da177e4SLinus Torvalds	bool "High Memory Support"
2226a6e18781SLeonid Yegoshin	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA
2227797798c1SRalf Baechle
2228797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
2229797798c1SRalf Baechle	bool
2230797798c1SRalf Baechle
2231797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
2232797798c1SRalf Baechle	bool
22331da177e4SLinus Torvalds
22349693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
22359693a853SFranck Bui-Huu	bool
22369693a853SFranck Bui-Huu
2237a6a4834cSSteven J. Hillconfig SYS_SUPPORTS_MICROMIPS
2238a6a4834cSSteven J. Hill	bool
2239a6a4834cSSteven J. Hill
2240377cb1b6SRalf Baechleconfig SYS_SUPPORTS_MIPS16
2241377cb1b6SRalf Baechle	bool
2242377cb1b6SRalf Baechle	help
2243377cb1b6SRalf Baechle	  This option must be set if a kernel might be executed on a MIPS16-
2244377cb1b6SRalf Baechle	  enabled CPU even if MIPS16 is not actually being used.  In other
2245377cb1b6SRalf Baechle	  words, it makes the kernel MIPS16-tolerant.
2246377cb1b6SRalf Baechle
2247a5e9a69eSPaul Burtonconfig CPU_SUPPORTS_MSA
2248a5e9a69eSPaul Burton	bool
2249a5e9a69eSPaul Burton
2250b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
2251b4819b59SYoichi Yuasa	def_bool y
2252f133f22dSWu Zhangjin	depends on !NUMA && !CPU_LOONGSON2
2253b4819b59SYoichi Yuasa
2254d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
2255d8cb4e11SRalf Baechle	bool
2256d8cb4e11SRalf Baechle	default y if SGI_IP27
2257d8cb4e11SRalf Baechle	help
22583dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
2259d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
2260d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
2261d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
2262d8cb4e11SRalf Baechle
2263b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
2264b1c6cd42SAtsushi Nemoto	bool
22657de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
226631473747SAtsushi Nemoto
2267d8cb4e11SRalf Baechleconfig NUMA
2268d8cb4e11SRalf Baechle	bool "NUMA Support"
2269d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
2270d8cb4e11SRalf Baechle	help
2271d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
2272d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
2273d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
2274d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
2275d8cb4e11SRalf Baechle	  disabled.
2276d8cb4e11SRalf Baechle
2277d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
2278d8cb4e11SRalf Baechle	bool
2279d8cb4e11SRalf Baechle
2280c80d79d7SYasunori Gotoconfig NODES_SHIFT
2281c80d79d7SYasunori Goto	int
2282c80d79d7SYasunori Goto	default "6"
2283c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
2284c80d79d7SYasunori Goto
228514f70012SDeng-Cheng Zhuconfig HW_PERF_EVENTS
228614f70012SDeng-Cheng Zhu	bool "Enable hardware performance counter support for perf events"
2287b633648cSRalf Baechle	depends on PERF_EVENTS && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP)
228814f70012SDeng-Cheng Zhu	default y
228914f70012SDeng-Cheng Zhu	help
229014f70012SDeng-Cheng Zhu	  Enable hardware performance counter support for perf events. If
229114f70012SDeng-Cheng Zhu	  disabled, perf events will use software events only.
229214f70012SDeng-Cheng Zhu
2293b4819b59SYoichi Yuasasource "mm/Kconfig"
2294b4819b59SYoichi Yuasa
22951da177e4SLinus Torvaldsconfig SMP
22961da177e4SLinus Torvalds	bool "Multi-Processing support"
2297e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
2298e73ea273SRalf Baechle	help
22991da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
23004a474157SRobert Graffham	  a system with only one CPU, say N. If you have a system with more
23014a474157SRobert Graffham	  than one CPU, say Y.
23021da177e4SLinus Torvalds
23034a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
23041da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
23051da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
23064a474157SRobert Graffham	  uniprocessor machines. On a uniprocessor machine, the kernel
23071da177e4SLinus Torvalds	  will run faster if you say N here.
23081da177e4SLinus Torvalds
23091da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
23101da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
23111da177e4SLinus Torvalds
231203502faaSAdrian Bunk	  See also the SMP-HOWTO available at
231303502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
23141da177e4SLinus Torvalds
23151da177e4SLinus Torvalds	  If you don't know what to do here, say N.
23161da177e4SLinus Torvalds
231787353d8aSRalf Baechleconfig SMP_UP
231887353d8aSRalf Baechle	bool
231987353d8aSRalf Baechle
23204a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
23214a16ff4cSRalf Baechle	bool
23224a16ff4cSRalf Baechle
23230ee958e1SPaul Burtonconfig SYS_SUPPORTS_MIPS_CPS
23240ee958e1SPaul Burton	bool
23250ee958e1SPaul Burton
2326e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
2327e73ea273SRalf Baechle	bool
2328e73ea273SRalf Baechle
2329130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
2330130e2fb7SRalf Baechle	bool
2331130e2fb7SRalf Baechle
2332130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
2333130e2fb7SRalf Baechle	bool
2334130e2fb7SRalf Baechle
2335130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
2336130e2fb7SRalf Baechle	bool
2337130e2fb7SRalf Baechle
2338130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
2339130e2fb7SRalf Baechle	bool
2340130e2fb7SRalf Baechle
2341130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
2342130e2fb7SRalf Baechle	bool
2343130e2fb7SRalf Baechle
23441da177e4SLinus Torvaldsconfig NR_CPUS
2345a91796a9SJayachandran C	int "Maximum number of CPUs (2-256)"
2346a91796a9SJayachandran C	range 2 256
23471da177e4SLinus Torvalds	depends on SMP
2348130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
2349130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
2350130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
2351130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
2352130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
23531da177e4SLinus Torvalds	help
23541da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
23551da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
23561da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
235772ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
235872ede9b1SAtsushi Nemoto	  and 2 for all others.
23591da177e4SLinus Torvalds
23601da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
236172ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
236272ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
236372ede9b1SAtsushi Nemoto	  power of two.
23641da177e4SLinus Torvalds
2365399aaa25SAl Cooperconfig MIPS_PERF_SHARED_TC_COUNTERS
2366399aaa25SAl Cooper	bool
2367399aaa25SAl Cooper
23681723b4a3SAtsushi Nemoto#
23691723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
23701723b4a3SAtsushi Nemoto#
23711723b4a3SAtsushi Nemoto
23721723b4a3SAtsushi Nemotochoice
23731723b4a3SAtsushi Nemoto	prompt "Timer frequency"
23741723b4a3SAtsushi Nemoto	default HZ_250
23751723b4a3SAtsushi Nemoto	help
23761723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
23771723b4a3SAtsushi Nemoto
23781723b4a3SAtsushi Nemoto	config HZ_48
23790f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
23801723b4a3SAtsushi Nemoto
23811723b4a3SAtsushi Nemoto	config HZ_100
23821723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
23831723b4a3SAtsushi Nemoto
23841723b4a3SAtsushi Nemoto	config HZ_128
23851723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
23861723b4a3SAtsushi Nemoto
23871723b4a3SAtsushi Nemoto	config HZ_250
23881723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
23891723b4a3SAtsushi Nemoto
23901723b4a3SAtsushi Nemoto	config HZ_256
23911723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
23921723b4a3SAtsushi Nemoto
23931723b4a3SAtsushi Nemoto	config HZ_1000
23941723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
23951723b4a3SAtsushi Nemoto
23961723b4a3SAtsushi Nemoto	config HZ_1024
23971723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
23981723b4a3SAtsushi Nemoto
23991723b4a3SAtsushi Nemotoendchoice
24001723b4a3SAtsushi Nemoto
24011723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
24021723b4a3SAtsushi Nemoto	bool
24031723b4a3SAtsushi Nemoto
24041723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
24051723b4a3SAtsushi Nemoto	bool
24061723b4a3SAtsushi Nemoto
24071723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
24081723b4a3SAtsushi Nemoto	bool
24091723b4a3SAtsushi Nemoto
24101723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
24111723b4a3SAtsushi Nemoto	bool
24121723b4a3SAtsushi Nemoto
24131723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
24141723b4a3SAtsushi Nemoto	bool
24151723b4a3SAtsushi Nemoto
24161723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
24171723b4a3SAtsushi Nemoto	bool
24181723b4a3SAtsushi Nemoto
24191723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
24201723b4a3SAtsushi Nemoto	bool
24211723b4a3SAtsushi Nemoto
24221723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
24231723b4a3SAtsushi Nemoto	bool
24241723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
24251723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
24261723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
24271723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
24281723b4a3SAtsushi Nemoto
24291723b4a3SAtsushi Nemotoconfig HZ
24301723b4a3SAtsushi Nemoto	int
24311723b4a3SAtsushi Nemoto	default 48 if HZ_48
24321723b4a3SAtsushi Nemoto	default 100 if HZ_100
24331723b4a3SAtsushi Nemoto	default 128 if HZ_128
24341723b4a3SAtsushi Nemoto	default 250 if HZ_250
24351723b4a3SAtsushi Nemoto	default 256 if HZ_256
24361723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
24371723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
24381723b4a3SAtsushi Nemoto
2439e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
24401da177e4SLinus Torvalds
2441ea6e942bSAtsushi Nemotoconfig KEXEC
24427d60717eSKees Cook	bool "Kexec system call"
2443ea6e942bSAtsushi Nemoto	help
2444ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
2445ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
24463dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
2447ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
2448ea6e942bSAtsushi Nemoto
244901dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
2450ea6e942bSAtsushi Nemoto
2451ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
2452ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
2453bf220695SGeert Uytterhoeven	  initially work for you.  As of this writing the exact hardware
2454bf220695SGeert Uytterhoeven	  interface is strongly in flux, so no good recommendation can be
2455bf220695SGeert Uytterhoeven	  made.
2456ea6e942bSAtsushi Nemoto
24577aa1c8f4SRalf Baechleconfig CRASH_DUMP
24587aa1c8f4SRalf Baechle	  bool "Kernel crash dumps"
24597aa1c8f4SRalf Baechle	  help
24607aa1c8f4SRalf Baechle	  Generate crash dump after being started by kexec.
24617aa1c8f4SRalf Baechle	  This should be normally only set in special crash dump kernels
24627aa1c8f4SRalf Baechle	  which are loaded in the main kernel with kexec-tools into
24637aa1c8f4SRalf Baechle	  a specially reserved region and then later executed after
24647aa1c8f4SRalf Baechle	  a crash by kdump/kexec. The crash dump kernel must be compiled
24657aa1c8f4SRalf Baechle	  to a memory address not used by the main kernel or firmware using
24667aa1c8f4SRalf Baechle	  PHYSICAL_START.
24677aa1c8f4SRalf Baechle
24687aa1c8f4SRalf Baechleconfig PHYSICAL_START
24697aa1c8f4SRalf Baechle	  hex "Physical address where the kernel is loaded"
24707aa1c8f4SRalf Baechle	  default "0xffffffff84000000" if 64BIT
24717aa1c8f4SRalf Baechle	  default "0x84000000" if 32BIT
24727aa1c8f4SRalf Baechle	  depends on CRASH_DUMP
24737aa1c8f4SRalf Baechle	  help
24747aa1c8f4SRalf Baechle	  This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
24757aa1c8f4SRalf Baechle	  If you plan to use kernel for capturing the crash dump change
24767aa1c8f4SRalf Baechle	  this value to start of the reserved region (the "X" value as
24777aa1c8f4SRalf Baechle	  specified in the "crashkernel=YM@XM" command line boot parameter
24787aa1c8f4SRalf Baechle	  passed to the panic-ed kernel).
24797aa1c8f4SRalf Baechle
2480ea6e942bSAtsushi Nemotoconfig SECCOMP
2481ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
2482293c5bd1SRalf Baechle	depends on PROC_FS
2483ea6e942bSAtsushi Nemoto	default y
2484ea6e942bSAtsushi Nemoto	help
2485ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
2486ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
2487ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
2488ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
2489ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
2490ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
2491ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
2492ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
2493ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
2494ea6e942bSAtsushi Nemoto
2495ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
2496ea6e942bSAtsushi Nemoto
2497597ce172SPaul Burtonconfig MIPS_O32_FP64_SUPPORT
249806e2e882SPaul Burton	bool "Support for O32 binaries using 64-bit FP (EXPERIMENTAL)"
2499597ce172SPaul Burton	depends on 32BIT || MIPS32_O32
2500597ce172SPaul Burton	help
2501597ce172SPaul Burton	  When this is enabled, the kernel will support use of 64-bit floating
2502597ce172SPaul Burton	  point registers with binaries using the O32 ABI along with the
2503597ce172SPaul Burton	  EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On
2504597ce172SPaul Burton	  32-bit MIPS systems this support is at the cost of increasing the
2505597ce172SPaul Burton	  size and complexity of the compiled FPU emulator. Thus if you are
2506597ce172SPaul Burton	  running a MIPS32 system and know that none of your userland binaries
2507597ce172SPaul Burton	  will require 64-bit floating point, you may wish to reduce the size
2508597ce172SPaul Burton	  of your kernel & potentially improve FP emulation performance by
2509597ce172SPaul Burton	  saying N here.
2510597ce172SPaul Burton
251106e2e882SPaul Burton	  Although binutils currently supports use of this flag the details
251206e2e882SPaul Burton	  concerning its effect upon the O32 ABI in userland are still being
251306e2e882SPaul Burton	  worked on. In order to avoid userland becoming dependant upon current
251406e2e882SPaul Burton	  behaviour before the details have been finalised, this option should
251506e2e882SPaul Burton	  be considered experimental and only enabled by those working upon
251606e2e882SPaul Burton	  said details.
251706e2e882SPaul Burton
251806e2e882SPaul Burton	  If unsure, say N.
2519597ce172SPaul Burton
2520f2ffa5abSDezhong Diaoconfig USE_OF
25210b3e06fdSJonas Gorski	bool
2522f2ffa5abSDezhong Diao	select OF
2523e6ce1324SStephen Neuendorffer	select OF_EARLY_FLATTREE
2524abd2363fSGrant Likely	select IRQ_DOMAIN
2525f2ffa5abSDezhong Diao
25267fafb068SAndrew Brestickerconfig BUILTIN_DTB
25277fafb068SAndrew Bresticker	bool
25287fafb068SAndrew Bresticker
25295e83d430SRalf Baechleendmenu
25305e83d430SRalf Baechle
25311df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
25321df0f0ffSAtsushi Nemoto	bool
25331df0f0ffSAtsushi Nemoto	default y
25341df0f0ffSAtsushi Nemoto
25351df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
25361df0f0ffSAtsushi Nemoto	bool
25371df0f0ffSAtsushi Nemoto	default y
25381df0f0ffSAtsushi Nemoto
2539b6c3539bSRalf Baechlesource "init/Kconfig"
2540b6c3539bSRalf Baechle
2541dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
2542dc52ddc0SMatt Helsley
25431da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
25441da177e4SLinus Torvalds
25455e83d430SRalf Baechleconfig HW_HAS_EISA
25465e83d430SRalf Baechle	bool
25471da177e4SLinus Torvaldsconfig HW_HAS_PCI
25481da177e4SLinus Torvalds	bool
25491da177e4SLinus Torvalds
25501da177e4SLinus Torvaldsconfig PCI
25511da177e4SLinus Torvalds	bool "Support for PCI controller"
25521da177e4SLinus Torvalds	depends on HW_HAS_PCI
2553abb4ae46SRalf Baechle	select PCI_DOMAINS
25540f3b3956SMichael S. Tsirkin	select NO_GENERIC_PCI_IOPORT_MAP
25551da177e4SLinus Torvalds	help
25561da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
25571da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
25581da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
25591da177e4SLinus Torvalds	  say Y, otherwise N.
25601da177e4SLinus Torvalds
25610e476d91SHuacai Chenconfig HT_PCI
25620e476d91SHuacai Chen	bool "Support for HT-linked PCI"
25630e476d91SHuacai Chen	default y
25640e476d91SHuacai Chen	depends on CPU_LOONGSON3
25650e476d91SHuacai Chen	select PCI
25660e476d91SHuacai Chen	select PCI_DOMAINS
25670e476d91SHuacai Chen	help
25680e476d91SHuacai Chen	  Loongson family machines use Hyper-Transport bus for inter-core
25690e476d91SHuacai Chen	  connection and device connection. The PCI bus is a subordinate
25700e476d91SHuacai Chen	  linked at HT. Choose Y for Loongson-3 based machines.
25710e476d91SHuacai Chen
25721da177e4SLinus Torvaldsconfig PCI_DOMAINS
25731da177e4SLinus Torvalds	bool
25741da177e4SLinus Torvalds
25751da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
25761da177e4SLinus Torvalds
25773f787ca4SJonas Gorskisource "drivers/pci/pcie/Kconfig"
25783f787ca4SJonas Gorski
25791da177e4SLinus Torvalds#
25801da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
25811da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
25821da177e4SLinus Torvalds# users to choose the right thing ...
25831da177e4SLinus Torvalds#
25841da177e4SLinus Torvaldsconfig ISA
25851da177e4SLinus Torvalds	bool
25861da177e4SLinus Torvalds
25871da177e4SLinus Torvaldsconfig EISA
25881da177e4SLinus Torvalds	bool "EISA support"
25895e83d430SRalf Baechle	depends on HW_HAS_EISA
25901da177e4SLinus Torvalds	select ISA
2591aa414dffSRalf Baechle	select GENERIC_ISA_DMA
25921da177e4SLinus Torvalds	---help---
25931da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
25941da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
25951da177e4SLinus Torvalds
25961da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
25971da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
25981da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
25991da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
26001da177e4SLinus Torvalds
26011da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
26021da177e4SLinus Torvalds
26031da177e4SLinus Torvalds	  Otherwise, say N.
26041da177e4SLinus Torvalds
26051da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
26061da177e4SLinus Torvalds
26071da177e4SLinus Torvaldsconfig TC
26081da177e4SLinus Torvalds	bool "TURBOchannel support"
26091da177e4SLinus Torvalds	depends on MACH_DECSTATION
26101da177e4SLinus Torvalds	help
261150a23e6eSJustin P. Mattock	  TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
261250a23e6eSJustin P. Mattock	  processors.  TURBOchannel programming specifications are available
261350a23e6eSJustin P. Mattock	  at:
261450a23e6eSJustin P. Mattock	  <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
261550a23e6eSJustin P. Mattock	  and:
261650a23e6eSJustin P. Mattock	  <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
261750a23e6eSJustin P. Mattock	  Linux driver support status is documented at:
261850a23e6eSJustin P. Mattock	  <http://www.linux-mips.org/wiki/DECstation>
26191da177e4SLinus Torvalds
26201da177e4SLinus Torvaldsconfig MMU
26211da177e4SLinus Torvalds	bool
26221da177e4SLinus Torvalds	default y
26231da177e4SLinus Torvalds
2624d865bea4SRalf Baechleconfig I8253
2625d865bea4SRalf Baechle	bool
2626798778b8SRussell King	select CLKSRC_I8253
26272d02612fSThomas Gleixner	select CLKEVT_I8253
26289726b43aSWu Zhangjin	select MIPS_EXTERNAL_TIMER
2629d865bea4SRalf Baechle
2630e05eb3f8SRalf Baechleconfig ZONE_DMA
2631e05eb3f8SRalf Baechle	bool
2632e05eb3f8SRalf Baechle
2633cce335aeSRalf Baechleconfig ZONE_DMA32
2634cce335aeSRalf Baechle	bool
2635cce335aeSRalf Baechle
26361da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
26371da177e4SLinus Torvalds
26381da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
26391da177e4SLinus Torvalds
2640388b78adSAlexandre Bounineconfig RAPIDIO
264156abde72SAlexandre Bounine	tristate "RapidIO support"
2642388b78adSAlexandre Bounine	depends on PCI
2643388b78adSAlexandre Bounine	default n
2644388b78adSAlexandre Bounine	help
2645388b78adSAlexandre Bounine	  If you say Y here, the kernel will include drivers and
2646388b78adSAlexandre Bounine	  infrastructure code to support RapidIO interconnect devices.
2647388b78adSAlexandre Bounine
2648388b78adSAlexandre Bouninesource "drivers/rapidio/Kconfig"
2649388b78adSAlexandre Bounine
26501da177e4SLinus Torvaldsendmenu
26511da177e4SLinus Torvalds
26521da177e4SLinus Torvaldsmenu "Executable file formats"
26531da177e4SLinus Torvalds
26541da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
26551da177e4SLinus Torvalds
26561da177e4SLinus Torvaldsconfig TRAD_SIGNALS
26571da177e4SLinus Torvalds	bool
26581da177e4SLinus Torvalds
26591da177e4SLinus Torvaldsconfig MIPS32_COMPAT
26601da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2661875d43e7SRalf Baechle	depends on 64BIT
26621da177e4SLinus Torvalds	help
26631da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
26641da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
26651da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
26661da177e4SLinus Torvalds
26671da177e4SLinus Torvaldsconfig COMPAT
26681da177e4SLinus Torvalds	bool
26691da177e4SLinus Torvalds	depends on MIPS32_COMPAT
267048b25c43SChris Metcalf	select ARCH_WANT_OLD_COMPAT_IPC
26711da177e4SLinus Torvalds	default y
26721da177e4SLinus Torvalds
267305e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
267405e43966SAtsushi Nemoto	bool
267505e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
267605e43966SAtsushi Nemoto	default y
267705e43966SAtsushi Nemoto
26781da177e4SLinus Torvaldsconfig MIPS32_O32
26791da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
26801da177e4SLinus Torvalds	depends on MIPS32_COMPAT
26811da177e4SLinus Torvalds	help
26821da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
26831da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
26841da177e4SLinus Torvalds	  existing binaries are in this format.
26851da177e4SLinus Torvalds
26861da177e4SLinus Torvalds	  If unsure, say Y.
26871da177e4SLinus Torvalds
26881da177e4SLinus Torvaldsconfig MIPS32_N32
26891da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
26901da177e4SLinus Torvalds	depends on MIPS32_COMPAT
26911da177e4SLinus Torvalds	help
26921da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
26931da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
26941da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
26951da177e4SLinus Torvalds	  cases.
26961da177e4SLinus Torvalds
26971da177e4SLinus Torvalds	  If unsure, say N.
26981da177e4SLinus Torvalds
26991da177e4SLinus Torvaldsconfig BINFMT_ELF32
27001da177e4SLinus Torvalds	bool
27011da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
27021da177e4SLinus Torvalds
27032116245eSRalf Baechleendmenu
27041da177e4SLinus Torvalds
27052116245eSRalf Baechlemenu "Power management options"
2706952fa954SRodolfo Giometti
2707363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE
2708363c55caSWu Zhangjin	def_bool y
27093f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2710363c55caSWu Zhangjin
2711f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2712f4cb5700SJohannes Berg	def_bool y
27133f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2714f4cb5700SJohannes Berg
27152116245eSRalf Baechlesource "kernel/power/Kconfig"
2716952fa954SRodolfo Giometti
27171da177e4SLinus Torvaldsendmenu
27181da177e4SLinus Torvalds
27197a998935SViresh Kumarconfig MIPS_EXTERNAL_TIMER
27207a998935SViresh Kumar	bool
27217a998935SViresh Kumar
27227a998935SViresh Kumarmenu "CPU Power Management"
2723c095ebafSPaul Burton
2724c095ebafSPaul Burtonif CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
27257a998935SViresh Kumarsource "drivers/cpufreq/Kconfig"
27267a998935SViresh Kumarendif
27279726b43aSWu Zhangjin
2728c095ebafSPaul Burtonsource "drivers/cpuidle/Kconfig"
2729c095ebafSPaul Burton
2730c095ebafSPaul Burtonendmenu
2731c095ebafSPaul Burton
2732d5950b43SSam Ravnborgsource "net/Kconfig"
2733d5950b43SSam Ravnborg
27341da177e4SLinus Torvaldssource "drivers/Kconfig"
27351da177e4SLinus Torvalds
273698cdee0eSRalf Baechlesource "drivers/firmware/Kconfig"
273798cdee0eSRalf Baechle
27381da177e4SLinus Torvaldssource "fs/Kconfig"
27391da177e4SLinus Torvalds
27401da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
27411da177e4SLinus Torvalds
27421da177e4SLinus Torvaldssource "security/Kconfig"
27431da177e4SLinus Torvalds
27441da177e4SLinus Torvaldssource "crypto/Kconfig"
27451da177e4SLinus Torvalds
27461da177e4SLinus Torvaldssource "lib/Kconfig"
27472235a54dSSanjay Lal
27482235a54dSSanjay Lalsource "arch/mips/kvm/Kconfig"
2749