xref: /linux/arch/mips/Kconfig (revision 315fe625f878749a7d2b6b65a40c29bbbe6e1dc7)
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
81da177e4SLinus Torvalds	# Horrible source of confusion.  Die, die, die ...
91da177e4SLinus Torvalds	select EMBEDDED
108e497117SWu Zhangjin	select RTC_LIB if !LEMOTE_FULOONG2E
111da177e4SLinus Torvalds
121da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
131da177e4SLinus Torvalds
141da177e4SLinus Torvaldsmenu "Machine selection"
151da177e4SLinus Torvalds
165ac6da66SChristoph Lameterconfig ZONE_DMA
175ac6da66SChristoph Lameter	bool
185ac6da66SChristoph Lameter
195e83d430SRalf Baechlechoice
205e83d430SRalf Baechle	prompt "System type"
215e83d430SRalf Baechle	default SGI_IP22
221da177e4SLinus Torvalds
23c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
24c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
251da177e4SLinus Torvalds
267ca5dc14SFlorian Fainelliconfig AR7
277ca5dc14SFlorian Fainelli	bool "Texas Instruments AR7"
287ca5dc14SFlorian Fainelli	select BOOT_ELF32
297ca5dc14SFlorian Fainelli	select DMA_NONCOHERENT
307ca5dc14SFlorian Fainelli	select CEVT_R4K
317ca5dc14SFlorian Fainelli	select CSRC_R4K
327ca5dc14SFlorian Fainelli	select IRQ_CPU
337ca5dc14SFlorian Fainelli	select NO_EXCEPT_FILL
347ca5dc14SFlorian Fainelli	select SWAP_IO_SPACE
357ca5dc14SFlorian Fainelli	select SYS_HAS_CPU_MIPS32_R1
367ca5dc14SFlorian Fainelli	select SYS_HAS_EARLY_PRINTK
377ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_32BIT_KERNEL
387ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_LITTLE_ENDIAN
397ca5dc14SFlorian Fainelli	select GENERIC_GPIO
407ca5dc14SFlorian Fainelli	select GCD
417ca5dc14SFlorian Fainelli	select VLYNQ
427ca5dc14SFlorian Fainelli	help
437ca5dc14SFlorian Fainelli	  Support for the Texas Instruments AR7 System-on-a-Chip
447ca5dc14SFlorian Fainelli	  family: TNETD7100, 7200 and 7300.
457ca5dc14SFlorian Fainelli
4635189fadSRalf Baechleconfig BASLER_EXCITE
47be91589eSThomas Koeller	bool "Basler eXcite smart camera"
4842f77542SRalf Baechle	select CEVT_R4K
49940f6b48SRalf Baechle	select CSRC_R4K
5035189fadSRalf Baechle	select DMA_COHERENT
5135189fadSRalf Baechle	select HW_HAS_PCI
5235189fadSRalf Baechle	select IRQ_CPU
5335189fadSRalf Baechle	select IRQ_CPU_RM7K
5435189fadSRalf Baechle	select IRQ_CPU_RM9K
55663c3d90Sthomas@koeller.dyndns.org	select MIPS_RM9122
5635189fadSRalf Baechle	select SYS_HAS_CPU_RM9000
5735189fadSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
5835189fadSRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
5935189fadSRalf Baechle	help
6035189fadSRalf Baechle	  The eXcite is a smart camera platform manufactured by
61be91589eSThomas Koeller	  Basler Vision Technologies AG.
6235189fadSRalf Baechle
631c0c13ebSAurelien Jarnoconfig BCM47XX
641c0c13ebSAurelien Jarno	bool "BCM47XX based boards"
6542f77542SRalf Baechle	select CEVT_R4K
66940f6b48SRalf Baechle	select CSRC_R4K
671c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
681c0c13ebSAurelien Jarno	select HW_HAS_PCI
691c0c13ebSAurelien Jarno	select IRQ_CPU
701c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
711c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
721c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
731c0c13ebSAurelien Jarno	select SSB
741c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
752f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
76b06f3e19SAurelien Jarno	select SSB_EMBEDDED
772f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
781c0c13ebSAurelien Jarno	select GENERIC_GPIO
7925e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
8025e5fb97SAurelien Jarno	select CFE
811c0c13ebSAurelien Jarno	help
821c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
831c0c13ebSAurelien Jarno
84e7300d04SMaxime Bizonconfig BCM63XX
85e7300d04SMaxime Bizon	bool "Broadcom BCM63XX based boards"
86e7300d04SMaxime Bizon	select CEVT_R4K
87e7300d04SMaxime Bizon	select CSRC_R4K
88e7300d04SMaxime Bizon	select DMA_NONCOHERENT
89e7300d04SMaxime Bizon	select IRQ_CPU
90e7300d04SMaxime Bizon	select SYS_HAS_CPU_MIPS32_R1
91e7300d04SMaxime Bizon	select SYS_SUPPORTS_32BIT_KERNEL
92e7300d04SMaxime Bizon	select SYS_SUPPORTS_BIG_ENDIAN
93e7300d04SMaxime Bizon	select SYS_HAS_EARLY_PRINTK
94e7300d04SMaxime Bizon	select SWAP_IO_SPACE
95e7300d04SMaxime Bizon	select ARCH_REQUIRE_GPIOLIB
96e7300d04SMaxime Bizon	help
97e7300d04SMaxime Bizon	 Support for BCM63XX based boards
98e7300d04SMaxime Bizon
991da177e4SLinus Torvaldsconfig MIPS_COBALT
1003fa986faSMartin Michlmayr	bool "Cobalt Server"
10142f77542SRalf Baechle	select CEVT_R4K
102940f6b48SRalf Baechle	select CSRC_R4K
1031097c6acSYoichi Yuasa	select CEVT_GT641XX
1041da177e4SLinus Torvalds	select DMA_NONCOHERENT
1051da177e4SLinus Torvalds	select HW_HAS_PCI
106d865bea4SRalf Baechle	select I8253
1071da177e4SLinus Torvalds	select I8259
1081da177e4SLinus Torvalds	select IRQ_CPU
109d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
110252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
111e25bfc92SYoichi Yuasa	select PCI
1127cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1130a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
114ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
1150e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
1165e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1171da177e4SLinus Torvalds
1181da177e4SLinus Torvaldsconfig MACH_DECSTATION
1193fa986faSMartin Michlmayr	bool "DECstations"
1201da177e4SLinus Torvalds	select BOOT_ELF32
1216457d9fcSYoichi Yuasa	select CEVT_DS1287
12242f77542SRalf Baechle	select CEVT_R4K
1234247417dSYoichi Yuasa	select CSRC_IOASIC
124940f6b48SRalf Baechle	select CSRC_R4K
12520d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
12620d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
12720d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
1281da177e4SLinus Torvalds	select DMA_NONCOHERENT
129d388d685SMaciej W. Rozycki	select NO_IOPORT
1301da177e4SLinus Torvalds	select IRQ_CPU
1317cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
1327cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
133ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
134ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1355e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1361723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
1371723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
1381723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1395e83d430SRalf Baechle	help
1401da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1411da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1421da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1431da177e4SLinus Torvalds
1441da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1451da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1461da177e4SLinus Torvalds
1471da177e4SLinus Torvalds		DECstation 5000/50
1481da177e4SLinus Torvalds		DECstation 5000/150
1491da177e4SLinus Torvalds		DECstation 5000/260
1501da177e4SLinus Torvalds		DECsystem 5900/260
1511da177e4SLinus Torvalds
1521da177e4SLinus Torvalds	  otherwise choose R3000.
1531da177e4SLinus Torvalds
1545e83d430SRalf Baechleconfig MACH_JAZZ
1553fa986faSMartin Michlmayr	bool "Jazz family of machines"
1565e83d430SRalf Baechle	select ARC
1575e83d430SRalf Baechle	select ARC32
1585e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
15942f77542SRalf Baechle	select CEVT_R4K
160940f6b48SRalf Baechle	select CSRC_R4K
161e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1625e83d430SRalf Baechle	select GENERIC_ISA_DMA
163ea202c63SThomas Bogendoerfer	select IRQ_CPU
164d865bea4SRalf Baechle	select I8253
1655e83d430SRalf Baechle	select I8259
1665e83d430SRalf Baechle	select ISA
1677cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1685e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1695e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1701723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1711da177e4SLinus Torvalds	help
1725e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1735e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
174692105b8SMatt LaPlante	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
1755e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1765e83d430SRalf Baechle
1771f21d2bdSBrian Murphyconfig LASAT
1781f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
17942f77542SRalf Baechle	select CEVT_R4K
180940f6b48SRalf Baechle	select CSRC_R4K
1811f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1821f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1831f21d2bdSBrian Murphy	select HW_HAS_PCI
184a5ccfe5cSRalf Baechle	select IRQ_CPU
1851f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1861f21d2bdSBrian Murphy	select MIPS_NILE4
1871f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1881f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1891f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1901f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1911f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1921f21d2bdSBrian Murphy
19385749d24SWu Zhangjinconfig MACH_LOONGSON
19485749d24SWu Zhangjin	bool "Loongson family of machines"
195ade299d8SYoichi Yuasa	help
19685749d24SWu Zhangjin	  This enables the support of Loongson family of machines.
19785749d24SWu Zhangjin
19885749d24SWu Zhangjin	  Loongson is a family of general-purpose MIPS-compatible CPUs.
19985749d24SWu Zhangjin	  developed at Institute of Computing Technology (ICT),
20085749d24SWu Zhangjin	  Chinese Academy of Sciences (CAS) in the People's Republic
20185749d24SWu Zhangjin	  of China. The chief architect is Professor Weiwu Hu.
202ade299d8SYoichi Yuasa
2031da177e4SLinus Torvaldsconfig MIPS_MALTA
2043fa986faSMartin Michlmayr	bool "MIPS Malta board"
20561ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
2061da177e4SLinus Torvalds	select BOOT_ELF32
207fa71c960SRalf Baechle	select BOOT_RAW
20842f77542SRalf Baechle	select CEVT_R4K
209940f6b48SRalf Baechle	select CSRC_R4K
2101da177e4SLinus Torvalds	select DMA_NONCOHERENT
2111da177e4SLinus Torvalds	select GENERIC_ISA_DMA
212aa414dffSRalf Baechle	select IRQ_CPU
21339b8d525SRalf Baechle	select IRQ_GIC
2141da177e4SLinus Torvalds	select HW_HAS_PCI
215d865bea4SRalf Baechle	select I8253
2161da177e4SLinus Torvalds	select I8259
2175e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2185e83d430SRalf Baechle	select MIPS_BONITO64
2199318c51aSChris Dearman	select MIPS_CPU_SCACHE
220252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2215e83d430SRalf Baechle	select MIPS_MSC
2221da177e4SLinus Torvalds	select SWAP_IO_SPACE
2237cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2247cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2257cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2267cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2277cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
22836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
229ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
230ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2315e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2325e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2330365070fSTim Anderson	select SYS_SUPPORTS_MIPS_CMP
234f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2359693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2361da177e4SLinus Torvalds	help
237f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2381da177e4SLinus Torvalds	  board.
2391da177e4SLinus Torvalds
240c78cbf49SRalf Baechleconfig MIPS_SIM
2413fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
24242f77542SRalf Baechle	select CEVT_R4K
243940f6b48SRalf Baechle	select CSRC_R4K
244c78cbf49SRalf Baechle	select DMA_NONCOHERENT
24536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
246c78cbf49SRalf Baechle	select IRQ_CPU
2479267a30dSMarc St-Jean	select BOOT_RAW
2487cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2497cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
25036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
251c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
252c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
253f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
254c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
255c78cbf49SRalf Baechle	help
256c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
257c78cbf49SRalf Baechle	  emulator.
258c78cbf49SRalf Baechle
259a83860c2SRalf Baechleconfig NEC_MARKEINS
260a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
261a83860c2SRalf Baechle	select SOC_EMMA2RH
262a83860c2SRalf Baechle	select HW_HAS_PCI
263a83860c2SRalf Baechle	help
264a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
265ade299d8SYoichi Yuasa
2665e83d430SRalf Baechleconfig MACH_VR41XX
26774142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
26842f77542SRalf Baechle	select CEVT_R4K
269940f6b48SRalf Baechle	select CSRC_R4K
2707cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
27127fdd325SYoichi Yuasa	select ARCH_REQUIRE_GPIOLIB
2725e83d430SRalf Baechle
273edb6310aSDaniel Lairdconfig NXP_STB220
274edb6310aSDaniel Laird	bool "NXP STB220 board"
275edb6310aSDaniel Laird	select SOC_PNX833X
276edb6310aSDaniel Laird	help
277edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
278edb6310aSDaniel Laird
279edb6310aSDaniel Lairdconfig NXP_STB225
280edb6310aSDaniel Laird	bool "NXP 225 board"
281edb6310aSDaniel Laird	select SOC_PNX833X
282edb6310aSDaniel Laird	select SOC_PNX8335
283edb6310aSDaniel Laird	help
284edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
285edb6310aSDaniel Laird
286ade299d8SYoichi Yuasaconfig PNX8550_JBS
287a92b0588SDaniel Laird	bool "NXP PNX8550 based JBS board"
288ade299d8SYoichi Yuasa	select PNX8550
289ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
290ade299d8SYoichi Yuasa
291ade299d8SYoichi Yuasaconfig PNX8550_STB810
292a92b0588SDaniel Laird	bool "NXP PNX8550 based STB810 board"
293ade299d8SYoichi Yuasa	select PNX8550
294ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
295ade299d8SYoichi Yuasa
2969267a30dSMarc St-Jeanconfig PMC_MSP
2979267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
2989267a30dSMarc St-Jean	depends on EXPERIMENTAL
2999267a30dSMarc St-Jean	select DMA_NONCOHERENT
3009267a30dSMarc St-Jean	select SWAP_IO_SPACE
3019267a30dSMarc St-Jean	select NO_EXCEPT_FILL
3029267a30dSMarc St-Jean	select BOOT_RAW
3039267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
3049267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
3059267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
3069267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
3079267a30dSMarc St-Jean	select IRQ_CPU
3089267a30dSMarc St-Jean	select SERIAL_8250
3099267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3109267a30dSMarc St-Jean	help
3119267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3129267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3139267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3149267a30dSMarc St-Jean	  a variety of MIPS cores.
3159267a30dSMarc St-Jean
3165e83d430SRalf Baechleconfig PMC_YOSEMITE
3173fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
31842f77542SRalf Baechle	select CEVT_R4K
319940f6b48SRalf Baechle	select CSRC_R4K
3205e83d430SRalf Baechle	select DMA_COHERENT
3215e83d430SRalf Baechle	select HW_HAS_PCI
3225e83d430SRalf Baechle	select IRQ_CPU
3235e83d430SRalf Baechle	select IRQ_CPU_RM7K
3245e83d430SRalf Baechle	select IRQ_CPU_RM9K
3255e83d430SRalf Baechle	select SWAP_IO_SPACE
3267cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
32736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3285e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3295e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3305e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3315e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
332e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3335e83d430SRalf Baechle	help
3345e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3355e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3361da177e4SLinus Torvalds
3371da177e4SLinus Torvaldsconfig SGI_IP22
3383fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3391da177e4SLinus Torvalds	select ARC
3401da177e4SLinus Torvalds	select ARC32
3411da177e4SLinus Torvalds	select BOOT_ELF32
34242f77542SRalf Baechle	select CEVT_R4K
343940f6b48SRalf Baechle	select CSRC_R4K
344e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3451da177e4SLinus Torvalds	select DMA_NONCOHERENT
3465e83d430SRalf Baechle	select HW_HAS_EISA
347d865bea4SRalf Baechle	select I8253
34868de4803SThomas Bogendoerfer	select I8259
3491da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3501da177e4SLinus Torvalds	select IRQ_CPU
351aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
352e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
353e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
35436e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
355e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
356e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
357e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3581da177e4SLinus Torvalds	select SWAP_IO_SPACE
3597cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3607cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
3612b5e63f6SMartin Michlmayr	#
3622b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
3632b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
3642b5e63f6SMartin Michlmayr	#
3652b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
3662b5e63f6SMartin Michlmayr	# for a more details discussion
3672b5e63f6SMartin Michlmayr	#
3682b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
369ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
370ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3715e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3721da177e4SLinus Torvalds	help
3731da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3741da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3751da177e4SLinus Torvalds	  that runs on these, say Y here.
3761da177e4SLinus Torvalds
3771da177e4SLinus Torvaldsconfig SGI_IP27
3783fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3791da177e4SLinus Torvalds	select ARC
3801da177e4SLinus Torvalds	select ARC64
3815e83d430SRalf Baechle	select BOOT_ELF64
382e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
383634286f1SRalf Baechle	select DMA_COHERENT
38436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3851da177e4SLinus Torvalds	select HW_HAS_PCI
386130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
3877cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
388ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3895e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
390d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
3911a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
3921da177e4SLinus Torvalds	help
3931da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
3941da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
3951da177e4SLinus Torvalds	  here.
3961da177e4SLinus Torvalds
397e2defae5SThomas Bogendoerferconfig SGI_IP28
398e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
399e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
400e2defae5SThomas Bogendoerfer	select ARC
401e2defae5SThomas Bogendoerfer	select ARC64
402e2defae5SThomas Bogendoerfer	select BOOT_ELF64
403e2defae5SThomas Bogendoerfer	select CEVT_R4K
404e2defae5SThomas Bogendoerfer	select CSRC_R4K
405e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
406e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
407e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
408e2defae5SThomas Bogendoerfer	select IRQ_CPU
409e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
410e2defae5SThomas Bogendoerfer	select I8253
411e2defae5SThomas Bogendoerfer	select I8259
412e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
413e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
4145b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
415e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
416e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
417e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
418e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
419e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
4202b5e63f6SMartin Michlmayr	#
4212b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
4222b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
4232b5e63f6SMartin Michlmayr	#
4242b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
4252b5e63f6SMartin Michlmayr	# for a more details discussion
4262b5e63f6SMartin Michlmayr	#
4272b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
428e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
429e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
430e2defae5SThomas Bogendoerfer      help
431e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
432e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
433e2defae5SThomas Bogendoerfer
4341da177e4SLinus Torvaldsconfig SGI_IP32
435cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4361da177e4SLinus Torvalds	select ARC
4371da177e4SLinus Torvalds	select ARC32
4381da177e4SLinus Torvalds	select BOOT_ELF32
43942f77542SRalf Baechle	select CEVT_R4K
440940f6b48SRalf Baechle	select CSRC_R4K
4411da177e4SLinus Torvalds	select DMA_NONCOHERENT
4421da177e4SLinus Torvalds	select HW_HAS_PCI
443dd67b155SRalf Baechle	select IRQ_CPU
4441da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4451da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4467cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4477cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4487cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
449dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
450ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4515e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4521da177e4SLinus Torvalds	help
4531da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4541da177e4SLinus Torvalds
455ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
456ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4575e83d430SRalf Baechle	depends on EXPERIMENTAL
4585e83d430SRalf Baechle	select BOOT_ELF32
4595e83d430SRalf Baechle	select DMA_COHERENT
4605e83d430SRalf Baechle	select SIBYTE_BCM1120
4615e83d430SRalf Baechle	select SWAP_IO_SPACE
4627cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4635e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4645e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4655e83d430SRalf Baechle
466ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
467ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4685e83d430SRalf Baechle	depends on EXPERIMENTAL
4695e83d430SRalf Baechle	select BOOT_ELF32
4705e83d430SRalf Baechle	select DMA_COHERENT
4715e83d430SRalf Baechle	select SIBYTE_BCM1120
4725e83d430SRalf Baechle	select SWAP_IO_SPACE
4737cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4745e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4755e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4765e83d430SRalf Baechle
4775e83d430SRalf Baechleconfig SIBYTE_CRHONE
4783fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4795e83d430SRalf Baechle	depends on EXPERIMENTAL
4805e83d430SRalf Baechle	select BOOT_ELF32
4815e83d430SRalf Baechle	select DMA_COHERENT
4825e83d430SRalf Baechle	select SIBYTE_BCM1125
4835e83d430SRalf Baechle	select SWAP_IO_SPACE
4847cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4855e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4865e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4875e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4885e83d430SRalf Baechle
489ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
490ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
491ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
492ade299d8SYoichi Yuasa	select BOOT_ELF32
493ade299d8SYoichi Yuasa	select DMA_COHERENT
494ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
495ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
496ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
497ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
498ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
499ade299d8SYoichi Yuasa
500ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
501ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
502ade299d8SYoichi Yuasa	select BOOT_ELF32
503ade299d8SYoichi Yuasa	select DMA_COHERENT
504ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
505ade299d8SYoichi Yuasa	select SIBYTE_SB1250
506ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
507ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
508ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
509ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
510ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
511cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
512ade299d8SYoichi Yuasa
513ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
514ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
515ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
516ade299d8SYoichi Yuasa	select BOOT_ELF32
517ade299d8SYoichi Yuasa	select DMA_COHERENT
518ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
519ade299d8SYoichi Yuasa	select SIBYTE_SB1250
520ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
521ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
522ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
523ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
524ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
525ade299d8SYoichi Yuasa
526ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
527ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
528ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
529ade299d8SYoichi Yuasa	select BOOT_ELF32
530ade299d8SYoichi Yuasa	select DMA_COHERENT
531ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
532ade299d8SYoichi Yuasa	select SIBYTE_SB1250
533ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
534ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
535ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
536ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
537ade299d8SYoichi Yuasa
538ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
539ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
540ade299d8SYoichi Yuasa	select BOOT_ELF32
541ade299d8SYoichi Yuasa	select DMA_COHERENT
542ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
543ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
544ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
545ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
546ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
547651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
548ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
549cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
550ade299d8SYoichi Yuasa
55114b36af4SThomas Bogendoerferconfig SNI_RM
55214b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5534a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5544a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
555231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5565e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5575e83d430SRalf Baechle	select BOOT_ELF32
55842f77542SRalf Baechle	select CEVT_R4K
559940f6b48SRalf Baechle	select CSRC_R4K
560e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5615e83d430SRalf Baechle	select DMA_NONCOHERENT
5625e83d430SRalf Baechle	select GENERIC_ISA_DMA
5635e83d430SRalf Baechle	select HW_HAS_EISA
5645e83d430SRalf Baechle	select HW_HAS_PCI
565c066a32aSThomas Bogendoerfer	select IRQ_CPU
566d865bea4SRalf Baechle	select I8253
5675e83d430SRalf Baechle	select I8259
5685e83d430SRalf Baechle	select ISA
5694a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5707cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5714a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
572c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5734a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
57436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
575ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5765e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5774a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5785e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5795e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5801da177e4SLinus Torvalds	help
58114b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
58214b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5835e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5845e83d430SRalf Baechle	  support this machine type.
5851da177e4SLinus Torvalds
586edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
587edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
5885e83d430SRalf Baechle
589edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
590edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
59123fbee9dSRalf Baechle
59273b4390fSRalf Baechleconfig MIKROTIK_RB532
59373b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
59473b4390fSRalf Baechle	select CEVT_R4K
59573b4390fSRalf Baechle	select CSRC_R4K
59673b4390fSRalf Baechle	select DMA_NONCOHERENT
59773b4390fSRalf Baechle	select HW_HAS_PCI
59873b4390fSRalf Baechle	select IRQ_CPU
59973b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
60073b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
60173b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
60273b4390fSRalf Baechle	select SWAP_IO_SPACE
60373b4390fSRalf Baechle	select BOOT_RAW
604d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
60573b4390fSRalf Baechle	help
60673b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
60773b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
60873b4390fSRalf Baechle
609ade299d8SYoichi Yuasaconfig WR_PPMC
610ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
61142f77542SRalf Baechle	select CEVT_R4K
612940f6b48SRalf Baechle	select CSRC_R4K
613ade299d8SYoichi Yuasa	select IRQ_CPU
614ade299d8SYoichi Yuasa	select BOOT_ELF32
615ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
616ade299d8SYoichi Yuasa	select HW_HAS_PCI
617ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
618ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
619ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
620ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
621ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
622ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
623ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
624ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
625ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
626ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
627ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
628ade299d8SYoichi Yuasa	help
629ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
630ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
631ade299d8SYoichi Yuasa
632a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_SIMULATOR
633c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon Simulator"
634a86c7f72SDavid Daney	select CEVT_R4K
635a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
636a86c7f72SDavid Daney	select DMA_COHERENT
637a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
638a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
639a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
640773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
6415e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
642a86c7f72SDavid Daney	help
643a86c7f72SDavid Daney	  The Octeon simulator is software performance model of the Cavium
644a86c7f72SDavid Daney	  Octeon Processor. It supports simulating Octeon processors on x86
645a86c7f72SDavid Daney	  hardware.
646a86c7f72SDavid Daney
647a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_REFERENCE_BOARD
648c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon reference board"
649a86c7f72SDavid Daney	select CEVT_R4K
650a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
651a86c7f72SDavid Daney	select DMA_COHERENT
652a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
653a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
654a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
655773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
656a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
6575e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
658a86c7f72SDavid Daney	select SWAP_IO_SPACE
659e8635b48SDavid Daney	select HW_HAS_PCI
660e8635b48SDavid Daney	select ARCH_SUPPORTS_MSI
661a86c7f72SDavid Daney	help
662a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
663a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
664a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
665a86c7f72SDavid Daney	  Some of the supported boards are:
666a86c7f72SDavid Daney		EBT3000
667a86c7f72SDavid Daney		EBH3000
668a86c7f72SDavid Daney		EBH3100
669a86c7f72SDavid Daney		Thunder
670a86c7f72SDavid Daney		Kodama
671a86c7f72SDavid Daney		Hikari
672a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
673a86c7f72SDavid Daney
6741da177e4SLinus Torvaldsendchoice
6751da177e4SLinus Torvalds
676e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
6779c746edbSYoichi Yuasasource "arch/mips/basler/excite/Kconfig"
678e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig"
6795e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6801f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6815e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
68229c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
68338b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
68422b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
6855e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
686a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
68785749d24SWu Zhangjinsource "arch/mips/loongson/Kconfig"
68838b18f72SRalf Baechle
6895e83d430SRalf Baechleendmenu
6905e83d430SRalf Baechle
6911da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
6921da177e4SLinus Torvalds	bool
6931da177e4SLinus Torvalds	default y
6941da177e4SLinus Torvalds
6951da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
6961da177e4SLinus Torvalds	bool
6971da177e4SLinus Torvalds
698f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
699f0d1b0b3SDavid Howells	bool
700f0d1b0b3SDavid Howells	default n
701f0d1b0b3SDavid Howells
702f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
703f0d1b0b3SDavid Howells	bool
704f0d1b0b3SDavid Howells	default n
705f0d1b0b3SDavid Howells
70600a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
70700a58253SRalf Baechle	bool
70800a58253SRalf Baechle	default y if !MIPS_MT_SMTC
70900a58253SRalf Baechle
7103c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7113c9ee7efSAkinobu Mita	bool
7123c9ee7efSAkinobu Mita	default y
7133c9ee7efSAkinobu Mita
7143c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7153c9ee7efSAkinobu Mita	bool
7163c9ee7efSAkinobu Mita	default y
7173c9ee7efSAkinobu Mita
7181da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7191da177e4SLinus Torvalds	bool
7201da177e4SLinus Torvalds	default y
7211da177e4SLinus Torvalds
7227bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7237bcf7717SRalf Baechle	bool
7247bcf7717SRalf Baechle	default y
7257bcf7717SRalf Baechle
7268db02010SRalf Baechleconfig GENERIC_TIME
7278db02010SRalf Baechle	bool
7288db02010SRalf Baechle	default y
7298db02010SRalf Baechle
730f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
731f5ff0a28SRalf Baechle	bool
732f5ff0a28SRalf Baechle	default y
733f5ff0a28SRalf Baechle
734ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
7351cc89038SAtsushi Nemoto	bool
7361cc89038SAtsushi Nemoto	default y
7371cc89038SAtsushi Nemoto
738e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
739c87e0909SRalf Baechle	def_bool y
740e77c232cSFranck Bui-Huu
7411da177e4SLinus Torvalds#
7421da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7431da177e4SLinus Torvalds#
7441da177e4SLinus Torvaldsconfig ARC
7451da177e4SLinus Torvalds	bool
7461da177e4SLinus Torvalds
74761ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
74861ed242dSRalf Baechle	bool
74961ed242dSRalf Baechle
7509267a30dSMarc St-Jeanconfig BOOT_RAW
7519267a30dSMarc St-Jean	bool
7529267a30dSMarc St-Jean
753217dd11eSRalf Baechleconfig CEVT_BCM1480
754217dd11eSRalf Baechle	bool
755217dd11eSRalf Baechle
7566457d9fcSYoichi Yuasaconfig CEVT_DS1287
7576457d9fcSYoichi Yuasa	bool
7586457d9fcSYoichi Yuasa
7591097c6acSYoichi Yuasaconfig CEVT_GT641XX
7601097c6acSYoichi Yuasa	bool
7611097c6acSYoichi Yuasa
762779e7d41SManuel Laussconfig CEVT_R4K_LIB
763779e7d41SManuel Lauss	bool
764779e7d41SManuel Lauss
76542f77542SRalf Baechleconfig CEVT_R4K
766779e7d41SManuel Lauss	select CEVT_R4K_LIB
76742f77542SRalf Baechle	bool
76842f77542SRalf Baechle
769217dd11eSRalf Baechleconfig CEVT_SB1250
770217dd11eSRalf Baechle	bool
771217dd11eSRalf Baechle
772229f773eSAtsushi Nemotoconfig CEVT_TXX9
773229f773eSAtsushi Nemoto	bool
774229f773eSAtsushi Nemoto
775217dd11eSRalf Baechleconfig CSRC_BCM1480
776217dd11eSRalf Baechle	bool
777217dd11eSRalf Baechle
7784247417dSYoichi Yuasaconfig CSRC_IOASIC
7794247417dSYoichi Yuasa	bool
7804247417dSYoichi Yuasa
781779e7d41SManuel Laussconfig CSRC_R4K_LIB
782779e7d41SManuel Lauss	bool
783779e7d41SManuel Lauss
784940f6b48SRalf Baechleconfig CSRC_R4K
785779e7d41SManuel Lauss	select CSRC_R4K_LIB
786940f6b48SRalf Baechle	bool
787940f6b48SRalf Baechle
788217dd11eSRalf Baechleconfig CSRC_SB1250
789217dd11eSRalf Baechle	bool
790217dd11eSRalf Baechle
791a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
792a9aec7feSAtsushi Nemoto	select GENERIC_GPIO
7937444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
794a9aec7feSAtsushi Nemoto	bool
795a9aec7feSAtsushi Nemoto
796df78b5c8SAurelien Jarnoconfig CFE
797df78b5c8SAurelien Jarno	bool
798df78b5c8SAurelien Jarno
7991da177e4SLinus Torvaldsconfig DMA_COHERENT
8001da177e4SLinus Torvalds	bool
8011da177e4SLinus Torvalds
8021da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
8031da177e4SLinus Torvalds	bool
8044ce588cdSRalf Baechle	select DMA_NEED_PCI_MAP_STATE
8054ce588cdSRalf Baechle
8064ce588cdSRalf Baechleconfig DMA_NEED_PCI_MAP_STATE
8074ce588cdSRalf Baechle	bool
8081da177e4SLinus Torvalds
8091da177e4SLinus Torvaldsconfig EARLY_PRINTK
81036a88530SRalf Baechle	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
81136a88530SRalf Baechle	depends on SYS_HAS_EARLY_PRINTK
81236a88530SRalf Baechle	default y
81336a88530SRalf Baechle	help
81436a88530SRalf Baechle	  This option enables special console drivers which allow the kernel
81536a88530SRalf Baechle	  to print messages very early in the bootup process.
81636a88530SRalf Baechle
81736a88530SRalf Baechle	  This is useful for kernel debugging when your machine crashes very
818490dcc4dSRobert P. J. Day	  early before the console code is initialized. For normal operation,
819490dcc4dSRobert P. J. Day	  it is not recommended because it looks ugly on some machines and
820490dcc4dSRobert P. J. Day	  doesn't cooperate with an X server. You should normally say N here,
82136a88530SRalf Baechle	  unless you want to debug such a crash.
82236a88530SRalf Baechle
82336a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
8241da177e4SLinus Torvalds	bool
8251da177e4SLinus Torvalds
826dbb74540SRalf Baechleconfig HOTPLUG_CPU
8271b2bc75cSRalf Baechle	bool "Support for hot-pluggable CPUs"
8281b2bc75cSRalf Baechle	depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
8291b2bc75cSRalf Baechle	help
8301b2bc75cSRalf Baechle	  Say Y here to allow turning CPUs off and on. CPUs can be
8311b2bc75cSRalf Baechle	  controlled through /sys/devices/system/cpu.
8321b2bc75cSRalf Baechle	  (Note: power management support will enable this option
8331b2bc75cSRalf Baechle	    automatically on SMP systems. )
8341b2bc75cSRalf Baechle	  Say N if you want to disable CPU hotplug.
8351b2bc75cSRalf Baechle
8361b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU
837dbb74540SRalf Baechle	bool
838dbb74540SRalf Baechle
8391da177e4SLinus Torvaldsconfig I8259
8401da177e4SLinus Torvalds	bool
8411da177e4SLinus Torvalds
8421da177e4SLinus Torvaldsconfig MIPS_BONITO64
8431da177e4SLinus Torvalds	bool
8441da177e4SLinus Torvalds
8451da177e4SLinus Torvaldsconfig MIPS_MSC
8461da177e4SLinus Torvalds	bool
8471da177e4SLinus Torvalds
8481f21d2bdSBrian Murphyconfig MIPS_NILE4
8491f21d2bdSBrian Murphy	bool
8501f21d2bdSBrian Murphy
8511da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8521da177e4SLinus Torvalds	bool
8531da177e4SLinus Torvalds
85439b8d525SRalf Baechleconfig SYNC_R4K
85539b8d525SRalf Baechle	bool
85639b8d525SRalf Baechle
857d388d685SMaciej W. Rozyckiconfig NO_IOPORT
858d388d685SMaciej W. Rozycki	def_bool n
859d388d685SMaciej W. Rozycki
8608313da30SRalf Baechleconfig GENERIC_ISA_DMA
8618313da30SRalf Baechle	bool
8628313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
8638313da30SRalf Baechle
864aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
865aa414dffSRalf Baechle	bool
8668313da30SRalf Baechle	select GENERIC_ISA_DMA
867aa414dffSRalf Baechle
86809663335SYoichi Yuasaconfig GENERIC_GPIO
86909663335SYoichi Yuasa	bool
87009663335SYoichi Yuasa
8715e83d430SRalf Baechle#
8723cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
8735e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
8745e83d430SRalf Baechle# choice statement should be more obvious to the user.
8755e83d430SRalf Baechle#
8765e83d430SRalf Baechlechoice
8775e83d430SRalf Baechle	prompt "Endianess selection"
8781da177e4SLinus Torvalds	help
8791da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
8805e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
8813cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
8825e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
8833dde6ad8SDavid Sterba	  one or the other endianness.
8845e83d430SRalf Baechle
8855e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
8865e83d430SRalf Baechle	bool "Big endian"
8875e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
8885e83d430SRalf Baechle
8895e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8905e83d430SRalf Baechle	bool "Little endian"
8915e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8925e83d430SRalf Baechle	help
8935e83d430SRalf Baechle
8945e83d430SRalf Baechleendchoice
8955e83d430SRalf Baechle
8962116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8972116245eSRalf Baechle	bool
8982116245eSRalf Baechle
8995e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
9005e83d430SRalf Baechle	bool
9015e83d430SRalf Baechle
9025e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
9035e83d430SRalf Baechle	bool
9041da177e4SLinus Torvalds
9059cffd154SDavid Daneyconfig SYS_SUPPORTS_HUGETLBFS
9069cffd154SDavid Daney	bool
9079cffd154SDavid Daney	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
9089cffd154SDavid Daney	default y
9099cffd154SDavid Daney
9101da177e4SLinus Torvaldsconfig IRQ_CPU
9111da177e4SLinus Torvalds	bool
9121da177e4SLinus Torvalds
9131da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
9141da177e4SLinus Torvalds	bool
9151da177e4SLinus Torvalds
9165e83d430SRalf Baechleconfig IRQ_CPU_RM9K
9175e83d430SRalf Baechle	bool
9185e83d430SRalf Baechle
9199267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
9209267a30dSMarc St-Jean	bool
9219267a30dSMarc St-Jean
9229267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
9239267a30dSMarc St-Jean	bool
9249267a30dSMarc St-Jean
9258420fd00SAtsushi Nemotoconfig IRQ_TXX9
9268420fd00SAtsushi Nemoto	bool
9278420fd00SAtsushi Nemoto
928d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
929d5ab1a69SYoichi Yuasa	bool
930d5ab1a69SYoichi Yuasa
93139b8d525SRalf Baechleconfig IRQ_GIC
93239b8d525SRalf Baechle	bool
93339b8d525SRalf Baechle
934a86c7f72SDavid Daneyconfig IRQ_CPU_OCTEON
935a86c7f72SDavid Daney	bool
936a86c7f72SDavid Daney
9371da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
9381da177e4SLinus Torvalds	bool
9391da177e4SLinus Torvalds
940252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
9411da177e4SLinus Torvalds	bool
9421da177e4SLinus Torvalds
9439267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
9449267a30dSMarc St-Jean	bool
9459267a30dSMarc St-Jean
946663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
947663c3d90Sthomas@koeller.dyndns.org	bool
948663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
949663c3d90Sthomas@koeller.dyndns.org
950a83860c2SRalf Baechleconfig SOC_EMMA2RH
951a83860c2SRalf Baechle	bool
952a83860c2SRalf Baechle	select CEVT_R4K
953a83860c2SRalf Baechle	select CSRC_R4K
954a83860c2SRalf Baechle	select DMA_NONCOHERENT
955a83860c2SRalf Baechle	select IRQ_CPU
956a83860c2SRalf Baechle	select SWAP_IO_SPACE
957a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
958a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
959a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
960a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
961a83860c2SRalf Baechle
962edb6310aSDaniel Lairdconfig SOC_PNX833X
963edb6310aSDaniel Laird	bool
964edb6310aSDaniel Laird	select CEVT_R4K
965edb6310aSDaniel Laird	select CSRC_R4K
966edb6310aSDaniel Laird	select IRQ_CPU
967edb6310aSDaniel Laird	select DMA_NONCOHERENT
968edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
969edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
970edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
971edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
972edb6310aSDaniel Laird	select GENERIC_GPIO
973edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
974edb6310aSDaniel Laird
975edb6310aSDaniel Lairdconfig SOC_PNX8335
976edb6310aSDaniel Laird	bool
977edb6310aSDaniel Laird	select SOC_PNX833X
978edb6310aSDaniel Laird
979bdf21b18SPete Popovconfig PNX8550
980bdf21b18SPete Popov	bool
981bdf21b18SPete Popov	select SOC_PNX8550
982bdf21b18SPete Popov
983bdf21b18SPete Popovconfig SOC_PNX8550
984bdf21b18SPete Popov	bool
985bdf21b18SPete Popov	select DMA_NONCOHERENT
986bdf21b18SPete Popov	select HW_HAS_PCI
987b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
98836a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
9897cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
9904ead1681SFlorian Fainelli	select GENERIC_GPIO
991bdf21b18SPete Popov
9921da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
9931da177e4SLinus Torvalds	bool
9941da177e4SLinus Torvalds
995663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
996663c3d90Sthomas@koeller.dyndns.org	bool
997663c3d90Sthomas@koeller.dyndns.org
998e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
999e2defae5SThomas Bogendoerfer	bool
1000e2defae5SThomas Bogendoerfer
10015b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
10025b438c44SThomas Bogendoerfer	bool
10035b438c44SThomas Bogendoerfer
1004e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
1005e2defae5SThomas Bogendoerfer	bool
1006e2defae5SThomas Bogendoerfer
1007e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
1008e2defae5SThomas Bogendoerfer	bool
1009e2defae5SThomas Bogendoerfer
1010e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
1011e2defae5SThomas Bogendoerfer	bool
1012e2defae5SThomas Bogendoerfer
1013e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1014e2defae5SThomas Bogendoerfer	bool
1015e2defae5SThomas Bogendoerfer
1016e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1017e2defae5SThomas Bogendoerfer	bool
1018e2defae5SThomas Bogendoerfer
10195e83d430SRalf Baechleconfig ARC32
10205e83d430SRalf Baechle	bool
10215e83d430SRalf Baechle
1022231a35d3SThomas Bogendoerferconfig SNIPROM
1023231a35d3SThomas Bogendoerfer	bool
1024231a35d3SThomas Bogendoerfer
10251da177e4SLinus Torvaldsconfig BOOT_ELF32
10261da177e4SLinus Torvalds	bool
10271da177e4SLinus Torvalds
10281da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
10291da177e4SLinus Torvalds	int
1030c7088755SRalf Baechle	default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
10310db2b74eSRalf Baechle	default "6" if MIPS_CPU_SCACHE
1032a86c7f72SDavid Daney	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
10331da177e4SLinus Torvalds	default "5"
10341da177e4SLinus Torvalds
10351da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
10361da177e4SLinus Torvalds	bool
10371da177e4SLinus Torvalds
10381da177e4SLinus Torvaldsconfig ARC_CONSOLE
10391da177e4SLinus Torvalds	bool "ARC console support"
1040e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
10411da177e4SLinus Torvalds
10421da177e4SLinus Torvaldsconfig ARC_MEMORY
10431da177e4SLinus Torvalds	bool
104414b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
10451da177e4SLinus Torvalds	default y
10461da177e4SLinus Torvalds
10471da177e4SLinus Torvaldsconfig ARC_PROMLIB
10481da177e4SLinus Torvalds	bool
1049e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
10501da177e4SLinus Torvalds	default y
10511da177e4SLinus Torvalds
10521da177e4SLinus Torvaldsconfig ARC64
10531da177e4SLinus Torvalds	bool
10541da177e4SLinus Torvalds
10551da177e4SLinus Torvaldsconfig BOOT_ELF64
10561da177e4SLinus Torvalds	bool
10571da177e4SLinus Torvalds
10581da177e4SLinus Torvaldsmenu "CPU selection"
10591da177e4SLinus Torvalds
10601da177e4SLinus Torvaldschoice
10611da177e4SLinus Torvalds	prompt "CPU type"
10621da177e4SLinus Torvalds	default CPU_R4X00
10631da177e4SLinus Torvalds
10643702bba5SWu Zhangjinconfig CPU_LOONGSON2E
10653702bba5SWu Zhangjin	bool "Loongson 2E"
10663702bba5SWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2E
10673702bba5SWu Zhangjin	select CPU_LOONGSON2
10682a21c730SFuxin Zhang	help
10692a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
10702a21c730SFuxin Zhang	  with many extensions.
10712a21c730SFuxin Zhang
10726e760c8dSRalf Baechleconfig CPU_MIPS32_R1
10736e760c8dSRalf Baechle	bool "MIPS32 Release 1"
10747cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
10756e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1076797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1077ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10786e760c8dSRalf Baechle	help
10795e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10801e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10811e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10821e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10831e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10841e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
10851e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
10861e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
10871e5f1caaSRalf Baechle	  performance.
10881e5f1caaSRalf Baechle
10891e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
10901e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
10917cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
10921e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1093797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1094ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10951e5f1caaSRalf Baechle	help
10965e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
10976e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10986e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10996e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11006e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11011da177e4SLinus Torvalds
11026e760c8dSRalf Baechleconfig CPU_MIPS64_R1
11036e760c8dSRalf Baechle	bool "MIPS64 Release 1"
11047cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1105797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1106ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1107ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1108ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11099cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11106e760c8dSRalf Baechle	help
11116e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11126e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11136e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11146e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11156e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11161e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
11171e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
11181e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
11191e5f1caaSRalf Baechle	  performance.
11201e5f1caaSRalf Baechle
11211e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
11221e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
11237cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1124797798c1SRalf Baechle	select CPU_HAS_PREFETCH
11251e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11261e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1127ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11289cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11291e5f1caaSRalf Baechle	help
11301e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11311e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11321e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11331e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11341e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11351da177e4SLinus Torvalds
11361da177e4SLinus Torvaldsconfig CPU_R3000
11371da177e4SLinus Torvalds	bool "R3000"
11387cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1139f7062ddbSRalf Baechle	select CPU_HAS_WB
1140ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1141797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11421da177e4SLinus Torvalds	help
11431da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
11441da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
11451da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
11461da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
11471da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
11481da177e4SLinus Torvalds	  try to recompile with R3000.
11491da177e4SLinus Torvalds
11501da177e4SLinus Torvaldsconfig CPU_TX39XX
11511da177e4SLinus Torvalds	bool "R39XX"
11527cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1153ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11541da177e4SLinus Torvalds
11551da177e4SLinus Torvaldsconfig CPU_VR41XX
11561da177e4SLinus Torvalds	bool "R41xx"
11577cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1158ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1159ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11601da177e4SLinus Torvalds	help
11615e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
11621da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
11631da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
11641da177e4SLinus Torvalds	  processor or vice versa.
11651da177e4SLinus Torvalds
11661da177e4SLinus Torvaldsconfig CPU_R4300
11671da177e4SLinus Torvalds	bool "R4300"
11687cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1169ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1170ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11711da177e4SLinus Torvalds	help
11721da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
11731da177e4SLinus Torvalds
11741da177e4SLinus Torvaldsconfig CPU_R4X00
11751da177e4SLinus Torvalds	bool "R4x00"
11767cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1177ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1178ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11791da177e4SLinus Torvalds	help
11801da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
11811da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
11821da177e4SLinus Torvalds
11831da177e4SLinus Torvaldsconfig CPU_TX49XX
11841da177e4SLinus Torvalds	bool "R49XX"
11857cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1186de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1187ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1188ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11891da177e4SLinus Torvalds
11901da177e4SLinus Torvaldsconfig CPU_R5000
11911da177e4SLinus Torvalds	bool "R5000"
11927cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1193ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1194ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11951da177e4SLinus Torvalds	help
11961da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
11971da177e4SLinus Torvalds
11981da177e4SLinus Torvaldsconfig CPU_R5432
11991da177e4SLinus Torvalds	bool "R5432"
12007cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
12015e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
12025e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
12031da177e4SLinus Torvalds
1204542c1020SShinya Kuribayashiconfig CPU_R5500
1205542c1020SShinya Kuribayashi	bool "R5500"
1206542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1207542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1208542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
12099cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1210542c1020SShinya Kuribayashi	help
1211542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1212542c1020SShinya Kuribayashi	  instruction set.
1213542c1020SShinya Kuribayashi
12141da177e4SLinus Torvaldsconfig CPU_R6000
12151da177e4SLinus Torvalds	bool "R6000"
1216ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12177cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1218ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12191da177e4SLinus Torvalds	help
12201da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1221c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
12221da177e4SLinus Torvalds
12231da177e4SLinus Torvaldsconfig CPU_NEVADA
12241da177e4SLinus Torvalds	bool "RM52xx"
12257cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1226ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1227ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12281da177e4SLinus Torvalds	help
12291da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
12301da177e4SLinus Torvalds
12311da177e4SLinus Torvaldsconfig CPU_R8000
12321da177e4SLinus Torvalds	bool "R8000"
1233ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12347cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
12355e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1236ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12371da177e4SLinus Torvalds	help
12381da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
12391da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
12401da177e4SLinus Torvalds
12411da177e4SLinus Torvaldsconfig CPU_R10000
12421da177e4SLinus Torvalds	bool "R10000"
12437cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
12445e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1245ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1246ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1247797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12481da177e4SLinus Torvalds	help
12491da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
12501da177e4SLinus Torvalds
12511da177e4SLinus Torvaldsconfig CPU_RM7000
12521da177e4SLinus Torvalds	bool "RM7000"
12537cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
12545e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1255ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1256ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1257797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12581da177e4SLinus Torvalds
12591da177e4SLinus Torvaldsconfig CPU_RM9000
12601da177e4SLinus Torvalds	bool "RM9000"
12617cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
12625e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1263ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1264ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1265797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12660004a9dfSRalf Baechle	select WEAK_ORDERING
12671da177e4SLinus Torvalds
12681da177e4SLinus Torvaldsconfig CPU_SB1
12691da177e4SLinus Torvalds	bool "SB1"
12707cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1271ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1272ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1273797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12740004a9dfSRalf Baechle	select WEAK_ORDERING
12751da177e4SLinus Torvalds
1276a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1277a86c7f72SDavid Daney	bool "Cavium Octeon processor"
12785e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1279a86c7f72SDavid Daney	select IRQ_CPU
1280a86c7f72SDavid Daney	select IRQ_CPU_OCTEON
1281a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1282a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1283a86c7f72SDavid Daney	select SYS_SUPPORTS_SMP
1284a86c7f72SDavid Daney	select NR_CPUS_DEFAULT_16
1285a86c7f72SDavid Daney	select WEAK_ORDERING
1286a86c7f72SDavid Daney	select WEAK_REORDERING_BEYOND_LLSC
1287a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
12889cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1289a86c7f72SDavid Daney	help
1290a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1291a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1292a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1293a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1294a86c7f72SDavid Daney
12951da177e4SLinus Torvaldsendchoice
12961da177e4SLinus Torvalds
12973702bba5SWu Zhangjinconfig CPU_LOONGSON2
12983702bba5SWu Zhangjin	bool
12993702bba5SWu Zhangjin	select CPU_SUPPORTS_32BIT_KERNEL
13003702bba5SWu Zhangjin	select CPU_SUPPORTS_64BIT_KERNEL
13013702bba5SWu Zhangjin	select CPU_SUPPORTS_HIGHMEM
13023702bba5SWu Zhangjin
13033702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E
13042a21c730SFuxin Zhang	bool
13052a21c730SFuxin Zhang
13067cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
13077cf8053bSRalf Baechle	bool
13087cf8053bSRalf Baechle
13097cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
13107cf8053bSRalf Baechle	bool
13117cf8053bSRalf Baechle
13127cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
13137cf8053bSRalf Baechle	bool
13147cf8053bSRalf Baechle
13157cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
13167cf8053bSRalf Baechle	bool
13177cf8053bSRalf Baechle
13187cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
13197cf8053bSRalf Baechle	bool
13207cf8053bSRalf Baechle
13217cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
13227cf8053bSRalf Baechle	bool
13237cf8053bSRalf Baechle
13247cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
13257cf8053bSRalf Baechle	bool
13267cf8053bSRalf Baechle
13277cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
13287cf8053bSRalf Baechle	bool
13297cf8053bSRalf Baechle
13307cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
13317cf8053bSRalf Baechle	bool
13327cf8053bSRalf Baechle
13337cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
13347cf8053bSRalf Baechle	bool
13357cf8053bSRalf Baechle
13367cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
13377cf8053bSRalf Baechle	bool
13387cf8053bSRalf Baechle
13397cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
13407cf8053bSRalf Baechle	bool
13417cf8053bSRalf Baechle
1342542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1343542c1020SShinya Kuribayashi	bool
1344542c1020SShinya Kuribayashi
13457cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
13467cf8053bSRalf Baechle	bool
13477cf8053bSRalf Baechle
13487cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
13497cf8053bSRalf Baechle	bool
13507cf8053bSRalf Baechle
13517cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
13527cf8053bSRalf Baechle	bool
13537cf8053bSRalf Baechle
13547cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
13557cf8053bSRalf Baechle	bool
13567cf8053bSRalf Baechle
13577cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
13587cf8053bSRalf Baechle	bool
13597cf8053bSRalf Baechle
13607cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
13617cf8053bSRalf Baechle	bool
13627cf8053bSRalf Baechle
13637cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
13647cf8053bSRalf Baechle	bool
13657cf8053bSRalf Baechle
13665e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
13675e683389SDavid Daney	bool
13685e683389SDavid Daney
136917099b11SRalf Baechle#
137017099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
137117099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
137217099b11SRalf Baechle#
13730004a9dfSRalf Baechleconfig WEAK_ORDERING
13740004a9dfSRalf Baechle	bool
137517099b11SRalf Baechle
137617099b11SRalf Baechle#
137717099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
137817099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
137917099b11SRalf Baechle#
138017099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
138117099b11SRalf Baechle	bool
13825e83d430SRalf Baechleendmenu
13835e83d430SRalf Baechle
13845e83d430SRalf Baechle#
13855e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
13865e83d430SRalf Baechle#
13875e83d430SRalf Baechleconfig CPU_MIPS32
13885e83d430SRalf Baechle	bool
13895e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
13905e83d430SRalf Baechle
13915e83d430SRalf Baechleconfig CPU_MIPS64
13925e83d430SRalf Baechle	bool
13935e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
13945e83d430SRalf Baechle
13955e83d430SRalf Baechle#
1396c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
13975e83d430SRalf Baechle#
13985e83d430SRalf Baechleconfig CPU_MIPSR1
13995e83d430SRalf Baechle	bool
14005e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
14015e83d430SRalf Baechle
14025e83d430SRalf Baechleconfig CPU_MIPSR2
14035e83d430SRalf Baechle	bool
1404a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
14055e83d430SRalf Baechle
14065e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
14075e83d430SRalf Baechle	bool
14085e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
14095e83d430SRalf Baechle	bool
14105e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
14115e83d430SRalf Baechle	bool
14125e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
14135e83d430SRalf Baechle	bool
14149cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES
14159cffd154SDavid Daney	bool
14165e83d430SRalf Baechle
14178192c9eaSDavid Daney#
14188192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
14198192c9eaSDavid Daney#
14208192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
14218192c9eaSDavid Daney       bool
1422f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
14238192c9eaSDavid Daney
14245e83d430SRalf Baechlemenu "Kernel type"
14255e83d430SRalf Baechle
14265e83d430SRalf Baechlechoice
14275e83d430SRalf Baechle
14285e83d430SRalf Baechle	prompt "Kernel code model"
14295e83d430SRalf Baechle	help
14305e83d430SRalf Baechle	  You should only select this option if you have a workload that
14315e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
14325e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
14335e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
14345e83d430SRalf Baechle
14355e83d430SRalf Baechleconfig 32BIT
14365e83d430SRalf Baechle	bool "32-bit kernel"
14375e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
14385e83d430SRalf Baechle	select TRAD_SIGNALS
14395e83d430SRalf Baechle	help
14405e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
14415e83d430SRalf Baechleconfig 64BIT
14425e83d430SRalf Baechle	bool "64-bit kernel"
14435e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1444dbda6ac0SRalf Baechle	select HAVE_SYSCALL_WRAPPERS
14455e83d430SRalf Baechle	help
14465e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
14475e83d430SRalf Baechle
14485e83d430SRalf Baechleendchoice
14495e83d430SRalf Baechle
14501da177e4SLinus Torvaldschoice
14511da177e4SLinus Torvalds	prompt "Kernel page size"
14521da177e4SLinus Torvalds	default PAGE_SIZE_4KB
14531da177e4SLinus Torvalds
14541da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
14551da177e4SLinus Torvalds	bool "4kB"
1456*315fe625SWu Zhangjin	depends on !CPU_LOONGSON2
14571da177e4SLinus Torvalds	help
14581da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
14591da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
14601da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
14611da177e4SLinus Torvalds	 recommended for low memory systems.
14621da177e4SLinus Torvalds
14631da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
14641da177e4SLinus Torvalds	bool "8kB"
1465c52399beSRalf Baechle	depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
14661da177e4SLinus Torvalds	help
14671da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
14681da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
1469c52399beSRalf Baechle	  only on R8000 and cnMIPS processors.  Note that you will need a
1470c52399beSRalf Baechle	  suitable Linux distribution to support this.
14711da177e4SLinus Torvalds
14721da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
14731da177e4SLinus Torvalds	bool "16kB"
1474714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
14751da177e4SLinus Torvalds	help
14761da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
14771da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1478714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1479714bfad6SRalf Baechle	  Linux distribution to support this.
14801da177e4SLinus Torvalds
1481c52399beSRalf Baechleconfig PAGE_SIZE_32KB
1482c52399beSRalf Baechle	bool "32kB"
1483c52399beSRalf Baechle	depends on CPU_CAVIUM_OCTEON
1484c52399beSRalf Baechle	help
1485c52399beSRalf Baechle	  Using 32kB page size will result in higher performance kernel at
1486c52399beSRalf Baechle	  the price of higher memory consumption.  This option is available
1487c52399beSRalf Baechle	  only on cnMIPS cores.  Note that you will need a suitable Linux
1488c52399beSRalf Baechle	  distribution to support this.
1489c52399beSRalf Baechle
14901da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
14911da177e4SLinus Torvalds	bool "64kB"
14921da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
14931da177e4SLinus Torvalds	help
14941da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
14951da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
14961da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1497714bfad6SRalf Baechle	  writing this option is still high experimental.
14981da177e4SLinus Torvalds
14991da177e4SLinus Torvaldsendchoice
15001da177e4SLinus Torvalds
15011da177e4SLinus Torvaldsconfig BOARD_SCACHE
15021da177e4SLinus Torvalds	bool
15031da177e4SLinus Torvalds
15041da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
15051da177e4SLinus Torvalds	bool
15061da177e4SLinus Torvalds	select BOARD_SCACHE
15071da177e4SLinus Torvalds
15089318c51aSChris Dearman#
15099318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
15109318c51aSChris Dearman#
15119318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
15129318c51aSChris Dearman	bool
15139318c51aSChris Dearman	select BOARD_SCACHE
15149318c51aSChris Dearman
15151da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
15161da177e4SLinus Torvalds	bool
15171da177e4SLinus Torvalds	select BOARD_SCACHE
15181da177e4SLinus Torvalds
15191da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
15201da177e4SLinus Torvalds	bool
15211da177e4SLinus Torvalds	select BOARD_SCACHE
15221da177e4SLinus Torvalds
15231da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
15241da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
15251da177e4SLinus Torvalds	depends on CPU_SB1
15261da177e4SLinus Torvalds	help
15271da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
15281da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
15291da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
15301da177e4SLinus Torvalds
15311da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1532c8094b53SRalf Baechle	bool
15331da177e4SLinus Torvalds
1534340ee4b9SRalf Baechlechoice
1535340ee4b9SRalf Baechle	prompt "MIPS MT options"
1536f41ae0b2SRalf Baechle
1537f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1538f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1539f41ae0b2SRalf Baechle	help
1540f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1541f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1542f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1543f41ae0b2SRalf Baechle	  option in this menu.
1544340ee4b9SRalf Baechle
154559d6ab86SRalf Baechleconfig MIPS_MT_SMP
154659d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
154759d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
154859d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1549d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
155059d6ab86SRalf Baechle	select MIPS_MT
1551f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
155259d6ab86SRalf Baechle	select SMP
15530ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
155459d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
155587353d8aSRalf Baechle	select SMP_UP
155659d6ab86SRalf Baechle	help
155759d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
155859d6ab86SRalf Baechle	  has been marketesed into SMVP.
155959d6ab86SRalf Baechle
156041c594abSRalf Baechleconfig MIPS_MT_SMTC
156141c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1562f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1563f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1564f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1565f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1566d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1567f41ae0b2SRalf Baechle	select MIPS_MT
1568130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
156941c594abSRalf Baechle	select SMP
157073b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
157187353d8aSRalf Baechle	select SMP_UP
1572f41ae0b2SRalf Baechle	help
1573f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1574f41ae0b2SRalf Baechle	  marketesed into SMVP.
157541c594abSRalf Baechle
1576340ee4b9SRalf Baechleendchoice
1577340ee4b9SRalf Baechle
1578f41ae0b2SRalf Baechleconfig MIPS_MT
1579f41ae0b2SRalf Baechle	bool
1580f41ae0b2SRalf Baechle
15810ab7aefcSRalf Baechleconfig SCHED_SMT
15820ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
15830ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
15840ab7aefcSRalf Baechle	default n
15850ab7aefcSRalf Baechle	help
15860ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
15870ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
15880ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
15890ab7aefcSRalf Baechle
15900ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
15910ab7aefcSRalf Baechle	bool
15920ab7aefcSRalf Baechle
15930ab7aefcSRalf Baechle
1594f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1595f41ae0b2SRalf Baechle	bool
1596f41ae0b2SRalf Baechle
1597f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1598f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1599f088fc84SRalf Baechle	default y
160007cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
160107cc0c9eSRalf Baechle
160207cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
160307cc0c9eSRalf Baechle	bool "VPE loader support."
160407cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
160507cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
160607cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
160707cc0c9eSRalf Baechle	select MIPS_MT
160807cc0c9eSRalf Baechle	help
160907cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
161007cc0c9eSRalf Baechle	  onto another VPE and running it.
1611f088fc84SRalf Baechle
16120db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
16130db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
16140db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
16158531a35eSKevin D. Kissell	default n
16160db34215SKevin D. Kissell	help
16170db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
16180db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
16190db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
16200db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
16210db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
16228531a35eSKevin D. Kissell	  impact on interrupt service overhead.
16230db34215SKevin D. Kissell
1624f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1625f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1626f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1627f571eff0SKevin D. Kissell	default n
1628f571eff0SKevin D. Kissell	help
1629f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1630f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1631f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
16328531a35eSKevin D. Kissell	  platform code.  Adds some overhead to interrupt dispatch, and
16338531a35eSKevin D. Kissell	  should be used only if you know what you are doing.
1634f571eff0SKevin D. Kissell
1635e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1636e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1637e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1638e01402b1SRalf Baechle	default y
1639e01402b1SRalf Baechle	help
1640e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1641e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1642e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1643e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1644e01402b1SRalf Baechle
1645e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1646e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1647e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1648e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
16495e83d430SRalf Baechle	help
1650e01402b1SRalf Baechle
16512600990eSRalf Baechleconfig MIPS_APSP_KSPD
16522600990eSRalf Baechle	bool "Enable KSPD"
16532600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
16542600990eSRalf Baechle	default y
16552600990eSRalf Baechle	help
16562600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
16572600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
16582600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
16592600990eSRalf Baechle	  exiting.  You probably want to say yes here.
16602600990eSRalf Baechle
16614a16ff4cSRalf Baechleconfig MIPS_CMP
16624a16ff4cSRalf Baechle	bool "MIPS CMP framework support"
16634a16ff4cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
1664eb9b5141STim Anderson	select SYNC_R4K
16654a16ff4cSRalf Baechle	select SYS_SUPPORTS_SMP
16664a16ff4cSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
16674a16ff4cSRalf Baechle	select WEAK_ORDERING
16684a16ff4cSRalf Baechle	default n
16694a16ff4cSRalf Baechle	help
16704a16ff4cSRalf Baechle	  This is a placeholder option for the GCMP work. It will need to
16714a16ff4cSRalf Baechle	  be handled differently...
16724a16ff4cSRalf Baechle
16731da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
16741da177e4SLinus Torvalds	bool
16751da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
16761da177e4SLinus Torvalds	default y
16771da177e4SLinus Torvalds
16781da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
16791da177e4SLinus Torvalds	bool
16801da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
16811da177e4SLinus Torvalds	default y
16821da177e4SLinus Torvalds
16831da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
16841da177e4SLinus Torvalds	bool
16851da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
16861da177e4SLinus Torvalds	default y
16871da177e4SLinus Torvalds
16881da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1689d806cb2bSRalf Baechle	bool
16901da177e4SLinus Torvalds
16919693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
16929693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
16939693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
16949693a853SFranck Bui-Huu	help
16959693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
16969693a853SFranck Bui-Huu	  increased security at both hardware and software level for
16979693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
16989693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
16999693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
17009693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
17019693a853SFranck Bui-Huu	  here.
17029693a853SFranck Bui-Huu
17031da177e4SLinus Torvaldsconfig CPU_HAS_WB
1704f7062ddbSRalf Baechle	bool
1705e01402b1SRalf Baechle
1706f41ae0b2SRalf Baechle#
1707f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1708f41ae0b2SRalf Baechle#
1709e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1710f41ae0b2SRalf Baechle	bool
1711e01402b1SRalf Baechle
1712f41ae0b2SRalf Baechle#
1713f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1714f41ae0b2SRalf Baechle#
1715e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1716f41ae0b2SRalf Baechle	bool
1717e01402b1SRalf Baechle
17181da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
17191da177e4SLinus Torvalds	bool
17201da177e4SLinus Torvalds	depends on !CPU_R3000
17211da177e4SLinus Torvalds	default y
17221da177e4SLinus Torvalds
1723ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1724ea580401SRalf Baechle	bool
1725ea580401SRalf Baechle
17261da177e4SLinus Torvalds#
172720d60d99SMaciej W. Rozycki# CPU non-features
172820d60d99SMaciej W. Rozycki#
172920d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
173020d60d99SMaciej W. Rozycki	bool
173120d60d99SMaciej W. Rozycki
173220d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
173320d60d99SMaciej W. Rozycki	bool
173420d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
173520d60d99SMaciej W. Rozycki
173620d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
173720d60d99SMaciej W. Rozycki	bool
173820d60d99SMaciej W. Rozycki
173920d60d99SMaciej W. Rozycki#
1740797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1741797798c1SRalf Baechle#
1742797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1743797798c1SRalf Baechle	bool
1744797798c1SRalf Baechle	default y
1745797798c1SRalf Baechle
1746797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1747797798c1SRalf Baechle	bool
1748797798c1SRalf Baechle	default y
1749797798c1SRalf Baechle
17500d7012a9SIngo Molnarconfig IRQ_PER_CPU
17510d7012a9SIngo Molnar	bool
17520d7012a9SIngo Molnar
1753797798c1SRalf Baechle#
17541da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
17551da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
17561da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
17571da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
17581da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
17591da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
17601da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
17611da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1762797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1763797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1764797798c1SRalf Baechle#   support.
17651da177e4SLinus Torvalds#
17661da177e4SLinus Torvaldsconfig HIGHMEM
17671da177e4SLinus Torvalds	bool "High Memory Support"
1768797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1769797798c1SRalf Baechle
1770797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1771797798c1SRalf Baechle	bool
1772797798c1SRalf Baechle
1773797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1774797798c1SRalf Baechle	bool
17751da177e4SLinus Torvalds
17769693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
17779693a853SFranck Bui-Huu	bool
17789693a853SFranck Bui-Huu
1779b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1780b4819b59SYoichi Yuasa	def_bool y
1781b4819b59SYoichi Yuasa	depends on !NUMA
1782b4819b59SYoichi Yuasa
1783d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1784d8cb4e11SRalf Baechle	bool
1785d8cb4e11SRalf Baechle	default y if SGI_IP27
1786d8cb4e11SRalf Baechle	help
17873dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1788d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1789d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1790d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1791d8cb4e11SRalf Baechle
1792cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1793cce335aeSRalf Baechle	def_bool y
1794cce335aeSRalf Baechle
1795b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1796b1c6cd42SAtsushi Nemoto	bool
17977de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
179831473747SAtsushi Nemoto
1799d8cb4e11SRalf Baechleconfig NUMA
1800d8cb4e11SRalf Baechle	bool "NUMA Support"
1801d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1802d8cb4e11SRalf Baechle	help
1803d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1804d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1805d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1806d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1807d8cb4e11SRalf Baechle	  disabled.
1808d8cb4e11SRalf Baechle
1809d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1810d8cb4e11SRalf Baechle	bool
1811d8cb4e11SRalf Baechle
1812c80d79d7SYasunori Gotoconfig NODES_SHIFT
1813c80d79d7SYasunori Goto	int
1814c80d79d7SYasunori Goto	default "6"
1815c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1816c80d79d7SYasunori Goto
1817b4819b59SYoichi Yuasasource "mm/Kconfig"
1818b4819b59SYoichi Yuasa
18191da177e4SLinus Torvaldsconfig SMP
18201da177e4SLinus Torvalds	bool "Multi-Processing support"
1821e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1822b4b30a5aSRalf Baechle	select IRQ_PER_CPU
18232f304c0aSJens Axboe	select USE_GENERIC_SMP_HELPERS
1824e73ea273SRalf Baechle	help
18251da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
18261da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
18271da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
18281da177e4SLinus Torvalds
18291da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
18301da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
18311da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
18321da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
18331da177e4SLinus Torvalds	  will run faster if you say N here.
18341da177e4SLinus Torvalds
18351da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
18361da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
18371da177e4SLinus Torvalds
183803502faaSAdrian Bunk	  See also the SMP-HOWTO available at
183903502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
18401da177e4SLinus Torvalds
18411da177e4SLinus Torvalds	  If you don't know what to do here, say N.
18421da177e4SLinus Torvalds
184387353d8aSRalf Baechleconfig SMP_UP
184487353d8aSRalf Baechle	bool
184587353d8aSRalf Baechle
18464a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
18474a16ff4cSRalf Baechle	bool
18484a16ff4cSRalf Baechle
1849e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1850e73ea273SRalf Baechle	bool
1851e73ea273SRalf Baechle
185272ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
185372ede9b1SAtsushi Nemoto	bool
185472ede9b1SAtsushi Nemoto
1855130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1856130e2fb7SRalf Baechle	bool
1857130e2fb7SRalf Baechle
1858130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1859130e2fb7SRalf Baechle	bool
1860130e2fb7SRalf Baechle
1861130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1862130e2fb7SRalf Baechle	bool
1863130e2fb7SRalf Baechle
1864130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1865130e2fb7SRalf Baechle	bool
1866130e2fb7SRalf Baechle
1867130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1868130e2fb7SRalf Baechle	bool
1869130e2fb7SRalf Baechle
1870130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1871130e2fb7SRalf Baechle	bool
1872130e2fb7SRalf Baechle
18731da177e4SLinus Torvaldsconfig NR_CPUS
18741da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
187572ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
18761da177e4SLinus Torvalds	depends on SMP
187772ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1878130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1879130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1880130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1881130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1882130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1883130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
18841da177e4SLinus Torvalds	help
18851da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
18861da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
18871da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
188872ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
188972ede9b1SAtsushi Nemoto	  and 2 for all others.
18901da177e4SLinus Torvalds
18911da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
189272ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
189372ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
189472ede9b1SAtsushi Nemoto	  power of two.
18951da177e4SLinus Torvalds
1896c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
1897c4eee283SAtsushi Nemoto
18981723b4a3SAtsushi Nemoto#
18991723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
19001723b4a3SAtsushi Nemoto#
19011723b4a3SAtsushi Nemoto
19021723b4a3SAtsushi Nemotochoice
19031723b4a3SAtsushi Nemoto	prompt "Timer frequency"
19041723b4a3SAtsushi Nemoto	default HZ_250
19051723b4a3SAtsushi Nemoto	help
19061723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
19071723b4a3SAtsushi Nemoto
19081723b4a3SAtsushi Nemoto	config HZ_48
19090f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
19101723b4a3SAtsushi Nemoto
19111723b4a3SAtsushi Nemoto	config HZ_100
19121723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
19131723b4a3SAtsushi Nemoto
19141723b4a3SAtsushi Nemoto	config HZ_128
19151723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
19161723b4a3SAtsushi Nemoto
19171723b4a3SAtsushi Nemoto	config HZ_250
19181723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
19191723b4a3SAtsushi Nemoto
19201723b4a3SAtsushi Nemoto	config HZ_256
19211723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
19221723b4a3SAtsushi Nemoto
19231723b4a3SAtsushi Nemoto	config HZ_1000
19241723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
19251723b4a3SAtsushi Nemoto
19261723b4a3SAtsushi Nemoto	config HZ_1024
19271723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
19281723b4a3SAtsushi Nemoto
19291723b4a3SAtsushi Nemotoendchoice
19301723b4a3SAtsushi Nemoto
19311723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
19321723b4a3SAtsushi Nemoto	bool
19331723b4a3SAtsushi Nemoto
19341723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
19351723b4a3SAtsushi Nemoto	bool
19361723b4a3SAtsushi Nemoto
19371723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
19381723b4a3SAtsushi Nemoto	bool
19391723b4a3SAtsushi Nemoto
19401723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
19411723b4a3SAtsushi Nemoto	bool
19421723b4a3SAtsushi Nemoto
19431723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
19441723b4a3SAtsushi Nemoto	bool
19451723b4a3SAtsushi Nemoto
19461723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
19471723b4a3SAtsushi Nemoto	bool
19481723b4a3SAtsushi Nemoto
19491723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
19501723b4a3SAtsushi Nemoto	bool
19511723b4a3SAtsushi Nemoto
19521723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
19531723b4a3SAtsushi Nemoto	bool
19541723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
19551723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
19561723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
19571723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
19581723b4a3SAtsushi Nemoto
19591723b4a3SAtsushi Nemotoconfig HZ
19601723b4a3SAtsushi Nemoto	int
19611723b4a3SAtsushi Nemoto	default 48 if HZ_48
19621723b4a3SAtsushi Nemoto	default 100 if HZ_100
19631723b4a3SAtsushi Nemoto	default 128 if HZ_128
19641723b4a3SAtsushi Nemoto	default 250 if HZ_250
19651723b4a3SAtsushi Nemoto	default 256 if HZ_256
19661723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
19671723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
19681723b4a3SAtsushi Nemoto
1969e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
19701da177e4SLinus Torvalds
19711da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
19721da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
1973875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
19741da177e4SLinus Torvalds	help
19751da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
19761da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
19771da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
19781da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
19791da177e4SLinus Torvalds	  recommended for normal users.
19801da177e4SLinus Torvalds
1981ea6e942bSAtsushi Nemotoconfig KEXEC
1982ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
1983ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
1984ea6e942bSAtsushi Nemoto	help
1985ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
1986ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
19873dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
1988ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
1989ea6e942bSAtsushi Nemoto
199001dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
1991ea6e942bSAtsushi Nemoto
1992ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
1993ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
1994ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
1995ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
1996ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
1997ea6e942bSAtsushi Nemoto
1998ea6e942bSAtsushi Nemotoconfig SECCOMP
1999ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
2000293c5bd1SRalf Baechle	depends on PROC_FS
2001ea6e942bSAtsushi Nemoto	default y
2002ea6e942bSAtsushi Nemoto	help
2003ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
2004ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
2005ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
2006ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
2007ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
2008ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
2009ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
2010ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
2011ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
2012ea6e942bSAtsushi Nemoto
2013ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
2014ea6e942bSAtsushi Nemoto
20155e83d430SRalf Baechleendmenu
20165e83d430SRalf Baechle
20171df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
20181df0f0ffSAtsushi Nemoto	bool
20191df0f0ffSAtsushi Nemoto	default y
20201df0f0ffSAtsushi Nemoto
20211df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
20221df0f0ffSAtsushi Nemoto	bool
20231df0f0ffSAtsushi Nemoto	default y
20241df0f0ffSAtsushi Nemoto
2025b6c3539bSRalf Baechlesource "init/Kconfig"
2026b6c3539bSRalf Baechle
20270011036bSAtsushi Nemotoconfig PROBE_INITRD_HEADER
20280011036bSAtsushi Nemoto	bool "Probe initrd header created by addinitrd"
20290011036bSAtsushi Nemoto	depends on BLK_DEV_INITRD
20300011036bSAtsushi Nemoto	help
20310011036bSAtsushi Nemoto	  Probe initrd header at the last page of kernel image.
20320011036bSAtsushi Nemoto	  Say Y here if you are using arch/mips/boot/addinitrd.c to
20330011036bSAtsushi Nemoto	  add initrd or initramfs image to the kernel image.
20340011036bSAtsushi Nemoto	  Otherwise, say N.
20350011036bSAtsushi Nemoto
2036dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
2037dc52ddc0SMatt Helsley
20381da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
20391da177e4SLinus Torvalds
20405e83d430SRalf Baechleconfig HW_HAS_EISA
20415e83d430SRalf Baechle	bool
20421da177e4SLinus Torvaldsconfig HW_HAS_PCI
20431da177e4SLinus Torvalds	bool
20441da177e4SLinus Torvalds
20451da177e4SLinus Torvaldsconfig PCI
20461da177e4SLinus Torvalds	bool "Support for PCI controller"
20471da177e4SLinus Torvalds	depends on HW_HAS_PCI
2048abb4ae46SRalf Baechle	select PCI_DOMAINS
20491da177e4SLinus Torvalds	help
20501da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
20511da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
20521da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
20531da177e4SLinus Torvalds	  say Y, otherwise N.
20541da177e4SLinus Torvalds
20551da177e4SLinus Torvaldsconfig PCI_DOMAINS
20561da177e4SLinus Torvalds	bool
20571da177e4SLinus Torvalds
20581da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
20591da177e4SLinus Torvalds
20601da177e4SLinus Torvalds#
20611da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
20621da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
20631da177e4SLinus Torvalds# users to choose the right thing ...
20641da177e4SLinus Torvalds#
20651da177e4SLinus Torvaldsconfig ISA
20661da177e4SLinus Torvalds	bool
20671da177e4SLinus Torvalds
20681da177e4SLinus Torvaldsconfig EISA
20691da177e4SLinus Torvalds	bool "EISA support"
20705e83d430SRalf Baechle	depends on HW_HAS_EISA
20711da177e4SLinus Torvalds	select ISA
2072aa414dffSRalf Baechle	select GENERIC_ISA_DMA
20731da177e4SLinus Torvalds	---help---
20741da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
20751da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
20761da177e4SLinus Torvalds
20771da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
20781da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
20791da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
20801da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
20811da177e4SLinus Torvalds
20821da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
20831da177e4SLinus Torvalds
20841da177e4SLinus Torvalds	  Otherwise, say N.
20851da177e4SLinus Torvalds
20861da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
20871da177e4SLinus Torvalds
20881da177e4SLinus Torvaldsconfig TC
20891da177e4SLinus Torvalds	bool "TURBOchannel support"
20901da177e4SLinus Torvalds	depends on MACH_DECSTATION
20911da177e4SLinus Torvalds	help
20921da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
20931da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
20941da177e4SLinus Torvalds	  is available at:
20951da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
20961da177e4SLinus Torvalds
20971da177e4SLinus Torvalds#config ACCESSBUS
20981da177e4SLinus Torvalds#	bool "Access.Bus support"
20991da177e4SLinus Torvalds#	depends on TC
21001da177e4SLinus Torvalds
21011da177e4SLinus Torvaldsconfig MMU
21021da177e4SLinus Torvalds	bool
21031da177e4SLinus Torvalds	default y
21041da177e4SLinus Torvalds
2105d865bea4SRalf Baechleconfig I8253
2106d865bea4SRalf Baechle	bool
2107d865bea4SRalf Baechle
2108cce335aeSRalf Baechleconfig ZONE_DMA32
2109cce335aeSRalf Baechle	bool
2110cce335aeSRalf Baechle
21111da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
21121da177e4SLinus Torvalds
21131da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
21141da177e4SLinus Torvalds
21151da177e4SLinus Torvaldsendmenu
21161da177e4SLinus Torvalds
21171da177e4SLinus Torvaldsmenu "Executable file formats"
21181da177e4SLinus Torvalds
21191da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
21201da177e4SLinus Torvalds
21211da177e4SLinus Torvaldsconfig TRAD_SIGNALS
21221da177e4SLinus Torvalds	bool
21231da177e4SLinus Torvalds
21241da177e4SLinus Torvaldsconfig MIPS32_COMPAT
21251da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2126875d43e7SRalf Baechle	depends on 64BIT
21271da177e4SLinus Torvalds	help
21281da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
21291da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
21301da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
21311da177e4SLinus Torvalds
21321da177e4SLinus Torvaldsconfig COMPAT
21331da177e4SLinus Torvalds	bool
21341da177e4SLinus Torvalds	depends on MIPS32_COMPAT
21351da177e4SLinus Torvalds	default y
21361da177e4SLinus Torvalds
213705e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
213805e43966SAtsushi Nemoto	bool
213905e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
214005e43966SAtsushi Nemoto	default y
214105e43966SAtsushi Nemoto
21421da177e4SLinus Torvaldsconfig MIPS32_O32
21431da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
21441da177e4SLinus Torvalds	depends on MIPS32_COMPAT
21451da177e4SLinus Torvalds	help
21461da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
21471da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
21481da177e4SLinus Torvalds	  existing binaries are in this format.
21491da177e4SLinus Torvalds
21501da177e4SLinus Torvalds	  If unsure, say Y.
21511da177e4SLinus Torvalds
21521da177e4SLinus Torvaldsconfig MIPS32_N32
21531da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
21541da177e4SLinus Torvalds	depends on MIPS32_COMPAT
21551da177e4SLinus Torvalds	help
21561da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
21571da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
21581da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
21591da177e4SLinus Torvalds	  cases.
21601da177e4SLinus Torvalds
21611da177e4SLinus Torvalds	  If unsure, say N.
21621da177e4SLinus Torvalds
21631da177e4SLinus Torvaldsconfig BINFMT_ELF32
21641da177e4SLinus Torvalds	bool
21651da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
21661da177e4SLinus Torvalds
21672116245eSRalf Baechleendmenu
21681da177e4SLinus Torvalds
21692116245eSRalf Baechlemenu "Power management options"
2170952fa954SRodolfo Giometti
2171363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE
2172363c55caSWu Zhangjin	def_bool y
21733f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2174363c55caSWu Zhangjin
2175f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2176f4cb5700SJohannes Berg	def_bool y
21773f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2178f4cb5700SJohannes Berg
21792116245eSRalf Baechlesource "kernel/power/Kconfig"
2180952fa954SRodolfo Giometti
21811da177e4SLinus Torvaldsendmenu
21821da177e4SLinus Torvalds
2183d5950b43SSam Ravnborgsource "net/Kconfig"
2184d5950b43SSam Ravnborg
21851da177e4SLinus Torvaldssource "drivers/Kconfig"
21861da177e4SLinus Torvalds
21871da177e4SLinus Torvaldssource "fs/Kconfig"
21881da177e4SLinus Torvalds
21891da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
21901da177e4SLinus Torvalds
21911da177e4SLinus Torvaldssource "security/Kconfig"
21921da177e4SLinus Torvalds
21931da177e4SLinus Torvaldssource "crypto/Kconfig"
21941da177e4SLinus Torvalds
21951da177e4SLinus Torvaldssource "lib/Kconfig"
2196