xref: /linux/arch/mips/Kconfig (revision 5b438c44082d9f09fed10f3621fe8d5c93d3676d)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
4ec7748b5SSam Ravnborg	select HAVE_IDE
542d4b839SMathieu Desnoyers	select HAVE_OPROFILE
61da177e4SLinus Torvalds	# Horrible source of confusion.  Die, die, die ...
71da177e4SLinus Torvalds	select EMBEDDED
890b02340SRalf Baechle	select RTC_LIB
91da177e4SLinus Torvalds
101da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
111da177e4SLinus Torvalds
121da177e4SLinus Torvaldsmenu "Machine selection"
131da177e4SLinus Torvalds
145ac6da66SChristoph Lameterconfig ZONE_DMA
155ac6da66SChristoph Lameter	bool
165ac6da66SChristoph Lameter
175e83d430SRalf Baechlechoice
185e83d430SRalf Baechle	prompt "System type"
195e83d430SRalf Baechle	default SGI_IP22
201da177e4SLinus Torvalds
21c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
22c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
231da177e4SLinus Torvalds
2435189fadSRalf Baechleconfig BASLER_EXCITE
25be91589eSThomas Koeller	bool "Basler eXcite smart camera"
2642f77542SRalf Baechle	select CEVT_R4K
27940f6b48SRalf Baechle	select CSRC_R4K
2835189fadSRalf Baechle	select DMA_COHERENT
2935189fadSRalf Baechle	select HW_HAS_PCI
3035189fadSRalf Baechle	select IRQ_CPU
3135189fadSRalf Baechle	select IRQ_CPU_RM7K
3235189fadSRalf Baechle	select IRQ_CPU_RM9K
33663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
3435189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
3535189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3635189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
37cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
3835189fadSRalf Baechle	help
3935189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
40be91589eSThomas Koeller	  Basler Vision Technologies AG.
4135189fadSRalf Baechle
421c0c13ebSAurelien Jarnoconfig BCM47XX
431c0c13ebSAurelien Jarno	bool "BCM47XX based boards"
4442f77542SRalf Baechle	select CEVT_R4K
45940f6b48SRalf Baechle	select CSRC_R4K
461c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
471c0c13ebSAurelien Jarno	select HW_HAS_PCI
481c0c13ebSAurelien Jarno	select IRQ_CPU
491c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
501c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
511c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
521c0c13ebSAurelien Jarno	select SSB
531c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
542f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
552f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
561c0c13ebSAurelien Jarno	select GENERIC_GPIO
5725e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
5825e5fb97SAurelien Jarno	select CFE
591c0c13ebSAurelien Jarno	help
601c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
611c0c13ebSAurelien Jarno
621da177e4SLinus Torvaldsconfig MIPS_COBALT
633fa986faSMartin Michlmayr	bool "Cobalt Server"
6442f77542SRalf Baechle	select CEVT_R4K
65940f6b48SRalf Baechle	select CSRC_R4K
661097c6acSYoichi Yuasa	select CEVT_GT641XX
671da177e4SLinus Torvalds	select DMA_NONCOHERENT
681da177e4SLinus Torvalds	select HW_HAS_PCI
69d865bea4SRalf Baechle	select I8253
701da177e4SLinus Torvalds	select I8259
711da177e4SLinus Torvalds	select IRQ_CPU
72d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
73252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
747cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
750a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
76ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
770e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
785e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
799fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
801da177e4SLinus Torvalds
811da177e4SLinus Torvaldsconfig MACH_DECSTATION
823fa986faSMartin Michlmayr	bool "DECstations"
831da177e4SLinus Torvalds	select BOOT_ELF32
846457d9fcSYoichi Yuasa	select CEVT_DS1287
8542f77542SRalf Baechle	select CEVT_R4K
864247417dSYoichi Yuasa	select CSRC_IOASIC
87940f6b48SRalf Baechle	select CSRC_R4K
8820d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
8920d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
9020d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
911da177e4SLinus Torvalds	select DMA_NONCOHERENT
92d388d685SMaciej W. Rozycki	select NO_IOPORT
931da177e4SLinus Torvalds	select IRQ_CPU
947cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
957cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
96ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
97ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
985e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
991723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
1001723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
1011723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1025e83d430SRalf Baechle	help
1031da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1041da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1051da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1081da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvalds		DECstation 5000/50
1111da177e4SLinus Torvalds		DECstation 5000/150
1121da177e4SLinus Torvalds		DECstation 5000/260
1131da177e4SLinus Torvalds		DECsystem 5900/260
1141da177e4SLinus Torvalds
1151da177e4SLinus Torvalds	  otherwise choose R3000.
1161da177e4SLinus Torvalds
1175e83d430SRalf Baechleconfig MACH_JAZZ
1183fa986faSMartin Michlmayr	bool "Jazz family of machines"
1195e83d430SRalf Baechle	select ARC
1205e83d430SRalf Baechle	select ARC32
1215e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
12242f77542SRalf Baechle	select CEVT_R4K
123940f6b48SRalf Baechle	select CSRC_R4K
124e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1255e83d430SRalf Baechle	select GENERIC_ISA_DMA
126ea202c63SThomas Bogendoerfer	select IRQ_CPU
127d865bea4SRalf Baechle	select I8253
1285e83d430SRalf Baechle	select I8259
1295e83d430SRalf Baechle	select ISA
1307cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1315e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1325e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1331723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1349fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
1351da177e4SLinus Torvalds	help
1365e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1375e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
1385e83d430SRalf Baechle	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
1395e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1405e83d430SRalf Baechle
1411f21d2bdSBrian Murphyconfig LASAT
1421f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
14342f77542SRalf Baechle	select CEVT_R4K
144940f6b48SRalf Baechle	select CSRC_R4K
1451f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1461f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1471f21d2bdSBrian Murphy	select HW_HAS_PCI
148a5ccfe5cSRalf Baechle	select IRQ_CPU
1491f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1501f21d2bdSBrian Murphy	select MIPS_NILE4
1511f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1521f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1531f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1541f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1551f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1561f21d2bdSBrian Murphy	select GENERIC_HARDIRQS_NO__DO_IRQ
1571f21d2bdSBrian Murphy
158ade299d8SYoichi Yuasaconfig LEMOTE_FULONG
159ade299d8SYoichi Yuasa	bool "Lemote Fulong mini-PC"
160ade299d8SYoichi Yuasa	select ARCH_SPARSEMEM_ENABLE
16142f77542SRalf Baechle	select CEVT_R4K
162940f6b48SRalf Baechle	select CSRC_R4K
163ade299d8SYoichi Yuasa	select SYS_HAS_CPU_LOONGSON2
164ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
165ade299d8SYoichi Yuasa	select BOOT_ELF32
166ade299d8SYoichi Yuasa	select BOARD_SCACHE
167ade299d8SYoichi Yuasa	select HAVE_STD_PC_SERIAL_PORT
168ade299d8SYoichi Yuasa	select HW_HAS_PCI
169ade299d8SYoichi Yuasa	select I8259
170ade299d8SYoichi Yuasa	select ISA
171ade299d8SYoichi Yuasa	select IRQ_CPU
172ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
173ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
174ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
175ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
176ade299d8SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
177ade299d8SYoichi Yuasa	select GENERIC_HARDIRQS_NO__DO_IRQ
17823dd6d35SRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
179ade299d8SYoichi Yuasa	select CPU_HAS_WB
180ade299d8SYoichi Yuasa	help
181ade299d8SYoichi Yuasa	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
182ade299d8SYoichi Yuasa	  an FPGA northbridge
183ade299d8SYoichi Yuasa
1841da177e4SLinus Torvaldsconfig MIPS_MALTA
1853fa986faSMartin Michlmayr	bool "MIPS Malta board"
18661ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1871da177e4SLinus Torvalds	select BOOT_ELF32
188fa71c960SRalf Baechle	select BOOT_RAW
18942f77542SRalf Baechle	select CEVT_R4K
190940f6b48SRalf Baechle	select CSRC_R4K
1911da177e4SLinus Torvalds	select DMA_NONCOHERENT
1921da177e4SLinus Torvalds	select GENERIC_ISA_DMA
193aa414dffSRalf Baechle	select IRQ_CPU
19439b8d525SRalf Baechle	select IRQ_GIC
1951da177e4SLinus Torvalds	select HW_HAS_PCI
196d865bea4SRalf Baechle	select I8253
1971da177e4SLinus Torvalds	select I8259
1985e83d430SRalf Baechle	select MIPS_BOARDS_GEN
1995e83d430SRalf Baechle	select MIPS_BONITO64
2009318c51aSChris Dearman	select MIPS_CPU_SCACHE
201252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2025e83d430SRalf Baechle	select MIPS_MSC
2031da177e4SLinus Torvalds	select SWAP_IO_SPACE
2047cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2057cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2067cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2077cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2087cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
20936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
210ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
211ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2125e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2135e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
214f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2159693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2161da177e4SLinus Torvalds	help
217f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2181da177e4SLinus Torvalds	  board.
2191da177e4SLinus Torvalds
220c78cbf49SRalf Baechleconfig MIPS_SIM
2213fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
22242f77542SRalf Baechle	select CEVT_R4K
223940f6b48SRalf Baechle	select CSRC_R4K
224c78cbf49SRalf Baechle	select DMA_NONCOHERENT
22536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
226c78cbf49SRalf Baechle	select IRQ_CPU
2279267a30dSMarc St-Jean	select BOOT_RAW
2287cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2297cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
23036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
231c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
232c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
233f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
234c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
235c78cbf49SRalf Baechle	help
236c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
237c78cbf49SRalf Baechle	  emulator.
238c78cbf49SRalf Baechle
239ade299d8SYoichi Yuasaconfig MARKEINS
240ade299d8SYoichi Yuasa	bool "NEC EMMA2RH Mark-eins"
24142f77542SRalf Baechle	select CEVT_R4K
242940f6b48SRalf Baechle	select CSRC_R4K
243ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
244ade299d8SYoichi Yuasa	select HW_HAS_PCI
245ade299d8SYoichi Yuasa	select IRQ_CPU
246ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
247ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
248ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
249ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
250ade299d8SYoichi Yuasa	select SYS_HAS_CPU_R5000
251ade299d8SYoichi Yuasa	help
252ade299d8SYoichi Yuasa	  This enables support for the R5432-based NEC Mark-eins
253ade299d8SYoichi Yuasa	  boards with R5500 CPU.
254ade299d8SYoichi Yuasa
2555e83d430SRalf Baechleconfig MACH_VR41XX
25674142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
25742f77542SRalf Baechle	select CEVT_R4K
258940f6b48SRalf Baechle	select CSRC_R4K
2597cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
2609fd32cfbSAtsushi Nemoto	select GENERIC_HARDIRQS_NO__DO_IRQ
2615e83d430SRalf Baechle
262ade299d8SYoichi Yuasaconfig PNX8550_JBS
263a92b0588SDaniel Laird	bool "NXP PNX8550 based JBS board"
264ade299d8SYoichi Yuasa	select PNX8550
265ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
266ade299d8SYoichi Yuasa
267ade299d8SYoichi Yuasaconfig PNX8550_STB810
268a92b0588SDaniel Laird	bool "NXP PNX8550 based STB810 board"
269ade299d8SYoichi Yuasa	select PNX8550
270ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
271ade299d8SYoichi Yuasa
2729267a30dSMarc St-Jeanconfig PMC_MSP
2739267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
2749267a30dSMarc St-Jean	depends on EXPERIMENTAL
2759267a30dSMarc St-Jean	select DMA_NONCOHERENT
2769267a30dSMarc St-Jean	select SWAP_IO_SPACE
2779267a30dSMarc St-Jean	select NO_EXCEPT_FILL
2789267a30dSMarc St-Jean	select BOOT_RAW
2799267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
2809267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
2819267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
2829267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
2839267a30dSMarc St-Jean	select SYS_SUPPORTS_KGDB
2849267a30dSMarc St-Jean	select IRQ_CPU
2859267a30dSMarc St-Jean	select SERIAL_8250
2869267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
2879267a30dSMarc St-Jean	help
2889267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
2899267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
2909267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
2919267a30dSMarc St-Jean	  a variety of MIPS cores.
2929267a30dSMarc St-Jean
2935e83d430SRalf Baechleconfig PMC_YOSEMITE
2943fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
29542f77542SRalf Baechle	select CEVT_R4K
296940f6b48SRalf Baechle	select CSRC_R4K
2975e83d430SRalf Baechle	select DMA_COHERENT
2985e83d430SRalf Baechle	select HW_HAS_PCI
2995e83d430SRalf Baechle	select IRQ_CPU
3005e83d430SRalf Baechle	select IRQ_CPU_RM7K
3015e83d430SRalf Baechle	select IRQ_CPU_RM9K
3025e83d430SRalf Baechle	select SWAP_IO_SPACE
3037cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
30436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3055e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3065e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3075e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3085e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
309cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
310e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3115e83d430SRalf Baechle	help
3125e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3135e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3141da177e4SLinus Torvalds
3151da177e4SLinus Torvaldsconfig SGI_IP22
3163fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3171da177e4SLinus Torvalds	select ARC
3181da177e4SLinus Torvalds	select ARC32
3191da177e4SLinus Torvalds	select BOOT_ELF32
32042f77542SRalf Baechle	select CEVT_R4K
321940f6b48SRalf Baechle	select CSRC_R4K
322e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3231da177e4SLinus Torvalds	select DMA_NONCOHERENT
3245e83d430SRalf Baechle	select HW_HAS_EISA
325d865bea4SRalf Baechle	select I8253
32668de4803SThomas Bogendoerfer	select I8259
3271da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3281da177e4SLinus Torvalds	select IRQ_CPU
329aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
330e2defae5SThomas Bogendoerfer	select SGI_HAS_DS1286
331e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
332e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
333e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
334e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
335e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3361da177e4SLinus Torvalds	select SWAP_IO_SPACE
3377cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3387cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
33936a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
340ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
341ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3425e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3431da177e4SLinus Torvalds	help
3441da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3451da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3461da177e4SLinus Torvalds	  that runs on these, say Y here.
3471da177e4SLinus Torvalds
3481da177e4SLinus Torvaldsconfig SGI_IP27
3493fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3501da177e4SLinus Torvalds	select ARC
3511da177e4SLinus Torvalds	select ARC64
3525e83d430SRalf Baechle	select BOOT_ELF64
353e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3541da177e4SLinus Torvalds	select DMA_IP27
35536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3561da177e4SLinus Torvalds	select HW_HAS_PCI
357130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
3587cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
359ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3605e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
361cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
362d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
3631a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
364e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
3651da177e4SLinus Torvalds	help
3661da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
3671da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
3681da177e4SLinus Torvalds	  here.
3691da177e4SLinus Torvalds
370e2defae5SThomas Bogendoerferconfig SGI_IP28
371e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
372e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
373e2defae5SThomas Bogendoerfer	select ARC
374e2defae5SThomas Bogendoerfer	select ARC64
375e2defae5SThomas Bogendoerfer	select BOOT_ELF64
376e2defae5SThomas Bogendoerfer	select CEVT_R4K
377e2defae5SThomas Bogendoerfer	select CSRC_R4K
378e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
379e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
380e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
381e2defae5SThomas Bogendoerfer	select IRQ_CPU
382e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
383e2defae5SThomas Bogendoerfer	select I8253
384e2defae5SThomas Bogendoerfer	select I8259
385e2defae5SThomas Bogendoerfer	select SGI_HAS_DS1286
386e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
387e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
388*5b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
389*5b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
390e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
391e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
392e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
393e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
394e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
395e2defae5SThomas Bogendoerfer	select SYS_HAS_EARLY_PRINTK
396e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
397e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
398e2defae5SThomas Bogendoerfer      help
399e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
400e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
401e2defae5SThomas Bogendoerfer
4021da177e4SLinus Torvaldsconfig SGI_IP32
403cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4041da177e4SLinus Torvalds	select ARC
4051da177e4SLinus Torvalds	select ARC32
4061da177e4SLinus Torvalds	select BOOT_ELF32
40742f77542SRalf Baechle	select CEVT_R4K
408940f6b48SRalf Baechle	select CSRC_R4K
4091da177e4SLinus Torvalds	select DMA_NONCOHERENT
4101da177e4SLinus Torvalds	select HW_HAS_PCI
411dd67b155SRalf Baechle	select IRQ_CPU
4121da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4131da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4147cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4157cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4167cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
417dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
418ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4195e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4201da177e4SLinus Torvalds	help
4211da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4221da177e4SLinus Torvalds
423ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
424ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4255e83d430SRalf Baechle	depends on EXPERIMENTAL
4265e83d430SRalf Baechle	select BOOT_ELF32
4275e83d430SRalf Baechle	select DMA_COHERENT
4285e83d430SRalf Baechle	select SIBYTE_BCM1120
4295e83d430SRalf Baechle	select SWAP_IO_SPACE
4307cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4315e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4325e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4335e83d430SRalf Baechle
434ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
435ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4365e83d430SRalf Baechle	depends on EXPERIMENTAL
4375e83d430SRalf Baechle	select BOOT_ELF32
4385e83d430SRalf Baechle	select DMA_COHERENT
4395e83d430SRalf Baechle	select SIBYTE_BCM1120
4405e83d430SRalf Baechle	select SWAP_IO_SPACE
4417cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4425e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4435e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4445e83d430SRalf Baechle
4455e83d430SRalf Baechleconfig SIBYTE_CRHONE
4463fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4475e83d430SRalf Baechle	depends on EXPERIMENTAL
4485e83d430SRalf Baechle	select BOOT_ELF32
4495e83d430SRalf Baechle	select DMA_COHERENT
4505e83d430SRalf Baechle	select SIBYTE_BCM1125
4515e83d430SRalf Baechle	select SWAP_IO_SPACE
4527cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4535e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4545e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4555e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4565e83d430SRalf Baechle
457ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
458ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
459ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
460ade299d8SYoichi Yuasa	select BOOT_ELF32
461ade299d8SYoichi Yuasa	select DMA_COHERENT
462ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
463ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
464ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
465ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
466ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
467ade299d8SYoichi Yuasa
468ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
469ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
470ade299d8SYoichi Yuasa	select BOOT_ELF32
471ade299d8SYoichi Yuasa	select DMA_COHERENT
472ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
473ade299d8SYoichi Yuasa	select SIBYTE_SB1250
474ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
475ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
476ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
477ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
478ade299d8SYoichi Yuasa	select SYS_SUPPORTS_KGDB
479ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
480cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
481ade299d8SYoichi Yuasa
482ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
483ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
484ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
485ade299d8SYoichi Yuasa	select BOOT_ELF32
486ade299d8SYoichi Yuasa	select DMA_COHERENT
487ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
488ade299d8SYoichi Yuasa	select SIBYTE_SB1250
489ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
490ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
491ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
492ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
493ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
494ade299d8SYoichi Yuasa
495ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
496ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
497ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
498ade299d8SYoichi Yuasa	select BOOT_ELF32
499ade299d8SYoichi Yuasa	select DMA_COHERENT
500ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
501ade299d8SYoichi Yuasa	select SIBYTE_SB1250
502ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
503ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
504ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
505ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
506ade299d8SYoichi Yuasa
507ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
508ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
509ade299d8SYoichi Yuasa	select BOOT_ELF32
510ade299d8SYoichi Yuasa	select DMA_COHERENT
511ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
512ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
513ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
514ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
515ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
516651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
517ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
518cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
519ade299d8SYoichi Yuasa
52014b36af4SThomas Bogendoerferconfig SNI_RM
52114b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5224a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5234a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
524231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5255e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5265e83d430SRalf Baechle	select BOOT_ELF32
52742f77542SRalf Baechle	select CEVT_R4K
528940f6b48SRalf Baechle	select CSRC_R4K
529e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5305e83d430SRalf Baechle	select DMA_NONCOHERENT
5315e83d430SRalf Baechle	select GENERIC_ISA_DMA
5325e83d430SRalf Baechle	select HW_HAS_EISA
5335e83d430SRalf Baechle	select HW_HAS_PCI
534c066a32aSThomas Bogendoerfer	select IRQ_CPU
535d865bea4SRalf Baechle	select I8253
5365e83d430SRalf Baechle	select I8259
5375e83d430SRalf Baechle	select ISA
5384a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5397cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5404a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
541c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5424a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
54336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
544ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5455e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5464a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5475e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5485e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5491da177e4SLinus Torvalds	help
55014b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
55114b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5525e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5535e83d430SRalf Baechle	  support this machine type.
5541da177e4SLinus Torvalds
555edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
556edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
5575e83d430SRalf Baechle
558edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
559edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
56023fbee9dSRalf Baechle
561ade299d8SYoichi Yuasaconfig WR_PPMC
562ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
56342f77542SRalf Baechle	select CEVT_R4K
564940f6b48SRalf Baechle	select CSRC_R4K
565ade299d8SYoichi Yuasa	select IRQ_CPU
566ade299d8SYoichi Yuasa	select BOOT_ELF32
567ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
568ade299d8SYoichi Yuasa	select HW_HAS_PCI
569ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
570ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
571ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
572ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
573ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
574ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
575ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
576ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
577ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
578ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
579ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
580ade299d8SYoichi Yuasa	help
581ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
582ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
583ade299d8SYoichi Yuasa
5841da177e4SLinus Torvaldsendchoice
5851da177e4SLinus Torvalds
586c3543e25SYoichi Yuasasource "arch/mips/au1000/Kconfig"
5879c746edbSYoichi Yuasasource "arch/mips/basler/excite/Kconfig"
5885e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
5891f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
5905e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
59129c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
59238b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
59322b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
5945e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
59538b18f72SRalf Baechle
5965e83d430SRalf Baechleendmenu
5975e83d430SRalf Baechle
59895c354feSNick Pigginconfig GENERIC_LOCKBREAK
59995c354feSNick Piggin	bool
60095c354feSNick Piggin	default y
60195c354feSNick Piggin	depends on SMP && PREEMPT
60295c354feSNick Piggin
6031da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6041da177e4SLinus Torvalds	bool
6051da177e4SLinus Torvalds	default y
6061da177e4SLinus Torvalds
6071da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6081da177e4SLinus Torvalds	bool
6091da177e4SLinus Torvalds
610f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
611f0d1b0b3SDavid Howells	bool
612f0d1b0b3SDavid Howells	default n
613f0d1b0b3SDavid Howells
614f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
615f0d1b0b3SDavid Howells	bool
616f0d1b0b3SDavid Howells	default n
617f0d1b0b3SDavid Howells
61800a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
61900a58253SRalf Baechle	bool
62000a58253SRalf Baechle	default y if !MIPS_MT_SMTC
62100a58253SRalf Baechle
6223c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
6233c9ee7efSAkinobu Mita	bool
6243c9ee7efSAkinobu Mita	default y
6253c9ee7efSAkinobu Mita
6263c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
6273c9ee7efSAkinobu Mita	bool
6283c9ee7efSAkinobu Mita	default y
6293c9ee7efSAkinobu Mita
6301da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
6311da177e4SLinus Torvalds	bool
6321da177e4SLinus Torvalds	default y
6331da177e4SLinus Torvalds
6347bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
6357bcf7717SRalf Baechle	bool
6367bcf7717SRalf Baechle	default y
6377bcf7717SRalf Baechle
6388db02010SRalf Baechleconfig GENERIC_TIME
6398db02010SRalf Baechle	bool
6408db02010SRalf Baechle	default y
6418db02010SRalf Baechle
642f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
643f5ff0a28SRalf Baechle	bool
644f5ff0a28SRalf Baechle	default y
645f5ff0a28SRalf Baechle
6461cc89038SAtsushi Nemotoconfig SCHED_NO_NO_OMIT_FRAME_POINTER
6471cc89038SAtsushi Nemoto	bool
6481cc89038SAtsushi Nemoto	default y
6491cc89038SAtsushi Nemoto
650e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
651e77c232cSFranck Bui-Huu	bool
652e77c232cSFranck Bui-Huu	default n
653e77c232cSFranck Bui-Huu
6541da177e4SLinus Torvalds#
6551da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
6561da177e4SLinus Torvalds#
6571da177e4SLinus Torvaldsconfig ARC
6581da177e4SLinus Torvalds	bool
6591da177e4SLinus Torvalds
66061ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
66161ed242dSRalf Baechle	bool
66261ed242dSRalf Baechle
6639267a30dSMarc St-Jeanconfig BOOT_RAW
6649267a30dSMarc St-Jean	bool
6659267a30dSMarc St-Jean
666217dd11eSRalf Baechleconfig CEVT_BCM1480
667217dd11eSRalf Baechle	bool
668217dd11eSRalf Baechle
6696457d9fcSYoichi Yuasaconfig CEVT_DS1287
6706457d9fcSYoichi Yuasa	bool
6716457d9fcSYoichi Yuasa
6721097c6acSYoichi Yuasaconfig CEVT_GT641XX
6731097c6acSYoichi Yuasa	bool
6741097c6acSYoichi Yuasa
67542f77542SRalf Baechleconfig CEVT_R4K
67642f77542SRalf Baechle	bool
67742f77542SRalf Baechle
678217dd11eSRalf Baechleconfig CEVT_SB1250
679217dd11eSRalf Baechle	bool
680217dd11eSRalf Baechle
681229f773eSAtsushi Nemotoconfig CEVT_TXX9
682229f773eSAtsushi Nemoto	bool
683229f773eSAtsushi Nemoto
684217dd11eSRalf Baechleconfig CSRC_BCM1480
685217dd11eSRalf Baechle	bool
686217dd11eSRalf Baechle
6874247417dSYoichi Yuasaconfig CSRC_IOASIC
6884247417dSYoichi Yuasa	bool
6894247417dSYoichi Yuasa
690940f6b48SRalf Baechleconfig CSRC_R4K
691940f6b48SRalf Baechle	bool
692940f6b48SRalf Baechle
693217dd11eSRalf Baechleconfig CSRC_SB1250
694217dd11eSRalf Baechle	bool
695217dd11eSRalf Baechle
696a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
697a9aec7feSAtsushi Nemoto	select GENERIC_GPIO
698a9aec7feSAtsushi Nemoto	select HAVE_GPIO_LIB
699a9aec7feSAtsushi Nemoto	bool
700a9aec7feSAtsushi Nemoto
701df78b5c8SAurelien Jarnoconfig CFE
702df78b5c8SAurelien Jarno	bool
703df78b5c8SAurelien Jarno
7041da177e4SLinus Torvaldsconfig DMA_COHERENT
7051da177e4SLinus Torvalds	bool
7061da177e4SLinus Torvalds
7071da177e4SLinus Torvaldsconfig DMA_IP27
7081da177e4SLinus Torvalds	bool
7091da177e4SLinus Torvalds
7101da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
7111da177e4SLinus Torvalds	bool
7124ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
7134ce588cdSRalf Baechle
7144ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
7154ce588cdSRalf Baechle	bool
7161da177e4SLinus Torvalds
7171da177e4SLinus Torvaldsconfig EARLY_PRINTK
71836a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
71936a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
72036a88530SRalf Baechle	default y
72136a88530SRalf Baechle	help
72236a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
72336a88530SRalf Baechle	  to print messages very early in the bootup process.
72436a88530SRalf Baechle
72536a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
726490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
727490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
728490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
72936a88530SRalf Baechle	  unless you want to debug such a crash.
73036a88530SRalf Baechle
73136a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
7321da177e4SLinus Torvalds	bool
7331da177e4SLinus Torvalds
734dbb74540SRalf Baechleconfig HOTPLUG_CPU
735dbb74540SRalf Baechle	bool
736dbb74540SRalf Baechle	default n
737dbb74540SRalf Baechle
7381da177e4SLinus Torvaldsconfig I8259
7391da177e4SLinus Torvalds	bool
7401da177e4SLinus Torvalds
7411da177e4SLinus Torvaldsconfig MIPS_BONITO64
7421da177e4SLinus Torvalds	bool
7431da177e4SLinus Torvalds
7441da177e4SLinus Torvaldsconfig MIPS_MSC
7451da177e4SLinus Torvalds	bool
7461da177e4SLinus Torvalds
7471f21d2bdSBrian Murphyconfig MIPS_NILE4
7481f21d2bdSBrian Murphy	bool
7491f21d2bdSBrian Murphy
7501da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
7511da177e4SLinus Torvalds	bool
7521da177e4SLinus Torvalds
75339b8d525SRalf Baechleconfig SYNC_R4K
75439b8d525SRalf Baechle	bool
75539b8d525SRalf Baechle
756d388d685SMaciej W. Rozyckiconfig NO_IOPORT
757d388d685SMaciej W. Rozycki	def_bool n
758d388d685SMaciej W. Rozycki
7598313da30SRalf Baechleconfig GENERIC_ISA_DMA
7608313da30SRalf Baechle	bool
7618313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
7628313da30SRalf Baechle
763aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
764aa414dffSRalf Baechle	bool
7658313da30SRalf Baechle	select GENERIC_ISA_DMA
766aa414dffSRalf Baechle
76709663335SYoichi Yuasaconfig GENERIC_GPIO
76809663335SYoichi Yuasa	bool
76909663335SYoichi Yuasa
7705e83d430SRalf Baechle#
7713cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
7725e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
7735e83d430SRalf Baechle# choice statement should be more obvious to the user.
7745e83d430SRalf Baechle#
7755e83d430SRalf Baechlechoice
7765e83d430SRalf Baechle	prompt "Endianess selection"
7771da177e4SLinus Torvalds	help
7781da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
7795e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
7803cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
7815e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
7823dde6ad8SDavid Sterba	  one or the other endianness.
7835e83d430SRalf Baechle
7845e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
7855e83d430SRalf Baechle	bool "Big endian"
7865e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
7875e83d430SRalf Baechle
7885e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
7895e83d430SRalf Baechle	bool "Little endian"
7905e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
7915e83d430SRalf Baechle	help
7925e83d430SRalf Baechle
7935e83d430SRalf Baechleendchoice
7945e83d430SRalf Baechle
7952116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
7962116245eSRalf Baechle	bool
7972116245eSRalf Baechle
7985e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
7995e83d430SRalf Baechle	bool
8005e83d430SRalf Baechle
8015e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
8025e83d430SRalf Baechle	bool
8031da177e4SLinus Torvalds
8041da177e4SLinus Torvaldsconfig IRQ_CPU
8051da177e4SLinus Torvalds	bool
8061da177e4SLinus Torvalds
8071da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
8081da177e4SLinus Torvalds	bool
8091da177e4SLinus Torvalds
8105e83d430SRalf Baechleconfig IRQ_CPU_RM9K
8115e83d430SRalf Baechle	bool
8125e83d430SRalf Baechle
8139267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
8149267a30dSMarc St-Jean	bool
8159267a30dSMarc St-Jean
8169267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
8179267a30dSMarc St-Jean	bool
8189267a30dSMarc St-Jean
8198420fd00SAtsushi Nemotoconfig IRQ_TXX9
8208420fd00SAtsushi Nemoto	bool
8218420fd00SAtsushi Nemoto
822d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
823d5ab1a69SYoichi Yuasa	bool
824d5ab1a69SYoichi Yuasa
82539b8d525SRalf Baechleconfig IRQ_GIC
82639b8d525SRalf Baechle	bool
82739b8d525SRalf Baechle
8281da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
8291da177e4SLinus Torvalds	bool
8301da177e4SLinus Torvalds
831252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
8321da177e4SLinus Torvalds	bool
8331da177e4SLinus Torvalds
8349267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
8359267a30dSMarc St-Jean	bool
8369267a30dSMarc St-Jean
837663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
838663c3d90Sthomas@koeller.dyndns.org	bool
839663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
840663c3d90Sthomas@koeller.dyndns.org
841bdf21b18SPete Popovconfig PNX8550
842bdf21b18SPete Popov	bool
843bdf21b18SPete Popov	select SOC_PNX8550
844bdf21b18SPete Popov
845bdf21b18SPete Popovconfig SOC_PNX8550
846bdf21b18SPete Popov	bool
847bdf21b18SPete Popov	select DMA_NONCOHERENT
848bdf21b18SPete Popov	select HW_HAS_PCI
849b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
85036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
8517cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
852e77c232cSFranck Bui-Huu	select GENERIC_HARDIRQS_NO__DO_IRQ
853cc801077SRalf Baechle	select SYS_SUPPORTS_KGDB
8544ead1681SFlorian Fainelli	select GENERIC_GPIO
855bdf21b18SPete Popov
8561da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
8571da177e4SLinus Torvalds	bool
8581da177e4SLinus Torvalds
859355c471fSdmitry pervushinconfig EMMA2RH
860355c471fSdmitry pervushin	bool
861355c471fSdmitry pervushin	depends on MARKEINS
862355c471fSdmitry pervushin	default y
863355c471fSdmitry pervushin
864663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
865663c3d90Sthomas@koeller.dyndns.org	bool
866663c3d90Sthomas@koeller.dyndns.org
867e2defae5SThomas Bogendoerferconfig SGI_HAS_DS1286
868e2defae5SThomas Bogendoerfer	bool
869e2defae5SThomas Bogendoerfer
870e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
871e2defae5SThomas Bogendoerfer	bool
872e2defae5SThomas Bogendoerfer
873*5b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
874*5b438c44SThomas Bogendoerfer	bool
875*5b438c44SThomas Bogendoerfer
876e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
877e2defae5SThomas Bogendoerfer	bool
878e2defae5SThomas Bogendoerfer
879e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
880e2defae5SThomas Bogendoerfer	bool
881e2defae5SThomas Bogendoerfer
882e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
883e2defae5SThomas Bogendoerfer	bool
884e2defae5SThomas Bogendoerfer
885e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
886e2defae5SThomas Bogendoerfer	bool
887e2defae5SThomas Bogendoerfer
888e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
889e2defae5SThomas Bogendoerfer	bool
890e2defae5SThomas Bogendoerfer
8915e83d430SRalf Baechleconfig ARC32
8925e83d430SRalf Baechle	bool
8935e83d430SRalf Baechle
894231a35d3SThomas Bogendoerferconfig SNIPROM
895231a35d3SThomas Bogendoerfer	bool
896231a35d3SThomas Bogendoerfer
8971da177e4SLinus Torvaldsconfig BOOT_ELF32
8981da177e4SLinus Torvalds	bool
8991da177e4SLinus Torvalds
9001da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
9011da177e4SLinus Torvalds	int
90206cf5583SThomas Bogendoerfer	default "4" if MACH_DECSTATION
9037e3297dcSThomas Bogendoerfer	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM
9049267a30dSMarc St-Jean	default "4" if PMC_MSP4200_EVAL
9051da177e4SLinus Torvalds	default "5"
9061da177e4SLinus Torvalds
9071da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
9081da177e4SLinus Torvalds	bool
9091da177e4SLinus Torvalds
9101da177e4SLinus Torvaldsconfig ARC_CONSOLE
9111da177e4SLinus Torvalds	bool "ARC console support"
912e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
9131da177e4SLinus Torvalds
9141da177e4SLinus Torvaldsconfig ARC_MEMORY
9151da177e4SLinus Torvalds	bool
91614b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
9171da177e4SLinus Torvalds	default y
9181da177e4SLinus Torvalds
9191da177e4SLinus Torvaldsconfig ARC_PROMLIB
9201da177e4SLinus Torvalds	bool
921e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
9221da177e4SLinus Torvalds	default y
9231da177e4SLinus Torvalds
9241da177e4SLinus Torvaldsconfig ARC64
9251da177e4SLinus Torvalds	bool
9261da177e4SLinus Torvalds
9271da177e4SLinus Torvaldsconfig BOOT_ELF64
9281da177e4SLinus Torvalds	bool
9291da177e4SLinus Torvalds
9301da177e4SLinus Torvaldsmenu "CPU selection"
9311da177e4SLinus Torvalds
9321da177e4SLinus Torvaldschoice
9331da177e4SLinus Torvalds	prompt "CPU type"
9341da177e4SLinus Torvalds	default CPU_R4X00
9351da177e4SLinus Torvalds
9362a21c730SFuxin Zhangconfig CPU_LOONGSON2
9372a21c730SFuxin Zhang	bool "Loongson 2"
9382a21c730SFuxin Zhang	depends on SYS_HAS_CPU_LOONGSON2
9392a21c730SFuxin Zhang	select CPU_SUPPORTS_32BIT_KERNEL
9402a21c730SFuxin Zhang	select CPU_SUPPORTS_64BIT_KERNEL
9412a21c730SFuxin Zhang	select CPU_SUPPORTS_HIGHMEM
9422a21c730SFuxin Zhang	help
9432a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
9442a21c730SFuxin Zhang	  with many extensions.
9452a21c730SFuxin Zhang
9466e760c8dSRalf Baechleconfig CPU_MIPS32_R1
9476e760c8dSRalf Baechle	bool "MIPS32 Release 1"
9487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
949f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9506e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
951797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
952ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9536e760c8dSRalf Baechle	help
9545e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9551e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9561e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9571e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
9581e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9591e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
9601e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
9611e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
9621e5f1caaSRalf Baechle	  performance.
9631e5f1caaSRalf Baechle
9641e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
9651e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
9667cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
967f7062ddbSRalf Baechle	select CPU_HAS_LLSC
9681e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
969797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
970ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9711e5f1caaSRalf Baechle	help
9725e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
9736e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
9746e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
9756e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9766e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
9771da177e4SLinus Torvalds
9786e760c8dSRalf Baechleconfig CPU_MIPS64_R1
9796e760c8dSRalf Baechle	bool "MIPS64 Release 1"
9807cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
981f7062ddbSRalf Baechle	select CPU_HAS_LLSC
982797798c1SRalf Baechle	select CPU_HAS_PREFETCH
983ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
984ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
985ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
9866e760c8dSRalf Baechle	help
9876e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
9886e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
9896e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
9906e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
9916e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
9921e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
9931e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
9941e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
9951e5f1caaSRalf Baechle	  performance.
9961e5f1caaSRalf Baechle
9971e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
9981e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
9997cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1000f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1001797798c1SRalf Baechle	select CPU_HAS_PREFETCH
10021e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10031e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1004ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10051e5f1caaSRalf Baechle	help
10061e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10071e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
10081e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
10091e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10101e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
10111da177e4SLinus Torvalds
10121da177e4SLinus Torvaldsconfig CPU_R3000
10131da177e4SLinus Torvalds	bool "R3000"
10147cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1015f7062ddbSRalf Baechle	select CPU_HAS_WB
1016ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1017797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10181da177e4SLinus Torvalds	help
10191da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
10201da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
10211da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
10221da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
10231da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
10241da177e4SLinus Torvalds	  try to recompile with R3000.
10251da177e4SLinus Torvalds
10261da177e4SLinus Torvaldsconfig CPU_TX39XX
10271da177e4SLinus Torvalds	bool "R39XX"
10287cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1029ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10301da177e4SLinus Torvalds
10311da177e4SLinus Torvaldsconfig CPU_VR41XX
10321da177e4SLinus Torvalds	bool "R41xx"
10337cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1034ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1035ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10361da177e4SLinus Torvalds	help
10375e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
10381da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
10391da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
10401da177e4SLinus Torvalds	  processor or vice versa.
10411da177e4SLinus Torvalds
10421da177e4SLinus Torvaldsconfig CPU_R4300
10431da177e4SLinus Torvalds	bool "R4300"
10447cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1045f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1046ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1047ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10481da177e4SLinus Torvalds	help
10491da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
10501da177e4SLinus Torvalds
10511da177e4SLinus Torvaldsconfig CPU_R4X00
10521da177e4SLinus Torvalds	bool "R4x00"
10537cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1054f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1055ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1056ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10571da177e4SLinus Torvalds	help
10581da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
10591da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
10601da177e4SLinus Torvalds
10611da177e4SLinus Torvaldsconfig CPU_TX49XX
10621da177e4SLinus Torvalds	bool "R49XX"
10637cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1064f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1065de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1066ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1067ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10681da177e4SLinus Torvalds
10691da177e4SLinus Torvaldsconfig CPU_R5000
10701da177e4SLinus Torvalds	bool "R5000"
10717cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1072f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1073ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1074ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
10751da177e4SLinus Torvalds	help
10761da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
10771da177e4SLinus Torvalds
10781da177e4SLinus Torvaldsconfig CPU_R5432
10791da177e4SLinus Torvalds	bool "R5432"
10807cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
1081f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10825e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
10835e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
10841da177e4SLinus Torvalds
10851da177e4SLinus Torvaldsconfig CPU_R6000
10861da177e4SLinus Torvalds	bool "R6000"
1087ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
1088f7062ddbSRalf Baechle	select CPU_HAS_LLSC
10897cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1090ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
10911da177e4SLinus Torvalds	help
10921da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1093c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
10941da177e4SLinus Torvalds
10951da177e4SLinus Torvaldsconfig CPU_NEVADA
10961da177e4SLinus Torvalds	bool "RM52xx"
10977cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1098f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1099ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1100ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11011da177e4SLinus Torvalds	help
11021da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
11031da177e4SLinus Torvalds
11041da177e4SLinus Torvaldsconfig CPU_R8000
11051da177e4SLinus Torvalds	bool "R8000"
1106ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
11077cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
1108f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11095e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1110ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11111da177e4SLinus Torvalds	help
11121da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
11131da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
11141da177e4SLinus Torvalds
11151da177e4SLinus Torvaldsconfig CPU_R10000
11161da177e4SLinus Torvalds	bool "R10000"
11177cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
1118f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11195e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1120ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1121ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1122797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11231da177e4SLinus Torvalds	help
11241da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
11251da177e4SLinus Torvalds
11261da177e4SLinus Torvaldsconfig CPU_RM7000
11271da177e4SLinus Torvalds	bool "RM7000"
11287cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
1129f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11305e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1131ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1132ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1133797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11341da177e4SLinus Torvalds
11351da177e4SLinus Torvaldsconfig CPU_RM9000
11361da177e4SLinus Torvalds	bool "RM9000"
11377cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
1138f7062ddbSRalf Baechle	select CPU_HAS_LLSC
11395e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1140ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1141ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1142797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11430004a9dfSRalf Baechle	select WEAK_ORDERING
11441da177e4SLinus Torvalds
11451da177e4SLinus Torvaldsconfig CPU_SB1
11461da177e4SLinus Torvalds	bool "SB1"
11477cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1148f7062ddbSRalf Baechle	select CPU_HAS_LLSC
1149ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1150ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1151797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11520004a9dfSRalf Baechle	select WEAK_ORDERING
11531da177e4SLinus Torvalds
11541da177e4SLinus Torvaldsendchoice
11551da177e4SLinus Torvalds
11562a21c730SFuxin Zhangconfig SYS_HAS_CPU_LOONGSON2
11572a21c730SFuxin Zhang	bool
11582a21c730SFuxin Zhang
11597cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
11607cf8053bSRalf Baechle	bool
11617cf8053bSRalf Baechle
11627cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
11637cf8053bSRalf Baechle	bool
11647cf8053bSRalf Baechle
11657cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
11667cf8053bSRalf Baechle	bool
11677cf8053bSRalf Baechle
11687cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
11697cf8053bSRalf Baechle	bool
11707cf8053bSRalf Baechle
11717cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
11727cf8053bSRalf Baechle	bool
11737cf8053bSRalf Baechle
11747cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
11757cf8053bSRalf Baechle	bool
11767cf8053bSRalf Baechle
11777cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
11787cf8053bSRalf Baechle	bool
11797cf8053bSRalf Baechle
11807cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
11817cf8053bSRalf Baechle	bool
11827cf8053bSRalf Baechle
11837cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
11847cf8053bSRalf Baechle	bool
11857cf8053bSRalf Baechle
11867cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
11877cf8053bSRalf Baechle	bool
11887cf8053bSRalf Baechle
11897cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
11907cf8053bSRalf Baechle	bool
11917cf8053bSRalf Baechle
11927cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
11937cf8053bSRalf Baechle	bool
11947cf8053bSRalf Baechle
11957cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
11967cf8053bSRalf Baechle	bool
11977cf8053bSRalf Baechle
11987cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
11997cf8053bSRalf Baechle	bool
12007cf8053bSRalf Baechle
12017cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
12027cf8053bSRalf Baechle	bool
12037cf8053bSRalf Baechle
12047cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
12057cf8053bSRalf Baechle	bool
12067cf8053bSRalf Baechle
12077cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
12087cf8053bSRalf Baechle	bool
12097cf8053bSRalf Baechle
12107cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
12117cf8053bSRalf Baechle	bool
12127cf8053bSRalf Baechle
12137cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
12147cf8053bSRalf Baechle	bool
12157cf8053bSRalf Baechle
121617099b11SRalf Baechle#
121717099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
121817099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
121917099b11SRalf Baechle#
12200004a9dfSRalf Baechleconfig WEAK_ORDERING
12210004a9dfSRalf Baechle	bool
122217099b11SRalf Baechle
122317099b11SRalf Baechle#
122417099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
122517099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
122617099b11SRalf Baechle#
122717099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
122817099b11SRalf Baechle	bool
12295e83d430SRalf Baechleendmenu
12305e83d430SRalf Baechle
12315e83d430SRalf Baechle#
12325e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
12335e83d430SRalf Baechle#
12345e83d430SRalf Baechleconfig CPU_MIPS32
12355e83d430SRalf Baechle	bool
12365e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
12375e83d430SRalf Baechle
12385e83d430SRalf Baechleconfig CPU_MIPS64
12395e83d430SRalf Baechle	bool
12405e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
12415e83d430SRalf Baechle
12425e83d430SRalf Baechle#
1243c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
12445e83d430SRalf Baechle#
12455e83d430SRalf Baechleconfig CPU_MIPSR1
12465e83d430SRalf Baechle	bool
12475e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
12485e83d430SRalf Baechle
12495e83d430SRalf Baechleconfig CPU_MIPSR2
12505e83d430SRalf Baechle	bool
12515e83d430SRalf Baechle	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
12525e83d430SRalf Baechle
12535e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
12545e83d430SRalf Baechle	bool
12555e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
12565e83d430SRalf Baechle	bool
12575e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
12585e83d430SRalf Baechle	bool
12595e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
12605e83d430SRalf Baechle	bool
12615e83d430SRalf Baechle
12625e83d430SRalf Baechlemenu "Kernel type"
12635e83d430SRalf Baechle
12645e83d430SRalf Baechlechoice
12655e83d430SRalf Baechle
12665e83d430SRalf Baechle	prompt "Kernel code model"
12675e83d430SRalf Baechle	help
12685e83d430SRalf Baechle	  You should only select this option if you have a workload that
12695e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
12705e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
12715e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
12725e83d430SRalf Baechle
12735e83d430SRalf Baechleconfig 32BIT
12745e83d430SRalf Baechle	bool "32-bit kernel"
12755e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
12765e83d430SRalf Baechle	select TRAD_SIGNALS
12775e83d430SRalf Baechle	help
12785e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
12795e83d430SRalf Baechleconfig 64BIT
12805e83d430SRalf Baechle	bool "64-bit kernel"
12815e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
12825e83d430SRalf Baechle	help
12835e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
12845e83d430SRalf Baechle
12855e83d430SRalf Baechleendchoice
12865e83d430SRalf Baechle
12871da177e4SLinus Torvaldschoice
12881da177e4SLinus Torvalds	prompt "Kernel page size"
12891da177e4SLinus Torvalds	default PAGE_SIZE_4KB
12901da177e4SLinus Torvalds
12911da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
12921da177e4SLinus Torvalds	bool "4kB"
12931da177e4SLinus Torvalds	help
12941da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
12951da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
12961da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
12971da177e4SLinus Torvalds	 recommended for low memory systems.
12981da177e4SLinus Torvalds
12991da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
13001da177e4SLinus Torvalds	bool "8kB"
13011da177e4SLinus Torvalds	depends on EXPERIMENTAL && CPU_R8000
13021da177e4SLinus Torvalds	help
13031da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
13041da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
13051da177e4SLinus Torvalds	  only on the R8000 processor.  Not that at the time of this writing
13061da177e4SLinus Torvalds	  this option is still high experimental; there are also issues with
13071da177e4SLinus Torvalds	  compatibility of user applications.
13081da177e4SLinus Torvalds
13091da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
13101da177e4SLinus Torvalds	bool "16kB"
1311714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
13121da177e4SLinus Torvalds	help
13131da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
13141da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1315714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1316714bfad6SRalf Baechle	  Linux distribution to support this.
13171da177e4SLinus Torvalds
13181da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
13191da177e4SLinus Torvalds	bool "64kB"
13201da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
13211da177e4SLinus Torvalds	help
13221da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
13231da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
13241da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1325714bfad6SRalf Baechle	  writing this option is still high experimental.
13261da177e4SLinus Torvalds
13271da177e4SLinus Torvaldsendchoice
13281da177e4SLinus Torvalds
13291da177e4SLinus Torvaldsconfig BOARD_SCACHE
13301da177e4SLinus Torvalds	bool
13311da177e4SLinus Torvalds
13321da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
13331da177e4SLinus Torvalds	bool
13341da177e4SLinus Torvalds	select BOARD_SCACHE
13351da177e4SLinus Torvalds
13369318c51aSChris Dearman#
13379318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
13389318c51aSChris Dearman#
13399318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
13409318c51aSChris Dearman	bool
13419318c51aSChris Dearman	select BOARD_SCACHE
13429318c51aSChris Dearman
13431da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
13441da177e4SLinus Torvalds	bool
13451da177e4SLinus Torvalds	select BOARD_SCACHE
13461da177e4SLinus Torvalds
13471da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
13481da177e4SLinus Torvalds	bool
13491da177e4SLinus Torvalds	select BOARD_SCACHE
13501da177e4SLinus Torvalds
13511da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
13521da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
13531da177e4SLinus Torvalds	depends on CPU_SB1
13541da177e4SLinus Torvalds	help
13551da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
13561da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
13571da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
13581da177e4SLinus Torvalds
13591da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1360c8094b53SRalf Baechle	bool
13611da177e4SLinus Torvalds
1362340ee4b9SRalf Baechlechoice
1363340ee4b9SRalf Baechle	prompt "MIPS MT options"
1364f41ae0b2SRalf Baechle
1365f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1366f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1367f41ae0b2SRalf Baechle	help
1368f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1369f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1370f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1371f41ae0b2SRalf Baechle	  option in this menu.
1372340ee4b9SRalf Baechle
137359d6ab86SRalf Baechleconfig MIPS_MT_SMP
137459d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
137559d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
137659d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1377d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
137859d6ab86SRalf Baechle	select MIPS_MT
1379f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
138059d6ab86SRalf Baechle	select SMP
13810ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
138259d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
138387353d8aSRalf Baechle	select SMP_UP
138459d6ab86SRalf Baechle	help
138559d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
138659d6ab86SRalf Baechle	  has been marketesed into SMVP.
138759d6ab86SRalf Baechle
138841c594abSRalf Baechleconfig MIPS_MT_SMTC
138941c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1390f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1391f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1392f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1393ea580401SRalf Baechle	select GENERIC_CLOCKEVENTS_BROADCAST
1394f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1395d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1396f41ae0b2SRalf Baechle	select MIPS_MT
1397130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
139841c594abSRalf Baechle	select SMP
139973b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
140087353d8aSRalf Baechle	select SMP_UP
1401f41ae0b2SRalf Baechle	help
1402f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1403f41ae0b2SRalf Baechle	  marketesed into SMVP.
140441c594abSRalf Baechle
1405340ee4b9SRalf Baechleendchoice
1406340ee4b9SRalf Baechle
1407f41ae0b2SRalf Baechleconfig MIPS_MT
1408f41ae0b2SRalf Baechle	bool
1409f41ae0b2SRalf Baechle
14100ab7aefcSRalf Baechleconfig SCHED_SMT
14110ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
14120ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
14130ab7aefcSRalf Baechle	default n
14140ab7aefcSRalf Baechle	help
14150ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
14160ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
14170ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
14180ab7aefcSRalf Baechle
14190ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
14200ab7aefcSRalf Baechle	bool
14210ab7aefcSRalf Baechle
14220ab7aefcSRalf Baechle
1423f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1424f41ae0b2SRalf Baechle	bool
1425f41ae0b2SRalf Baechle
1426f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1427f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1428f088fc84SRalf Baechle	default y
142907cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
143007cc0c9eSRalf Baechle
143107cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
143207cc0c9eSRalf Baechle	bool "VPE loader support."
143307cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
143407cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
143507cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
143607cc0c9eSRalf Baechle	select MIPS_MT
143707cc0c9eSRalf Baechle	help
143807cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
143907cc0c9eSRalf Baechle	  onto another VPE and running it.
1440f088fc84SRalf Baechle
1441ac8be955SRalf Baechleconfig MIPS_MT_SMTC_INSTANT_REPLAY
1442ac8be955SRalf Baechle	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1443619af723SRalf Baechle	depends on MIPS_MT_SMTC && !PREEMPT
1444ac8be955SRalf Baechle	default y
1445ac8be955SRalf Baechle	help
1446ac8be955SRalf Baechle	  SMTC pseudo-interrupts between TCs are deferred and queued
1447ac8be955SRalf Baechle	  if the target TC is interrupt-inhibited (IXMT). In the first
1448ac8be955SRalf Baechle	  SMTC prototypes, these queued IPIs were serviced on return
1449ac8be955SRalf Baechle	  to user mode, or on entry into the kernel idle loop. The
1450ac8be955SRalf Baechle	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1451ac8be955SRalf Baechle	  processing, which adds runtime overhead (hence the option to turn
1452ac8be955SRalf Baechle	  it off), but ensures that IPIs are handled promptly even under
1453ac8be955SRalf Baechle	  heavy I/O interrupt load.
1454ac8be955SRalf Baechle
14550db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
14560db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
14570db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
14580db34215SKevin D. Kissell	default y
14590db34215SKevin D. Kissell	help
14600db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
14610db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
14620db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
14630db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
14640db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
14650db34215SKevin D. Kissell	  impact on interrupt service overhead. Disable it only if you know
14660db34215SKevin D. Kissell	  what you are doing.
14670db34215SKevin D. Kissell
1468f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1469f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1470f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1471f571eff0SKevin D. Kissell	default n
1472f571eff0SKevin D. Kissell	help
1473f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1474f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1475f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
1476f571eff0SKevin D. Kissell	  platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1477f571eff0SKevin D. Kissell	  be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1478f571eff0SKevin D. Kissell	  interrupt dispatch, and should be used only if you know what
1479f571eff0SKevin D. Kissell	  you are doing.
1480f571eff0SKevin D. Kissell
1481e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1482e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1483e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1484e01402b1SRalf Baechle	default y
1485e01402b1SRalf Baechle	help
1486e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1487e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1488e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1489e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1490e01402b1SRalf Baechle
1491e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1492e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1493e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1494e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
14955e83d430SRalf Baechle	help
1496e01402b1SRalf Baechle
14972600990eSRalf Baechleconfig MIPS_APSP_KSPD
14982600990eSRalf Baechle	bool "Enable KSPD"
14992600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
15002600990eSRalf Baechle	default y
15012600990eSRalf Baechle	help
15022600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
15032600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
15042600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
15052600990eSRalf Baechle	  exiting.  You probably want to say yes here.
15062600990eSRalf Baechle
15071da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
15081da177e4SLinus Torvalds	bool
15091da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
15101da177e4SLinus Torvalds	default y
15111da177e4SLinus Torvalds
15121da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
15131da177e4SLinus Torvalds	bool
15141da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
15151da177e4SLinus Torvalds	default y
15161da177e4SLinus Torvalds
15171da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
15181da177e4SLinus Torvalds	bool
15191da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
15201da177e4SLinus Torvalds	default y
15211da177e4SLinus Torvalds
15221da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1523d806cb2bSRalf Baechle	bool
15241da177e4SLinus Torvalds
15251da177e4SLinus Torvaldsconfig CPU_HAS_LLSC
1526f7062ddbSRalf Baechle	bool
15271da177e4SLinus Torvalds
15289693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
15299693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
15309693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
15319693a853SFranck Bui-Huu	help
15329693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
15339693a853SFranck Bui-Huu	  increased security at both hardware and software level for
15349693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
15359693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
15369693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
15379693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
15389693a853SFranck Bui-Huu	  here.
15399693a853SFranck Bui-Huu
15401da177e4SLinus Torvaldsconfig CPU_HAS_WB
1541f7062ddbSRalf Baechle	bool
1542e01402b1SRalf Baechle
1543f41ae0b2SRalf Baechle#
1544f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1545f41ae0b2SRalf Baechle#
1546e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1547f41ae0b2SRalf Baechle	bool
1548e01402b1SRalf Baechle
1549f41ae0b2SRalf Baechle#
1550f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1551f41ae0b2SRalf Baechle#
1552e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1553f41ae0b2SRalf Baechle	bool
1554e01402b1SRalf Baechle
15551da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
15561da177e4SLinus Torvalds	bool
15571da177e4SLinus Torvalds	depends on !CPU_R3000
15581da177e4SLinus Torvalds	default y
15591da177e4SLinus Torvalds
1560ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1561ea580401SRalf Baechle	bool
1562ea580401SRalf Baechle
15631da177e4SLinus Torvalds#
156420d60d99SMaciej W. Rozycki# CPU non-features
156520d60d99SMaciej W. Rozycki#
156620d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
156720d60d99SMaciej W. Rozycki	bool
156820d60d99SMaciej W. Rozycki
156920d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
157020d60d99SMaciej W. Rozycki	bool
157120d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
157220d60d99SMaciej W. Rozycki
157320d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
157420d60d99SMaciej W. Rozycki	bool
157520d60d99SMaciej W. Rozycki
157620d60d99SMaciej W. Rozycki#
1577797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1578797798c1SRalf Baechle#
1579797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1580797798c1SRalf Baechle	bool
1581797798c1SRalf Baechle	default y
1582797798c1SRalf Baechle
1583797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1584797798c1SRalf Baechle	bool
1585797798c1SRalf Baechle	default y
1586797798c1SRalf Baechle
15870d7012a9SIngo Molnarconfig IRQ_PER_CPU
15880d7012a9SIngo Molnar	bool
15890d7012a9SIngo Molnar
1590797798c1SRalf Baechle#
15911da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
15921da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
15931da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
15941da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
15951da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
15961da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
15971da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
15981da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1599797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1600797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1601797798c1SRalf Baechle#   support.
16021da177e4SLinus Torvalds#
16031da177e4SLinus Torvaldsconfig HIGHMEM
16041da177e4SLinus Torvalds	bool "High Memory Support"
1605797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1606797798c1SRalf Baechle
1607797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1608797798c1SRalf Baechle	bool
1609797798c1SRalf Baechle
1610797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1611797798c1SRalf Baechle	bool
16121da177e4SLinus Torvalds
16139693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
16149693a853SFranck Bui-Huu	bool
16159693a853SFranck Bui-Huu
1616b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1617b4819b59SYoichi Yuasa	def_bool y
1618b4819b59SYoichi Yuasa	depends on !NUMA
1619b4819b59SYoichi Yuasa
1620d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1621d8cb4e11SRalf Baechle	bool
1622d8cb4e11SRalf Baechle	default y if SGI_IP27
1623d8cb4e11SRalf Baechle	help
16243dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1625d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1626d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1627d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1628d8cb4e11SRalf Baechle
1629cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1630cce335aeSRalf Baechle	def_bool y
1631cce335aeSRalf Baechle
1632b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1633b1c6cd42SAtsushi Nemoto	bool
16347de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
163531473747SAtsushi Nemoto
1636d8cb4e11SRalf Baechleconfig NUMA
1637d8cb4e11SRalf Baechle	bool "NUMA Support"
1638d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1639d8cb4e11SRalf Baechle	help
1640d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1641d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1642d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1643d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1644d8cb4e11SRalf Baechle	  disabled.
1645d8cb4e11SRalf Baechle
1646d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1647d8cb4e11SRalf Baechle	bool
1648d8cb4e11SRalf Baechle
1649c80d79d7SYasunori Gotoconfig NODES_SHIFT
1650c80d79d7SYasunori Goto	int
1651c80d79d7SYasunori Goto	default "6"
1652c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1653c80d79d7SYasunori Goto
1654b4819b59SYoichi Yuasasource "mm/Kconfig"
1655b4819b59SYoichi Yuasa
16561da177e4SLinus Torvaldsconfig SMP
16571da177e4SLinus Torvalds	bool "Multi-Processing support"
1658e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1659b4b30a5aSRalf Baechle	select IRQ_PER_CPU
1660e73ea273SRalf Baechle	help
16611da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
16621da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
16631da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
16641da177e4SLinus Torvalds
16651da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
16661da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
16671da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
16681da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
16691da177e4SLinus Torvalds	  will run faster if you say N here.
16701da177e4SLinus Torvalds
16711da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
16721da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
16731da177e4SLinus Torvalds
167403502faaSAdrian Bunk	  See also the SMP-HOWTO available at
167503502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
16761da177e4SLinus Torvalds
16771da177e4SLinus Torvalds	  If you don't know what to do here, say N.
16781da177e4SLinus Torvalds
167987353d8aSRalf Baechleconfig SMP_UP
168087353d8aSRalf Baechle	bool
168187353d8aSRalf Baechle
1682e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1683e73ea273SRalf Baechle	bool
1684e73ea273SRalf Baechle
168572ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
168672ede9b1SAtsushi Nemoto	bool
168772ede9b1SAtsushi Nemoto
1688130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1689130e2fb7SRalf Baechle	bool
1690130e2fb7SRalf Baechle
1691130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1692130e2fb7SRalf Baechle	bool
1693130e2fb7SRalf Baechle
1694130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1695130e2fb7SRalf Baechle	bool
1696130e2fb7SRalf Baechle
1697130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1698130e2fb7SRalf Baechle	bool
1699130e2fb7SRalf Baechle
1700130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1701130e2fb7SRalf Baechle	bool
1702130e2fb7SRalf Baechle
1703130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1704130e2fb7SRalf Baechle	bool
1705130e2fb7SRalf Baechle
17061da177e4SLinus Torvaldsconfig NR_CPUS
17071da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
170872ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
17091da177e4SLinus Torvalds	depends on SMP
171072ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1711130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1712130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1713130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1714130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1715130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1716130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
17171da177e4SLinus Torvalds	help
17181da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
17191da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
17201da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
172172ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
172272ede9b1SAtsushi Nemoto	  and 2 for all others.
17231da177e4SLinus Torvalds
17241da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
172572ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
172672ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
172772ede9b1SAtsushi Nemoto	  power of two.
17281da177e4SLinus Torvalds
172939b8d525SRalf Baechleconfig MIPS_CMP
173039b8d525SRalf Baechle	bool "MIPS CMP framework support"
173139b8d525SRalf Baechle	depends on SMP
173239b8d525SRalf Baechle	select SYNC_R4K
173339b8d525SRalf Baechle	select SYS_SUPPORTS_SCHED_SMT
173439b8d525SRalf Baechle	select WEAK_ORDERING
173539b8d525SRalf Baechle	default n
173639b8d525SRalf Baechle	help
173739b8d525SRalf Baechle	  This is a placeholder option for the GCMP work. It will need to
173839b8d525SRalf Baechle	  be handled differently...
173939b8d525SRalf Baechle
1740c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
1741c4eee283SAtsushi Nemoto
17421723b4a3SAtsushi Nemoto#
17431723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
17441723b4a3SAtsushi Nemoto#
17451723b4a3SAtsushi Nemoto
17461723b4a3SAtsushi Nemotochoice
17471723b4a3SAtsushi Nemoto	prompt "Timer frequency"
17481723b4a3SAtsushi Nemoto	default HZ_250
17491723b4a3SAtsushi Nemoto	help
17501723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
17511723b4a3SAtsushi Nemoto
17521723b4a3SAtsushi Nemoto	config HZ_48
17530f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
17541723b4a3SAtsushi Nemoto
17551723b4a3SAtsushi Nemoto	config HZ_100
17561723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
17571723b4a3SAtsushi Nemoto
17581723b4a3SAtsushi Nemoto	config HZ_128
17591723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
17601723b4a3SAtsushi Nemoto
17611723b4a3SAtsushi Nemoto	config HZ_250
17621723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
17631723b4a3SAtsushi Nemoto
17641723b4a3SAtsushi Nemoto	config HZ_256
17651723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
17661723b4a3SAtsushi Nemoto
17671723b4a3SAtsushi Nemoto	config HZ_1000
17681723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
17691723b4a3SAtsushi Nemoto
17701723b4a3SAtsushi Nemoto	config HZ_1024
17711723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
17721723b4a3SAtsushi Nemoto
17731723b4a3SAtsushi Nemotoendchoice
17741723b4a3SAtsushi Nemoto
17751723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
17761723b4a3SAtsushi Nemoto	bool
17771723b4a3SAtsushi Nemoto
17781723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
17791723b4a3SAtsushi Nemoto	bool
17801723b4a3SAtsushi Nemoto
17811723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
17821723b4a3SAtsushi Nemoto	bool
17831723b4a3SAtsushi Nemoto
17841723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
17851723b4a3SAtsushi Nemoto	bool
17861723b4a3SAtsushi Nemoto
17871723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
17881723b4a3SAtsushi Nemoto	bool
17891723b4a3SAtsushi Nemoto
17901723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
17911723b4a3SAtsushi Nemoto	bool
17921723b4a3SAtsushi Nemoto
17931723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
17941723b4a3SAtsushi Nemoto	bool
17951723b4a3SAtsushi Nemoto
17961723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
17971723b4a3SAtsushi Nemoto	bool
17981723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
17991723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
18001723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
18011723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
18021723b4a3SAtsushi Nemoto
18031723b4a3SAtsushi Nemotoconfig HZ
18041723b4a3SAtsushi Nemoto	int
18051723b4a3SAtsushi Nemoto	default 48 if HZ_48
18061723b4a3SAtsushi Nemoto	default 100 if HZ_100
18071723b4a3SAtsushi Nemoto	default 128 if HZ_128
18081723b4a3SAtsushi Nemoto	default 250 if HZ_250
18091723b4a3SAtsushi Nemoto	default 256 if HZ_256
18101723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
18111723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
18121723b4a3SAtsushi Nemoto
1813e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
18141da177e4SLinus Torvalds
18151da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
18161da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1817875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
18181da177e4SLinus Torvalds	help
18191da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
18201da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
18211da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
18221da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
18231da177e4SLinus Torvalds	  recommended for normal users.
18241da177e4SLinus Torvalds
1825ea6e942bSAtsushi Nemotoconfig KEXEC
1826ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1827ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1828ea6e942bSAtsushi Nemoto	help
1829ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1830ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
18313dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1832ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1833ea6e942bSAtsushi Nemoto
183401dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
1835ea6e942bSAtsushi Nemoto
1836ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1837ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1838ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1839ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1840ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1841ea6e942bSAtsushi Nemoto
1842ea6e942bSAtsushi Nemotoconfig SECCOMP
1843ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
1844293c5bd1SRalf Baechle	depends on PROC_FS
1845ea6e942bSAtsushi Nemoto	default y
1846ea6e942bSAtsushi Nemoto	help
1847ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
1848ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
1849ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
1850ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
1851ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
1852ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
1853ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1854ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
1855ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
1856ea6e942bSAtsushi Nemoto
1857ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
1858ea6e942bSAtsushi Nemoto
18595e83d430SRalf Baechleendmenu
18605e83d430SRalf Baechle
18611da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
18621da177e4SLinus Torvalds	bool
18631da177e4SLinus Torvalds	default y
18641da177e4SLinus Torvalds
18651df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
18661df0f0ffSAtsushi Nemoto	bool
18671df0f0ffSAtsushi Nemoto	default y
18681df0f0ffSAtsushi Nemoto
18691df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
18701df0f0ffSAtsushi Nemoto	bool
18711df0f0ffSAtsushi Nemoto	default y
18721df0f0ffSAtsushi Nemoto
1873b6c3539bSRalf Baechlesource "init/Kconfig"
1874b6c3539bSRalf Baechle
18751da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
18761da177e4SLinus Torvalds
18775e83d430SRalf Baechleconfig HW_HAS_EISA
18785e83d430SRalf Baechle	bool
18791da177e4SLinus Torvaldsconfig HW_HAS_PCI
18801da177e4SLinus Torvalds	bool
18811da177e4SLinus Torvalds
18821da177e4SLinus Torvaldsconfig PCI
18831da177e4SLinus Torvalds	bool "Support for PCI controller"
18841da177e4SLinus Torvalds	depends on HW_HAS_PCI
1885abb4ae46SRalf Baechle	select PCI_DOMAINS
18861da177e4SLinus Torvalds	help
18871da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
18881da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
18891da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
18901da177e4SLinus Torvalds	  say Y, otherwise N.
18911da177e4SLinus Torvalds
18921da177e4SLinus Torvaldsconfig PCI_DOMAINS
18931da177e4SLinus Torvalds	bool
18941da177e4SLinus Torvalds
18951da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
18961da177e4SLinus Torvalds
18971da177e4SLinus Torvalds#
18981da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
18991da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
19001da177e4SLinus Torvalds# users to choose the right thing ...
19011da177e4SLinus Torvalds#
19021da177e4SLinus Torvaldsconfig ISA
19031da177e4SLinus Torvalds	bool
19041da177e4SLinus Torvalds
19051da177e4SLinus Torvaldsconfig EISA
19061da177e4SLinus Torvalds	bool "EISA support"
19075e83d430SRalf Baechle	depends on HW_HAS_EISA
19081da177e4SLinus Torvalds	select ISA
1909aa414dffSRalf Baechle	select GENERIC_ISA_DMA
19101da177e4SLinus Torvalds	---help---
19111da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
19121da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
19131da177e4SLinus Torvalds
19141da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
19151da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
19161da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
19171da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
19181da177e4SLinus Torvalds
19191da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
19201da177e4SLinus Torvalds
19211da177e4SLinus Torvalds	  Otherwise, say N.
19221da177e4SLinus Torvalds
19231da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
19241da177e4SLinus Torvalds
19251da177e4SLinus Torvaldsconfig TC
19261da177e4SLinus Torvalds	bool "TURBOchannel support"
19271da177e4SLinus Torvalds	depends on MACH_DECSTATION
19281da177e4SLinus Torvalds	help
19291da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
19301da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
19311da177e4SLinus Torvalds	  is available at:
19321da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
19331da177e4SLinus Torvalds
19341da177e4SLinus Torvalds#config ACCESSBUS
19351da177e4SLinus Torvalds#	bool "Access.Bus support"
19361da177e4SLinus Torvalds#	depends on TC
19371da177e4SLinus Torvalds
19381da177e4SLinus Torvaldsconfig MMU
19391da177e4SLinus Torvalds	bool
19401da177e4SLinus Torvalds	default y
19411da177e4SLinus Torvalds
1942d865bea4SRalf Baechleconfig I8253
1943d865bea4SRalf Baechle	bool
1944d865bea4SRalf Baechle
1945cce335aeSRalf Baechleconfig ZONE_DMA32
1946cce335aeSRalf Baechle	bool
1947cce335aeSRalf Baechle
19481da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
19491da177e4SLinus Torvalds
19501da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
19511da177e4SLinus Torvalds
19521da177e4SLinus Torvaldsendmenu
19531da177e4SLinus Torvalds
19541da177e4SLinus Torvaldsmenu "Executable file formats"
19551da177e4SLinus Torvalds
19561da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
19571da177e4SLinus Torvalds
19581da177e4SLinus Torvaldsconfig TRAD_SIGNALS
19591da177e4SLinus Torvalds	bool
19601da177e4SLinus Torvalds
19611da177e4SLinus Torvaldsconfig MIPS32_COMPAT
19621da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
1963875d43e7SRalf Baechle	depends on 64BIT
19641da177e4SLinus Torvalds	help
19651da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
19661da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
19671da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
19681da177e4SLinus Torvalds
19691da177e4SLinus Torvaldsconfig COMPAT
19701da177e4SLinus Torvalds	bool
19711da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19721da177e4SLinus Torvalds	default y
19731da177e4SLinus Torvalds
197405e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
197505e43966SAtsushi Nemoto	bool
197605e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
197705e43966SAtsushi Nemoto	default y
197805e43966SAtsushi Nemoto
19791da177e4SLinus Torvaldsconfig MIPS32_O32
19801da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
19811da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19821da177e4SLinus Torvalds	help
19831da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
19841da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
19851da177e4SLinus Torvalds	  existing binaries are in this format.
19861da177e4SLinus Torvalds
19871da177e4SLinus Torvalds	  If unsure, say Y.
19881da177e4SLinus Torvalds
19891da177e4SLinus Torvaldsconfig MIPS32_N32
19901da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
19911da177e4SLinus Torvalds	depends on MIPS32_COMPAT
19921da177e4SLinus Torvalds	help
19931da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
19941da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
19951da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
19961da177e4SLinus Torvalds	  cases.
19971da177e4SLinus Torvalds
19981da177e4SLinus Torvalds	  If unsure, say N.
19991da177e4SLinus Torvalds
20001da177e4SLinus Torvaldsconfig BINFMT_ELF32
20011da177e4SLinus Torvalds	bool
20021da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
20031da177e4SLinus Torvalds
20042116245eSRalf Baechleendmenu
20051da177e4SLinus Torvalds
20062116245eSRalf Baechlemenu "Power management options"
2007952fa954SRodolfo Giometti
2008f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2009f4cb5700SJohannes Berg	def_bool y
2010f4cb5700SJohannes Berg	depends on !SMP
2011f4cb5700SJohannes Berg
20122116245eSRalf Baechlesource "kernel/power/Kconfig"
2013952fa954SRodolfo Giometti
20141da177e4SLinus Torvaldsendmenu
20151da177e4SLinus Torvalds
2016d5950b43SSam Ravnborgsource "net/Kconfig"
2017d5950b43SSam Ravnborg
20181da177e4SLinus Torvaldssource "drivers/Kconfig"
20191da177e4SLinus Torvalds
20201da177e4SLinus Torvaldssource "fs/Kconfig"
20211da177e4SLinus Torvalds
20221da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
20231da177e4SLinus Torvalds
20241da177e4SLinus Torvaldssource "security/Kconfig"
20251da177e4SLinus Torvalds
20261da177e4SLinus Torvaldssource "crypto/Kconfig"
20271da177e4SLinus Torvalds
20281da177e4SLinus Torvaldssource "lib/Kconfig"
2029