xref: /linux/arch/mips/Kconfig (revision 43cc739fd98b8c517ad45756d869f866e746ba04)
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
571da177e4SLinus Torvalds
581da177e4SLinus Torvaldsmenu "Machine selection"
591da177e4SLinus Torvalds
605e83d430SRalf Baechlechoice
615e83d430SRalf Baechle	prompt "System type"
625e83d430SRalf Baechle	default SGI_IP22
631da177e4SLinus Torvalds
6442a4f17dSManuel Laussconfig MIPS_ALCHEMY
65c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
6642a4f17dSManuel Lauss	select 64BIT_PHYS_ADDR
67f772cdb2SRalf Baechle	select CEVT_R4K
68d7ea335cSSteven J. Hill	select CSRC_R4K
6942a4f17dSManuel Lauss	select IRQ_CPU
7088e9a93cSManuel Lauss	select DMA_MAYBE_COHERENT	# Au1000,1500,1100 aren't, rest is
7142a4f17dSManuel Lauss	select SYS_HAS_CPU_MIPS32_R1
7242a4f17dSManuel Lauss	select SYS_SUPPORTS_32BIT_KERNEL
7342a4f17dSManuel Lauss	select SYS_SUPPORTS_APM_EMULATION
74efb12436SAlexandre Courbot	select ARCH_REQUIRE_GPIOLIB
751b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
7647440229SManuel Lauss	select COMMON_CLK
771da177e4SLinus Torvalds
787ca5dc14SFlorian Fainelliconfig AR7
797ca5dc14SFlorian Fainelli	bool "Texas Instruments AR7"
807ca5dc14SFlorian Fainelli	select BOOT_ELF32
817ca5dc14SFlorian Fainelli	select DMA_NONCOHERENT
827ca5dc14SFlorian Fainelli	select CEVT_R4K
837ca5dc14SFlorian Fainelli	select CSRC_R4K
847ca5dc14SFlorian Fainelli	select IRQ_CPU
857ca5dc14SFlorian Fainelli	select NO_EXCEPT_FILL
867ca5dc14SFlorian Fainelli	select SWAP_IO_SPACE
877ca5dc14SFlorian Fainelli	select SYS_HAS_CPU_MIPS32_R1
887ca5dc14SFlorian Fainelli	select SYS_HAS_EARLY_PRINTK
897ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_32BIT_KERNEL
907ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_LITTLE_ENDIAN
91377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
921b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT_UART16550
935f3c9098SFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
947ca5dc14SFlorian Fainelli	select VLYNQ
958551fb64SYoichi Yuasa	select HAVE_CLK
967ca5dc14SFlorian Fainelli	help
977ca5dc14SFlorian Fainelli	  Support for the Texas Instruments AR7 System-on-a-Chip
987ca5dc14SFlorian Fainelli	  family: TNETD7100, 7200 and 7300.
997ca5dc14SFlorian Fainelli
100*43cc739fSSergey Ryazanovconfig ATH25
101*43cc739fSSergey Ryazanov	bool "Atheros AR231x/AR531x SoC support"
102*43cc739fSSergey Ryazanov	select CEVT_R4K
103*43cc739fSSergey Ryazanov	select CSRC_R4K
104*43cc739fSSergey Ryazanov	select DMA_NONCOHERENT
105*43cc739fSSergey Ryazanov	select IRQ_CPU
106*43cc739fSSergey Ryazanov	select SYS_HAS_CPU_MIPS32_R1
107*43cc739fSSergey Ryazanov	select SYS_SUPPORTS_BIG_ENDIAN
108*43cc739fSSergey Ryazanov	select SYS_SUPPORTS_32BIT_KERNEL
109*43cc739fSSergey Ryazanov	help
110*43cc739fSSergey Ryazanov	  Support for Atheros AR231x and Atheros AR531x based boards
111*43cc739fSSergey Ryazanov
112d4a67d9dSGabor Juhosconfig ATH79
113d4a67d9dSGabor Juhos	bool "Atheros AR71XX/AR724X/AR913X based boards"
1146eae43c5SGabor Juhos	select ARCH_REQUIRE_GPIOLIB
115d4a67d9dSGabor Juhos	select BOOT_RAW
116d4a67d9dSGabor Juhos	select CEVT_R4K
117d4a67d9dSGabor Juhos	select CSRC_R4K
118d4a67d9dSGabor Juhos	select DMA_NONCOHERENT
11994638067SGabor Juhos	select HAVE_CLK
1202c4f1ac5SGabor Juhos	select CLKDEV_LOOKUP
121d4a67d9dSGabor Juhos	select IRQ_CPU
1220aabf1a4SGabor Juhos	select MIPS_MACHINE
123d4a67d9dSGabor Juhos	select SYS_HAS_CPU_MIPS32_R2
124d4a67d9dSGabor Juhos	select SYS_HAS_EARLY_PRINTK
125d4a67d9dSGabor Juhos	select SYS_SUPPORTS_32BIT_KERNEL
126d4a67d9dSGabor Juhos	select SYS_SUPPORTS_BIG_ENDIAN
127377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
128d4a67d9dSGabor Juhos	help
129d4a67d9dSGabor Juhos	  Support for the Atheros AR71XX/AR724X/AR913X SoCs.
130d4a67d9dSGabor Juhos
131d666cd02SKevin Cernekeeconfig BCM3384
132d666cd02SKevin Cernekee	bool "Broadcom BCM3384 based boards"
133d666cd02SKevin Cernekee	select BOOT_RAW
134d666cd02SKevin Cernekee	select NO_EXCEPT_FILL
135d666cd02SKevin Cernekee	select USE_OF
136d666cd02SKevin Cernekee	select CEVT_R4K
137d666cd02SKevin Cernekee	select CSRC_R4K
138d666cd02SKevin Cernekee	select SYNC_R4K
139d666cd02SKevin Cernekee	select COMMON_CLK
140d666cd02SKevin Cernekee	select DMA_NONCOHERENT
141d666cd02SKevin Cernekee	select IRQ_CPU
142d666cd02SKevin Cernekee	select SYS_SUPPORTS_32BIT_KERNEL
143d666cd02SKevin Cernekee	select SYS_SUPPORTS_BIG_ENDIAN
144d666cd02SKevin Cernekee	select SYS_SUPPORTS_HIGHMEM
145d666cd02SKevin Cernekee	select SYS_HAS_CPU_BMIPS5000
146d666cd02SKevin Cernekee	select SWAP_IO_SPACE
147d666cd02SKevin Cernekee	select USB_EHCI_BIG_ENDIAN_DESC
148d666cd02SKevin Cernekee	select USB_EHCI_BIG_ENDIAN_MMIO
149d666cd02SKevin Cernekee	select USB_OHCI_BIG_ENDIAN_DESC
150d666cd02SKevin Cernekee	select USB_OHCI_BIG_ENDIAN_MMIO
151d666cd02SKevin Cernekee	help
152d666cd02SKevin Cernekee	  Support for BCM3384 based boards.  BCM3384/BCM33843 is a cable modem
153d666cd02SKevin Cernekee	  chipset with a Linux application processor that is often used to
154d666cd02SKevin Cernekee	  provide Samba services, a CUPS print server, and/or advanced routing
155d666cd02SKevin Cernekee	  features.
156d666cd02SKevin Cernekee
1571c0c13ebSAurelien Jarnoconfig BCM47XX
158c619366eSFlorian Fainelli	bool "Broadcom BCM47XX based boards"
1592da4c74dSHauke Mehrtens	select ARCH_WANT_OPTIONAL_GPIOLIB
160fe08f8c2SHauke Mehrtens	select BOOT_RAW
16142f77542SRalf Baechle	select CEVT_R4K
162940f6b48SRalf Baechle	select CSRC_R4K
1631c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
1641c0c13ebSAurelien Jarno	select HW_HAS_PCI
1651c0c13ebSAurelien Jarno	select IRQ_CPU
166314878d2SMarkos Chandras	select SYS_HAS_CPU_MIPS32_R1
167dd54deddSHauke Mehrtens	select NO_EXCEPT_FILL
1681c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
1691c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
170377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
17125e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
172e6086557SRalf Baechle	select USE_GENERIC_EARLY_PRINTK_8250
173c949c0bcSRafał Miłecki	select GPIOLIB
174c949c0bcSRafał Miłecki	select LEDS_GPIO_REGISTER
1751c0c13ebSAurelien Jarno	help
1761c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
1771c0c13ebSAurelien Jarno
178e7300d04SMaxime Bizonconfig BCM63XX
179e7300d04SMaxime Bizon	bool "Broadcom BCM63XX based boards"
180ae8de61cSFlorian Fainelli	select BOOT_RAW
181e7300d04SMaxime Bizon	select CEVT_R4K
182e7300d04SMaxime Bizon	select CSRC_R4K
183fc264022SJonas Gorski	select SYNC_R4K
184e7300d04SMaxime Bizon	select DMA_NONCOHERENT
185e7300d04SMaxime Bizon	select IRQ_CPU
186e7300d04SMaxime Bizon	select SYS_SUPPORTS_32BIT_KERNEL
187e7300d04SMaxime Bizon	select SYS_SUPPORTS_BIG_ENDIAN
188e7300d04SMaxime Bizon	select SYS_HAS_EARLY_PRINTK
189e7300d04SMaxime Bizon	select SWAP_IO_SPACE
190e7300d04SMaxime Bizon	select ARCH_REQUIRE_GPIOLIB
1913e82eeebSYoichi Yuasa	select HAVE_CLK
192af2418beSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_4
193e7300d04SMaxime Bizon	help
194e7300d04SMaxime Bizon	 Support for BCM63XX based boards
195e7300d04SMaxime Bizon
1961da177e4SLinus Torvaldsconfig MIPS_COBALT
1973fa986faSMartin Michlmayr	bool "Cobalt Server"
19842f77542SRalf Baechle	select CEVT_R4K
199940f6b48SRalf Baechle	select CSRC_R4K
2001097c6acSYoichi Yuasa	select CEVT_GT641XX
2011da177e4SLinus Torvalds	select DMA_NONCOHERENT
2021da177e4SLinus Torvalds	select HW_HAS_PCI
203d865bea4SRalf Baechle	select I8253
2041da177e4SLinus Torvalds	select I8259
2051da177e4SLinus Torvalds	select IRQ_CPU
206d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
207252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
208e25bfc92SYoichi Yuasa	select PCI
2097cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2100a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
211ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2120e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
2135e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
214e6086557SRalf Baechle	select USE_GENERIC_EARLY_PRINTK_8250
2151da177e4SLinus Torvalds
2161da177e4SLinus Torvaldsconfig MACH_DECSTATION
2173fa986faSMartin Michlmayr	bool "DECstations"
2181da177e4SLinus Torvalds	select BOOT_ELF32
2196457d9fcSYoichi Yuasa	select CEVT_DS1287
22081d10badSMaciej W. Rozycki	select CEVT_R4K if CPU_R4X00
2214247417dSYoichi Yuasa	select CSRC_IOASIC
22281d10badSMaciej W. Rozycki	select CSRC_R4K if CPU_R4X00
22320d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
22420d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
22520d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
2261da177e4SLinus Torvalds	select DMA_NONCOHERENT
227ce816fa8SUwe Kleine-König	select NO_IOPORT_MAP
2281da177e4SLinus Torvalds	select IRQ_CPU
2297cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
2307cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
231ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
2327d60717eSKees Cook	select SYS_SUPPORTS_64BIT_KERNEL
2335e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2341723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
2351723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
2361723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
237930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_4
2385e83d430SRalf Baechle	help
2391da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
2401da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
2411da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
2421da177e4SLinus Torvalds
2431da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
2441da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
2451da177e4SLinus Torvalds
2461da177e4SLinus Torvalds		DECstation 5000/50
2471da177e4SLinus Torvalds		DECstation 5000/150
2481da177e4SLinus Torvalds		DECstation 5000/260
2491da177e4SLinus Torvalds		DECsystem 5900/260
2501da177e4SLinus Torvalds
2511da177e4SLinus Torvalds	  otherwise choose R3000.
2521da177e4SLinus Torvalds
2535e83d430SRalf Baechleconfig MACH_JAZZ
2543fa986faSMartin Michlmayr	bool "Jazz family of machines"
2550e2794b0SRalf Baechle	select FW_ARC
2560e2794b0SRalf Baechle	select FW_ARC32
2575e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
25842f77542SRalf Baechle	select CEVT_R4K
259940f6b48SRalf Baechle	select CSRC_R4K
260e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
2615e83d430SRalf Baechle	select GENERIC_ISA_DMA
2628a118c38SRalf Baechle	select HAVE_PCSPKR_PLATFORM
263ea202c63SThomas Bogendoerfer	select IRQ_CPU
264d865bea4SRalf Baechle	select I8253
2655e83d430SRalf Baechle	select I8259
2665e83d430SRalf Baechle	select ISA
2677cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
2685e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
2697d60717eSKees Cook	select SYS_SUPPORTS_64BIT_KERNEL
2701723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
2711da177e4SLinus Torvalds	help
2725e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
2735e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
274692105b8SMatt LaPlante	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
2755e83d430SRalf Baechle	 Olivetti M700-10 workstations.
2765e83d430SRalf Baechle
2775ebabe59SLars-Peter Clausenconfig MACH_JZ4740
2785ebabe59SLars-Peter Clausen	bool "Ingenic JZ4740 based machines"
2795ebabe59SLars-Peter Clausen	select SYS_HAS_CPU_MIPS32_R1
2805ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_32BIT_KERNEL
2815ebabe59SLars-Peter Clausen	select SYS_SUPPORTS_LITTLE_ENDIAN
282f9c9affcSLluís Batlle i Rossell	select SYS_SUPPORTS_ZBOOT_UART16550
2835ebabe59SLars-Peter Clausen	select DMA_NONCOHERENT
2845ebabe59SLars-Peter Clausen	select IRQ_CPU
2855ebabe59SLars-Peter Clausen	select ARCH_REQUIRE_GPIOLIB
2865ebabe59SLars-Peter Clausen	select SYS_HAS_EARLY_PRINTK
287ab5330ebSMaurus Cuelenaere	select HAVE_CLK
28883bc7692SLars-Peter Clausen	select GENERIC_IRQ_CHIP
2895ebabe59SLars-Peter Clausen
290171bb2f1SJohn Crispinconfig LANTIQ
291171bb2f1SJohn Crispin	bool "Lantiq based platforms"
292171bb2f1SJohn Crispin	select DMA_NONCOHERENT
293171bb2f1SJohn Crispin	select IRQ_CPU
294171bb2f1SJohn Crispin	select CEVT_R4K
295171bb2f1SJohn Crispin	select CSRC_R4K
296171bb2f1SJohn Crispin	select SYS_HAS_CPU_MIPS32_R1
297171bb2f1SJohn Crispin	select SYS_HAS_CPU_MIPS32_R2
298171bb2f1SJohn Crispin	select SYS_SUPPORTS_BIG_ENDIAN
299171bb2f1SJohn Crispin	select SYS_SUPPORTS_32BIT_KERNEL
300377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
301171bb2f1SJohn Crispin	select SYS_SUPPORTS_MULTITHREADING
302171bb2f1SJohn Crispin	select SYS_HAS_EARLY_PRINTK
303171bb2f1SJohn Crispin	select ARCH_REQUIRE_GPIOLIB
304171bb2f1SJohn Crispin	select SWAP_IO_SPACE
305171bb2f1SJohn Crispin	select BOOT_RAW
306287e3f3fSJohn Crispin	select HAVE_MACH_CLKDEV
307287e3f3fSJohn Crispin	select CLKDEV_LOOKUP
308a0392222SJohn Crispin	select USE_OF
3093f8c50c9SJohn Crispin	select PINCTRL
3103f8c50c9SJohn Crispin	select PINCTRL_LANTIQ
311c530781cSJohn Crispin	select ARCH_HAS_RESET_CONTROLLER
312c530781cSJohn Crispin	select RESET_CONTROLLER
313171bb2f1SJohn Crispin
3141f21d2bdSBrian Murphyconfig LASAT
3151f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
31642f77542SRalf Baechle	select CEVT_R4K
31716f0bbbcSRalf Baechle	select CRC32
318940f6b48SRalf Baechle	select CSRC_R4K
3191f21d2bdSBrian Murphy	select DMA_NONCOHERENT
3201f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
3211f21d2bdSBrian Murphy	select HW_HAS_PCI
322a5ccfe5cSRalf Baechle	select IRQ_CPU
3231f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
3241f21d2bdSBrian Murphy	select MIPS_NILE4
3251f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
3261f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
3271f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
3281f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
3291f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
3301f21d2bdSBrian Murphy
33185749d24SWu Zhangjinconfig MACH_LOONGSON
33285749d24SWu Zhangjin	bool "Loongson family of machines"
333c7e8c668SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
334ade299d8SYoichi Yuasa	help
33585749d24SWu Zhangjin	  This enables the support of Loongson family of machines.
33685749d24SWu Zhangjin
33785749d24SWu Zhangjin	  Loongson is a family of general-purpose MIPS-compatible CPUs.
33885749d24SWu Zhangjin	  developed at Institute of Computing Technology (ICT),
33985749d24SWu Zhangjin	  Chinese Academy of Sciences (CAS) in the People's Republic
34085749d24SWu Zhangjin	  of China. The chief architect is Professor Weiwu Hu.
341ade299d8SYoichi Yuasa
342ca585cf9SKelvin Cheungconfig MACH_LOONGSON1
343ca585cf9SKelvin Cheung	bool "Loongson 1 family of machines"
344ca585cf9SKelvin Cheung	select SYS_SUPPORTS_ZBOOT
345ca585cf9SKelvin Cheung	help
346ca585cf9SKelvin Cheung	  This enables support for the Loongson 1 based machines.
347ca585cf9SKelvin Cheung
348ca585cf9SKelvin Cheung	  Loongson 1 is a family of 32-bit MIPS-compatible SoCs developed by
349ca585cf9SKelvin Cheung	  the ICT (Institute of Computing Technology) and the Chinese Academy
350ca585cf9SKelvin Cheung	  of Sciences.
351ca585cf9SKelvin Cheung
3521da177e4SLinus Torvaldsconfig MIPS_MALTA
3533fa986faSMartin Michlmayr	bool "MIPS Malta board"
35461ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
3551da177e4SLinus Torvalds	select BOOT_ELF32
356fa71c960SRalf Baechle	select BOOT_RAW
35742f77542SRalf Baechle	select CEVT_R4K
358940f6b48SRalf Baechle	select CSRC_R4K
359fa5635a2SAndrew Bresticker	select CLKSRC_MIPS_GIC
360885014bcSFelix Fietkau	select DMA_MAYBE_COHERENT
3611da177e4SLinus Torvalds	select GENERIC_ISA_DMA
3628a118c38SRalf Baechle	select HAVE_PCSPKR_PLATFORM
363aa414dffSRalf Baechle	select IRQ_CPU
3648a19b8f1SAndrew Bresticker	select MIPS_GIC
3651da177e4SLinus Torvalds	select HW_HAS_PCI
366d865bea4SRalf Baechle	select I8253
3671da177e4SLinus Torvalds	select I8259
3685e83d430SRalf Baechle	select MIPS_BONITO64
3699318c51aSChris Dearman	select MIPS_CPU_SCACHE
370a7ef1eadSKevin Cernekee	select MIPS_L1_CACHE_SHIFT_6
371252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
3725e83d430SRalf Baechle	select MIPS_MSC
3731da177e4SLinus Torvalds	select SWAP_IO_SPACE
3747cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
3757cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
376bfc3c5a6SMarkos Chandras	select SYS_HAS_CPU_MIPS32_R3_5
3777cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
3785d9fbed1SLeonid Yegoshin	select SYS_HAS_CPU_MIPS64_R2
3797cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
3807cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
381ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
382ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3835e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3845e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
3850365070fSTim Anderson	select SYS_SUPPORTS_MIPS_CMP
386e56b6aa6SPaul Burton	select SYS_SUPPORTS_MIPS_CPS
387377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
388f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
3899693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
3901b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
3911da177e4SLinus Torvalds	help
392f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
3931da177e4SLinus Torvalds	  board.
3941da177e4SLinus Torvalds
395ec47b274SSteven J. Hillconfig MIPS_SEAD3
396ec47b274SSteven J. Hill	bool "MIPS SEAD3 board"
397ec47b274SSteven J. Hill	select BOOT_ELF32
398ec47b274SSteven J. Hill	select BOOT_RAW
399f262b5f2SAndrew Bresticker	select BUILTIN_DTB
400ec47b274SSteven J. Hill	select CEVT_R4K
401ec47b274SSteven J. Hill	select CSRC_R4K
402fa5635a2SAndrew Bresticker	select CLKSRC_MIPS_GIC
403ec47b274SSteven J. Hill	select CPU_MIPSR2_IRQ_VI
404ec47b274SSteven J. Hill	select CPU_MIPSR2_IRQ_EI
405ec47b274SSteven J. Hill	select DMA_NONCOHERENT
406ec47b274SSteven J. Hill	select IRQ_CPU
4078a19b8f1SAndrew Bresticker	select MIPS_GIC
40844327236SQais Yousef	select LIBFDT
409ec47b274SSteven J. Hill	select MIPS_MSC
410ec47b274SSteven J. Hill	select SYS_HAS_CPU_MIPS32_R1
411ec47b274SSteven J. Hill	select SYS_HAS_CPU_MIPS32_R2
412ec47b274SSteven J. Hill	select SYS_HAS_CPU_MIPS64_R1
413ec47b274SSteven J. Hill	select SYS_HAS_EARLY_PRINTK
414ec47b274SSteven J. Hill	select SYS_SUPPORTS_32BIT_KERNEL
415ec47b274SSteven J. Hill	select SYS_SUPPORTS_64BIT_KERNEL
416ec47b274SSteven J. Hill	select SYS_SUPPORTS_BIG_ENDIAN
417ec47b274SSteven J. Hill	select SYS_SUPPORTS_LITTLE_ENDIAN
418ec47b274SSteven J. Hill	select SYS_SUPPORTS_SMARTMIPS
419a6a4834cSSteven J. Hill	select SYS_SUPPORTS_MICROMIPS
420377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
421ec47b274SSteven J. Hill	select USB_EHCI_BIG_ENDIAN_DESC
422ec47b274SSteven J. Hill	select USB_EHCI_BIG_ENDIAN_MMIO
4239b731009SSteven J. Hill	select USE_OF
424ec47b274SSteven J. Hill	help
425ec47b274SSteven J. Hill	  This enables support for the MIPS Technologies SEAD3 evaluation
426ec47b274SSteven J. Hill	  board.
427ec47b274SSteven J. Hill
428a83860c2SRalf Baechleconfig NEC_MARKEINS
429a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
430a83860c2SRalf Baechle	select SOC_EMMA2RH
431a83860c2SRalf Baechle	select HW_HAS_PCI
432a83860c2SRalf Baechle	help
433a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
434ade299d8SYoichi Yuasa
4355e83d430SRalf Baechleconfig MACH_VR41XX
43674142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
43742f77542SRalf Baechle	select CEVT_R4K
438940f6b48SRalf Baechle	select CSRC_R4K
4397cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
440377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
44127fdd325SYoichi Yuasa	select ARCH_REQUIRE_GPIOLIB
4425e83d430SRalf Baechle
443edb6310aSDaniel Lairdconfig NXP_STB220
444edb6310aSDaniel Laird	bool "NXP STB220 board"
445edb6310aSDaniel Laird	select SOC_PNX833X
446edb6310aSDaniel Laird	help
447edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
448edb6310aSDaniel Laird
449edb6310aSDaniel Lairdconfig NXP_STB225
450edb6310aSDaniel Laird	bool "NXP 225 board"
451edb6310aSDaniel Laird	select SOC_PNX833X
452edb6310aSDaniel Laird	select SOC_PNX8335
453edb6310aSDaniel Laird	help
454edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
455edb6310aSDaniel Laird
4569267a30dSMarc St-Jeanconfig PMC_MSP
4579267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
45839d30c13SAnoop P A	select CEVT_R4K
45939d30c13SAnoop P A	select CSRC_R4K
4609267a30dSMarc St-Jean	select DMA_NONCOHERENT
4619267a30dSMarc St-Jean	select SWAP_IO_SPACE
4629267a30dSMarc St-Jean	select NO_EXCEPT_FILL
4639267a30dSMarc St-Jean	select BOOT_RAW
4649267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
4659267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
4669267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
4679267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
468377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
4699267a30dSMarc St-Jean	select IRQ_CPU
4709267a30dSMarc St-Jean	select SERIAL_8250
4719267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
4729296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_MMIO
4739296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_DESC
4749267a30dSMarc St-Jean	help
4759267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
4769267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
4779267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
4789267a30dSMarc St-Jean	  a variety of MIPS cores.
4799267a30dSMarc St-Jean
480ae2b5bb6SJohn Crispinconfig RALINK
481ae2b5bb6SJohn Crispin	bool "Ralink based machines"
482ae2b5bb6SJohn Crispin	select CEVT_R4K
483ae2b5bb6SJohn Crispin	select CSRC_R4K
484ae2b5bb6SJohn Crispin	select BOOT_RAW
485ae2b5bb6SJohn Crispin	select DMA_NONCOHERENT
486ae2b5bb6SJohn Crispin	select IRQ_CPU
487ae2b5bb6SJohn Crispin	select USE_OF
488ae2b5bb6SJohn Crispin	select SYS_HAS_CPU_MIPS32_R1
489ae2b5bb6SJohn Crispin	select SYS_HAS_CPU_MIPS32_R2
490ae2b5bb6SJohn Crispin	select SYS_SUPPORTS_32BIT_KERNEL
491ae2b5bb6SJohn Crispin	select SYS_SUPPORTS_LITTLE_ENDIAN
492377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
493ae2b5bb6SJohn Crispin	select SYS_HAS_EARLY_PRINTK
494ae2b5bb6SJohn Crispin	select HAVE_MACH_CLKDEV
495ae2b5bb6SJohn Crispin	select CLKDEV_LOOKUP
4962a153f1cSJohn Crispin	select ARCH_HAS_RESET_CONTROLLER
4972a153f1cSJohn Crispin	select RESET_CONTROLLER
498ae2b5bb6SJohn Crispin
4991da177e4SLinus Torvaldsconfig SGI_IP22
5003fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
5010e2794b0SRalf Baechle	select FW_ARC
5020e2794b0SRalf Baechle	select FW_ARC32
5031da177e4SLinus Torvalds	select BOOT_ELF32
50442f77542SRalf Baechle	select CEVT_R4K
505940f6b48SRalf Baechle	select CSRC_R4K
506e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
5071da177e4SLinus Torvalds	select DMA_NONCOHERENT
5085e83d430SRalf Baechle	select HW_HAS_EISA
509d865bea4SRalf Baechle	select I8253
51068de4803SThomas Bogendoerfer	select I8259
5111da177e4SLinus Torvalds	select IP22_CPU_SCACHE
5121da177e4SLinus Torvalds	select IRQ_CPU
513aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
514e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
515e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
51636e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
517e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
518e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
519e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
5201da177e4SLinus Torvalds	select SWAP_IO_SPACE
5217cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5227cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
5232b5e63f6SMartin Michlmayr	#
5242b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
5252b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
5262b5e63f6SMartin Michlmayr	#
5272b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
5282b5e63f6SMartin Michlmayr	# for a more details discussion
5292b5e63f6SMartin Michlmayr	#
5302b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
531ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
532ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
5335e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
534930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_7
5351da177e4SLinus Torvalds	help
5361da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
5371da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
5381da177e4SLinus Torvalds	  that runs on these, say Y here.
5391da177e4SLinus Torvalds
5401da177e4SLinus Torvaldsconfig SGI_IP27
5413fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
5420e2794b0SRalf Baechle	select FW_ARC
5430e2794b0SRalf Baechle	select FW_ARC64
5445e83d430SRalf Baechle	select BOOT_ELF64
545e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
546634286f1SRalf Baechle	select DMA_COHERENT
54736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
5481da177e4SLinus Torvalds	select HW_HAS_PCI
549130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
5507cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
551ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
5525e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
553d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
5541a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
555930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_7
5561da177e4SLinus Torvalds	help
5571da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
5581da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
5591da177e4SLinus Torvalds	  here.
5601da177e4SLinus Torvalds
561e2defae5SThomas Bogendoerferconfig SGI_IP28
5627d60717eSKees Cook	bool "SGI IP28 (Indigo2 R10k)"
5630e2794b0SRalf Baechle	select FW_ARC
5640e2794b0SRalf Baechle	select FW_ARC64
565e2defae5SThomas Bogendoerfer	select BOOT_ELF64
566e2defae5SThomas Bogendoerfer	select CEVT_R4K
567e2defae5SThomas Bogendoerfer	select CSRC_R4K
568e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
569e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
570e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
571e2defae5SThomas Bogendoerfer	select IRQ_CPU
572e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
573e2defae5SThomas Bogendoerfer	select I8253
574e2defae5SThomas Bogendoerfer	select I8259
575e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
576e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
5775b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
578e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
579e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
580e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
581e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
582e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5832b5e63f6SMartin Michlmayr	#
5842b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
5852b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
5862b5e63f6SMartin Michlmayr	#
5872b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
5882b5e63f6SMartin Michlmayr	# for a more details discussion
5892b5e63f6SMartin Michlmayr	#
5902b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
591e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
592e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
593dc24d68dSThomas Bogendoerfer	select MIPS_L1_CACHE_SHIFT_7
594e2defae5SThomas Bogendoerfer      help
595e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
596e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
597e2defae5SThomas Bogendoerfer
5981da177e4SLinus Torvaldsconfig SGI_IP32
599cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
6000e2794b0SRalf Baechle	select FW_ARC
6010e2794b0SRalf Baechle	select FW_ARC32
6021da177e4SLinus Torvalds	select BOOT_ELF32
60342f77542SRalf Baechle	select CEVT_R4K
604940f6b48SRalf Baechle	select CSRC_R4K
6051da177e4SLinus Torvalds	select DMA_NONCOHERENT
6061da177e4SLinus Torvalds	select HW_HAS_PCI
607dd67b155SRalf Baechle	select IRQ_CPU
6081da177e4SLinus Torvalds	select R5000_CPU_SCACHE
6091da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
6107cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
6117cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
6127cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
613dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
614ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
6155e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6161da177e4SLinus Torvalds	help
6171da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
6181da177e4SLinus Torvalds
619ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
620ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
6215e83d430SRalf Baechle	select BOOT_ELF32
6225e83d430SRalf Baechle	select DMA_COHERENT
6235e83d430SRalf Baechle	select SIBYTE_BCM1120
6245e83d430SRalf Baechle	select SWAP_IO_SPACE
6257cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
6265e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6275e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6285e83d430SRalf Baechle
629ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
630ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
6315e83d430SRalf Baechle	select BOOT_ELF32
6325e83d430SRalf Baechle	select DMA_COHERENT
6335e83d430SRalf Baechle	select SIBYTE_BCM1120
6345e83d430SRalf Baechle	select SWAP_IO_SPACE
6357cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
6365e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6375e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6385e83d430SRalf Baechle
6395e83d430SRalf Baechleconfig SIBYTE_CRHONE
6403fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
6415e83d430SRalf Baechle	select BOOT_ELF32
6425e83d430SRalf Baechle	select DMA_COHERENT
6435e83d430SRalf Baechle	select SIBYTE_BCM1125
6445e83d430SRalf Baechle	select SWAP_IO_SPACE
6457cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
6465e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6475e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6485e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6495e83d430SRalf Baechle
650ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
651ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
652ade299d8SYoichi Yuasa	select BOOT_ELF32
653ade299d8SYoichi Yuasa	select DMA_COHERENT
654ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
655ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
656ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
657ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
658ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
659ade299d8SYoichi Yuasa
660ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
661ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
662ade299d8SYoichi Yuasa	select BOOT_ELF32
663ade299d8SYoichi Yuasa	select DMA_COHERENT
664fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
665ade299d8SYoichi Yuasa	select SIBYTE_SB1250
666ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
667ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
668ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
669ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
670ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
671cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
672ade299d8SYoichi Yuasa
673ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
674ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
675ade299d8SYoichi Yuasa	select BOOT_ELF32
676ade299d8SYoichi Yuasa	select DMA_COHERENT
677fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
678ade299d8SYoichi Yuasa	select SIBYTE_SB1250
679ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
680ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
681ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
682ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
683ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
684ade299d8SYoichi Yuasa
685ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
686ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
687ade299d8SYoichi Yuasa	select BOOT_ELF32
688ade299d8SYoichi Yuasa	select DMA_COHERENT
689ade299d8SYoichi Yuasa	select SIBYTE_SB1250
690ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
691ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
692ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
693ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
694ade299d8SYoichi Yuasa
695ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
696ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
697ade299d8SYoichi Yuasa	select BOOT_ELF32
698ade299d8SYoichi Yuasa	select DMA_COHERENT
699ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
700ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
701ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
702ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
703ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
704651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
705ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
706cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
707ade299d8SYoichi Yuasa
70814b36af4SThomas Bogendoerferconfig SNI_RM
70914b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
7100e2794b0SRalf Baechle	select FW_ARC if CPU_LITTLE_ENDIAN
7110e2794b0SRalf Baechle	select FW_ARC32 if CPU_LITTLE_ENDIAN
712aaa9fad3SPaul Bolle	select FW_SNIPROM if CPU_BIG_ENDIAN
7135e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
7145e83d430SRalf Baechle	select BOOT_ELF32
71542f77542SRalf Baechle	select CEVT_R4K
716940f6b48SRalf Baechle	select CSRC_R4K
717e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
7185e83d430SRalf Baechle	select DMA_NONCOHERENT
7195e83d430SRalf Baechle	select GENERIC_ISA_DMA
7208a118c38SRalf Baechle	select HAVE_PCSPKR_PLATFORM
7215e83d430SRalf Baechle	select HW_HAS_EISA
7225e83d430SRalf Baechle	select HW_HAS_PCI
723c066a32aSThomas Bogendoerfer	select IRQ_CPU
724d865bea4SRalf Baechle	select I8253
7255e83d430SRalf Baechle	select I8259
7265e83d430SRalf Baechle	select ISA
7274a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
7287cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
7294a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
730c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
7314a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
73236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
733ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
7347d60717eSKees Cook	select SYS_SUPPORTS_64BIT_KERNEL
7354a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
7365e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
7375e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
7381da177e4SLinus Torvalds	help
73914b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
74014b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
7415e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
7425e83d430SRalf Baechle	  support this machine type.
7431da177e4SLinus Torvalds
744edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
745edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
7465e83d430SRalf Baechle
747edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
748edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
74923fbee9dSRalf Baechle
75073b4390fSRalf Baechleconfig MIKROTIK_RB532
75173b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
75273b4390fSRalf Baechle	select CEVT_R4K
75373b4390fSRalf Baechle	select CSRC_R4K
75473b4390fSRalf Baechle	select DMA_NONCOHERENT
75573b4390fSRalf Baechle	select HW_HAS_PCI
75673b4390fSRalf Baechle	select IRQ_CPU
75773b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
75873b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
75973b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
76073b4390fSRalf Baechle	select SWAP_IO_SPACE
76173b4390fSRalf Baechle	select BOOT_RAW
762d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
763930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_4
76473b4390fSRalf Baechle	help
76573b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
76673b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
76773b4390fSRalf Baechle
7689ddebc46SDavid Daneyconfig CAVIUM_OCTEON_SOC
7699ddebc46SDavid Daney	bool "Cavium Networks Octeon SoC based boards"
770a86c7f72SDavid Daney	select CEVT_R4K
771a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
772a86c7f72SDavid Daney	select DMA_COHERENT
773a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
774a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
775f65aad41SRalf Baechle	select EDAC_SUPPORT
776773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
777a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
7785e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
779a86c7f72SDavid Daney	select SWAP_IO_SPACE
780e8635b48SDavid Daney	select HW_HAS_PCI
781f00e001eSDavid Daney	select ZONE_DMA32
782465aaed0SDavid Daney	select HOLES_IN_ZONE
78399cab4bbSDavid Daney	select ARCH_REQUIRE_GPIOLIB
7846e511163SDavid Daney	select LIBFDT
7856e511163SDavid Daney	select USE_OF
7866e511163SDavid Daney	select ARCH_SPARSEMEM_ENABLE
7876e511163SDavid Daney	select SYS_SUPPORTS_SMP
7886e511163SDavid Daney	select NR_CPUS_DEFAULT_16
789e326479fSAndrew Bresticker	select BUILTIN_DTB
790a86c7f72SDavid Daney	help
791a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
792a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
793a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
794a86c7f72SDavid Daney	  Some of the supported boards are:
795a86c7f72SDavid Daney		EBT3000
796a86c7f72SDavid Daney		EBH3000
797a86c7f72SDavid Daney		EBH3100
798a86c7f72SDavid Daney		Thunder
799a86c7f72SDavid Daney		Kodama
800a86c7f72SDavid Daney		Hikari
801a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
802a86c7f72SDavid Daney
8037f058e85SJayachandran Cconfig NLM_XLR_BOARD
8047f058e85SJayachandran C	bool "Netlogic XLR/XLS based systems"
8057f058e85SJayachandran C	select BOOT_ELF32
8067f058e85SJayachandran C	select NLM_COMMON
8077f058e85SJayachandran C	select SYS_HAS_CPU_XLR
8087f058e85SJayachandran C	select SYS_SUPPORTS_SMP
8097f058e85SJayachandran C	select HW_HAS_PCI
8107f058e85SJayachandran C	select SWAP_IO_SPACE
8117f058e85SJayachandran C	select SYS_SUPPORTS_32BIT_KERNEL
8127f058e85SJayachandran C	select SYS_SUPPORTS_64BIT_KERNEL
8137f058e85SJayachandran C	select 64BIT_PHYS_ADDR
8147f058e85SJayachandran C	select SYS_SUPPORTS_BIG_ENDIAN
8157f058e85SJayachandran C	select SYS_SUPPORTS_HIGHMEM
8167f058e85SJayachandran C	select DMA_COHERENT
8177f058e85SJayachandran C	select NR_CPUS_DEFAULT_32
8187f058e85SJayachandran C	select CEVT_R4K
8197f058e85SJayachandran C	select CSRC_R4K
8207f058e85SJayachandran C	select IRQ_CPU
821b97215fdSJayachandran C	select ZONE_DMA32 if 64BIT
8227f058e85SJayachandran C	select SYNC_R4K
8237f058e85SJayachandran C	select SYS_HAS_EARLY_PRINTK
8248f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT
8258f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT_UART16550
8267f058e85SJayachandran C	help
8277f058e85SJayachandran C	  Support for systems based on Netlogic XLR and XLS processors.
8287f058e85SJayachandran C	  Say Y here if you have a XLR or XLS based board.
8297f058e85SJayachandran C
8301c773ea4SJayachandran Cconfig NLM_XLP_BOARD
8311c773ea4SJayachandran C	bool "Netlogic XLP based systems"
8321c773ea4SJayachandran C	select BOOT_ELF32
8331c773ea4SJayachandran C	select NLM_COMMON
8341c773ea4SJayachandran C	select SYS_HAS_CPU_XLP
8351c773ea4SJayachandran C	select SYS_SUPPORTS_SMP
8361c773ea4SJayachandran C	select HW_HAS_PCI
8371c773ea4SJayachandran C	select SYS_SUPPORTS_32BIT_KERNEL
8381c773ea4SJayachandran C	select SYS_SUPPORTS_64BIT_KERNEL
8391c773ea4SJayachandran C	select 64BIT_PHYS_ADDR
8401c773ea4SJayachandran C	select SYS_SUPPORTS_BIG_ENDIAN
8411c773ea4SJayachandran C	select SYS_SUPPORTS_LITTLE_ENDIAN
8421c773ea4SJayachandran C	select SYS_SUPPORTS_HIGHMEM
8431c773ea4SJayachandran C	select DMA_COHERENT
8441c773ea4SJayachandran C	select NR_CPUS_DEFAULT_32
8451c773ea4SJayachandran C	select CEVT_R4K
8461c773ea4SJayachandran C	select CSRC_R4K
8471c773ea4SJayachandran C	select IRQ_CPU
848b97215fdSJayachandran C	select ZONE_DMA32 if 64BIT
8491c773ea4SJayachandran C	select SYNC_R4K
8501c773ea4SJayachandran C	select SYS_HAS_EARLY_PRINTK
8512f6528e1SJayachandran C	select USE_OF
8528f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT
8538f0b0430SJayachandran C	select SYS_SUPPORTS_ZBOOT_UART16550
8541c773ea4SJayachandran C	help
8551c773ea4SJayachandran C	  This board is based on Netlogic XLP Processor.
8561c773ea4SJayachandran C	  Say Y here if you have a XLP based board.
8571c773ea4SJayachandran C
8589bc463beSDavid Daneyconfig MIPS_PARAVIRT
8599bc463beSDavid Daney	bool "Para-Virtualized guest system"
8609bc463beSDavid Daney	select CEVT_R4K
8619bc463beSDavid Daney	select CSRC_R4K
8629bc463beSDavid Daney	select DMA_COHERENT
8639bc463beSDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
8649bc463beSDavid Daney	select SYS_SUPPORTS_32BIT_KERNEL
8659bc463beSDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
8669bc463beSDavid Daney	select SYS_SUPPORTS_SMP
8679bc463beSDavid Daney	select NR_CPUS_DEFAULT_4
8689bc463beSDavid Daney	select SYS_HAS_EARLY_PRINTK
8699bc463beSDavid Daney	select SYS_HAS_CPU_MIPS32_R2
8709bc463beSDavid Daney	select SYS_HAS_CPU_MIPS64_R2
8719bc463beSDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
8729bc463beSDavid Daney	select HW_HAS_PCI
8739bc463beSDavid Daney	select SWAP_IO_SPACE
8749bc463beSDavid Daney	help
8759bc463beSDavid Daney	  This option supports guest running under ????
8769bc463beSDavid Daney
8771da177e4SLinus Torvaldsendchoice
8781da177e4SLinus Torvalds
879e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
880d4a67d9dSGabor Juhossource "arch/mips/ath79/Kconfig"
881a656ffcbSHauke Mehrtenssource "arch/mips/bcm47xx/Kconfig"
882e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig"
8835e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
8845ebabe59SLars-Peter Clausensource "arch/mips/jz4740/Kconfig"
8858ec6d935SJohn Crispinsource "arch/mips/lantiq/Kconfig"
8861f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
8870f3a05cbSRalf Baechlesource "arch/mips/pmcs-msp71xx/Kconfig"
888ae2b5bb6SJohn Crispinsource "arch/mips/ralink/Kconfig"
88929c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
89038b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
89122b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
8925e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
893a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
89485749d24SWu Zhangjinsource "arch/mips/loongson/Kconfig"
895ca585cf9SKelvin Cheungsource "arch/mips/loongson1/Kconfig"
8967f058e85SJayachandran Csource "arch/mips/netlogic/Kconfig"
897ae6e7e63SDavid Daneysource "arch/mips/paravirt/Kconfig"
89838b18f72SRalf Baechle
8995e83d430SRalf Baechleendmenu
9005e83d430SRalf Baechle
9011da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
9021da177e4SLinus Torvalds	bool
9031da177e4SLinus Torvalds	default y
9041da177e4SLinus Torvalds
9051da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
9061da177e4SLinus Torvalds	bool
9071da177e4SLinus Torvalds
908f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
909f0d1b0b3SDavid Howells	bool
910f0d1b0b3SDavid Howells	default n
911f0d1b0b3SDavid Howells
912f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
913f0d1b0b3SDavid Howells	bool
914f0d1b0b3SDavid Howells	default n
915f0d1b0b3SDavid Howells
9163c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
9173c9ee7efSAkinobu Mita	bool
9183c9ee7efSAkinobu Mita	default y
9193c9ee7efSAkinobu Mita
9201da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
9211da177e4SLinus Torvalds	bool
9221da177e4SLinus Torvalds	default y
9231da177e4SLinus Torvalds
924ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
9251cc89038SAtsushi Nemoto	bool
9261cc89038SAtsushi Nemoto	default y
9271cc89038SAtsushi Nemoto
9281da177e4SLinus Torvalds#
9291da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
9301da177e4SLinus Torvalds#
9310e2794b0SRalf Baechleconfig FW_ARC
9321da177e4SLinus Torvalds	bool
9331da177e4SLinus Torvalds
93461ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
93561ed242dSRalf Baechle	bool
93661ed242dSRalf Baechle
9379267a30dSMarc St-Jeanconfig BOOT_RAW
9389267a30dSMarc St-Jean	bool
9399267a30dSMarc St-Jean
940217dd11eSRalf Baechleconfig CEVT_BCM1480
941217dd11eSRalf Baechle	bool
942217dd11eSRalf Baechle
9436457d9fcSYoichi Yuasaconfig CEVT_DS1287
9446457d9fcSYoichi Yuasa	bool
9456457d9fcSYoichi Yuasa
9461097c6acSYoichi Yuasaconfig CEVT_GT641XX
9471097c6acSYoichi Yuasa	bool
9481097c6acSYoichi Yuasa
94942f77542SRalf Baechleconfig CEVT_R4K
95042f77542SRalf Baechle	bool
95142f77542SRalf Baechle
952217dd11eSRalf Baechleconfig CEVT_SB1250
953217dd11eSRalf Baechle	bool
954217dd11eSRalf Baechle
955229f773eSAtsushi Nemotoconfig CEVT_TXX9
956229f773eSAtsushi Nemoto	bool
957229f773eSAtsushi Nemoto
958217dd11eSRalf Baechleconfig CSRC_BCM1480
959217dd11eSRalf Baechle	bool
960217dd11eSRalf Baechle
9614247417dSYoichi Yuasaconfig CSRC_IOASIC
9624247417dSYoichi Yuasa	bool
9634247417dSYoichi Yuasa
964940f6b48SRalf Baechleconfig CSRC_R4K
965940f6b48SRalf Baechle	bool
966940f6b48SRalf Baechle
967217dd11eSRalf Baechleconfig CSRC_SB1250
968217dd11eSRalf Baechle	bool
969217dd11eSRalf Baechle
970a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
9717444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
972a9aec7feSAtsushi Nemoto	bool
973a9aec7feSAtsushi Nemoto
9740e2794b0SRalf Baechleconfig FW_CFE
975df78b5c8SAurelien Jarno	bool
976df78b5c8SAurelien Jarno
9774bafad92SFUJITA Tomonoriconfig ARCH_DMA_ADDR_T_64BIT
9784bafad92SFUJITA Tomonori	def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT
9794bafad92SFUJITA Tomonori
980885014bcSFelix Fietkauconfig DMA_MAYBE_COHERENT
981885014bcSFelix Fietkau	select DMA_NONCOHERENT
982885014bcSFelix Fietkau	bool
983885014bcSFelix Fietkau
9841da177e4SLinus Torvaldsconfig DMA_COHERENT
9851da177e4SLinus Torvalds	bool
9861da177e4SLinus Torvalds
9871da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
9881da177e4SLinus Torvalds	bool
989e1e02b32SFUJITA Tomonori	select NEED_DMA_MAP_STATE
9904ce588cdSRalf Baechle
991e1e02b32SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
9924ce588cdSRalf Baechle	bool
9931da177e4SLinus Torvalds
99436a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
9951da177e4SLinus Torvalds	bool
9961da177e4SLinus Torvalds
997dbb74540SRalf Baechleconfig HOTPLUG_CPU
9981b2bc75cSRalf Baechle	bool "Support for hot-pluggable CPUs"
99940b31360SStephen Rothwell	depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU
10001b2bc75cSRalf Baechle	help
10011b2bc75cSRalf Baechle	  Say Y here to allow turning CPUs off and on. CPUs can be
10021b2bc75cSRalf Baechle	  controlled through /sys/devices/system/cpu.
10031b2bc75cSRalf Baechle	  (Note: power management support will enable this option
10041b2bc75cSRalf Baechle	    automatically on SMP systems. )
10051b2bc75cSRalf Baechle	  Say N if you want to disable CPU hotplug.
10061b2bc75cSRalf Baechle
10071b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU
1008dbb74540SRalf Baechle	bool
1009dbb74540SRalf Baechle
10101da177e4SLinus Torvaldsconfig I8259
10111da177e4SLinus Torvalds	bool
1012079a4601SAndrew Bresticker	select IRQ_DOMAIN
10131da177e4SLinus Torvalds
10141da177e4SLinus Torvaldsconfig MIPS_BONITO64
10151da177e4SLinus Torvalds	bool
10161da177e4SLinus Torvalds
10171da177e4SLinus Torvaldsconfig MIPS_MSC
10181da177e4SLinus Torvalds	bool
10191da177e4SLinus Torvalds
10201f21d2bdSBrian Murphyconfig MIPS_NILE4
10211f21d2bdSBrian Murphy	bool
10221f21d2bdSBrian Murphy
102339b8d525SRalf Baechleconfig SYNC_R4K
102439b8d525SRalf Baechle	bool
102539b8d525SRalf Baechle
1026487d70d0SGabor Juhosconfig MIPS_MACHINE
1027487d70d0SGabor Juhos	def_bool n
1028487d70d0SGabor Juhos
1029ce816fa8SUwe Kleine-Königconfig NO_IOPORT_MAP
1030d388d685SMaciej W. Rozycki	def_bool n
1031d388d685SMaciej W. Rozycki
10328313da30SRalf Baechleconfig GENERIC_ISA_DMA
10338313da30SRalf Baechle	bool
10348313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
1035a35bee8aSNamhyung Kim	select ISA_DMA_API
10368313da30SRalf Baechle
1037aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
1038aa414dffSRalf Baechle	bool
10398313da30SRalf Baechle	select GENERIC_ISA_DMA
1040aa414dffSRalf Baechle
1041a35bee8aSNamhyung Kimconfig ISA_DMA_API
1042a35bee8aSNamhyung Kim	bool
1043a35bee8aSNamhyung Kim
1044465aaed0SDavid Daneyconfig HOLES_IN_ZONE
1045465aaed0SDavid Daney	bool
1046465aaed0SDavid Daney
10475e83d430SRalf Baechle#
10486b2aac42SMasanari Iida# Endianness selection.  Sufficiently obscure so many users don't know what to
10495e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
10505e83d430SRalf Baechle# choice statement should be more obvious to the user.
10515e83d430SRalf Baechle#
10525e83d430SRalf Baechlechoice
10536b2aac42SMasanari Iida	prompt "Endianness selection"
10541da177e4SLinus Torvalds	help
10551da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
10565e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
10573cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
10585e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
10593dde6ad8SDavid Sterba	  one or the other endianness.
10605e83d430SRalf Baechle
10615e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
10625e83d430SRalf Baechle	bool "Big endian"
10635e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
10645e83d430SRalf Baechle
10655e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
10665e83d430SRalf Baechle	bool "Little endian"
10675e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
10685e83d430SRalf Baechle
10695e83d430SRalf Baechleendchoice
10705e83d430SRalf Baechle
107122b0763aSDavid Daneyconfig EXPORT_UASM
107222b0763aSDavid Daney	bool
107322b0763aSDavid Daney
10742116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
10752116245eSRalf Baechle	bool
10762116245eSRalf Baechle
10775e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
10785e83d430SRalf Baechle	bool
10795e83d430SRalf Baechle
10805e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
10815e83d430SRalf Baechle	bool
10821da177e4SLinus Torvalds
10839cffd154SDavid Daneyconfig SYS_SUPPORTS_HUGETLBFS
10849cffd154SDavid Daney	bool
10859cffd154SDavid Daney	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
10869cffd154SDavid Daney	default y
10879cffd154SDavid Daney
1088aa1762f4SDavid Daneyconfig MIPS_HUGE_TLB_SUPPORT
1089aa1762f4SDavid Daney	def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE
1090aa1762f4SDavid Daney
10911da177e4SLinus Torvaldsconfig IRQ_CPU
10921da177e4SLinus Torvalds	bool
10930f84c305SAndrew Bresticker	select IRQ_DOMAIN
10941da177e4SLinus Torvalds
10951da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
10961da177e4SLinus Torvalds	bool
10971da177e4SLinus Torvalds
10989267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
10999267a30dSMarc St-Jean	bool
11009267a30dSMarc St-Jean
11019267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
11029267a30dSMarc St-Jean	bool
11039267a30dSMarc St-Jean
11048420fd00SAtsushi Nemotoconfig IRQ_TXX9
11058420fd00SAtsushi Nemoto	bool
11068420fd00SAtsushi Nemoto
1107d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
1108d5ab1a69SYoichi Yuasa	bool
1109d5ab1a69SYoichi Yuasa
1110252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
11111da177e4SLinus Torvalds	bool
11121da177e4SLinus Torvalds
11139267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
11149267a30dSMarc St-Jean	bool
11159267a30dSMarc St-Jean
1116a83860c2SRalf Baechleconfig SOC_EMMA2RH
1117a83860c2SRalf Baechle	bool
1118a83860c2SRalf Baechle	select CEVT_R4K
1119a83860c2SRalf Baechle	select CSRC_R4K
1120a83860c2SRalf Baechle	select DMA_NONCOHERENT
1121a83860c2SRalf Baechle	select IRQ_CPU
1122a83860c2SRalf Baechle	select SWAP_IO_SPACE
1123a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
1124a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1125a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
1126a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
1127a83860c2SRalf Baechle
1128edb6310aSDaniel Lairdconfig SOC_PNX833X
1129edb6310aSDaniel Laird	bool
1130edb6310aSDaniel Laird	select CEVT_R4K
1131edb6310aSDaniel Laird	select CSRC_R4K
1132edb6310aSDaniel Laird	select IRQ_CPU
1133edb6310aSDaniel Laird	select DMA_NONCOHERENT
1134edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
1135edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
1136edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
1137edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
1138377cb1b6SRalf Baechle	select SYS_SUPPORTS_MIPS16
1139edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
1140edb6310aSDaniel Laird
1141edb6310aSDaniel Lairdconfig SOC_PNX8335
1142edb6310aSDaniel Laird	bool
1143edb6310aSDaniel Laird	select SOC_PNX833X
1144edb6310aSDaniel Laird
11451da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
11461da177e4SLinus Torvalds	bool
11471da177e4SLinus Torvalds
1148e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
1149e2defae5SThomas Bogendoerfer	bool
1150e2defae5SThomas Bogendoerfer
11515b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
11525b438c44SThomas Bogendoerfer	bool
11535b438c44SThomas Bogendoerfer
1154e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
1155e2defae5SThomas Bogendoerfer	bool
1156e2defae5SThomas Bogendoerfer
1157e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
1158e2defae5SThomas Bogendoerfer	bool
1159e2defae5SThomas Bogendoerfer
1160e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
1161e2defae5SThomas Bogendoerfer	bool
1162e2defae5SThomas Bogendoerfer
1163e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1164e2defae5SThomas Bogendoerfer	bool
1165e2defae5SThomas Bogendoerfer
1166e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1167e2defae5SThomas Bogendoerfer	bool
1168e2defae5SThomas Bogendoerfer
11690e2794b0SRalf Baechleconfig FW_ARC32
11705e83d430SRalf Baechle	bool
11715e83d430SRalf Baechle
1172aaa9fad3SPaul Bolleconfig FW_SNIPROM
1173231a35d3SThomas Bogendoerfer	bool
1174231a35d3SThomas Bogendoerfer
11751da177e4SLinus Torvaldsconfig BOOT_ELF32
11761da177e4SLinus Torvalds	bool
11771da177e4SLinus Torvalds
1178930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_4
1179930beb5aSFlorian Fainelli	bool
1180930beb5aSFlorian Fainelli
1181930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_5
1182930beb5aSFlorian Fainelli	bool
1183930beb5aSFlorian Fainelli
1184930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_6
1185930beb5aSFlorian Fainelli	bool
1186930beb5aSFlorian Fainelli
1187930beb5aSFlorian Fainelliconfig MIPS_L1_CACHE_SHIFT_7
1188930beb5aSFlorian Fainelli	bool
1189930beb5aSFlorian Fainelli
11901da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
11911da177e4SLinus Torvalds	int
1192a4c0201eSFlorian Fainelli	default "4" if MIPS_L1_CACHE_SHIFT_4
1193a4c0201eSFlorian Fainelli	default "5" if MIPS_L1_CACHE_SHIFT_5
1194a4c0201eSFlorian Fainelli	default "6" if MIPS_L1_CACHE_SHIFT_6
1195a4c0201eSFlorian Fainelli	default "7" if MIPS_L1_CACHE_SHIFT_7
11961da177e4SLinus Torvalds	default "5"
11971da177e4SLinus Torvalds
11981da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
11991da177e4SLinus Torvalds	bool
12001da177e4SLinus Torvalds
12011da177e4SLinus Torvaldsconfig ARC_CONSOLE
12021da177e4SLinus Torvalds	bool "ARC console support"
1203e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
12041da177e4SLinus Torvalds
12051da177e4SLinus Torvaldsconfig ARC_MEMORY
12061da177e4SLinus Torvalds	bool
120714b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
12081da177e4SLinus Torvalds	default y
12091da177e4SLinus Torvalds
12101da177e4SLinus Torvaldsconfig ARC_PROMLIB
12111da177e4SLinus Torvalds	bool
1212e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
12131da177e4SLinus Torvalds	default y
12141da177e4SLinus Torvalds
12150e2794b0SRalf Baechleconfig FW_ARC64
12161da177e4SLinus Torvalds	bool
12171da177e4SLinus Torvalds
12181da177e4SLinus Torvaldsconfig BOOT_ELF64
12191da177e4SLinus Torvalds	bool
12201da177e4SLinus Torvalds
12211da177e4SLinus Torvaldsmenu "CPU selection"
12221da177e4SLinus Torvalds
12231da177e4SLinus Torvaldschoice
12241da177e4SLinus Torvalds	prompt "CPU type"
12251da177e4SLinus Torvalds	default CPU_R4X00
12261da177e4SLinus Torvalds
12270e476d91SHuacai Chenconfig CPU_LOONGSON3
12280e476d91SHuacai Chen	bool "Loongson 3 CPU"
12290e476d91SHuacai Chen	depends on SYS_HAS_CPU_LOONGSON3
12300e476d91SHuacai Chen	select CPU_SUPPORTS_64BIT_KERNEL
12310e476d91SHuacai Chen	select CPU_SUPPORTS_HIGHMEM
12320e476d91SHuacai Chen	select CPU_SUPPORTS_HUGEPAGES
12330e476d91SHuacai Chen	select WEAK_ORDERING
12340e476d91SHuacai Chen	select WEAK_REORDERING_BEYOND_LLSC
12350e476d91SHuacai Chen	help
12360e476d91SHuacai Chen		The Loongson 3 processor implements the MIPS64R2 instruction
12370e476d91SHuacai Chen		set with many extensions.
12380e476d91SHuacai Chen
12393702bba5SWu Zhangjinconfig CPU_LOONGSON2E
12403702bba5SWu Zhangjin	bool "Loongson 2E"
12413702bba5SWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2E
12423702bba5SWu Zhangjin	select CPU_LOONGSON2
12432a21c730SFuxin Zhang	help
12442a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
12452a21c730SFuxin Zhang	  with many extensions.
12462a21c730SFuxin Zhang
124725985edcSLucas De Marchi	  It has an internal FPGA northbridge, which is compatible to
12486f7a251aSWu Zhangjin	  bonito64.
12496f7a251aSWu Zhangjin
12506f7a251aSWu Zhangjinconfig CPU_LOONGSON2F
12516f7a251aSWu Zhangjin	bool "Loongson 2F"
12526f7a251aSWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2F
12536f7a251aSWu Zhangjin	select CPU_LOONGSON2
1254c197da91SArnaud Patard	select ARCH_REQUIRE_GPIOLIB
12556f7a251aSWu Zhangjin	help
12566f7a251aSWu Zhangjin	  The Loongson 2F processor implements the MIPS III instruction set
12576f7a251aSWu Zhangjin	  with many extensions.
12586f7a251aSWu Zhangjin
12596f7a251aSWu Zhangjin	  Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
12606f7a251aSWu Zhangjin	  have a similar programming interface with FPGA northbridge used in
12616f7a251aSWu Zhangjin	  Loongson2E.
12626f7a251aSWu Zhangjin
1263ca585cf9SKelvin Cheungconfig CPU_LOONGSON1B
1264ca585cf9SKelvin Cheung	bool "Loongson 1B"
1265ca585cf9SKelvin Cheung	depends on SYS_HAS_CPU_LOONGSON1B
1266ca585cf9SKelvin Cheung	select CPU_LOONGSON1
1267ca585cf9SKelvin Cheung	help
1268ca585cf9SKelvin Cheung	  The Loongson 1B is a 32-bit SoC, which implements the MIPS32
1269ca585cf9SKelvin Cheung	  release 2 instruction set.
1270ca585cf9SKelvin Cheung
12716e760c8dSRalf Baechleconfig CPU_MIPS32_R1
12726e760c8dSRalf Baechle	bool "MIPS32 Release 1"
12737cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
12746e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1275797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1276ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12776e760c8dSRalf Baechle	help
12785e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
12791e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
12801e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
12811e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
12821e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
12831e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
12841e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
12851e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
12861e5f1caaSRalf Baechle	  performance.
12871e5f1caaSRalf Baechle
12881e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
12891e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
12907cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
12911e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1292797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1293ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1294a5e9a69eSPaul Burton	select CPU_SUPPORTS_MSA
12952235a54dSSanjay Lal	select HAVE_KVM
12961e5f1caaSRalf Baechle	help
12975e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
12986e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
12996e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
13006e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
13016e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
13021da177e4SLinus Torvalds
13036e760c8dSRalf Baechleconfig CPU_MIPS64_R1
13046e760c8dSRalf Baechle	bool "MIPS64 Release 1"
13057cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1306797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1307ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1308ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1309ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13109cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
13116e760c8dSRalf Baechle	help
13126e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
13136e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
13146e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
13156e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
13166e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
13171e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
13181e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
13191e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
13201e5f1caaSRalf Baechle	  performance.
13211e5f1caaSRalf Baechle
13221e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
13231e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
13247cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1325797798c1SRalf Baechle	select CPU_HAS_PREFETCH
13261e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
13271e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1328ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13299cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1330a5e9a69eSPaul Burton	select CPU_SUPPORTS_MSA
13311e5f1caaSRalf Baechle	help
13321e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
13331e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
13341e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
13351e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
13361e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
13371da177e4SLinus Torvalds
13381da177e4SLinus Torvaldsconfig CPU_R3000
13391da177e4SLinus Torvalds	bool "R3000"
13407cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1341f7062ddbSRalf Baechle	select CPU_HAS_WB
1342ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1343797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13441da177e4SLinus Torvalds	help
13451da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
13461da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
13471da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
13481da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
13491da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
13501da177e4SLinus Torvalds	  try to recompile with R3000.
13511da177e4SLinus Torvalds
13521da177e4SLinus Torvaldsconfig CPU_TX39XX
13531da177e4SLinus Torvalds	bool "R39XX"
13547cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1355ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
13561da177e4SLinus Torvalds
13571da177e4SLinus Torvaldsconfig CPU_VR41XX
13581da177e4SLinus Torvalds	bool "R41xx"
13597cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1360ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1361ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
13621da177e4SLinus Torvalds	help
13635e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
13641da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
13651da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
13661da177e4SLinus Torvalds	  processor or vice versa.
13671da177e4SLinus Torvalds
13681da177e4SLinus Torvaldsconfig CPU_R4300
13691da177e4SLinus Torvalds	bool "R4300"
13707cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1371ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1372ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
13731da177e4SLinus Torvalds	help
13741da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
13751da177e4SLinus Torvalds
13761da177e4SLinus Torvaldsconfig CPU_R4X00
13771da177e4SLinus Torvalds	bool "R4x00"
13787cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1379ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1380ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1381970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
13821da177e4SLinus Torvalds	help
13831da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
13841da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
13851da177e4SLinus Torvalds
13861da177e4SLinus Torvaldsconfig CPU_TX49XX
13871da177e4SLinus Torvalds	bool "R49XX"
13887cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1389de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1390ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1391ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1392970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
13931da177e4SLinus Torvalds
13941da177e4SLinus Torvaldsconfig CPU_R5000
13951da177e4SLinus Torvalds	bool "R5000"
13967cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1397ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1398ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1399970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14001da177e4SLinus Torvalds	help
14011da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
14021da177e4SLinus Torvalds
14031da177e4SLinus Torvaldsconfig CPU_R5432
14041da177e4SLinus Torvalds	bool "R5432"
14057cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
14065e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
14075e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1408970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14091da177e4SLinus Torvalds
1410542c1020SShinya Kuribayashiconfig CPU_R5500
1411542c1020SShinya Kuribayashi	bool "R5500"
1412542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1413542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1414542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
14159cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1416542c1020SShinya Kuribayashi	help
1417542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1418542c1020SShinya Kuribayashi	  instruction set.
1419542c1020SShinya Kuribayashi
14201da177e4SLinus Torvaldsconfig CPU_R6000
14211da177e4SLinus Torvalds	bool "R6000"
14227cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1423ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
14241da177e4SLinus Torvalds	help
14251da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1426c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
14271da177e4SLinus Torvalds
14281da177e4SLinus Torvaldsconfig CPU_NEVADA
14291da177e4SLinus Torvalds	bool "RM52xx"
14307cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1431ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1432ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1433970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14341da177e4SLinus Torvalds	help
14351da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
14361da177e4SLinus Torvalds
14371da177e4SLinus Torvaldsconfig CPU_R8000
14381da177e4SLinus Torvalds	bool "R8000"
14397cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
14405e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1441ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
14421da177e4SLinus Torvalds	help
14431da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
14441da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
14451da177e4SLinus Torvalds
14461da177e4SLinus Torvaldsconfig CPU_R10000
14471da177e4SLinus Torvalds	bool "R10000"
14487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
14495e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1450ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1451ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1452797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1453970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14541da177e4SLinus Torvalds	help
14551da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
14561da177e4SLinus Torvalds
14571da177e4SLinus Torvaldsconfig CPU_RM7000
14581da177e4SLinus Torvalds	bool "RM7000"
14597cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
14605e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1461ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1462ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1463797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1464970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14651da177e4SLinus Torvalds
14661da177e4SLinus Torvaldsconfig CPU_SB1
14671da177e4SLinus Torvalds	bool "SB1"
14687cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1469ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1470ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1471797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
1472970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
14730004a9dfSRalf Baechle	select WEAK_ORDERING
14741da177e4SLinus Torvalds
1475a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1476a86c7f72SDavid Daney	bool "Cavium Octeon processor"
14775e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1478a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1479a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1480a86c7f72SDavid Daney	select WEAK_ORDERING
1481a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
14829cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
14839296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_MMIO
1484930beb5aSFlorian Fainelli	select MIPS_L1_CACHE_SHIFT_7
1485a86c7f72SDavid Daney	help
1486a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1487a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1488a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1489a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1490a86c7f72SDavid Daney
1491cd746249SJonas Gorskiconfig CPU_BMIPS
1492cd746249SJonas Gorski	bool "Broadcom BMIPS"
1493cd746249SJonas Gorski	depends on SYS_HAS_CPU_BMIPS
1494cd746249SJonas Gorski	select CPU_MIPS32
1495fe7f62c0SJonas Gorski	select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300
1496cd746249SJonas Gorski	select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350
1497cd746249SJonas Gorski	select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380
1498cd746249SJonas Gorski	select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000
1499cd746249SJonas Gorski	select CPU_SUPPORTS_32BIT_KERNEL
1500cd746249SJonas Gorski	select DMA_NONCOHERENT
1501cd746249SJonas Gorski	select IRQ_CPU
1502cd746249SJonas Gorski	select SWAP_IO_SPACE
1503cd746249SJonas Gorski	select WEAK_ORDERING
1504c1c0c461SKevin Cernekee	select CPU_SUPPORTS_HIGHMEM
150569aaf9c8SJonas Gorski	select CPU_HAS_PREFETCH
1506c1c0c461SKevin Cernekee	help
1507fe7f62c0SJonas Gorski	  Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
1508c1c0c461SKevin Cernekee
15097f058e85SJayachandran Cconfig CPU_XLR
15107f058e85SJayachandran C	bool "Netlogic XLR SoC"
15117f058e85SJayachandran C	depends on SYS_HAS_CPU_XLR
15127f058e85SJayachandran C	select CPU_SUPPORTS_32BIT_KERNEL
15137f058e85SJayachandran C	select CPU_SUPPORTS_64BIT_KERNEL
15147f058e85SJayachandran C	select CPU_SUPPORTS_HIGHMEM
1515970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
15167f058e85SJayachandran C	select WEAK_ORDERING
15177f058e85SJayachandran C	select WEAK_REORDERING_BEYOND_LLSC
15187f058e85SJayachandran C	help
15197f058e85SJayachandran C	  Netlogic Microsystems XLR/XLS processors.
15201c773ea4SJayachandran C
15211c773ea4SJayachandran Cconfig CPU_XLP
15221c773ea4SJayachandran C	bool "Netlogic XLP SoC"
15231c773ea4SJayachandran C	depends on SYS_HAS_CPU_XLP
15241c773ea4SJayachandran C	select CPU_SUPPORTS_32BIT_KERNEL
15251c773ea4SJayachandran C	select CPU_SUPPORTS_64BIT_KERNEL
15261c773ea4SJayachandran C	select CPU_SUPPORTS_HIGHMEM
15271c773ea4SJayachandran C	select WEAK_ORDERING
15281c773ea4SJayachandran C	select WEAK_REORDERING_BEYOND_LLSC
15291c773ea4SJayachandran C	select CPU_HAS_PREFETCH
1530d6504846SJayachandran C	select CPU_MIPSR2
15311c773ea4SJayachandran C	help
15321c773ea4SJayachandran C	  Netlogic Microsystems XLP processors.
15331da177e4SLinus Torvaldsendchoice
15341da177e4SLinus Torvalds
1535a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_FEATURES
1536a6e18781SLeonid Yegoshin	bool "MIPS32 Release 3.5 Features"
1537a6e18781SLeonid Yegoshin	depends on SYS_HAS_CPU_MIPS32_R3_5
1538a6e18781SLeonid Yegoshin	depends on CPU_MIPS32_R2
1539a6e18781SLeonid Yegoshin	help
1540a6e18781SLeonid Yegoshin	  Choose this option to build a kernel for release 2 or later of the
1541a6e18781SLeonid Yegoshin	  MIPS32 architecture including features from the 3.5 release such as
1542a6e18781SLeonid Yegoshin	  support for Enhanced Virtual Addressing (EVA).
1543a6e18781SLeonid Yegoshin
1544a6e18781SLeonid Yegoshinconfig CPU_MIPS32_3_5_EVA
1545a6e18781SLeonid Yegoshin	bool "Enhanced Virtual Addressing (EVA)"
1546a6e18781SLeonid Yegoshin	depends on CPU_MIPS32_3_5_FEATURES
1547a6e18781SLeonid Yegoshin	select EVA
1548a6e18781SLeonid Yegoshin	default y
1549a6e18781SLeonid Yegoshin	help
1550a6e18781SLeonid Yegoshin	  Choose this option if you want to enable the Enhanced Virtual
1551a6e18781SLeonid Yegoshin	  Addressing (EVA) on your MIPS32 core (such as proAptiv).
1552a6e18781SLeonid Yegoshin	  One of its primary benefits is an increase in the maximum size
1553a6e18781SLeonid Yegoshin	  of lowmem (up to 3GB). If unsure, say 'N' here.
1554a6e18781SLeonid Yegoshin
1555622844bfSWu Zhangjinif CPU_LOONGSON2F
1556622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS
1557622844bfSWu Zhangjin	bool
1558622844bfSWu Zhangjin
1559622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS
1560622844bfSWu Zhangjin	bool
1561622844bfSWu Zhangjin
1562622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS
1563622844bfSWu Zhangjin	bool "Loongson 2F Workarounds"
1564622844bfSWu Zhangjin	default y
1565622844bfSWu Zhangjin	select CPU_NOP_WORKAROUNDS
1566622844bfSWu Zhangjin	select CPU_JUMP_WORKAROUNDS
1567622844bfSWu Zhangjin	help
1568622844bfSWu Zhangjin	  Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1569622844bfSWu Zhangjin	  require workarounds.  Without workarounds the system may hang
1570622844bfSWu Zhangjin	  unexpectedly.  For more information please refer to the gas
1571622844bfSWu Zhangjin	  -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1572622844bfSWu Zhangjin
1573622844bfSWu Zhangjin	  Loongson 2F03 and later have fixed these issues and no workarounds
1574622844bfSWu Zhangjin	  are needed.  The workarounds have no significant side effect on them
1575622844bfSWu Zhangjin	  but may decrease the performance of the system so this option should
1576622844bfSWu Zhangjin	  be disabled unless the kernel is intended to be run on 2F01 or 2F02
1577622844bfSWu Zhangjin	  systems.
1578622844bfSWu Zhangjin
1579622844bfSWu Zhangjin	  If unsure, please say Y.
1580622844bfSWu Zhangjinendif # CPU_LOONGSON2F
1581622844bfSWu Zhangjin
15821b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT
15831b93b3c3SWu Zhangjin	bool
15841b93b3c3SWu Zhangjin	select HAVE_KERNEL_GZIP
15851b93b3c3SWu Zhangjin	select HAVE_KERNEL_BZIP2
158631c4867dSFlorian Fainelli	select HAVE_KERNEL_LZ4
15871b93b3c3SWu Zhangjin	select HAVE_KERNEL_LZMA
1588fe1d45e0SWu Zhangjin	select HAVE_KERNEL_LZO
15894e23eb63SFlorian Fainelli	select HAVE_KERNEL_XZ
15901b93b3c3SWu Zhangjin
15911b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550
15921b93b3c3SWu Zhangjin	bool
15931b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
15941b93b3c3SWu Zhangjin
15953702bba5SWu Zhangjinconfig CPU_LOONGSON2
15963702bba5SWu Zhangjin	bool
15973702bba5SWu Zhangjin	select CPU_SUPPORTS_32BIT_KERNEL
15983702bba5SWu Zhangjin	select CPU_SUPPORTS_64BIT_KERNEL
15993702bba5SWu Zhangjin	select CPU_SUPPORTS_HIGHMEM
1600970d032fSRalf Baechle	select CPU_SUPPORTS_HUGEPAGES
16013702bba5SWu Zhangjin
1602ca585cf9SKelvin Cheungconfig CPU_LOONGSON1
1603ca585cf9SKelvin Cheung	bool
1604ca585cf9SKelvin Cheung	select CPU_MIPS32
1605ca585cf9SKelvin Cheung	select CPU_MIPSR2
1606ca585cf9SKelvin Cheung	select CPU_HAS_PREFETCH
1607ca585cf9SKelvin Cheung	select CPU_SUPPORTS_32BIT_KERNEL
1608ca585cf9SKelvin Cheung	select CPU_SUPPORTS_HIGHMEM
1609f29ad10dSKelvin Cheung	select CPU_SUPPORTS_CPUFREQ
1610ca585cf9SKelvin Cheung
1611fe7f62c0SJonas Gorskiconfig CPU_BMIPS32_3300
161204fa8bf7SJonas Gorski	select SMP_UP if SMP
16131bbb6c1bSKevin Cernekee	bool
1614cd746249SJonas Gorski
1615cd746249SJonas Gorskiconfig CPU_BMIPS4350
1616cd746249SJonas Gorski	bool
1617cd746249SJonas Gorski	select SYS_SUPPORTS_SMP
1618cd746249SJonas Gorski	select SYS_SUPPORTS_HOTPLUG_CPU
1619cd746249SJonas Gorski
1620cd746249SJonas Gorskiconfig CPU_BMIPS4380
1621cd746249SJonas Gorski	bool
1622bbf2ba67SKevin Cernekee	select MIPS_L1_CACHE_SHIFT_6
1623cd746249SJonas Gorski	select SYS_SUPPORTS_SMP
1624cd746249SJonas Gorski	select SYS_SUPPORTS_HOTPLUG_CPU
1625cd746249SJonas Gorski
1626cd746249SJonas Gorskiconfig CPU_BMIPS5000
1627cd746249SJonas Gorski	bool
1628cd746249SJonas Gorski	select MIPS_CPU_SCACHE
1629bbf2ba67SKevin Cernekee	select MIPS_L1_CACHE_SHIFT_7
1630cd746249SJonas Gorski	select SYS_SUPPORTS_SMP
1631cd746249SJonas Gorski	select SYS_SUPPORTS_HOTPLUG_CPU
16321bbb6c1bSKevin Cernekee
16330e476d91SHuacai Chenconfig SYS_HAS_CPU_LOONGSON3
16340e476d91SHuacai Chen	bool
16350e476d91SHuacai Chen	select CPU_SUPPORTS_CPUFREQ
16360e476d91SHuacai Chen
16373702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E
16382a21c730SFuxin Zhang	bool
16392a21c730SFuxin Zhang
16406f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F
16416f7a251aSWu Zhangjin	bool
164255045ff5SWu Zhangjin	select CPU_SUPPORTS_CPUFREQ
164355045ff5SWu Zhangjin	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
164422f1fdfdSWu Zhangjin	select CPU_SUPPORTS_UNCACHED_ACCELERATED
16456f7a251aSWu Zhangjin
1646ca585cf9SKelvin Cheungconfig SYS_HAS_CPU_LOONGSON1B
1647ca585cf9SKelvin Cheung	bool
1648ca585cf9SKelvin Cheung
16497cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
16507cf8053bSRalf Baechle	bool
16517cf8053bSRalf Baechle
16527cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
16537cf8053bSRalf Baechle	bool
16547cf8053bSRalf Baechle
1655a6e18781SLeonid Yegoshinconfig SYS_HAS_CPU_MIPS32_R3_5
1656a6e18781SLeonid Yegoshin	bool
1657a6e18781SLeonid Yegoshin
16587cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
16597cf8053bSRalf Baechle	bool
16607cf8053bSRalf Baechle
16617cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
16627cf8053bSRalf Baechle	bool
16637cf8053bSRalf Baechle
16647cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
16657cf8053bSRalf Baechle	bool
16667cf8053bSRalf Baechle
16677cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
16687cf8053bSRalf Baechle	bool
16697cf8053bSRalf Baechle
16707cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
16717cf8053bSRalf Baechle	bool
16727cf8053bSRalf Baechle
16737cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
16747cf8053bSRalf Baechle	bool
16757cf8053bSRalf Baechle
16767cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
16777cf8053bSRalf Baechle	bool
16787cf8053bSRalf Baechle
16797cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
16807cf8053bSRalf Baechle	bool
16817cf8053bSRalf Baechle
16827cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
16837cf8053bSRalf Baechle	bool
16847cf8053bSRalf Baechle
16857cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
16867cf8053bSRalf Baechle	bool
16877cf8053bSRalf Baechle
1688542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1689542c1020SShinya Kuribayashi	bool
1690542c1020SShinya Kuribayashi
16917cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
16927cf8053bSRalf Baechle	bool
16937cf8053bSRalf Baechle
16947cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
16957cf8053bSRalf Baechle	bool
16967cf8053bSRalf Baechle
16977cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
16987cf8053bSRalf Baechle	bool
16997cf8053bSRalf Baechle
17007cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
17017cf8053bSRalf Baechle	bool
17027cf8053bSRalf Baechle
17037cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
17047cf8053bSRalf Baechle	bool
17057cf8053bSRalf Baechle
17067cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
17077cf8053bSRalf Baechle	bool
17087cf8053bSRalf Baechle
17095e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
17105e683389SDavid Daney	bool
17115e683389SDavid Daney
1712cd746249SJonas Gorskiconfig SYS_HAS_CPU_BMIPS
1713c1c0c461SKevin Cernekee	bool
1714c1c0c461SKevin Cernekee
1715fe7f62c0SJonas Gorskiconfig SYS_HAS_CPU_BMIPS32_3300
1716c1c0c461SKevin Cernekee	bool
1717cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1718c1c0c461SKevin Cernekee
1719c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4350
1720c1c0c461SKevin Cernekee	bool
1721cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1722c1c0c461SKevin Cernekee
1723c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS4380
1724c1c0c461SKevin Cernekee	bool
1725cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1726c1c0c461SKevin Cernekee
1727c1c0c461SKevin Cernekeeconfig SYS_HAS_CPU_BMIPS5000
1728c1c0c461SKevin Cernekee	bool
1729cd746249SJonas Gorski	select SYS_HAS_CPU_BMIPS
1730c1c0c461SKevin Cernekee
17317f058e85SJayachandran Cconfig SYS_HAS_CPU_XLR
17327f058e85SJayachandran C	bool
17337f058e85SJayachandran C
17341c773ea4SJayachandran Cconfig SYS_HAS_CPU_XLP
17351c773ea4SJayachandran C	bool
17361c773ea4SJayachandran C
1737b6911bbaSPaul Burtonconfig MIPS_MALTA_PM
1738b6911bbaSPaul Burton	depends on MIPS_MALTA
1739b6911bbaSPaul Burton	depends on PCI
1740b6911bbaSPaul Burton	bool
1741b6911bbaSPaul Burton	default y
1742b6911bbaSPaul Burton
174317099b11SRalf Baechle#
174417099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
174517099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
174617099b11SRalf Baechle#
17470004a9dfSRalf Baechleconfig WEAK_ORDERING
17480004a9dfSRalf Baechle	bool
174917099b11SRalf Baechle
175017099b11SRalf Baechle#
175117099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
175217099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
175317099b11SRalf Baechle#
175417099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
175517099b11SRalf Baechle	bool
17565e83d430SRalf Baechleendmenu
17575e83d430SRalf Baechle
17585e83d430SRalf Baechle#
17595e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
17605e83d430SRalf Baechle#
17615e83d430SRalf Baechleconfig CPU_MIPS32
17625e83d430SRalf Baechle	bool
17635e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
17645e83d430SRalf Baechle
17655e83d430SRalf Baechleconfig CPU_MIPS64
17665e83d430SRalf Baechle	bool
17675e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
17685e83d430SRalf Baechle
17695e83d430SRalf Baechle#
1770c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
17715e83d430SRalf Baechle#
17725e83d430SRalf Baechleconfig CPU_MIPSR1
17735e83d430SRalf Baechle	bool
17745e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
17755e83d430SRalf Baechle
17765e83d430SRalf Baechleconfig CPU_MIPSR2
17775e83d430SRalf Baechle	bool
1778a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
17795e83d430SRalf Baechle
1780a6e18781SLeonid Yegoshinconfig EVA
1781a6e18781SLeonid Yegoshin	bool
1782a6e18781SLeonid Yegoshin
17835e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
17845e83d430SRalf Baechle	bool
17855e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
17865e83d430SRalf Baechle	bool
17875e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
17885e83d430SRalf Baechle	bool
17895e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
17905e83d430SRalf Baechle	bool
179155045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ
179255045ff5SWu Zhangjin	bool
179355045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG
179455045ff5SWu Zhangjin	bool
17959cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES
17969cffd154SDavid Daney	bool
179722f1fdfdSWu Zhangjinconfig CPU_SUPPORTS_UNCACHED_ACCELERATED
179822f1fdfdSWu Zhangjin	bool
179982622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT
180082622284SDavid Daney	bool
1801d6504846SJayachandran C	default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
18025e83d430SRalf Baechle
18038192c9eaSDavid Daney#
18048192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
18058192c9eaSDavid Daney#
18068192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
18078192c9eaSDavid Daney       bool
1808f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
18098192c9eaSDavid Daney
18105e83d430SRalf Baechlemenu "Kernel type"
18115e83d430SRalf Baechle
18125e83d430SRalf Baechlechoice
18135e83d430SRalf Baechle	prompt "Kernel code model"
18145e83d430SRalf Baechle	help
18155e83d430SRalf Baechle	  You should only select this option if you have a workload that
18165e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
18175e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
18185e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
18195e83d430SRalf Baechle
18205e83d430SRalf Baechleconfig 32BIT
18215e83d430SRalf Baechle	bool "32-bit kernel"
18225e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
18235e83d430SRalf Baechle	select TRAD_SIGNALS
18245e83d430SRalf Baechle	help
18255e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
18265e83d430SRalf Baechleconfig 64BIT
18275e83d430SRalf Baechle	bool "64-bit kernel"
18285e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
18295e83d430SRalf Baechle	help
18305e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
18315e83d430SRalf Baechle
18325e83d430SRalf Baechleendchoice
18335e83d430SRalf Baechle
18342235a54dSSanjay Lalconfig KVM_GUEST
18352235a54dSSanjay Lal	bool "KVM Guest Kernel"
1836f2a5b1d7SJames Hogan	depends on BROKEN_ON_SMP
18372235a54dSSanjay Lal	help
18382235a54dSSanjay Lal	  Select this option if building a guest kernel for KVM (Trap & Emulate) mode
18392235a54dSSanjay Lal
1840eda3d33cSJames Hoganconfig KVM_GUEST_TIMER_FREQ
1841eda3d33cSJames Hogan	int "Count/Compare Timer Frequency (MHz)"
18422235a54dSSanjay Lal	depends on KVM_GUEST
1843eda3d33cSJames Hogan	default 100
18442235a54dSSanjay Lal	help
1845eda3d33cSJames Hogan	  Set this to non-zero if building a guest kernel for KVM to skip RTC
1846eda3d33cSJames Hogan	  emulation when determining guest CPU Frequency. Instead, the guest's
1847eda3d33cSJames Hogan	  timer frequency is specified directly.
18482235a54dSSanjay Lal
18491da177e4SLinus Torvaldschoice
18501da177e4SLinus Torvalds	prompt "Kernel page size"
18511da177e4SLinus Torvalds	default PAGE_SIZE_4KB
18521da177e4SLinus Torvalds
18531da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
18541da177e4SLinus Torvalds	bool "4kB"
18550e476d91SHuacai Chen	depends on !CPU_LOONGSON2 && !CPU_LOONGSON3
18561da177e4SLinus Torvalds	help
18571da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
18581da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
18591da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
18601da177e4SLinus Torvalds	 recommended for low memory systems.
18611da177e4SLinus Torvalds
18621da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
18631da177e4SLinus Torvalds	bool "8kB"
18647d60717eSKees Cook	depends on CPU_R8000 || CPU_CAVIUM_OCTEON
18651da177e4SLinus Torvalds	help
18661da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
18671da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
1868c52399beSRalf Baechle	  only on R8000 and cnMIPS processors.  Note that you will need a
1869c52399beSRalf Baechle	  suitable Linux distribution to support this.
18701da177e4SLinus Torvalds
18711da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
18721da177e4SLinus Torvalds	bool "16kB"
1873714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
18741da177e4SLinus Torvalds	help
18751da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
18761da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1877714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1878714bfad6SRalf Baechle	  Linux distribution to support this.
18791da177e4SLinus Torvalds
1880c52399beSRalf Baechleconfig PAGE_SIZE_32KB
1881c52399beSRalf Baechle	bool "32kB"
1882c52399beSRalf Baechle	depends on CPU_CAVIUM_OCTEON
1883c52399beSRalf Baechle	help
1884c52399beSRalf Baechle	  Using 32kB page size will result in higher performance kernel at
1885c52399beSRalf Baechle	  the price of higher memory consumption.  This option is available
1886c52399beSRalf Baechle	  only on cnMIPS cores.  Note that you will need a suitable Linux
1887c52399beSRalf Baechle	  distribution to support this.
1888c52399beSRalf Baechle
18891da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
18901da177e4SLinus Torvalds	bool "64kB"
18917d60717eSKees Cook	depends on !CPU_R3000 && !CPU_TX39XX
18921da177e4SLinus Torvalds	help
18931da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
18941da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
18951da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1896714bfad6SRalf Baechle	  writing this option is still high experimental.
18971da177e4SLinus Torvalds
18981da177e4SLinus Torvaldsendchoice
18991da177e4SLinus Torvalds
1900c9bace7cSDavid Daneyconfig FORCE_MAX_ZONEORDER
1901c9bace7cSDavid Daney	int "Maximum zone order"
1902e4362d1eSAlex Smith	range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
1903e4362d1eSAlex Smith	default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
1904e4362d1eSAlex Smith	range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
1905e4362d1eSAlex Smith	default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
1906e4362d1eSAlex Smith	range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
1907e4362d1eSAlex Smith	default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
1908c9bace7cSDavid Daney	range 11 64
1909c9bace7cSDavid Daney	default "11"
1910c9bace7cSDavid Daney	help
1911c9bace7cSDavid Daney	  The kernel memory allocator divides physically contiguous memory
1912c9bace7cSDavid Daney	  blocks into "zones", where each zone is a power of two number of
1913c9bace7cSDavid Daney	  pages.  This option selects the largest power of two that the kernel
1914c9bace7cSDavid Daney	  keeps in the memory allocator.  If you need to allocate very large
1915c9bace7cSDavid Daney	  blocks of physically contiguous memory, then you may need to
1916c9bace7cSDavid Daney	  increase this value.
1917c9bace7cSDavid Daney
1918c9bace7cSDavid Daney	  This config option is actually maximum order plus one. For example,
1919c9bace7cSDavid Daney	  a value of 11 means that the largest free memory block is 2^10 pages.
1920c9bace7cSDavid Daney
1921c9bace7cSDavid Daney	  The page size is not necessarily 4KB.  Keep this in mind
1922c9bace7cSDavid Daney	  when choosing a value for this option.
1923c9bace7cSDavid Daney
19241da177e4SLinus Torvaldsconfig BOARD_SCACHE
19251da177e4SLinus Torvalds	bool
19261da177e4SLinus Torvalds
19271da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
19281da177e4SLinus Torvalds	bool
19291da177e4SLinus Torvalds	select BOARD_SCACHE
19301da177e4SLinus Torvalds
19319318c51aSChris Dearman#
19329318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
19339318c51aSChris Dearman#
19349318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
19359318c51aSChris Dearman	bool
19369318c51aSChris Dearman	select BOARD_SCACHE
19379318c51aSChris Dearman
19381da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
19391da177e4SLinus Torvalds	bool
19401da177e4SLinus Torvalds	select BOARD_SCACHE
19411da177e4SLinus Torvalds
19421da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
19431da177e4SLinus Torvalds	bool
19441da177e4SLinus Torvalds	select BOARD_SCACHE
19451da177e4SLinus Torvalds
19461da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
19471da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
19481da177e4SLinus Torvalds	depends on CPU_SB1
19491da177e4SLinus Torvalds	help
19501da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
19511da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
19521da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
19531da177e4SLinus Torvalds
19541da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1955c8094b53SRalf Baechle	bool
19561da177e4SLinus Torvalds
19573165c846SFlorian Fainelliconfig CPU_GENERIC_DUMP_TLB
19583165c846SFlorian Fainelli	bool
19593165c846SFlorian Fainelli	default y if !(CPU_R3000 || CPU_R6000 || CPU_R8000 || CPU_TX39XX)
19603165c846SFlorian Fainelli
196191405eb6SFlorian Fainelliconfig CPU_R4K_FPU
196291405eb6SFlorian Fainelli	bool
196391405eb6SFlorian Fainelli	default y if !(CPU_R3000 || CPU_R6000 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
196491405eb6SFlorian Fainelli
196562cedc4fSFlorian Fainelliconfig CPU_R4K_CACHE_TLB
196662cedc4fSFlorian Fainelli	bool
196762cedc4fSFlorian Fainelli	default y if !(CPU_R3000 || CPU_R8000 || CPU_SB1 || CPU_TX39XX || CPU_CAVIUM_OCTEON)
196862cedc4fSFlorian Fainelli
196959d6ab86SRalf Baechleconfig MIPS_MT_SMP
1970a92b7f87SMarkos Chandras	bool "MIPS MT SMP support (1 TC on each available VPE)"
197159d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
197259d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1973d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1974c080faa5SSteven J. Hill	select SYNC_R4K
19750c2cb004SPaul Burton	select MIPS_GIC_IPI
197659d6ab86SRalf Baechle	select MIPS_MT
197759d6ab86SRalf Baechle	select SMP
197887353d8aSRalf Baechle	select SMP_UP
1979c080faa5SSteven J. Hill	select SYS_SUPPORTS_SMP
1980c080faa5SSteven J. Hill	select SYS_SUPPORTS_SCHED_SMT
1981399aaa25SAl Cooper	select MIPS_PERF_SHARED_TC_COUNTERS
198259d6ab86SRalf Baechle	help
1983c080faa5SSteven J. Hill	  This is a kernel model which is known as SMVP. This is supported
1984c080faa5SSteven J. Hill	  on cores with the MT ASE and uses the available VPEs to implement
1985c080faa5SSteven J. Hill	  virtual processors which supports SMP. This is equivalent to the
1986c080faa5SSteven J. Hill	  Intel Hyperthreading feature. For further information go to
1987c080faa5SSteven J. Hill	  <http://www.imgtec.com/mips/mips-multithreading.asp>.
198859d6ab86SRalf Baechle
1989f41ae0b2SRalf Baechleconfig MIPS_MT
1990f41ae0b2SRalf Baechle	bool
1991f41ae0b2SRalf Baechle
19920ab7aefcSRalf Baechleconfig SCHED_SMT
19930ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
19940ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
19950ab7aefcSRalf Baechle	default n
19960ab7aefcSRalf Baechle	help
19970ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
19980ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
19990ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
20000ab7aefcSRalf Baechle
20010ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
20020ab7aefcSRalf Baechle	bool
20030ab7aefcSRalf Baechle
2004f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
2005f41ae0b2SRalf Baechle	bool
2006f41ae0b2SRalf Baechle
2007f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
2008f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
2009f088fc84SRalf Baechle	default y
2010b633648cSRalf Baechle	depends on MIPS_MT_SMP
201107cc0c9eSRalf Baechle
201207cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
201307cc0c9eSRalf Baechle	bool "VPE loader support."
2014704e6460SMarkos Chandras	depends on SYS_SUPPORTS_MULTITHREADING && MODULES
201507cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
201607cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
201707cc0c9eSRalf Baechle	select MIPS_MT
201807cc0c9eSRalf Baechle	help
201907cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
202007cc0c9eSRalf Baechle	  onto another VPE and running it.
2021f088fc84SRalf Baechle
202217a1d523SDeng-Cheng Zhuconfig MIPS_VPE_LOADER_CMP
202317a1d523SDeng-Cheng Zhu	bool
202417a1d523SDeng-Cheng Zhu	default "y"
202517a1d523SDeng-Cheng Zhu	depends on MIPS_VPE_LOADER && MIPS_CMP
202617a1d523SDeng-Cheng Zhu
20271a2a6d7eSDeng-Cheng Zhuconfig MIPS_VPE_LOADER_MT
20281a2a6d7eSDeng-Cheng Zhu	bool
20291a2a6d7eSDeng-Cheng Zhu	default "y"
20301a2a6d7eSDeng-Cheng Zhu	depends on MIPS_VPE_LOADER && !MIPS_CMP
20311a2a6d7eSDeng-Cheng Zhu
2032e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
2033e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
2034e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
2035e01402b1SRalf Baechle	default y
2036e01402b1SRalf Baechle	help
2037e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
2038e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
2039e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
2040e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
2041e01402b1SRalf Baechle
2042e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
2043e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
2044e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
20455e83d430SRalf Baechle	help
2046e01402b1SRalf Baechle
2047da615cf6SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_CMP
2048da615cf6SDeng-Cheng Zhu	bool
2049da615cf6SDeng-Cheng Zhu	default "y"
2050da615cf6SDeng-Cheng Zhu	depends on MIPS_VPE_APSP_API && MIPS_CMP
2051da615cf6SDeng-Cheng Zhu
20522c973ef0SDeng-Cheng Zhuconfig MIPS_VPE_APSP_API_MT
20532c973ef0SDeng-Cheng Zhu	bool
20542c973ef0SDeng-Cheng Zhu	default "y"
20552c973ef0SDeng-Cheng Zhu	depends on MIPS_VPE_APSP_API && !MIPS_CMP
20562c973ef0SDeng-Cheng Zhu
20574a16ff4cSRalf Baechleconfig MIPS_CMP
20585cac93b3SPaul Burton	bool "MIPS CMP framework support (DEPRECATED)"
2059b633648cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
206072e20142SPaul Burton	select MIPS_GIC_IPI
2061b10b43baSMarkos Chandras	select SMP
2062eb9b5141STim Anderson	select SYNC_R4K
2063b10b43baSMarkos Chandras	select SYS_SUPPORTS_SMP
20644a16ff4cSRalf Baechle	select WEAK_ORDERING
20654a16ff4cSRalf Baechle	default n
20664a16ff4cSRalf Baechle	help
2067044505c7SPaul Burton	  Select this if you are using a bootloader which implements the "CMP
2068044505c7SPaul Burton	  framework" protocol (ie. YAMON) and want your kernel to make use of
2069044505c7SPaul Burton	  its ability to start secondary CPUs.
20704a16ff4cSRalf Baechle
20715cac93b3SPaul Burton	  Unless you have a specific need, you should use CONFIG_MIPS_CPS
20725cac93b3SPaul Burton	  instead of this.
20735cac93b3SPaul Burton
20740ee958e1SPaul Burtonconfig MIPS_CPS
20750ee958e1SPaul Burton	bool "MIPS Coherent Processing System support"
20760ee958e1SPaul Burton	depends on SYS_SUPPORTS_MIPS_CPS
20770ee958e1SPaul Burton	select MIPS_CM
20780ee958e1SPaul Burton	select MIPS_CPC
20791d8f1f5aSPaul Burton	select MIPS_CPS_PM if HOTPLUG_CPU
20800ee958e1SPaul Burton	select MIPS_GIC_IPI
20810ee958e1SPaul Burton	select SMP
20820ee958e1SPaul Burton	select SYNC_R4K if (CEVT_R4K || CSRC_R4K)
20831d8f1f5aSPaul Burton	select SYS_SUPPORTS_HOTPLUG_CPU
20840ee958e1SPaul Burton	select SYS_SUPPORTS_SMP
20850ee958e1SPaul Burton	select WEAK_ORDERING
20860ee958e1SPaul Burton	help
20870ee958e1SPaul Burton	  Select this if you wish to run an SMP kernel across multiple cores
20880ee958e1SPaul Burton	  within a MIPS Coherent Processing System. When this option is
20890ee958e1SPaul Burton	  enabled the kernel will probe for other cores and boot them with
20900ee958e1SPaul Burton	  no external assistance. It is safe to enable this when hardware
20910ee958e1SPaul Burton	  support is unavailable.
20920ee958e1SPaul Burton
20933179d37eSPaul Burtonconfig MIPS_CPS_PM
209439a59593SMarkos Chandras	depends on MIPS_CPS
2095a8b84677SPaul Burton	select MIPS_CPC
20963179d37eSPaul Burton	bool
20973179d37eSPaul Burton
209872e20142SPaul Burtonconfig MIPS_GIC_IPI
209972e20142SPaul Burton	bool
210072e20142SPaul Burton
21019f98f3ddSPaul Burtonconfig MIPS_CM
21029f98f3ddSPaul Burton	bool
21039f98f3ddSPaul Burton
21049c38cf44SPaul Burtonconfig MIPS_CPC
21059c38cf44SPaul Burton	bool
21062600990eSRalf Baechle
21071da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
21081da177e4SLinus Torvalds	bool
21091da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
21101da177e4SLinus Torvalds	default y
21111da177e4SLinus Torvalds
21121da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
21131da177e4SLinus Torvalds	bool
21141da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
21151da177e4SLinus Torvalds	default y
21161da177e4SLinus Torvalds
21171da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
21181da177e4SLinus Torvalds	bool
21191da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
21201da177e4SLinus Torvalds	default y
21211da177e4SLinus Torvalds
21222235a54dSSanjay Lal
21231da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
2124d806cb2bSRalf Baechle	bool
21251da177e4SLinus Torvalds
212660ec6571Spascal@pabr.orgconfig ARCH_PHYS_ADDR_T_64BIT
212760ec6571Spascal@pabr.org       def_bool 64BIT_PHYS_ADDR
212860ec6571Spascal@pabr.org
21299693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
21309693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
21319693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
21329693a853SFranck Bui-Huu	help
21339693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
21349693a853SFranck Bui-Huu	  increased security at both hardware and software level for
21359693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
21369693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
21379693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
21389693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
21399693a853SFranck Bui-Huu	  here.
21409693a853SFranck Bui-Huu
2141bce86083SSteven J. Hillconfig CPU_MICROMIPS
2142bce86083SSteven J. Hill	depends on SYS_SUPPORTS_MICROMIPS
2143bce86083SSteven J. Hill	bool "Build kernel using microMIPS ISA"
2144bce86083SSteven J. Hill	help
2145bce86083SSteven J. Hill	  When this option is enabled the kernel will be built using the
2146bce86083SSteven J. Hill	  microMIPS ISA
2147bce86083SSteven J. Hill
2148a5e9a69eSPaul Burtonconfig CPU_HAS_MSA
21494af94d5dSPaul Burton	bool "Support for the MIPS SIMD Architecture (EXPERIMENTAL)"
2150a5e9a69eSPaul Burton	depends on CPU_SUPPORTS_MSA
21512a6cb669SPaul Burton	depends on 64BIT || MIPS_O32_FP64_SUPPORT
2152a5e9a69eSPaul Burton	help
2153a5e9a69eSPaul Burton	  MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers
2154a5e9a69eSPaul Burton	  and a set of SIMD instructions to operate on them. When this option
21551db1af84SPaul Burton	  is enabled the kernel will support allocating & switching MSA
21561db1af84SPaul Burton	  vector register contexts. If you know that your kernel will only be
21571db1af84SPaul Burton	  running on CPUs which do not support MSA or that your userland will
21581db1af84SPaul Burton	  not be making use of it then you may wish to say N here to reduce
21591db1af84SPaul Burton	  the size & complexity of your kernel.
2160a5e9a69eSPaul Burton
2161a5e9a69eSPaul Burton	  If unsure, say Y.
2162a5e9a69eSPaul Burton
21631da177e4SLinus Torvaldsconfig CPU_HAS_WB
2164f7062ddbSRalf Baechle	bool
2165e01402b1SRalf Baechle
2166df0ac8a4SKevin Cernekeeconfig XKS01
2167df0ac8a4SKevin Cernekee	bool
2168df0ac8a4SKevin Cernekee
2169f41ae0b2SRalf Baechle#
2170f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
2171f41ae0b2SRalf Baechle#
2172e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
2173f41ae0b2SRalf Baechle	bool
2174e01402b1SRalf Baechle
2175f41ae0b2SRalf Baechle#
2176f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
2177f41ae0b2SRalf Baechle#
2178e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
2179f41ae0b2SRalf Baechle	bool
2180e01402b1SRalf Baechle
21811da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
21821da177e4SLinus Torvalds	bool
21831da177e4SLinus Torvalds	depends on !CPU_R3000
21841da177e4SLinus Torvalds	default y
21851da177e4SLinus Torvalds
21861da177e4SLinus Torvalds#
218720d60d99SMaciej W. Rozycki# CPU non-features
218820d60d99SMaciej W. Rozycki#
218920d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
219020d60d99SMaciej W. Rozycki	bool
219120d60d99SMaciej W. Rozycki
219220d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
219320d60d99SMaciej W. Rozycki	bool
219420d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
219520d60d99SMaciej W. Rozycki
219620d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
219720d60d99SMaciej W. Rozycki	bool
219820d60d99SMaciej W. Rozycki
219920d60d99SMaciej W. Rozycki#
22001da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
22011da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
22021da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
22031da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
22041da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
22051da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
22061da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
22071da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
2208797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
2209797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
2210797798c1SRalf Baechle#   support.
22111da177e4SLinus Torvalds#
22121da177e4SLinus Torvaldsconfig HIGHMEM
22131da177e4SLinus Torvalds	bool "High Memory Support"
2214a6e18781SLeonid Yegoshin	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA
2215797798c1SRalf Baechle
2216797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
2217797798c1SRalf Baechle	bool
2218797798c1SRalf Baechle
2219797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
2220797798c1SRalf Baechle	bool
22211da177e4SLinus Torvalds
22229693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
22239693a853SFranck Bui-Huu	bool
22249693a853SFranck Bui-Huu
2225a6a4834cSSteven J. Hillconfig SYS_SUPPORTS_MICROMIPS
2226a6a4834cSSteven J. Hill	bool
2227a6a4834cSSteven J. Hill
2228377cb1b6SRalf Baechleconfig SYS_SUPPORTS_MIPS16
2229377cb1b6SRalf Baechle	bool
2230377cb1b6SRalf Baechle	help
2231377cb1b6SRalf Baechle	  This option must be set if a kernel might be executed on a MIPS16-
2232377cb1b6SRalf Baechle	  enabled CPU even if MIPS16 is not actually being used.  In other
2233377cb1b6SRalf Baechle	  words, it makes the kernel MIPS16-tolerant.
2234377cb1b6SRalf Baechle
2235a5e9a69eSPaul Burtonconfig CPU_SUPPORTS_MSA
2236a5e9a69eSPaul Burton	bool
2237a5e9a69eSPaul Burton
2238b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
2239b4819b59SYoichi Yuasa	def_bool y
2240f133f22dSWu Zhangjin	depends on !NUMA && !CPU_LOONGSON2
2241b4819b59SYoichi Yuasa
2242d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
2243d8cb4e11SRalf Baechle	bool
2244d8cb4e11SRalf Baechle	default y if SGI_IP27
2245d8cb4e11SRalf Baechle	help
22463dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
2247d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
2248d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
2249d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
2250d8cb4e11SRalf Baechle
2251b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
2252b1c6cd42SAtsushi Nemoto	bool
22537de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
225431473747SAtsushi Nemoto
2255d8cb4e11SRalf Baechleconfig NUMA
2256d8cb4e11SRalf Baechle	bool "NUMA Support"
2257d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
2258d8cb4e11SRalf Baechle	help
2259d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
2260d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
2261d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
2262d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
2263d8cb4e11SRalf Baechle	  disabled.
2264d8cb4e11SRalf Baechle
2265d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
2266d8cb4e11SRalf Baechle	bool
2267d8cb4e11SRalf Baechle
2268c80d79d7SYasunori Gotoconfig NODES_SHIFT
2269c80d79d7SYasunori Goto	int
2270c80d79d7SYasunori Goto	default "6"
2271c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
2272c80d79d7SYasunori Goto
227314f70012SDeng-Cheng Zhuconfig HW_PERF_EVENTS
227414f70012SDeng-Cheng Zhu	bool "Enable hardware performance counter support for perf events"
2275b633648cSRalf Baechle	depends on PERF_EVENTS && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP)
227614f70012SDeng-Cheng Zhu	default y
227714f70012SDeng-Cheng Zhu	help
227814f70012SDeng-Cheng Zhu	  Enable hardware performance counter support for perf events. If
227914f70012SDeng-Cheng Zhu	  disabled, perf events will use software events only.
228014f70012SDeng-Cheng Zhu
2281b4819b59SYoichi Yuasasource "mm/Kconfig"
2282b4819b59SYoichi Yuasa
22831da177e4SLinus Torvaldsconfig SMP
22841da177e4SLinus Torvalds	bool "Multi-Processing support"
2285e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
2286e73ea273SRalf Baechle	help
22871da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
22884a474157SRobert Graffham	  a system with only one CPU, say N. If you have a system with more
22894a474157SRobert Graffham	  than one CPU, say Y.
22901da177e4SLinus Torvalds
22914a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
22921da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
22931da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
22944a474157SRobert Graffham	  uniprocessor machines. On a uniprocessor machine, the kernel
22951da177e4SLinus Torvalds	  will run faster if you say N here.
22961da177e4SLinus Torvalds
22971da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
22981da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
22991da177e4SLinus Torvalds
230003502faaSAdrian Bunk	  See also the SMP-HOWTO available at
230103502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
23021da177e4SLinus Torvalds
23031da177e4SLinus Torvalds	  If you don't know what to do here, say N.
23041da177e4SLinus Torvalds
230587353d8aSRalf Baechleconfig SMP_UP
230687353d8aSRalf Baechle	bool
230787353d8aSRalf Baechle
23084a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
23094a16ff4cSRalf Baechle	bool
23104a16ff4cSRalf Baechle
23110ee958e1SPaul Burtonconfig SYS_SUPPORTS_MIPS_CPS
23120ee958e1SPaul Burton	bool
23130ee958e1SPaul Burton
2314e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
2315e73ea273SRalf Baechle	bool
2316e73ea273SRalf Baechle
2317130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
2318130e2fb7SRalf Baechle	bool
2319130e2fb7SRalf Baechle
2320130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
2321130e2fb7SRalf Baechle	bool
2322130e2fb7SRalf Baechle
2323130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
2324130e2fb7SRalf Baechle	bool
2325130e2fb7SRalf Baechle
2326130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
2327130e2fb7SRalf Baechle	bool
2328130e2fb7SRalf Baechle
2329130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
2330130e2fb7SRalf Baechle	bool
2331130e2fb7SRalf Baechle
23321da177e4SLinus Torvaldsconfig NR_CPUS
2333a91796a9SJayachandran C	int "Maximum number of CPUs (2-256)"
2334a91796a9SJayachandran C	range 2 256
23351da177e4SLinus Torvalds	depends on SMP
2336130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
2337130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
2338130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
2339130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
2340130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
23411da177e4SLinus Torvalds	help
23421da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
23431da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
23441da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
234572ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
234672ede9b1SAtsushi Nemoto	  and 2 for all others.
23471da177e4SLinus Torvalds
23481da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
234972ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
235072ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
235172ede9b1SAtsushi Nemoto	  power of two.
23521da177e4SLinus Torvalds
2353399aaa25SAl Cooperconfig MIPS_PERF_SHARED_TC_COUNTERS
2354399aaa25SAl Cooper	bool
2355399aaa25SAl Cooper
23561723b4a3SAtsushi Nemoto#
23571723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
23581723b4a3SAtsushi Nemoto#
23591723b4a3SAtsushi Nemoto
23601723b4a3SAtsushi Nemotochoice
23611723b4a3SAtsushi Nemoto	prompt "Timer frequency"
23621723b4a3SAtsushi Nemoto	default HZ_250
23631723b4a3SAtsushi Nemoto	help
23641723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
23651723b4a3SAtsushi Nemoto
23661723b4a3SAtsushi Nemoto	config HZ_48
23670f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
23681723b4a3SAtsushi Nemoto
23691723b4a3SAtsushi Nemoto	config HZ_100
23701723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
23711723b4a3SAtsushi Nemoto
23721723b4a3SAtsushi Nemoto	config HZ_128
23731723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
23741723b4a3SAtsushi Nemoto
23751723b4a3SAtsushi Nemoto	config HZ_250
23761723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
23771723b4a3SAtsushi Nemoto
23781723b4a3SAtsushi Nemoto	config HZ_256
23791723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
23801723b4a3SAtsushi Nemoto
23811723b4a3SAtsushi Nemoto	config HZ_1000
23821723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
23831723b4a3SAtsushi Nemoto
23841723b4a3SAtsushi Nemoto	config HZ_1024
23851723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
23861723b4a3SAtsushi Nemoto
23871723b4a3SAtsushi Nemotoendchoice
23881723b4a3SAtsushi Nemoto
23891723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
23901723b4a3SAtsushi Nemoto	bool
23911723b4a3SAtsushi Nemoto
23921723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
23931723b4a3SAtsushi Nemoto	bool
23941723b4a3SAtsushi Nemoto
23951723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
23961723b4a3SAtsushi Nemoto	bool
23971723b4a3SAtsushi Nemoto
23981723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
23991723b4a3SAtsushi Nemoto	bool
24001723b4a3SAtsushi Nemoto
24011723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
24021723b4a3SAtsushi Nemoto	bool
24031723b4a3SAtsushi Nemoto
24041723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
24051723b4a3SAtsushi Nemoto	bool
24061723b4a3SAtsushi Nemoto
24071723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
24081723b4a3SAtsushi Nemoto	bool
24091723b4a3SAtsushi Nemoto
24101723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
24111723b4a3SAtsushi Nemoto	bool
24121723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
24131723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
24141723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
24151723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
24161723b4a3SAtsushi Nemoto
24171723b4a3SAtsushi Nemotoconfig HZ
24181723b4a3SAtsushi Nemoto	int
24191723b4a3SAtsushi Nemoto	default 48 if HZ_48
24201723b4a3SAtsushi Nemoto	default 100 if HZ_100
24211723b4a3SAtsushi Nemoto	default 128 if HZ_128
24221723b4a3SAtsushi Nemoto	default 250 if HZ_250
24231723b4a3SAtsushi Nemoto	default 256 if HZ_256
24241723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
24251723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
24261723b4a3SAtsushi Nemoto
2427e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
24281da177e4SLinus Torvalds
2429ea6e942bSAtsushi Nemotoconfig KEXEC
24307d60717eSKees Cook	bool "Kexec system call"
2431ea6e942bSAtsushi Nemoto	help
2432ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
2433ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
24343dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
2435ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
2436ea6e942bSAtsushi Nemoto
243701dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
2438ea6e942bSAtsushi Nemoto
2439ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
2440ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
2441bf220695SGeert Uytterhoeven	  initially work for you.  As of this writing the exact hardware
2442bf220695SGeert Uytterhoeven	  interface is strongly in flux, so no good recommendation can be
2443bf220695SGeert Uytterhoeven	  made.
2444ea6e942bSAtsushi Nemoto
24457aa1c8f4SRalf Baechleconfig CRASH_DUMP
24467aa1c8f4SRalf Baechle	  bool "Kernel crash dumps"
24477aa1c8f4SRalf Baechle	  help
24487aa1c8f4SRalf Baechle	  Generate crash dump after being started by kexec.
24497aa1c8f4SRalf Baechle	  This should be normally only set in special crash dump kernels
24507aa1c8f4SRalf Baechle	  which are loaded in the main kernel with kexec-tools into
24517aa1c8f4SRalf Baechle	  a specially reserved region and then later executed after
24527aa1c8f4SRalf Baechle	  a crash by kdump/kexec. The crash dump kernel must be compiled
24537aa1c8f4SRalf Baechle	  to a memory address not used by the main kernel or firmware using
24547aa1c8f4SRalf Baechle	  PHYSICAL_START.
24557aa1c8f4SRalf Baechle
24567aa1c8f4SRalf Baechleconfig PHYSICAL_START
24577aa1c8f4SRalf Baechle	  hex "Physical address where the kernel is loaded"
24587aa1c8f4SRalf Baechle	  default "0xffffffff84000000" if 64BIT
24597aa1c8f4SRalf Baechle	  default "0x84000000" if 32BIT
24607aa1c8f4SRalf Baechle	  depends on CRASH_DUMP
24617aa1c8f4SRalf Baechle	  help
24627aa1c8f4SRalf Baechle	  This gives the CKSEG0 or KSEG0 address where the kernel is loaded.
24637aa1c8f4SRalf Baechle	  If you plan to use kernel for capturing the crash dump change
24647aa1c8f4SRalf Baechle	  this value to start of the reserved region (the "X" value as
24657aa1c8f4SRalf Baechle	  specified in the "crashkernel=YM@XM" command line boot parameter
24667aa1c8f4SRalf Baechle	  passed to the panic-ed kernel).
24677aa1c8f4SRalf Baechle
2468ea6e942bSAtsushi Nemotoconfig SECCOMP
2469ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
2470293c5bd1SRalf Baechle	depends on PROC_FS
2471ea6e942bSAtsushi Nemoto	default y
2472ea6e942bSAtsushi Nemoto	help
2473ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
2474ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
2475ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
2476ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
2477ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
2478ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
2479ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
2480ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
2481ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
2482ea6e942bSAtsushi Nemoto
2483ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
2484ea6e942bSAtsushi Nemoto
2485597ce172SPaul Burtonconfig MIPS_O32_FP64_SUPPORT
248606e2e882SPaul Burton	bool "Support for O32 binaries using 64-bit FP (EXPERIMENTAL)"
2487597ce172SPaul Burton	depends on 32BIT || MIPS32_O32
2488597ce172SPaul Burton	help
2489597ce172SPaul Burton	  When this is enabled, the kernel will support use of 64-bit floating
2490597ce172SPaul Burton	  point registers with binaries using the O32 ABI along with the
2491597ce172SPaul Burton	  EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On
2492597ce172SPaul Burton	  32-bit MIPS systems this support is at the cost of increasing the
2493597ce172SPaul Burton	  size and complexity of the compiled FPU emulator. Thus if you are
2494597ce172SPaul Burton	  running a MIPS32 system and know that none of your userland binaries
2495597ce172SPaul Burton	  will require 64-bit floating point, you may wish to reduce the size
2496597ce172SPaul Burton	  of your kernel & potentially improve FP emulation performance by
2497597ce172SPaul Burton	  saying N here.
2498597ce172SPaul Burton
249906e2e882SPaul Burton	  Although binutils currently supports use of this flag the details
250006e2e882SPaul Burton	  concerning its effect upon the O32 ABI in userland are still being
250106e2e882SPaul Burton	  worked on. In order to avoid userland becoming dependant upon current
250206e2e882SPaul Burton	  behaviour before the details have been finalised, this option should
250306e2e882SPaul Burton	  be considered experimental and only enabled by those working upon
250406e2e882SPaul Burton	  said details.
250506e2e882SPaul Burton
250606e2e882SPaul Burton	  If unsure, say N.
2507597ce172SPaul Burton
2508f2ffa5abSDezhong Diaoconfig USE_OF
25090b3e06fdSJonas Gorski	bool
2510f2ffa5abSDezhong Diao	select OF
2511e6ce1324SStephen Neuendorffer	select OF_EARLY_FLATTREE
2512abd2363fSGrant Likely	select IRQ_DOMAIN
2513f2ffa5abSDezhong Diao
25147fafb068SAndrew Brestickerconfig BUILTIN_DTB
25157fafb068SAndrew Bresticker	bool
25167fafb068SAndrew Bresticker
25175e83d430SRalf Baechleendmenu
25185e83d430SRalf Baechle
25191df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
25201df0f0ffSAtsushi Nemoto	bool
25211df0f0ffSAtsushi Nemoto	default y
25221df0f0ffSAtsushi Nemoto
25231df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
25241df0f0ffSAtsushi Nemoto	bool
25251df0f0ffSAtsushi Nemoto	default y
25261df0f0ffSAtsushi Nemoto
2527b6c3539bSRalf Baechlesource "init/Kconfig"
2528b6c3539bSRalf Baechle
2529dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
2530dc52ddc0SMatt Helsley
25311da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
25321da177e4SLinus Torvalds
25335e83d430SRalf Baechleconfig HW_HAS_EISA
25345e83d430SRalf Baechle	bool
25351da177e4SLinus Torvaldsconfig HW_HAS_PCI
25361da177e4SLinus Torvalds	bool
25371da177e4SLinus Torvalds
25381da177e4SLinus Torvaldsconfig PCI
25391da177e4SLinus Torvalds	bool "Support for PCI controller"
25401da177e4SLinus Torvalds	depends on HW_HAS_PCI
2541abb4ae46SRalf Baechle	select PCI_DOMAINS
25420f3b3956SMichael S. Tsirkin	select NO_GENERIC_PCI_IOPORT_MAP
25431da177e4SLinus Torvalds	help
25441da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
25451da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
25461da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
25471da177e4SLinus Torvalds	  say Y, otherwise N.
25481da177e4SLinus Torvalds
25490e476d91SHuacai Chenconfig HT_PCI
25500e476d91SHuacai Chen	bool "Support for HT-linked PCI"
25510e476d91SHuacai Chen	default y
25520e476d91SHuacai Chen	depends on CPU_LOONGSON3
25530e476d91SHuacai Chen	select PCI
25540e476d91SHuacai Chen	select PCI_DOMAINS
25550e476d91SHuacai Chen	help
25560e476d91SHuacai Chen	  Loongson family machines use Hyper-Transport bus for inter-core
25570e476d91SHuacai Chen	  connection and device connection. The PCI bus is a subordinate
25580e476d91SHuacai Chen	  linked at HT. Choose Y for Loongson-3 based machines.
25590e476d91SHuacai Chen
25601da177e4SLinus Torvaldsconfig PCI_DOMAINS
25611da177e4SLinus Torvalds	bool
25621da177e4SLinus Torvalds
25631da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
25641da177e4SLinus Torvalds
25653f787ca4SJonas Gorskisource "drivers/pci/pcie/Kconfig"
25663f787ca4SJonas Gorski
25671da177e4SLinus Torvalds#
25681da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
25691da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
25701da177e4SLinus Torvalds# users to choose the right thing ...
25711da177e4SLinus Torvalds#
25721da177e4SLinus Torvaldsconfig ISA
25731da177e4SLinus Torvalds	bool
25741da177e4SLinus Torvalds
25751da177e4SLinus Torvaldsconfig EISA
25761da177e4SLinus Torvalds	bool "EISA support"
25775e83d430SRalf Baechle	depends on HW_HAS_EISA
25781da177e4SLinus Torvalds	select ISA
2579aa414dffSRalf Baechle	select GENERIC_ISA_DMA
25801da177e4SLinus Torvalds	---help---
25811da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
25821da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
25831da177e4SLinus Torvalds
25841da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
25851da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
25861da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
25871da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
25881da177e4SLinus Torvalds
25891da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
25901da177e4SLinus Torvalds
25911da177e4SLinus Torvalds	  Otherwise, say N.
25921da177e4SLinus Torvalds
25931da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
25941da177e4SLinus Torvalds
25951da177e4SLinus Torvaldsconfig TC
25961da177e4SLinus Torvalds	bool "TURBOchannel support"
25971da177e4SLinus Torvalds	depends on MACH_DECSTATION
25981da177e4SLinus Torvalds	help
259950a23e6eSJustin P. Mattock	  TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
260050a23e6eSJustin P. Mattock	  processors.  TURBOchannel programming specifications are available
260150a23e6eSJustin P. Mattock	  at:
260250a23e6eSJustin P. Mattock	  <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
260350a23e6eSJustin P. Mattock	  and:
260450a23e6eSJustin P. Mattock	  <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
260550a23e6eSJustin P. Mattock	  Linux driver support status is documented at:
260650a23e6eSJustin P. Mattock	  <http://www.linux-mips.org/wiki/DECstation>
26071da177e4SLinus Torvalds
26081da177e4SLinus Torvaldsconfig MMU
26091da177e4SLinus Torvalds	bool
26101da177e4SLinus Torvalds	default y
26111da177e4SLinus Torvalds
2612d865bea4SRalf Baechleconfig I8253
2613d865bea4SRalf Baechle	bool
2614798778b8SRussell King	select CLKSRC_I8253
26152d02612fSThomas Gleixner	select CLKEVT_I8253
26169726b43aSWu Zhangjin	select MIPS_EXTERNAL_TIMER
2617d865bea4SRalf Baechle
2618e05eb3f8SRalf Baechleconfig ZONE_DMA
2619e05eb3f8SRalf Baechle	bool
2620e05eb3f8SRalf Baechle
2621cce335aeSRalf Baechleconfig ZONE_DMA32
2622cce335aeSRalf Baechle	bool
2623cce335aeSRalf Baechle
26241da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
26251da177e4SLinus Torvalds
26261da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
26271da177e4SLinus Torvalds
2628388b78adSAlexandre Bounineconfig RAPIDIO
262956abde72SAlexandre Bounine	tristate "RapidIO support"
2630388b78adSAlexandre Bounine	depends on PCI
2631388b78adSAlexandre Bounine	default n
2632388b78adSAlexandre Bounine	help
2633388b78adSAlexandre Bounine	  If you say Y here, the kernel will include drivers and
2634388b78adSAlexandre Bounine	  infrastructure code to support RapidIO interconnect devices.
2635388b78adSAlexandre Bounine
2636388b78adSAlexandre Bouninesource "drivers/rapidio/Kconfig"
2637388b78adSAlexandre Bounine
26381da177e4SLinus Torvaldsendmenu
26391da177e4SLinus Torvalds
26401da177e4SLinus Torvaldsmenu "Executable file formats"
26411da177e4SLinus Torvalds
26421da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
26431da177e4SLinus Torvalds
26441da177e4SLinus Torvaldsconfig TRAD_SIGNALS
26451da177e4SLinus Torvalds	bool
26461da177e4SLinus Torvalds
26471da177e4SLinus Torvaldsconfig MIPS32_COMPAT
26481da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2649875d43e7SRalf Baechle	depends on 64BIT
26501da177e4SLinus Torvalds	help
26511da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
26521da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
26531da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
26541da177e4SLinus Torvalds
26551da177e4SLinus Torvaldsconfig COMPAT
26561da177e4SLinus Torvalds	bool
26571da177e4SLinus Torvalds	depends on MIPS32_COMPAT
265848b25c43SChris Metcalf	select ARCH_WANT_OLD_COMPAT_IPC
26591da177e4SLinus Torvalds	default y
26601da177e4SLinus Torvalds
266105e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
266205e43966SAtsushi Nemoto	bool
266305e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
266405e43966SAtsushi Nemoto	default y
266505e43966SAtsushi Nemoto
26661da177e4SLinus Torvaldsconfig MIPS32_O32
26671da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
26681da177e4SLinus Torvalds	depends on MIPS32_COMPAT
26691da177e4SLinus Torvalds	help
26701da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
26711da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
26721da177e4SLinus Torvalds	  existing binaries are in this format.
26731da177e4SLinus Torvalds
26741da177e4SLinus Torvalds	  If unsure, say Y.
26751da177e4SLinus Torvalds
26761da177e4SLinus Torvaldsconfig MIPS32_N32
26771da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
26781da177e4SLinus Torvalds	depends on MIPS32_COMPAT
26791da177e4SLinus Torvalds	help
26801da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
26811da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
26821da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
26831da177e4SLinus Torvalds	  cases.
26841da177e4SLinus Torvalds
26851da177e4SLinus Torvalds	  If unsure, say N.
26861da177e4SLinus Torvalds
26871da177e4SLinus Torvaldsconfig BINFMT_ELF32
26881da177e4SLinus Torvalds	bool
26891da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
26901da177e4SLinus Torvalds
26912116245eSRalf Baechleendmenu
26921da177e4SLinus Torvalds
26932116245eSRalf Baechlemenu "Power management options"
2694952fa954SRodolfo Giometti
2695363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE
2696363c55caSWu Zhangjin	def_bool y
26973f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2698363c55caSWu Zhangjin
2699f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2700f4cb5700SJohannes Berg	def_bool y
27013f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2702f4cb5700SJohannes Berg
27032116245eSRalf Baechlesource "kernel/power/Kconfig"
2704952fa954SRodolfo Giometti
27051da177e4SLinus Torvaldsendmenu
27061da177e4SLinus Torvalds
27077a998935SViresh Kumarconfig MIPS_EXTERNAL_TIMER
27087a998935SViresh Kumar	bool
27097a998935SViresh Kumar
27107a998935SViresh Kumarmenu "CPU Power Management"
2711c095ebafSPaul Burton
2712c095ebafSPaul Burtonif CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
27137a998935SViresh Kumarsource "drivers/cpufreq/Kconfig"
27147a998935SViresh Kumarendif
27159726b43aSWu Zhangjin
2716c095ebafSPaul Burtonsource "drivers/cpuidle/Kconfig"
2717c095ebafSPaul Burton
2718c095ebafSPaul Burtonendmenu
2719c095ebafSPaul Burton
2720d5950b43SSam Ravnborgsource "net/Kconfig"
2721d5950b43SSam Ravnborg
27221da177e4SLinus Torvaldssource "drivers/Kconfig"
27231da177e4SLinus Torvalds
272498cdee0eSRalf Baechlesource "drivers/firmware/Kconfig"
272598cdee0eSRalf Baechle
27261da177e4SLinus Torvaldssource "fs/Kconfig"
27271da177e4SLinus Torvalds
27281da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
27291da177e4SLinus Torvalds
27301da177e4SLinus Torvaldssource "security/Kconfig"
27311da177e4SLinus Torvalds
27321da177e4SLinus Torvaldssource "crypto/Kconfig"
27331da177e4SLinus Torvalds
27341da177e4SLinus Torvaldssource "lib/Kconfig"
27352235a54dSSanjay Lal
27362235a54dSSanjay Lalsource "arch/mips/kvm/Kconfig"
2737