xref: /linux/arch/mips/Kconfig (revision 538f19526e40ce7a5a296fad6a3121409c890adc)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
4f8ac0425SYoichi Yuasa	select HAVE_GENERIC_DMA_COHERENT
5ec7748b5SSam Ravnborg	select HAVE_IDE
642d4b839SMathieu Desnoyers	select HAVE_OPROFILE
788547001SJason Wessel	select HAVE_ARCH_KGDB
8d2bb0762SWu Zhangjin	select HAVE_FUNCTION_TRACER
969a7d1b3SWu Zhangjin	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
10*538f1952SWu Zhangjin	select HAVE_DYNAMIC_FTRACE
11*538f1952SWu Zhangjin	select HAVE_FTRACE_MCOUNT_RECORD
121da177e4SLinus Torvalds	# Horrible source of confusion.  Die, die, die ...
131da177e4SLinus Torvalds	select EMBEDDED
1421a41faaSWu Zhangjin	select RTC_LIB if !MACH_LOONGSON
151da177e4SLinus Torvalds
161da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
171da177e4SLinus Torvalds
181da177e4SLinus Torvaldsmenu "Machine selection"
191da177e4SLinus Torvalds
205ac6da66SChristoph Lameterconfig ZONE_DMA
215ac6da66SChristoph Lameter	bool
225ac6da66SChristoph Lameter
235e83d430SRalf Baechlechoice
245e83d430SRalf Baechle	prompt "System type"
255e83d430SRalf Baechle	default SGI_IP22
261da177e4SLinus Torvalds
27c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
28c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
291b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
301da177e4SLinus Torvalds
317ca5dc14SFlorian Fainelliconfig AR7
327ca5dc14SFlorian Fainelli	bool "Texas Instruments AR7"
337ca5dc14SFlorian Fainelli	select BOOT_ELF32
347ca5dc14SFlorian Fainelli	select DMA_NONCOHERENT
357ca5dc14SFlorian Fainelli	select CEVT_R4K
367ca5dc14SFlorian Fainelli	select CSRC_R4K
377ca5dc14SFlorian Fainelli	select IRQ_CPU
387ca5dc14SFlorian Fainelli	select NO_EXCEPT_FILL
397ca5dc14SFlorian Fainelli	select SWAP_IO_SPACE
407ca5dc14SFlorian Fainelli	select SYS_HAS_CPU_MIPS32_R1
417ca5dc14SFlorian Fainelli	select SYS_HAS_EARLY_PRINTK
427ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_32BIT_KERNEL
437ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_LITTLE_ENDIAN
441b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT_UART16550
457ca5dc14SFlorian Fainelli	select GENERIC_GPIO
467ca5dc14SFlorian Fainelli	select GCD
477ca5dc14SFlorian Fainelli	select VLYNQ
487ca5dc14SFlorian Fainelli	help
497ca5dc14SFlorian Fainelli	  Support for the Texas Instruments AR7 System-on-a-Chip
507ca5dc14SFlorian Fainelli	  family: TNETD7100, 7200 and 7300.
517ca5dc14SFlorian Fainelli
5235189fadSRalf Baechleconfig BASLER_EXCITE
53be91589eSThomas Koeller	bool "Basler eXcite smart camera"
5442f77542SRalf Baechle	select CEVT_R4K
55940f6b48SRalf Baechle	select CSRC_R4K
5635189fadSRalf Baechle	select DMA_COHERENT
5735189fadSRalf Baechle	select HW_HAS_PCI
5835189fadSRalf Baechle	select IRQ_CPU
5935189fadSRalf Baechle	select IRQ_CPU_RM7K
6035189fadSRalf Baechle	select IRQ_CPU_RM9K
61663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
6235189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
6335189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
6435189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
6535189fadSRalf Baechle	help
6635189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
67be91589eSThomas Koeller	  Basler Vision Technologies AG.
6835189fadSRalf Baechle
691c0c13ebSAurelien Jarnoconfig BCM47XX
701c0c13ebSAurelien Jarno	bool "BCM47XX based boards"
7142f77542SRalf Baechle	select CEVT_R4K
72940f6b48SRalf Baechle	select CSRC_R4K
731c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
741c0c13ebSAurelien Jarno	select HW_HAS_PCI
751c0c13ebSAurelien Jarno	select IRQ_CPU
761c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
771c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
781c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
791c0c13ebSAurelien Jarno	select SSB
801c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
812f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
82b06f3e19SAurelien Jarno	select SSB_EMBEDDED
832f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
841c0c13ebSAurelien Jarno	select GENERIC_GPIO
8525e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
8625e5fb97SAurelien Jarno	select CFE
871c0c13ebSAurelien Jarno	help
881c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
891c0c13ebSAurelien Jarno
90e7300d04SMaxime Bizonconfig BCM63XX
91e7300d04SMaxime Bizon	bool "Broadcom BCM63XX based boards"
92e7300d04SMaxime Bizon	select CEVT_R4K
93e7300d04SMaxime Bizon	select CSRC_R4K
94e7300d04SMaxime Bizon	select DMA_NONCOHERENT
95e7300d04SMaxime Bizon	select IRQ_CPU
96e7300d04SMaxime Bizon	select SYS_HAS_CPU_MIPS32_R1
97e7300d04SMaxime Bizon	select SYS_SUPPORTS_32BIT_KERNEL
98e7300d04SMaxime Bizon	select SYS_SUPPORTS_BIG_ENDIAN
99e7300d04SMaxime Bizon	select SYS_HAS_EARLY_PRINTK
100e7300d04SMaxime Bizon	select SWAP_IO_SPACE
101e7300d04SMaxime Bizon	select ARCH_REQUIRE_GPIOLIB
102e7300d04SMaxime Bizon	help
103e7300d04SMaxime Bizon	 Support for BCM63XX based boards
104e7300d04SMaxime Bizon
1051da177e4SLinus Torvaldsconfig MIPS_COBALT
1063fa986faSMartin Michlmayr	bool "Cobalt Server"
10742f77542SRalf Baechle	select CEVT_R4K
108940f6b48SRalf Baechle	select CSRC_R4K
1091097c6acSYoichi Yuasa	select CEVT_GT641XX
1101da177e4SLinus Torvalds	select DMA_NONCOHERENT
1111da177e4SLinus Torvalds	select HW_HAS_PCI
112d865bea4SRalf Baechle	select I8253
1131da177e4SLinus Torvalds	select I8259
1141da177e4SLinus Torvalds	select IRQ_CPU
115d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
116252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
117e25bfc92SYoichi Yuasa	select PCI
1187cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1190a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
120ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
1210e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
1225e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1231da177e4SLinus Torvalds
1241da177e4SLinus Torvaldsconfig MACH_DECSTATION
1253fa986faSMartin Michlmayr	bool "DECstations"
1261da177e4SLinus Torvalds	select BOOT_ELF32
1276457d9fcSYoichi Yuasa	select CEVT_DS1287
12842f77542SRalf Baechle	select CEVT_R4K
1294247417dSYoichi Yuasa	select CSRC_IOASIC
130940f6b48SRalf Baechle	select CSRC_R4K
13120d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
13220d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
13320d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
1341da177e4SLinus Torvalds	select DMA_NONCOHERENT
135d388d685SMaciej W. Rozycki	select NO_IOPORT
1361da177e4SLinus Torvalds	select IRQ_CPU
1377cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
1387cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
139ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
140ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1415e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1421723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
1431723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
1441723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1455e83d430SRalf Baechle	help
1461da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1471da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1481da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1491da177e4SLinus Torvalds
1501da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1511da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1521da177e4SLinus Torvalds
1531da177e4SLinus Torvalds		DECstation 5000/50
1541da177e4SLinus Torvalds		DECstation 5000/150
1551da177e4SLinus Torvalds		DECstation 5000/260
1561da177e4SLinus Torvalds		DECsystem 5900/260
1571da177e4SLinus Torvalds
1581da177e4SLinus Torvalds	  otherwise choose R3000.
1591da177e4SLinus Torvalds
1605e83d430SRalf Baechleconfig MACH_JAZZ
1613fa986faSMartin Michlmayr	bool "Jazz family of machines"
1625e83d430SRalf Baechle	select ARC
1635e83d430SRalf Baechle	select ARC32
1645e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
16542f77542SRalf Baechle	select CEVT_R4K
166940f6b48SRalf Baechle	select CSRC_R4K
167e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1685e83d430SRalf Baechle	select GENERIC_ISA_DMA
169ea202c63SThomas Bogendoerfer	select IRQ_CPU
170d865bea4SRalf Baechle	select I8253
1715e83d430SRalf Baechle	select I8259
1725e83d430SRalf Baechle	select ISA
1737cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1745e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1755e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1761723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1771da177e4SLinus Torvalds	help
1785e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1795e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
180692105b8SMatt LaPlante	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
1815e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1825e83d430SRalf Baechle
1831f21d2bdSBrian Murphyconfig LASAT
1841f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
18542f77542SRalf Baechle	select CEVT_R4K
186940f6b48SRalf Baechle	select CSRC_R4K
1871f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1881f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1891f21d2bdSBrian Murphy	select HW_HAS_PCI
190a5ccfe5cSRalf Baechle	select IRQ_CPU
1911f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1921f21d2bdSBrian Murphy	select MIPS_NILE4
1931f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1941f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1951f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1961f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1971f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1981f21d2bdSBrian Murphy
19985749d24SWu Zhangjinconfig MACH_LOONGSON
20085749d24SWu Zhangjin	bool "Loongson family of machines"
2011b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT_UART16550
202ade299d8SYoichi Yuasa	help
20385749d24SWu Zhangjin	  This enables the support of Loongson family of machines.
20485749d24SWu Zhangjin
20585749d24SWu Zhangjin	  Loongson is a family of general-purpose MIPS-compatible CPUs.
20685749d24SWu Zhangjin	  developed at Institute of Computing Technology (ICT),
20785749d24SWu Zhangjin	  Chinese Academy of Sciences (CAS) in the People's Republic
20885749d24SWu Zhangjin	  of China. The chief architect is Professor Weiwu Hu.
209ade299d8SYoichi Yuasa
2101da177e4SLinus Torvaldsconfig MIPS_MALTA
2113fa986faSMartin Michlmayr	bool "MIPS Malta board"
21261ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2131da177e4SLinus Torvalds	select BOOT_ELF32
214fa71c960SRalf Baechle	select BOOT_RAW
21542f77542SRalf Baechle	select CEVT_R4K
216940f6b48SRalf Baechle	select CSRC_R4K
2171da177e4SLinus Torvalds	select DMA_NONCOHERENT
2181da177e4SLinus Torvalds	select GENERIC_ISA_DMA
219aa414dffSRalf Baechle	select IRQ_CPU
22039b8d525SRalf Baechle	select IRQ_GIC
2211da177e4SLinus Torvalds	select HW_HAS_PCI
222d865bea4SRalf Baechle	select I8253
2231da177e4SLinus Torvalds	select I8259
2245e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2255e83d430SRalf Baechle	select MIPS_BONITO64
2269318c51aSChris Dearman	select MIPS_CPU_SCACHE
227252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2285e83d430SRalf Baechle	select MIPS_MSC
2291da177e4SLinus Torvalds	select SWAP_IO_SPACE
2307cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2317cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2327cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2337cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2347cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
23536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
236ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
237ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2385e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2395e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2400365070fSTim Anderson	select SYS_SUPPORTS_MIPS_CMP
241f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2429693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2431b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
2441da177e4SLinus Torvalds	help
245f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2461da177e4SLinus Torvalds	  board.
2471da177e4SLinus Torvalds
248c78cbf49SRalf Baechleconfig MIPS_SIM
2493fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
25042f77542SRalf Baechle	select CEVT_R4K
251940f6b48SRalf Baechle	select CSRC_R4K
252c78cbf49SRalf Baechle	select DMA_NONCOHERENT
25336a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
254c78cbf49SRalf Baechle	select IRQ_CPU
2559267a30dSMarc St-Jean	select BOOT_RAW
2567cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2577cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
25836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
259c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
260c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
261f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
262c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
263c78cbf49SRalf Baechle	help
264c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
265c78cbf49SRalf Baechle	  emulator.
266c78cbf49SRalf Baechle
267a83860c2SRalf Baechleconfig NEC_MARKEINS
268a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
269a83860c2SRalf Baechle	select SOC_EMMA2RH
270a83860c2SRalf Baechle	select HW_HAS_PCI
271a83860c2SRalf Baechle	help
272a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
273ade299d8SYoichi Yuasa
2745e83d430SRalf Baechleconfig MACH_VR41XX
27574142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
27642f77542SRalf Baechle	select CEVT_R4K
277940f6b48SRalf Baechle	select CSRC_R4K
2787cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
27927fdd325SYoichi Yuasa	select ARCH_REQUIRE_GPIOLIB
2805e83d430SRalf Baechle
281edb6310aSDaniel Lairdconfig NXP_STB220
282edb6310aSDaniel Laird	bool "NXP STB220 board"
283edb6310aSDaniel Laird	select SOC_PNX833X
284edb6310aSDaniel Laird	help
285edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
286edb6310aSDaniel Laird
287edb6310aSDaniel Lairdconfig NXP_STB225
288edb6310aSDaniel Laird	bool "NXP 225 board"
289edb6310aSDaniel Laird	select SOC_PNX833X
290edb6310aSDaniel Laird	select SOC_PNX8335
291edb6310aSDaniel Laird	help
292edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
293edb6310aSDaniel Laird
294ade299d8SYoichi Yuasaconfig PNX8550_JBS
295a92b0588SDaniel Laird	bool "NXP PNX8550 based JBS board"
296ade299d8SYoichi Yuasa	select PNX8550
297ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
298ade299d8SYoichi Yuasa
299ade299d8SYoichi Yuasaconfig PNX8550_STB810
300a92b0588SDaniel Laird	bool "NXP PNX8550 based STB810 board"
301ade299d8SYoichi Yuasa	select PNX8550
302ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
303ade299d8SYoichi Yuasa
3049267a30dSMarc St-Jeanconfig PMC_MSP
3059267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
3069267a30dSMarc St-Jean	depends on EXPERIMENTAL
3079267a30dSMarc St-Jean	select DMA_NONCOHERENT
3089267a30dSMarc St-Jean	select SWAP_IO_SPACE
3099267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3109267a30dSMarc St-Jean	select BOOT_RAW
3119267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3129267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3139267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3149267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3159267a30dSMarc St-Jean	select IRQ_CPU
3169267a30dSMarc St-Jean	select SERIAL_8250
3179267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3189267a30dSMarc St-Jean	help
3199267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3209267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3219267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3229267a30dSMarc St-Jean	  a variety of MIPS cores.
3239267a30dSMarc St-Jean
3245e83d430SRalf Baechleconfig PMC_YOSEMITE
3253fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
32642f77542SRalf Baechle	select CEVT_R4K
327940f6b48SRalf Baechle	select CSRC_R4K
3285e83d430SRalf Baechle	select DMA_COHERENT
3295e83d430SRalf Baechle	select HW_HAS_PCI
3305e83d430SRalf Baechle	select IRQ_CPU
3315e83d430SRalf Baechle	select IRQ_CPU_RM7K
3325e83d430SRalf Baechle	select IRQ_CPU_RM9K
3335e83d430SRalf Baechle	select SWAP_IO_SPACE
3347cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
33536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3365e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3375e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3385e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3395e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
340e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3415e83d430SRalf Baechle	help
3425e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3435e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3441da177e4SLinus Torvalds
345a3a0f8c8SDavid VomLehnconfig POWERTV
346a3a0f8c8SDavid VomLehn	bool "Cisco PowerTV"
347a3a0f8c8SDavid VomLehn	select BOOT_ELF32
348a3a0f8c8SDavid VomLehn	select CEVT_R4K
349a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_VI
350a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_EI
351a3a0f8c8SDavid VomLehn	select CSRC_POWERTV
352a3a0f8c8SDavid VomLehn	select DMA_NONCOHERENT
353a3a0f8c8SDavid VomLehn	select HW_HAS_PCI
354a3a0f8c8SDavid VomLehn	select SYS_HAS_EARLY_PRINTK
355a3a0f8c8SDavid VomLehn	select SYS_HAS_CPU_MIPS32_R2
356a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_32BIT_KERNEL
357a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_BIG_ENDIAN
358a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_HIGHMEM
359a3a0f8c8SDavid VomLehn	select USB_OHCI_LITTLE_ENDIAN
360a3a0f8c8SDavid VomLehn	help
361a3a0f8c8SDavid VomLehn	  This enables support for the Cisco PowerTV Platform.
362a3a0f8c8SDavid VomLehn
3631da177e4SLinus Torvaldsconfig SGI_IP22
3643fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3651da177e4SLinus Torvalds	select ARC
3661da177e4SLinus Torvalds	select ARC32
3671da177e4SLinus Torvalds	select BOOT_ELF32
36842f77542SRalf Baechle	select CEVT_R4K
369940f6b48SRalf Baechle	select CSRC_R4K
370e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3711da177e4SLinus Torvalds	select DMA_NONCOHERENT
3725e83d430SRalf Baechle	select HW_HAS_EISA
373d865bea4SRalf Baechle	select I8253
37468de4803SThomas Bogendoerfer	select I8259
3751da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3761da177e4SLinus Torvalds	select IRQ_CPU
377aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
378e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
379e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
38036e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
381e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
382e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
383e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3841da177e4SLinus Torvalds	select SWAP_IO_SPACE
3857cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3867cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
3872b5e63f6SMartin Michlmayr	#
3882b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
3892b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
3902b5e63f6SMartin Michlmayr	#
3912b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
3922b5e63f6SMartin Michlmayr	# for a more details discussion
3932b5e63f6SMartin Michlmayr	#
3942b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
395ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
396ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3975e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3981da177e4SLinus Torvalds	help
3991da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
4001da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
4011da177e4SLinus Torvalds	  that runs on these, say Y here.
4021da177e4SLinus Torvalds
4031da177e4SLinus Torvaldsconfig SGI_IP27
4043fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
4051da177e4SLinus Torvalds	select ARC
4061da177e4SLinus Torvalds	select ARC64
4075e83d430SRalf Baechle	select BOOT_ELF64
408e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
409634286f1SRalf Baechle	select DMA_COHERENT
41036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
4111da177e4SLinus Torvalds	select HW_HAS_PCI
412130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
4137cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
414ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4155e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
416d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
4171a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
4181da177e4SLinus Torvalds	help
4191da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4201da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4211da177e4SLinus Torvalds	  here.
4221da177e4SLinus Torvalds
423e2defae5SThomas Bogendoerferconfig SGI_IP28
424e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
425e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
426e2defae5SThomas Bogendoerfer	select ARC
427e2defae5SThomas Bogendoerfer	select ARC64
428e2defae5SThomas Bogendoerfer	select BOOT_ELF64
429e2defae5SThomas Bogendoerfer	select CEVT_R4K
430e2defae5SThomas Bogendoerfer	select CSRC_R4K
431e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
432e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
433e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
434e2defae5SThomas Bogendoerfer	select IRQ_CPU
435e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
436e2defae5SThomas Bogendoerfer	select I8253
437e2defae5SThomas Bogendoerfer	select I8259
438e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
439e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
4405b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
441e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
442e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
443e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
444e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
445e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
4462b5e63f6SMartin Michlmayr	#
4472b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
4482b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
4492b5e63f6SMartin Michlmayr	#
4502b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
4512b5e63f6SMartin Michlmayr	# for a more details discussion
4522b5e63f6SMartin Michlmayr	#
4532b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
454e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
455e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
456e2defae5SThomas Bogendoerfer      help
457e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
458e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
459e2defae5SThomas Bogendoerfer
4601da177e4SLinus Torvaldsconfig SGI_IP32
461cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4621da177e4SLinus Torvalds	select ARC
4631da177e4SLinus Torvalds	select ARC32
4641da177e4SLinus Torvalds	select BOOT_ELF32
46542f77542SRalf Baechle	select CEVT_R4K
466940f6b48SRalf Baechle	select CSRC_R4K
4671da177e4SLinus Torvalds	select DMA_NONCOHERENT
4681da177e4SLinus Torvalds	select HW_HAS_PCI
469dd67b155SRalf Baechle	select IRQ_CPU
4701da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4711da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4727cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4737cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4747cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
475dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
476ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4775e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4781da177e4SLinus Torvalds	help
4791da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4801da177e4SLinus Torvalds
481ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
482ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4835e83d430SRalf Baechle	depends on EXPERIMENTAL
4845e83d430SRalf Baechle	select BOOT_ELF32
4855e83d430SRalf Baechle	select DMA_COHERENT
4865e83d430SRalf Baechle	select SIBYTE_BCM1120
4875e83d430SRalf Baechle	select SWAP_IO_SPACE
4887cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4895e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4905e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4915e83d430SRalf Baechle
492ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
493ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4945e83d430SRalf Baechle	depends on EXPERIMENTAL
4955e83d430SRalf Baechle	select BOOT_ELF32
4965e83d430SRalf Baechle	select DMA_COHERENT
4975e83d430SRalf Baechle	select SIBYTE_BCM1120
4985e83d430SRalf Baechle	select SWAP_IO_SPACE
4997cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5005e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5015e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5025e83d430SRalf Baechle
5035e83d430SRalf Baechleconfig SIBYTE_CRHONE
5043fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
5055e83d430SRalf Baechle	depends on EXPERIMENTAL
5065e83d430SRalf Baechle	select BOOT_ELF32
5075e83d430SRalf Baechle	select DMA_COHERENT
5085e83d430SRalf Baechle	select SIBYTE_BCM1125
5095e83d430SRalf Baechle	select SWAP_IO_SPACE
5107cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
5115e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5125e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5135e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5145e83d430SRalf Baechle
515ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
516ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
517ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
518ade299d8SYoichi Yuasa	select BOOT_ELF32
519ade299d8SYoichi Yuasa	select DMA_COHERENT
520ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
521ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
522ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
523ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
524ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
525ade299d8SYoichi Yuasa
526ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
527ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
528ade299d8SYoichi Yuasa	select BOOT_ELF32
529ade299d8SYoichi Yuasa	select DMA_COHERENT
530ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
531ade299d8SYoichi Yuasa	select SIBYTE_SB1250
532ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
533ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
534ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
535ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
536ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
537cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
538ade299d8SYoichi Yuasa
539ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
540ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
541ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
542ade299d8SYoichi Yuasa	select BOOT_ELF32
543ade299d8SYoichi Yuasa	select DMA_COHERENT
544ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
545ade299d8SYoichi Yuasa	select SIBYTE_SB1250
546ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
547ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
548ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
549ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
550ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
551ade299d8SYoichi Yuasa
552ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
553ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
554ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
555ade299d8SYoichi Yuasa	select BOOT_ELF32
556ade299d8SYoichi Yuasa	select DMA_COHERENT
557ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
558ade299d8SYoichi Yuasa	select SIBYTE_SB1250
559ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
560ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
561ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
562ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
563ade299d8SYoichi Yuasa
564ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
565ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
566ade299d8SYoichi Yuasa	select BOOT_ELF32
567ade299d8SYoichi Yuasa	select DMA_COHERENT
568ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
569ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
570ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
571ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
572ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
573651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
574ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
575cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
576ade299d8SYoichi Yuasa
57714b36af4SThomas Bogendoerferconfig SNI_RM
57814b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5794a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5804a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
581231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5825e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5835e83d430SRalf Baechle	select BOOT_ELF32
58442f77542SRalf Baechle	select CEVT_R4K
585940f6b48SRalf Baechle	select CSRC_R4K
586e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5875e83d430SRalf Baechle	select DMA_NONCOHERENT
5885e83d430SRalf Baechle	select GENERIC_ISA_DMA
5895e83d430SRalf Baechle	select HW_HAS_EISA
5905e83d430SRalf Baechle	select HW_HAS_PCI
591c066a32aSThomas Bogendoerfer	select IRQ_CPU
592d865bea4SRalf Baechle	select I8253
5935e83d430SRalf Baechle	select I8259
5945e83d430SRalf Baechle	select ISA
5954a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5967cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5974a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
598c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5994a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
60036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
601ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
6025e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
6034a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
6045e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
6055e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
6061da177e4SLinus Torvalds	help
60714b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
60814b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
6095e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
6105e83d430SRalf Baechle	  support this machine type.
6111da177e4SLinus Torvalds
612edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
613edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
6145e83d430SRalf Baechle
615edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
616edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
61723fbee9dSRalf Baechle
61873b4390fSRalf Baechleconfig MIKROTIK_RB532
61973b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
62073b4390fSRalf Baechle	select CEVT_R4K
62173b4390fSRalf Baechle	select CSRC_R4K
62273b4390fSRalf Baechle	select DMA_NONCOHERENT
62373b4390fSRalf Baechle	select HW_HAS_PCI
62473b4390fSRalf Baechle	select IRQ_CPU
62573b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
62673b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
62773b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
62873b4390fSRalf Baechle	select SWAP_IO_SPACE
62973b4390fSRalf Baechle	select BOOT_RAW
630d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
63173b4390fSRalf Baechle	help
63273b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
63373b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
63473b4390fSRalf Baechle
635ade299d8SYoichi Yuasaconfig WR_PPMC
636ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
63742f77542SRalf Baechle	select CEVT_R4K
638940f6b48SRalf Baechle	select CSRC_R4K
639ade299d8SYoichi Yuasa	select IRQ_CPU
640ade299d8SYoichi Yuasa	select BOOT_ELF32
641ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
642ade299d8SYoichi Yuasa	select HW_HAS_PCI
643ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
644ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
645ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
646ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
647ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
648ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
649ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
650ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
651ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
652ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
653ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
654ade299d8SYoichi Yuasa	help
655ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
656ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
657ade299d8SYoichi Yuasa
658a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_SIMULATOR
659c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon Simulator"
660a86c7f72SDavid Daney	select CEVT_R4K
661a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
662a86c7f72SDavid Daney	select DMA_COHERENT
663a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
664a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
665a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
666773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
6675e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
668a86c7f72SDavid Daney	help
669a86c7f72SDavid Daney	  The Octeon simulator is software performance model of the Cavium
670a86c7f72SDavid Daney	  Octeon Processor. It supports simulating Octeon processors on x86
671a86c7f72SDavid Daney	  hardware.
672a86c7f72SDavid Daney
673a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_REFERENCE_BOARD
674c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon reference board"
675a86c7f72SDavid Daney	select CEVT_R4K
676a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
677a86c7f72SDavid Daney	select DMA_COHERENT
678a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
679a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
680a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
681773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
682a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
6835e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
684a86c7f72SDavid Daney	select SWAP_IO_SPACE
685e8635b48SDavid Daney	select HW_HAS_PCI
686e8635b48SDavid Daney	select ARCH_SUPPORTS_MSI
687a86c7f72SDavid Daney	help
688a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
689a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
690a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
691a86c7f72SDavid Daney	  Some of the supported boards are:
692a86c7f72SDavid Daney		EBT3000
693a86c7f72SDavid Daney		EBH3000
694a86c7f72SDavid Daney		EBH3100
695a86c7f72SDavid Daney		Thunder
696a86c7f72SDavid Daney		Kodama
697a86c7f72SDavid Daney		Hikari
698a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
699a86c7f72SDavid Daney
7001da177e4SLinus Torvaldsendchoice
7011da177e4SLinus Torvalds
702e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
7039c746edbSYoichi Yuasasource "arch/mips/basler/excite/Kconfig"
704e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig"
7055e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
7061f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
7075e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
708a3a0f8c8SDavid VomLehnsource "arch/mips/powertv/Kconfig"
70929c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
71038b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
71122b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
7125e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
713a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
71485749d24SWu Zhangjinsource "arch/mips/loongson/Kconfig"
71538b18f72SRalf Baechle
7165e83d430SRalf Baechleendmenu
7175e83d430SRalf Baechle
7181da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
7191da177e4SLinus Torvalds	bool
7201da177e4SLinus Torvalds	default y
7211da177e4SLinus Torvalds
7221da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
7231da177e4SLinus Torvalds	bool
7241da177e4SLinus Torvalds
725f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
726f0d1b0b3SDavid Howells	bool
727f0d1b0b3SDavid Howells	default n
728f0d1b0b3SDavid Howells
729f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
730f0d1b0b3SDavid Howells	bool
731f0d1b0b3SDavid Howells	default n
732f0d1b0b3SDavid Howells
73300a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
73400a58253SRalf Baechle	bool
73500a58253SRalf Baechle	default y if !MIPS_MT_SMTC
73600a58253SRalf Baechle
7373c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7383c9ee7efSAkinobu Mita	bool
7393c9ee7efSAkinobu Mita	default y
7403c9ee7efSAkinobu Mita
7413c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7423c9ee7efSAkinobu Mita	bool
7433c9ee7efSAkinobu Mita	default y
7443c9ee7efSAkinobu Mita
7451da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7461da177e4SLinus Torvalds	bool
7471da177e4SLinus Torvalds	default y
7481da177e4SLinus Torvalds
7497bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7507bcf7717SRalf Baechle	bool
7517bcf7717SRalf Baechle	default y
7527bcf7717SRalf Baechle
7538db02010SRalf Baechleconfig GENERIC_TIME
7548db02010SRalf Baechle	bool
7558db02010SRalf Baechle	default y
7568db02010SRalf Baechle
757f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
758f5ff0a28SRalf Baechle	bool
759f5ff0a28SRalf Baechle	default y
760f5ff0a28SRalf Baechle
761ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
7621cc89038SAtsushi Nemoto	bool
7631cc89038SAtsushi Nemoto	default y
7641cc89038SAtsushi Nemoto
765e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
766c87e0909SRalf Baechle	def_bool y
767e77c232cSFranck Bui-Huu
7681da177e4SLinus Torvalds#
7691da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7701da177e4SLinus Torvalds#
7711da177e4SLinus Torvaldsconfig ARC
7721da177e4SLinus Torvalds	bool
7731da177e4SLinus Torvalds
77461ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
77561ed242dSRalf Baechle	bool
77661ed242dSRalf Baechle
7779267a30dSMarc St-Jeanconfig BOOT_RAW
7789267a30dSMarc St-Jean	bool
7799267a30dSMarc St-Jean
780217dd11eSRalf Baechleconfig CEVT_BCM1480
781217dd11eSRalf Baechle	bool
782217dd11eSRalf Baechle
7836457d9fcSYoichi Yuasaconfig CEVT_DS1287
7846457d9fcSYoichi Yuasa	bool
7856457d9fcSYoichi Yuasa
7861097c6acSYoichi Yuasaconfig CEVT_GT641XX
7871097c6acSYoichi Yuasa	bool
7881097c6acSYoichi Yuasa
789779e7d41SManuel Laussconfig CEVT_R4K_LIB
790779e7d41SManuel Lauss	bool
791779e7d41SManuel Lauss
79242f77542SRalf Baechleconfig CEVT_R4K
793779e7d41SManuel Lauss	select CEVT_R4K_LIB
79442f77542SRalf Baechle	bool
79542f77542SRalf Baechle
796217dd11eSRalf Baechleconfig CEVT_SB1250
797217dd11eSRalf Baechle	bool
798217dd11eSRalf Baechle
799229f773eSAtsushi Nemotoconfig CEVT_TXX9
800229f773eSAtsushi Nemoto	bool
801229f773eSAtsushi Nemoto
802217dd11eSRalf Baechleconfig CSRC_BCM1480
803217dd11eSRalf Baechle	bool
804217dd11eSRalf Baechle
8054247417dSYoichi Yuasaconfig CSRC_IOASIC
8064247417dSYoichi Yuasa	bool
8074247417dSYoichi Yuasa
808a3a0f8c8SDavid VomLehnconfig CSRC_POWERTV
809a3a0f8c8SDavid VomLehn	bool
810a3a0f8c8SDavid VomLehn
811779e7d41SManuel Laussconfig CSRC_R4K_LIB
812779e7d41SManuel Lauss	bool
813779e7d41SManuel Lauss
814940f6b48SRalf Baechleconfig CSRC_R4K
815779e7d41SManuel Lauss	select CSRC_R4K_LIB
816940f6b48SRalf Baechle	bool
817940f6b48SRalf Baechle
818217dd11eSRalf Baechleconfig CSRC_SB1250
819217dd11eSRalf Baechle	bool
820217dd11eSRalf Baechle
821a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
822a9aec7feSAtsushi Nemoto	select GENERIC_GPIO
8237444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
824a9aec7feSAtsushi Nemoto	bool
825a9aec7feSAtsushi Nemoto
826df78b5c8SAurelien Jarnoconfig CFE
827df78b5c8SAurelien Jarno	bool
828df78b5c8SAurelien Jarno
8291da177e4SLinus Torvaldsconfig DMA_COHERENT
8301da177e4SLinus Torvalds	bool
8311da177e4SLinus Torvalds
8321da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
8331da177e4SLinus Torvalds	bool
8344ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
8354ce588cdSRalf Baechle
8364ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
8374ce588cdSRalf Baechle	bool
8381da177e4SLinus Torvalds
8391da177e4SLinus Torvaldsconfig EARLY_PRINTK
84036a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
84136a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
84236a88530SRalf Baechle	default y
84336a88530SRalf Baechle	help
84436a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
84536a88530SRalf Baechle	  to print messages very early in the bootup process.
84636a88530SRalf Baechle
84736a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
848490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
849490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
850490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
85136a88530SRalf Baechle	  unless you want to debug such a crash.
85236a88530SRalf Baechle
85336a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
8541da177e4SLinus Torvalds	bool
8551da177e4SLinus Torvalds
856dbb74540SRalf Baechleconfig HOTPLUG_CPU
8571b2bc75cSRalf Baechle	bool "Support for hot-pluggable CPUs"
8581b2bc75cSRalf Baechle	depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
8591b2bc75cSRalf Baechle	help
8601b2bc75cSRalf Baechle	  Say Y here to allow turning CPUs off and on. CPUs can be
8611b2bc75cSRalf Baechle	  controlled through /sys/devices/system/cpu.
8621b2bc75cSRalf Baechle	  (Note: power management support will enable this option
8631b2bc75cSRalf Baechle	    automatically on SMP systems. )
8641b2bc75cSRalf Baechle	  Say N if you want to disable CPU hotplug.
8651b2bc75cSRalf Baechle
8661b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU
867dbb74540SRalf Baechle	bool
868dbb74540SRalf Baechle
8691da177e4SLinus Torvaldsconfig I8259
8701da177e4SLinus Torvalds	bool
8711da177e4SLinus Torvalds
8721da177e4SLinus Torvaldsconfig MIPS_BONITO64
8731da177e4SLinus Torvalds	bool
8741da177e4SLinus Torvalds
8751da177e4SLinus Torvaldsconfig MIPS_MSC
8761da177e4SLinus Torvalds	bool
8771da177e4SLinus Torvalds
8781f21d2bdSBrian Murphyconfig MIPS_NILE4
8791f21d2bdSBrian Murphy	bool
8801f21d2bdSBrian Murphy
8811da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8821da177e4SLinus Torvalds	bool
8831da177e4SLinus Torvalds
88439b8d525SRalf Baechleconfig SYNC_R4K
88539b8d525SRalf Baechle	bool
88639b8d525SRalf Baechle
887d388d685SMaciej W. Rozyckiconfig NO_IOPORT
888d388d685SMaciej W. Rozycki	def_bool n
889d388d685SMaciej W. Rozycki
8908313da30SRalf Baechleconfig GENERIC_ISA_DMA
8918313da30SRalf Baechle	bool
8928313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
8938313da30SRalf Baechle
894aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
895aa414dffSRalf Baechle	bool
8968313da30SRalf Baechle	select GENERIC_ISA_DMA
897aa414dffSRalf Baechle
89809663335SYoichi Yuasaconfig GENERIC_GPIO
89909663335SYoichi Yuasa	bool
90009663335SYoichi Yuasa
9015e83d430SRalf Baechle#
9023cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
9035e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
9045e83d430SRalf Baechle# choice statement should be more obvious to the user.
9055e83d430SRalf Baechle#
9065e83d430SRalf Baechlechoice
9075e83d430SRalf Baechle	prompt "Endianess selection"
9081da177e4SLinus Torvalds	help
9091da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
9105e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
9113cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
9125e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
9133dde6ad8SDavid Sterba	  one or the other endianness.
9145e83d430SRalf Baechle
9155e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
9165e83d430SRalf Baechle	bool "Big endian"
9175e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
9185e83d430SRalf Baechle
9195e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
9205e83d430SRalf Baechle	bool "Little endian"
9215e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
9225e83d430SRalf Baechle	help
9235e83d430SRalf Baechle
9245e83d430SRalf Baechleendchoice
9255e83d430SRalf Baechle
9262116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
9272116245eSRalf Baechle	bool
9282116245eSRalf Baechle
9295e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
9305e83d430SRalf Baechle	bool
9315e83d430SRalf Baechle
9325e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
9335e83d430SRalf Baechle	bool
9341da177e4SLinus Torvalds
9359cffd154SDavid Daneyconfig SYS_SUPPORTS_HUGETLBFS
9369cffd154SDavid Daney	bool
9379cffd154SDavid Daney	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
9389cffd154SDavid Daney	default y
9399cffd154SDavid Daney
9401da177e4SLinus Torvaldsconfig IRQ_CPU
9411da177e4SLinus Torvalds	bool
9421da177e4SLinus Torvalds
9431da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
9441da177e4SLinus Torvalds	bool
9451da177e4SLinus Torvalds
9465e83d430SRalf Baechleconfig IRQ_CPU_RM9K
9475e83d430SRalf Baechle	bool
9485e83d430SRalf Baechle
9499267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
9509267a30dSMarc St-Jean	bool
9519267a30dSMarc St-Jean
9529267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
9539267a30dSMarc St-Jean	bool
9549267a30dSMarc St-Jean
9558420fd00SAtsushi Nemotoconfig IRQ_TXX9
9568420fd00SAtsushi Nemoto	bool
9578420fd00SAtsushi Nemoto
958d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
959d5ab1a69SYoichi Yuasa	bool
960d5ab1a69SYoichi Yuasa
96139b8d525SRalf Baechleconfig IRQ_GIC
96239b8d525SRalf Baechle	bool
96339b8d525SRalf Baechle
964a86c7f72SDavid Daneyconfig IRQ_CPU_OCTEON
965a86c7f72SDavid Daney	bool
966a86c7f72SDavid Daney
9671da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
9681da177e4SLinus Torvalds	bool
9691da177e4SLinus Torvalds
970252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
9711da177e4SLinus Torvalds	bool
9721da177e4SLinus Torvalds
9739267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
9749267a30dSMarc St-Jean	bool
9759267a30dSMarc St-Jean
976663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
977663c3d90Sthomas@koeller.dyndns.org	bool
978663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
979663c3d90Sthomas@koeller.dyndns.org
980a83860c2SRalf Baechleconfig SOC_EMMA2RH
981a83860c2SRalf Baechle	bool
982a83860c2SRalf Baechle	select CEVT_R4K
983a83860c2SRalf Baechle	select CSRC_R4K
984a83860c2SRalf Baechle	select DMA_NONCOHERENT
985a83860c2SRalf Baechle	select IRQ_CPU
986a83860c2SRalf Baechle	select SWAP_IO_SPACE
987a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
988a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
989a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
990a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
991a83860c2SRalf Baechle
992edb6310aSDaniel Lairdconfig SOC_PNX833X
993edb6310aSDaniel Laird	bool
994edb6310aSDaniel Laird	select CEVT_R4K
995edb6310aSDaniel Laird	select CSRC_R4K
996edb6310aSDaniel Laird	select IRQ_CPU
997edb6310aSDaniel Laird	select DMA_NONCOHERENT
998edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
999edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
1000edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
1001edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
1002edb6310aSDaniel Laird	select GENERIC_GPIO
1003edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
1004edb6310aSDaniel Laird
1005edb6310aSDaniel Lairdconfig SOC_PNX8335
1006edb6310aSDaniel Laird	bool
1007edb6310aSDaniel Laird	select SOC_PNX833X
1008edb6310aSDaniel Laird
1009bdf21b18SPete Popovconfig PNX8550
1010bdf21b18SPete Popov	bool
1011bdf21b18SPete Popov	select SOC_PNX8550
1012bdf21b18SPete Popov
1013bdf21b18SPete Popovconfig SOC_PNX8550
1014bdf21b18SPete Popov	bool
1015bdf21b18SPete Popov	select DMA_NONCOHERENT
1016bdf21b18SPete Popov	select HW_HAS_PCI
1017b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
101836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
10197cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
10204ead1681SFlorian Fainelli	select GENERIC_GPIO
1021bdf21b18SPete Popov
10221da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
10231da177e4SLinus Torvalds	bool
10241da177e4SLinus Torvalds
1025663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
1026663c3d90Sthomas@koeller.dyndns.org	bool
1027663c3d90Sthomas@koeller.dyndns.org
1028e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
1029e2defae5SThomas Bogendoerfer	bool
1030e2defae5SThomas Bogendoerfer
10315b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
10325b438c44SThomas Bogendoerfer	bool
10335b438c44SThomas Bogendoerfer
1034e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
1035e2defae5SThomas Bogendoerfer	bool
1036e2defae5SThomas Bogendoerfer
1037e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
1038e2defae5SThomas Bogendoerfer	bool
1039e2defae5SThomas Bogendoerfer
1040e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
1041e2defae5SThomas Bogendoerfer	bool
1042e2defae5SThomas Bogendoerfer
1043e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1044e2defae5SThomas Bogendoerfer	bool
1045e2defae5SThomas Bogendoerfer
1046e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1047e2defae5SThomas Bogendoerfer	bool
1048e2defae5SThomas Bogendoerfer
10495e83d430SRalf Baechleconfig ARC32
10505e83d430SRalf Baechle	bool
10515e83d430SRalf Baechle
1052231a35d3SThomas Bogendoerferconfig SNIPROM
1053231a35d3SThomas Bogendoerfer	bool
1054231a35d3SThomas Bogendoerfer
10551da177e4SLinus Torvaldsconfig BOOT_ELF32
10561da177e4SLinus Torvalds	bool
10571da177e4SLinus Torvalds
10581da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
10591da177e4SLinus Torvalds	int
1060c7088755SRalf Baechle	default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
10610db2b74eSRalf Baechle	default "6" if MIPS_CPU_SCACHE
1062a86c7f72SDavid Daney	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
10631da177e4SLinus Torvalds	default "5"
10641da177e4SLinus Torvalds
10651da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
10661da177e4SLinus Torvalds	bool
10671da177e4SLinus Torvalds
10681da177e4SLinus Torvaldsconfig ARC_CONSOLE
10691da177e4SLinus Torvalds	bool "ARC console support"
1070e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
10711da177e4SLinus Torvalds
10721da177e4SLinus Torvaldsconfig ARC_MEMORY
10731da177e4SLinus Torvalds	bool
107414b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
10751da177e4SLinus Torvalds	default y
10761da177e4SLinus Torvalds
10771da177e4SLinus Torvaldsconfig ARC_PROMLIB
10781da177e4SLinus Torvalds	bool
1079e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
10801da177e4SLinus Torvalds	default y
10811da177e4SLinus Torvalds
10821da177e4SLinus Torvaldsconfig ARC64
10831da177e4SLinus Torvalds	bool
10841da177e4SLinus Torvalds
10851da177e4SLinus Torvaldsconfig BOOT_ELF64
10861da177e4SLinus Torvalds	bool
10871da177e4SLinus Torvalds
10881da177e4SLinus Torvaldsmenu "CPU selection"
10891da177e4SLinus Torvalds
10901da177e4SLinus Torvaldschoice
10911da177e4SLinus Torvalds	prompt "CPU type"
10921da177e4SLinus Torvalds	default CPU_R4X00
10931da177e4SLinus Torvalds
10943702bba5SWu Zhangjinconfig CPU_LOONGSON2E
10953702bba5SWu Zhangjin	bool "Loongson 2E"
10963702bba5SWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2E
10973702bba5SWu Zhangjin	select CPU_LOONGSON2
10982a21c730SFuxin Zhang	help
10992a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
11002a21c730SFuxin Zhang	  with many extensions.
11012a21c730SFuxin Zhang
11026f7a251aSWu Zhangjin	  It has an internal FPGA northbridge, which is compatiable to
11036f7a251aSWu Zhangjin	  bonito64.
11046f7a251aSWu Zhangjin
11056f7a251aSWu Zhangjinconfig CPU_LOONGSON2F
11066f7a251aSWu Zhangjin	bool "Loongson 2F"
11076f7a251aSWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2F
11086f7a251aSWu Zhangjin	select CPU_LOONGSON2
11096f7a251aSWu Zhangjin	help
11106f7a251aSWu Zhangjin	  The Loongson 2F processor implements the MIPS III instruction set
11116f7a251aSWu Zhangjin	  with many extensions.
11126f7a251aSWu Zhangjin
11136f7a251aSWu Zhangjin	  Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
11146f7a251aSWu Zhangjin	  have a similar programming interface with FPGA northbridge used in
11156f7a251aSWu Zhangjin	  Loongson2E.
11166f7a251aSWu Zhangjin
11176e760c8dSRalf Baechleconfig CPU_MIPS32_R1
11186e760c8dSRalf Baechle	bool "MIPS32 Release 1"
11197cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
11206e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1121797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1122ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11236e760c8dSRalf Baechle	help
11245e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11251e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11261e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11271e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11281e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11291e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
11301e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
11311e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
11321e5f1caaSRalf Baechle	  performance.
11331e5f1caaSRalf Baechle
11341e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
11351e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
11367cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
11371e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1138797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1139ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11401e5f1caaSRalf Baechle	help
11415e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11426e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11436e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11446e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11456e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11461da177e4SLinus Torvalds
11476e760c8dSRalf Baechleconfig CPU_MIPS64_R1
11486e760c8dSRalf Baechle	bool "MIPS64 Release 1"
11497cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1150797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1151ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1152ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1153ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11549cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11556e760c8dSRalf Baechle	help
11566e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11576e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11586e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11596e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11606e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11611e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
11621e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
11631e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
11641e5f1caaSRalf Baechle	  performance.
11651e5f1caaSRalf Baechle
11661e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
11671e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
11687cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1169797798c1SRalf Baechle	select CPU_HAS_PREFETCH
11701e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11711e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1172ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11739cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11741e5f1caaSRalf Baechle	help
11751e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11761e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11771e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11781e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11791e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11801da177e4SLinus Torvalds
11811da177e4SLinus Torvaldsconfig CPU_R3000
11821da177e4SLinus Torvalds	bool "R3000"
11837cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1184f7062ddbSRalf Baechle	select CPU_HAS_WB
1185ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1186797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11871da177e4SLinus Torvalds	help
11881da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
11891da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
11901da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
11911da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
11921da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
11931da177e4SLinus Torvalds	  try to recompile with R3000.
11941da177e4SLinus Torvalds
11951da177e4SLinus Torvaldsconfig CPU_TX39XX
11961da177e4SLinus Torvalds	bool "R39XX"
11977cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1198ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11991da177e4SLinus Torvalds
12001da177e4SLinus Torvaldsconfig CPU_VR41XX
12011da177e4SLinus Torvalds	bool "R41xx"
12027cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1203ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1204ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12051da177e4SLinus Torvalds	help
12065e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
12071da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
12081da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
12091da177e4SLinus Torvalds	  processor or vice versa.
12101da177e4SLinus Torvalds
12111da177e4SLinus Torvaldsconfig CPU_R4300
12121da177e4SLinus Torvalds	bool "R4300"
12137cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1214ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1215ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12161da177e4SLinus Torvalds	help
12171da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
12181da177e4SLinus Torvalds
12191da177e4SLinus Torvaldsconfig CPU_R4X00
12201da177e4SLinus Torvalds	bool "R4x00"
12217cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1222ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1223ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12241da177e4SLinus Torvalds	help
12251da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
12261da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
12271da177e4SLinus Torvalds
12281da177e4SLinus Torvaldsconfig CPU_TX49XX
12291da177e4SLinus Torvalds	bool "R49XX"
12307cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1231de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1232ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1233ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12341da177e4SLinus Torvalds
12351da177e4SLinus Torvaldsconfig CPU_R5000
12361da177e4SLinus Torvalds	bool "R5000"
12377cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1238ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1239ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12401da177e4SLinus Torvalds	help
12411da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
12421da177e4SLinus Torvalds
12431da177e4SLinus Torvaldsconfig CPU_R5432
12441da177e4SLinus Torvalds	bool "R5432"
12457cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
12465e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
12475e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
12481da177e4SLinus Torvalds
1249542c1020SShinya Kuribayashiconfig CPU_R5500
1250542c1020SShinya Kuribayashi	bool "R5500"
1251542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1252542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1253542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
12549cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1255542c1020SShinya Kuribayashi	help
1256542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1257542c1020SShinya Kuribayashi	  instruction set.
1258542c1020SShinya Kuribayashi
12591da177e4SLinus Torvaldsconfig CPU_R6000
12601da177e4SLinus Torvalds	bool "R6000"
1261ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12627cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1263ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12641da177e4SLinus Torvalds	help
12651da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1266c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
12671da177e4SLinus Torvalds
12681da177e4SLinus Torvaldsconfig CPU_NEVADA
12691da177e4SLinus Torvalds	bool "RM52xx"
12707cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1271ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1272ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12731da177e4SLinus Torvalds	help
12741da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
12751da177e4SLinus Torvalds
12761da177e4SLinus Torvaldsconfig CPU_R8000
12771da177e4SLinus Torvalds	bool "R8000"
1278ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12797cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
12805e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1281ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12821da177e4SLinus Torvalds	help
12831da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
12841da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
12851da177e4SLinus Torvalds
12861da177e4SLinus Torvaldsconfig CPU_R10000
12871da177e4SLinus Torvalds	bool "R10000"
12887cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
12895e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1290ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1291ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1292797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12931da177e4SLinus Torvalds	help
12941da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
12951da177e4SLinus Torvalds
12961da177e4SLinus Torvaldsconfig CPU_RM7000
12971da177e4SLinus Torvalds	bool "RM7000"
12987cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
12995e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1300ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1301ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1302797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13031da177e4SLinus Torvalds
13041da177e4SLinus Torvaldsconfig CPU_RM9000
13051da177e4SLinus Torvalds	bool "RM9000"
13067cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
13075e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1308ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1309ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1310797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13110004a9dfSRalf Baechle	select WEAK_ORDERING
13121da177e4SLinus Torvalds
13131da177e4SLinus Torvaldsconfig CPU_SB1
13141da177e4SLinus Torvalds	bool "SB1"
13157cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1316ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1317ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1318797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
13190004a9dfSRalf Baechle	select WEAK_ORDERING
13201da177e4SLinus Torvalds
1321a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1322a86c7f72SDavid Daney	bool "Cavium Octeon processor"
13235e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1324a86c7f72SDavid Daney	select IRQ_CPU
1325a86c7f72SDavid Daney	select IRQ_CPU_OCTEON
1326a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1327a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1328a86c7f72SDavid Daney	select SYS_SUPPORTS_SMP
1329a86c7f72SDavid Daney	select NR_CPUS_DEFAULT_16
1330a86c7f72SDavid Daney	select WEAK_ORDERING
1331a86c7f72SDavid Daney	select WEAK_REORDERING_BEYOND_LLSC
1332a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
13339cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1334a86c7f72SDavid Daney	help
1335a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1336a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1337a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1338a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1339a86c7f72SDavid Daney
13401da177e4SLinus Torvaldsendchoice
13411da177e4SLinus Torvalds
13421b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT
13431b93b3c3SWu Zhangjin	bool
13441b93b3c3SWu Zhangjin	select HAVE_KERNEL_GZIP
13451b93b3c3SWu Zhangjin	select HAVE_KERNEL_BZIP2
13461b93b3c3SWu Zhangjin	select HAVE_KERNEL_LZMA
13471b93b3c3SWu Zhangjin
13481b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550
13491b93b3c3SWu Zhangjin	bool
13501b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
13511b93b3c3SWu Zhangjin
13523702bba5SWu Zhangjinconfig CPU_LOONGSON2
13533702bba5SWu Zhangjin	bool
13543702bba5SWu Zhangjin	select CPU_SUPPORTS_32BIT_KERNEL
13553702bba5SWu Zhangjin	select CPU_SUPPORTS_64BIT_KERNEL
13563702bba5SWu Zhangjin	select CPU_SUPPORTS_HIGHMEM
13573702bba5SWu Zhangjin
13583702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E
13592a21c730SFuxin Zhang	bool
13602a21c730SFuxin Zhang
13616f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F
13626f7a251aSWu Zhangjin	bool
136355045ff5SWu Zhangjin	select CPU_SUPPORTS_CPUFREQ
136455045ff5SWu Zhangjin	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
136522f1fdfdSWu Zhangjin	select CPU_SUPPORTS_UNCACHED_ACCELERATED
13666f7a251aSWu Zhangjin
13677cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
13687cf8053bSRalf Baechle	bool
13697cf8053bSRalf Baechle
13707cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
13717cf8053bSRalf Baechle	bool
13727cf8053bSRalf Baechle
13737cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
13747cf8053bSRalf Baechle	bool
13757cf8053bSRalf Baechle
13767cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
13777cf8053bSRalf Baechle	bool
13787cf8053bSRalf Baechle
13797cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
13807cf8053bSRalf Baechle	bool
13817cf8053bSRalf Baechle
13827cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
13837cf8053bSRalf Baechle	bool
13847cf8053bSRalf Baechle
13857cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
13867cf8053bSRalf Baechle	bool
13877cf8053bSRalf Baechle
13887cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
13897cf8053bSRalf Baechle	bool
13907cf8053bSRalf Baechle
13917cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
13927cf8053bSRalf Baechle	bool
13937cf8053bSRalf Baechle
13947cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
13957cf8053bSRalf Baechle	bool
13967cf8053bSRalf Baechle
13977cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
13987cf8053bSRalf Baechle	bool
13997cf8053bSRalf Baechle
14007cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
14017cf8053bSRalf Baechle	bool
14027cf8053bSRalf Baechle
1403542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1404542c1020SShinya Kuribayashi	bool
1405542c1020SShinya Kuribayashi
14067cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
14077cf8053bSRalf Baechle	bool
14087cf8053bSRalf Baechle
14097cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
14107cf8053bSRalf Baechle	bool
14117cf8053bSRalf Baechle
14127cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
14137cf8053bSRalf Baechle	bool
14147cf8053bSRalf Baechle
14157cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
14167cf8053bSRalf Baechle	bool
14177cf8053bSRalf Baechle
14187cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
14197cf8053bSRalf Baechle	bool
14207cf8053bSRalf Baechle
14217cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
14227cf8053bSRalf Baechle	bool
14237cf8053bSRalf Baechle
14247cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
14257cf8053bSRalf Baechle	bool
14267cf8053bSRalf Baechle
14275e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
14285e683389SDavid Daney	bool
14295e683389SDavid Daney
143017099b11SRalf Baechle#
143117099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
143217099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
143317099b11SRalf Baechle#
14340004a9dfSRalf Baechleconfig WEAK_ORDERING
14350004a9dfSRalf Baechle	bool
143617099b11SRalf Baechle
143717099b11SRalf Baechle#
143817099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
143917099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
144017099b11SRalf Baechle#
144117099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
144217099b11SRalf Baechle	bool
14435e83d430SRalf Baechleendmenu
14445e83d430SRalf Baechle
14455e83d430SRalf Baechle#
14465e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
14475e83d430SRalf Baechle#
14485e83d430SRalf Baechleconfig CPU_MIPS32
14495e83d430SRalf Baechle	bool
14505e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
14515e83d430SRalf Baechle
14525e83d430SRalf Baechleconfig CPU_MIPS64
14535e83d430SRalf Baechle	bool
14545e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
14555e83d430SRalf Baechle
14565e83d430SRalf Baechle#
1457c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
14585e83d430SRalf Baechle#
14595e83d430SRalf Baechleconfig CPU_MIPSR1
14605e83d430SRalf Baechle	bool
14615e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
14625e83d430SRalf Baechle
14635e83d430SRalf Baechleconfig CPU_MIPSR2
14645e83d430SRalf Baechle	bool
1465a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
14665e83d430SRalf Baechle
14675e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
14685e83d430SRalf Baechle	bool
14695e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
14705e83d430SRalf Baechle	bool
14715e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
14725e83d430SRalf Baechle	bool
14735e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
14745e83d430SRalf Baechle	bool
147555045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ
147655045ff5SWu Zhangjin	bool
147755045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG
147855045ff5SWu Zhangjin	bool
14799cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES
14809cffd154SDavid Daney	bool
148122f1fdfdSWu Zhangjinconfig CPU_SUPPORTS_UNCACHED_ACCELERATED
148222f1fdfdSWu Zhangjin	bool
148382622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT
148482622284SDavid Daney	bool
148582622284SDavid Daney	default y if 64BIT && CPU_MIPSR2
14865e83d430SRalf Baechle
14878192c9eaSDavid Daney#
14888192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
14898192c9eaSDavid Daney#
14908192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
14918192c9eaSDavid Daney       bool
1492f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
14938192c9eaSDavid Daney
14945e83d430SRalf Baechlemenu "Kernel type"
14955e83d430SRalf Baechle
14965e83d430SRalf Baechlechoice
14975e83d430SRalf Baechle
14985e83d430SRalf Baechle	prompt "Kernel code model"
14995e83d430SRalf Baechle	help
15005e83d430SRalf Baechle	  You should only select this option if you have a workload that
15015e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
15025e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
15035e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
15045e83d430SRalf Baechle
15055e83d430SRalf Baechleconfig 32BIT
15065e83d430SRalf Baechle	bool "32-bit kernel"
15075e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
15085e83d430SRalf Baechle	select TRAD_SIGNALS
15095e83d430SRalf Baechle	help
15105e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
15115e83d430SRalf Baechleconfig 64BIT
15125e83d430SRalf Baechle	bool "64-bit kernel"
15135e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1514dbda6ac0SRalf Baechle	select HAVE_SYSCALL_WRAPPERS
15155e83d430SRalf Baechle	help
15165e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
15175e83d430SRalf Baechle
15185e83d430SRalf Baechleendchoice
15195e83d430SRalf Baechle
15201da177e4SLinus Torvaldschoice
15211da177e4SLinus Torvalds	prompt "Kernel page size"
15221da177e4SLinus Torvalds	default PAGE_SIZE_4KB
15231da177e4SLinus Torvalds
15241da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
15251da177e4SLinus Torvalds	bool "4kB"
1526315fe625SWu Zhangjin	depends on !CPU_LOONGSON2
15271da177e4SLinus Torvalds	help
15281da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
15291da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
15301da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
15311da177e4SLinus Torvalds	 recommended for low memory systems.
15321da177e4SLinus Torvalds
15331da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
15341da177e4SLinus Torvalds	bool "8kB"
1535c52399beSRalf Baechle	depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
15361da177e4SLinus Torvalds	help
15371da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
15381da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
1539c52399beSRalf Baechle	  only on R8000 and cnMIPS processors.  Note that you will need a
1540c52399beSRalf Baechle	  suitable Linux distribution to support this.
15411da177e4SLinus Torvalds
15421da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
15431da177e4SLinus Torvalds	bool "16kB"
1544714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
15451da177e4SLinus Torvalds	help
15461da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
15471da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1548714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1549714bfad6SRalf Baechle	  Linux distribution to support this.
15501da177e4SLinus Torvalds
1551c52399beSRalf Baechleconfig PAGE_SIZE_32KB
1552c52399beSRalf Baechle	bool "32kB"
1553c52399beSRalf Baechle	depends on CPU_CAVIUM_OCTEON
1554c52399beSRalf Baechle	help
1555c52399beSRalf Baechle	  Using 32kB page size will result in higher performance kernel at
1556c52399beSRalf Baechle	  the price of higher memory consumption.  This option is available
1557c52399beSRalf Baechle	  only on cnMIPS cores.  Note that you will need a suitable Linux
1558c52399beSRalf Baechle	  distribution to support this.
1559c52399beSRalf Baechle
15601da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
15611da177e4SLinus Torvalds	bool "64kB"
15621da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
15631da177e4SLinus Torvalds	help
15641da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
15651da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
15661da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1567714bfad6SRalf Baechle	  writing this option is still high experimental.
15681da177e4SLinus Torvalds
15691da177e4SLinus Torvaldsendchoice
15701da177e4SLinus Torvalds
15711da177e4SLinus Torvaldsconfig BOARD_SCACHE
15721da177e4SLinus Torvalds	bool
15731da177e4SLinus Torvalds
15741da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
15751da177e4SLinus Torvalds	bool
15761da177e4SLinus Torvalds	select BOARD_SCACHE
15771da177e4SLinus Torvalds
15789318c51aSChris Dearman#
15799318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
15809318c51aSChris Dearman#
15819318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
15829318c51aSChris Dearman	bool
15839318c51aSChris Dearman	select BOARD_SCACHE
15849318c51aSChris Dearman
15851da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
15861da177e4SLinus Torvalds	bool
15871da177e4SLinus Torvalds	select BOARD_SCACHE
15881da177e4SLinus Torvalds
15891da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
15901da177e4SLinus Torvalds	bool
15911da177e4SLinus Torvalds	select BOARD_SCACHE
15921da177e4SLinus Torvalds
15931da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
15941da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
15951da177e4SLinus Torvalds	depends on CPU_SB1
15961da177e4SLinus Torvalds	help
15971da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
15981da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
15991da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
16001da177e4SLinus Torvalds
16011da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1602c8094b53SRalf Baechle	bool
16031da177e4SLinus Torvalds
1604340ee4b9SRalf Baechlechoice
1605340ee4b9SRalf Baechle	prompt "MIPS MT options"
1606f41ae0b2SRalf Baechle
1607f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1608f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1609f41ae0b2SRalf Baechle	help
1610f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1611f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1612f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1613f41ae0b2SRalf Baechle	  option in this menu.
1614340ee4b9SRalf Baechle
161559d6ab86SRalf Baechleconfig MIPS_MT_SMP
161659d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
161759d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
161859d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1619d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
162059d6ab86SRalf Baechle	select MIPS_MT
1621f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
162259d6ab86SRalf Baechle	select SMP
16230ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
162459d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
162587353d8aSRalf Baechle	select SMP_UP
162659d6ab86SRalf Baechle	help
162759d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
162859d6ab86SRalf Baechle	  has been marketesed into SMVP.
162959d6ab86SRalf Baechle
163041c594abSRalf Baechleconfig MIPS_MT_SMTC
163141c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1632f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1633f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1634f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1635f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1636d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1637f41ae0b2SRalf Baechle	select MIPS_MT
1638130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
163941c594abSRalf Baechle	select SMP
164073b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
164187353d8aSRalf Baechle	select SMP_UP
1642f41ae0b2SRalf Baechle	help
1643f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1644f41ae0b2SRalf Baechle	  marketesed into SMVP.
164541c594abSRalf Baechle
1646340ee4b9SRalf Baechleendchoice
1647340ee4b9SRalf Baechle
1648f41ae0b2SRalf Baechleconfig MIPS_MT
1649f41ae0b2SRalf Baechle	bool
1650f41ae0b2SRalf Baechle
16510ab7aefcSRalf Baechleconfig SCHED_SMT
16520ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
16530ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
16540ab7aefcSRalf Baechle	default n
16550ab7aefcSRalf Baechle	help
16560ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
16570ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
16580ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
16590ab7aefcSRalf Baechle
16600ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
16610ab7aefcSRalf Baechle	bool
16620ab7aefcSRalf Baechle
16630ab7aefcSRalf Baechle
1664f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1665f41ae0b2SRalf Baechle	bool
1666f41ae0b2SRalf Baechle
1667f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1668f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1669f088fc84SRalf Baechle	default y
167007cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
167107cc0c9eSRalf Baechle
167207cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
167307cc0c9eSRalf Baechle	bool "VPE loader support."
167407cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
167507cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
167607cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
167707cc0c9eSRalf Baechle	select MIPS_MT
167807cc0c9eSRalf Baechle	help
167907cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
168007cc0c9eSRalf Baechle	  onto another VPE and running it.
1681f088fc84SRalf Baechle
16820db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
16830db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
16840db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
16858531a35eSKevin D. Kissell	default n
16860db34215SKevin D. Kissell	help
16870db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
16880db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
16890db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
16900db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
16910db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
16928531a35eSKevin D. Kissell	  impact on interrupt service overhead.
16930db34215SKevin D. Kissell
1694f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1695f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1696f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1697f571eff0SKevin D. Kissell	default n
1698f571eff0SKevin D. Kissell	help
1699f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1700f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1701f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
17028531a35eSKevin D. Kissell	  platform code.  Adds some overhead to interrupt dispatch, and
17038531a35eSKevin D. Kissell	  should be used only if you know what you are doing.
1704f571eff0SKevin D. Kissell
1705e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1706e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1707e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1708e01402b1SRalf Baechle	default y
1709e01402b1SRalf Baechle	help
1710e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1711e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1712e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1713e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1714e01402b1SRalf Baechle
1715e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1716e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1717e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1718e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
17195e83d430SRalf Baechle	help
1720e01402b1SRalf Baechle
17212600990eSRalf Baechleconfig MIPS_APSP_KSPD
17222600990eSRalf Baechle	bool "Enable KSPD"
17232600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
17242600990eSRalf Baechle	default y
17252600990eSRalf Baechle	help
17262600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
17272600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
17282600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
17292600990eSRalf Baechle	  exiting.  You probably want to say yes here.
17302600990eSRalf Baechle
17314a16ff4cSRalf Baechleconfig MIPS_CMP
17324a16ff4cSRalf Baechle	bool "MIPS CMP framework support"
17334a16ff4cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
1734eb9b5141STim Anderson	select SYNC_R4K
17354a16ff4cSRalf Baechle	select SYS_SUPPORTS_SMP
17364a16ff4cSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
17374a16ff4cSRalf Baechle	select WEAK_ORDERING
17384a16ff4cSRalf Baechle	default n
17394a16ff4cSRalf Baechle	help
17404a16ff4cSRalf Baechle	  This is a placeholder option for the GCMP work. It will need to
17414a16ff4cSRalf Baechle	  be handled differently...
17424a16ff4cSRalf Baechle
17431da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
17441da177e4SLinus Torvalds	bool
17451da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
17461da177e4SLinus Torvalds	default y
17471da177e4SLinus Torvalds
17481da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
17491da177e4SLinus Torvalds	bool
17501da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
17511da177e4SLinus Torvalds	default y
17521da177e4SLinus Torvalds
17531da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
17541da177e4SLinus Torvalds	bool
17551da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
17561da177e4SLinus Torvalds	default y
17571da177e4SLinus Torvalds
17581da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1759d806cb2bSRalf Baechle	bool
17601da177e4SLinus Torvalds
17619693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
17629693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
17639693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
17649693a853SFranck Bui-Huu	help
17659693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
17669693a853SFranck Bui-Huu	  increased security at both hardware and software level for
17679693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
17689693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
17699693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
17709693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
17719693a853SFranck Bui-Huu	  here.
17729693a853SFranck Bui-Huu
17731da177e4SLinus Torvaldsconfig CPU_HAS_WB
1774f7062ddbSRalf Baechle	bool
1775e01402b1SRalf Baechle
1776f41ae0b2SRalf Baechle#
1777f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1778f41ae0b2SRalf Baechle#
1779e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1780f41ae0b2SRalf Baechle	bool
1781e01402b1SRalf Baechle
1782f41ae0b2SRalf Baechle#
1783f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1784f41ae0b2SRalf Baechle#
1785e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1786f41ae0b2SRalf Baechle	bool
1787e01402b1SRalf Baechle
17881da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
17891da177e4SLinus Torvalds	bool
17901da177e4SLinus Torvalds	depends on !CPU_R3000
17911da177e4SLinus Torvalds	default y
17921da177e4SLinus Torvalds
1793ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1794ea580401SRalf Baechle	bool
1795ea580401SRalf Baechle
17961da177e4SLinus Torvalds#
179720d60d99SMaciej W. Rozycki# CPU non-features
179820d60d99SMaciej W. Rozycki#
179920d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
180020d60d99SMaciej W. Rozycki	bool
180120d60d99SMaciej W. Rozycki
180220d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
180320d60d99SMaciej W. Rozycki	bool
180420d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
180520d60d99SMaciej W. Rozycki
180620d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
180720d60d99SMaciej W. Rozycki	bool
180820d60d99SMaciej W. Rozycki
180920d60d99SMaciej W. Rozycki#
1810797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1811797798c1SRalf Baechle#
1812797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1813797798c1SRalf Baechle	bool
1814797798c1SRalf Baechle	default y
1815797798c1SRalf Baechle
1816797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1817797798c1SRalf Baechle	bool
1818797798c1SRalf Baechle	default y
1819797798c1SRalf Baechle
18200d7012a9SIngo Molnarconfig IRQ_PER_CPU
18210d7012a9SIngo Molnar	bool
18220d7012a9SIngo Molnar
1823797798c1SRalf Baechle#
18241da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
18251da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
18261da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
18271da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
18281da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
18291da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
18301da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
18311da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1832797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1833797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1834797798c1SRalf Baechle#   support.
18351da177e4SLinus Torvalds#
18361da177e4SLinus Torvaldsconfig HIGHMEM
18371da177e4SLinus Torvalds	bool "High Memory Support"
1838797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1839797798c1SRalf Baechle
1840797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1841797798c1SRalf Baechle	bool
1842797798c1SRalf Baechle
1843797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1844797798c1SRalf Baechle	bool
18451da177e4SLinus Torvalds
18469693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
18479693a853SFranck Bui-Huu	bool
18489693a853SFranck Bui-Huu
1849b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1850b4819b59SYoichi Yuasa	def_bool y
1851f133f22dSWu Zhangjin	depends on !NUMA && !CPU_LOONGSON2
1852b4819b59SYoichi Yuasa
1853d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1854d8cb4e11SRalf Baechle	bool
1855d8cb4e11SRalf Baechle	default y if SGI_IP27
1856d8cb4e11SRalf Baechle	help
18573dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1858d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1859d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1860d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1861d8cb4e11SRalf Baechle
1862cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1863cce335aeSRalf Baechle	def_bool y
1864cce335aeSRalf Baechle
1865b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1866b1c6cd42SAtsushi Nemoto	bool
18677de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
186831473747SAtsushi Nemoto
1869d8cb4e11SRalf Baechleconfig NUMA
1870d8cb4e11SRalf Baechle	bool "NUMA Support"
1871d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1872d8cb4e11SRalf Baechle	help
1873d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1874d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1875d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1876d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1877d8cb4e11SRalf Baechle	  disabled.
1878d8cb4e11SRalf Baechle
1879d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1880d8cb4e11SRalf Baechle	bool
1881d8cb4e11SRalf Baechle
1882c80d79d7SYasunori Gotoconfig NODES_SHIFT
1883c80d79d7SYasunori Goto	int
1884c80d79d7SYasunori Goto	default "6"
1885c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1886c80d79d7SYasunori Goto
1887b4819b59SYoichi Yuasasource "mm/Kconfig"
1888b4819b59SYoichi Yuasa
18891da177e4SLinus Torvaldsconfig SMP
18901da177e4SLinus Torvalds	bool "Multi-Processing support"
1891e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1892b4b30a5aSRalf Baechle	select IRQ_PER_CPU
18932f304c0aSJens Axboe	select USE_GENERIC_SMP_HELPERS
1894e73ea273SRalf Baechle	help
18951da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
18961da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
18971da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
18981da177e4SLinus Torvalds
18991da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
19001da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
19011da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
19021da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
19031da177e4SLinus Torvalds	  will run faster if you say N here.
19041da177e4SLinus Torvalds
19051da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
19061da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
19071da177e4SLinus Torvalds
190803502faaSAdrian Bunk	  See also the SMP-HOWTO available at
190903502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
19101da177e4SLinus Torvalds
19111da177e4SLinus Torvalds	  If you don't know what to do here, say N.
19121da177e4SLinus Torvalds
191387353d8aSRalf Baechleconfig SMP_UP
191487353d8aSRalf Baechle	bool
191587353d8aSRalf Baechle
19164a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
19174a16ff4cSRalf Baechle	bool
19184a16ff4cSRalf Baechle
1919e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1920e73ea273SRalf Baechle	bool
1921e73ea273SRalf Baechle
192272ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
192372ede9b1SAtsushi Nemoto	bool
192472ede9b1SAtsushi Nemoto
1925130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1926130e2fb7SRalf Baechle	bool
1927130e2fb7SRalf Baechle
1928130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1929130e2fb7SRalf Baechle	bool
1930130e2fb7SRalf Baechle
1931130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1932130e2fb7SRalf Baechle	bool
1933130e2fb7SRalf Baechle
1934130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1935130e2fb7SRalf Baechle	bool
1936130e2fb7SRalf Baechle
1937130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1938130e2fb7SRalf Baechle	bool
1939130e2fb7SRalf Baechle
1940130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1941130e2fb7SRalf Baechle	bool
1942130e2fb7SRalf Baechle
19431da177e4SLinus Torvaldsconfig NR_CPUS
19441da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
194572ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
19461da177e4SLinus Torvalds	depends on SMP
194772ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1948130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1949130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1950130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1951130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1952130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1953130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
19541da177e4SLinus Torvalds	help
19551da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
19561da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
19571da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
195872ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
195972ede9b1SAtsushi Nemoto	  and 2 for all others.
19601da177e4SLinus Torvalds
19611da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
196272ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
196372ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
196472ede9b1SAtsushi Nemoto	  power of two.
19651da177e4SLinus Torvalds
1966c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
1967c4eee283SAtsushi Nemoto
19681723b4a3SAtsushi Nemoto#
19691723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
19701723b4a3SAtsushi Nemoto#
19711723b4a3SAtsushi Nemoto
19721723b4a3SAtsushi Nemotochoice
19731723b4a3SAtsushi Nemoto	prompt "Timer frequency"
19741723b4a3SAtsushi Nemoto	default HZ_250
19751723b4a3SAtsushi Nemoto	help
19761723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
19771723b4a3SAtsushi Nemoto
19781723b4a3SAtsushi Nemoto	config HZ_48
19790f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
19801723b4a3SAtsushi Nemoto
19811723b4a3SAtsushi Nemoto	config HZ_100
19821723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
19831723b4a3SAtsushi Nemoto
19841723b4a3SAtsushi Nemoto	config HZ_128
19851723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
19861723b4a3SAtsushi Nemoto
19871723b4a3SAtsushi Nemoto	config HZ_250
19881723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
19891723b4a3SAtsushi Nemoto
19901723b4a3SAtsushi Nemoto	config HZ_256
19911723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
19921723b4a3SAtsushi Nemoto
19931723b4a3SAtsushi Nemoto	config HZ_1000
19941723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
19951723b4a3SAtsushi Nemoto
19961723b4a3SAtsushi Nemoto	config HZ_1024
19971723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
19981723b4a3SAtsushi Nemoto
19991723b4a3SAtsushi Nemotoendchoice
20001723b4a3SAtsushi Nemoto
20011723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
20021723b4a3SAtsushi Nemoto	bool
20031723b4a3SAtsushi Nemoto
20041723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
20051723b4a3SAtsushi Nemoto	bool
20061723b4a3SAtsushi Nemoto
20071723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
20081723b4a3SAtsushi Nemoto	bool
20091723b4a3SAtsushi Nemoto
20101723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
20111723b4a3SAtsushi Nemoto	bool
20121723b4a3SAtsushi Nemoto
20131723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
20141723b4a3SAtsushi Nemoto	bool
20151723b4a3SAtsushi Nemoto
20161723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
20171723b4a3SAtsushi Nemoto	bool
20181723b4a3SAtsushi Nemoto
20191723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
20201723b4a3SAtsushi Nemoto	bool
20211723b4a3SAtsushi Nemoto
20221723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
20231723b4a3SAtsushi Nemoto	bool
20241723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
20251723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
20261723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
20271723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
20281723b4a3SAtsushi Nemoto
20291723b4a3SAtsushi Nemotoconfig HZ
20301723b4a3SAtsushi Nemoto	int
20311723b4a3SAtsushi Nemoto	default 48 if HZ_48
20321723b4a3SAtsushi Nemoto	default 100 if HZ_100
20331723b4a3SAtsushi Nemoto	default 128 if HZ_128
20341723b4a3SAtsushi Nemoto	default 250 if HZ_250
20351723b4a3SAtsushi Nemoto	default 256 if HZ_256
20361723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
20371723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
20381723b4a3SAtsushi Nemoto
2039e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
20401da177e4SLinus Torvalds
20411da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
20421da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
2043875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
20441da177e4SLinus Torvalds	help
20451da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
20461da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
20471da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
20481da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
20491da177e4SLinus Torvalds	  recommended for normal users.
20501da177e4SLinus Torvalds
2051ea6e942bSAtsushi Nemotoconfig KEXEC
2052ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
2053ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
2054ea6e942bSAtsushi Nemoto	help
2055ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
2056ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
20573dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
2058ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
2059ea6e942bSAtsushi Nemoto
206001dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
2061ea6e942bSAtsushi Nemoto
2062ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
2063ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
2064ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
2065ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
2066ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
2067ea6e942bSAtsushi Nemoto
2068ea6e942bSAtsushi Nemotoconfig SECCOMP
2069ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
2070293c5bd1SRalf Baechle	depends on PROC_FS
2071ea6e942bSAtsushi Nemoto	default y
2072ea6e942bSAtsushi Nemoto	help
2073ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
2074ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
2075ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
2076ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
2077ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
2078ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
2079ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
2080ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
2081ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
2082ea6e942bSAtsushi Nemoto
2083ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
2084ea6e942bSAtsushi Nemoto
20855e83d430SRalf Baechleendmenu
20865e83d430SRalf Baechle
20871df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
20881df0f0ffSAtsushi Nemoto	bool
20891df0f0ffSAtsushi Nemoto	default y
20901df0f0ffSAtsushi Nemoto
20911df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
20921df0f0ffSAtsushi Nemoto	bool
20931df0f0ffSAtsushi Nemoto	default y
20941df0f0ffSAtsushi Nemoto
2095b6c3539bSRalf Baechlesource "init/Kconfig"
2096b6c3539bSRalf Baechle
2097dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
2098dc52ddc0SMatt Helsley
20991da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
21001da177e4SLinus Torvalds
21015e83d430SRalf Baechleconfig HW_HAS_EISA
21025e83d430SRalf Baechle	bool
21031da177e4SLinus Torvaldsconfig HW_HAS_PCI
21041da177e4SLinus Torvalds	bool
21051da177e4SLinus Torvalds
21061da177e4SLinus Torvaldsconfig PCI
21071da177e4SLinus Torvalds	bool "Support for PCI controller"
21081da177e4SLinus Torvalds	depends on HW_HAS_PCI
2109abb4ae46SRalf Baechle	select PCI_DOMAINS
21101da177e4SLinus Torvalds	help
21111da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
21121da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
21131da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
21141da177e4SLinus Torvalds	  say Y, otherwise N.
21151da177e4SLinus Torvalds
21161da177e4SLinus Torvaldsconfig PCI_DOMAINS
21171da177e4SLinus Torvalds	bool
21181da177e4SLinus Torvalds
21191da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
21201da177e4SLinus Torvalds
21211da177e4SLinus Torvalds#
21221da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
21231da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
21241da177e4SLinus Torvalds# users to choose the right thing ...
21251da177e4SLinus Torvalds#
21261da177e4SLinus Torvaldsconfig ISA
21271da177e4SLinus Torvalds	bool
21281da177e4SLinus Torvalds
21291da177e4SLinus Torvaldsconfig EISA
21301da177e4SLinus Torvalds	bool "EISA support"
21315e83d430SRalf Baechle	depends on HW_HAS_EISA
21321da177e4SLinus Torvalds	select ISA
2133aa414dffSRalf Baechle	select GENERIC_ISA_DMA
21341da177e4SLinus Torvalds	---help---
21351da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
21361da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
21371da177e4SLinus Torvalds
21381da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
21391da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
21401da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
21411da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
21421da177e4SLinus Torvalds
21431da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
21441da177e4SLinus Torvalds
21451da177e4SLinus Torvalds	  Otherwise, say N.
21461da177e4SLinus Torvalds
21471da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
21481da177e4SLinus Torvalds
21491da177e4SLinus Torvaldsconfig TC
21501da177e4SLinus Torvalds	bool "TURBOchannel support"
21511da177e4SLinus Torvalds	depends on MACH_DECSTATION
21521da177e4SLinus Torvalds	help
21531da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
21541da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
21551da177e4SLinus Torvalds	  is available at:
21561da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
21571da177e4SLinus Torvalds
21581da177e4SLinus Torvalds#config ACCESSBUS
21591da177e4SLinus Torvalds#	bool "Access.Bus support"
21601da177e4SLinus Torvalds#	depends on TC
21611da177e4SLinus Torvalds
21621da177e4SLinus Torvaldsconfig MMU
21631da177e4SLinus Torvalds	bool
21641da177e4SLinus Torvalds	default y
21651da177e4SLinus Torvalds
2166d865bea4SRalf Baechleconfig I8253
2167d865bea4SRalf Baechle	bool
21689726b43aSWu Zhangjin	select MIPS_EXTERNAL_TIMER
2169d865bea4SRalf Baechle
2170cce335aeSRalf Baechleconfig ZONE_DMA32
2171cce335aeSRalf Baechle	bool
2172cce335aeSRalf Baechle
21731da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
21741da177e4SLinus Torvalds
21751da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
21761da177e4SLinus Torvalds
21771da177e4SLinus Torvaldsendmenu
21781da177e4SLinus Torvalds
21791da177e4SLinus Torvaldsmenu "Executable file formats"
21801da177e4SLinus Torvalds
21811da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
21821da177e4SLinus Torvalds
21831da177e4SLinus Torvaldsconfig TRAD_SIGNALS
21841da177e4SLinus Torvalds	bool
21851da177e4SLinus Torvalds
21861da177e4SLinus Torvaldsconfig MIPS32_COMPAT
21871da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2188875d43e7SRalf Baechle	depends on 64BIT
21891da177e4SLinus Torvalds	help
21901da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
21911da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
21921da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
21931da177e4SLinus Torvalds
21941da177e4SLinus Torvaldsconfig COMPAT
21951da177e4SLinus Torvalds	bool
21961da177e4SLinus Torvalds	depends on MIPS32_COMPAT
21971da177e4SLinus Torvalds	default y
21981da177e4SLinus Torvalds
219905e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
220005e43966SAtsushi Nemoto	bool
220105e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
220205e43966SAtsushi Nemoto	default y
220305e43966SAtsushi Nemoto
22041da177e4SLinus Torvaldsconfig MIPS32_O32
22051da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
22061da177e4SLinus Torvalds	depends on MIPS32_COMPAT
22071da177e4SLinus Torvalds	help
22081da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
22091da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
22101da177e4SLinus Torvalds	  existing binaries are in this format.
22111da177e4SLinus Torvalds
22121da177e4SLinus Torvalds	  If unsure, say Y.
22131da177e4SLinus Torvalds
22141da177e4SLinus Torvaldsconfig MIPS32_N32
22151da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
22161da177e4SLinus Torvalds	depends on MIPS32_COMPAT
22171da177e4SLinus Torvalds	help
22181da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
22191da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
22201da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
22211da177e4SLinus Torvalds	  cases.
22221da177e4SLinus Torvalds
22231da177e4SLinus Torvalds	  If unsure, say N.
22241da177e4SLinus Torvalds
22251da177e4SLinus Torvaldsconfig BINFMT_ELF32
22261da177e4SLinus Torvalds	bool
22271da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
22281da177e4SLinus Torvalds
22292116245eSRalf Baechleendmenu
22301da177e4SLinus Torvalds
22312116245eSRalf Baechlemenu "Power management options"
2232952fa954SRodolfo Giometti
2233363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE
2234363c55caSWu Zhangjin	def_bool y
22353f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2236363c55caSWu Zhangjin
2237f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2238f4cb5700SJohannes Berg	def_bool y
22393f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2240f4cb5700SJohannes Berg
22412116245eSRalf Baechlesource "kernel/power/Kconfig"
2242952fa954SRodolfo Giometti
22431da177e4SLinus Torvaldsendmenu
22441da177e4SLinus Torvalds
22459726b43aSWu Zhangjinsource "arch/mips/kernel/cpufreq/Kconfig"
22469726b43aSWu Zhangjin
2247d5950b43SSam Ravnborgsource "net/Kconfig"
2248d5950b43SSam Ravnborg
22491da177e4SLinus Torvaldssource "drivers/Kconfig"
22501da177e4SLinus Torvalds
22511da177e4SLinus Torvaldssource "fs/Kconfig"
22521da177e4SLinus Torvalds
22531da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
22541da177e4SLinus Torvalds
22551da177e4SLinus Torvaldssource "security/Kconfig"
22561da177e4SLinus Torvalds
22571da177e4SLinus Torvaldssource "crypto/Kconfig"
22581da177e4SLinus Torvalds
22591da177e4SLinus Torvaldssource "lib/Kconfig"
2260