xref: /linux/arch/mips/Kconfig (revision 622844bf0b4cfa4f76d4a0ddc44266938385f5ab)
11da177e4SLinus Torvaldsconfig MIPS
21da177e4SLinus Torvalds	bool
31da177e4SLinus Torvalds	default y
4f8ac0425SYoichi Yuasa	select HAVE_GENERIC_DMA_COHERENT
5ec7748b5SSam Ravnborg	select HAVE_IDE
642d4b839SMathieu Desnoyers	select HAVE_OPROFILE
788547001SJason Wessel	select HAVE_ARCH_KGDB
8d2bb0762SWu Zhangjin	select HAVE_FUNCTION_TRACER
969a7d1b3SWu Zhangjin	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
10538f1952SWu Zhangjin	select HAVE_DYNAMIC_FTRACE
11538f1952SWu Zhangjin	select HAVE_FTRACE_MCOUNT_RECORD
1229c5d346SWu Zhangjin	select HAVE_FUNCTION_GRAPH_TRACER
1321a41faaSWu Zhangjin	select RTC_LIB if !MACH_LOONGSON
141da177e4SLinus Torvalds
151da177e4SLinus Torvaldsmainmenu "Linux/MIPS Kernel Configuration"
161da177e4SLinus Torvalds
171da177e4SLinus Torvaldsmenu "Machine selection"
181da177e4SLinus Torvalds
195ac6da66SChristoph Lameterconfig ZONE_DMA
205ac6da66SChristoph Lameter	bool
215ac6da66SChristoph Lameter
225e83d430SRalf Baechlechoice
235e83d430SRalf Baechle	prompt "System type"
245e83d430SRalf Baechle	default SGI_IP22
251da177e4SLinus Torvalds
26c3543e25SYoichi Yuasaconfig MACH_ALCHEMY
27c3543e25SYoichi Yuasa	bool "Alchemy processor based machines"
281b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
291da177e4SLinus Torvalds
307ca5dc14SFlorian Fainelliconfig AR7
317ca5dc14SFlorian Fainelli	bool "Texas Instruments AR7"
327ca5dc14SFlorian Fainelli	select BOOT_ELF32
337ca5dc14SFlorian Fainelli	select DMA_NONCOHERENT
347ca5dc14SFlorian Fainelli	select CEVT_R4K
357ca5dc14SFlorian Fainelli	select CSRC_R4K
367ca5dc14SFlorian Fainelli	select IRQ_CPU
377ca5dc14SFlorian Fainelli	select NO_EXCEPT_FILL
387ca5dc14SFlorian Fainelli	select SWAP_IO_SPACE
397ca5dc14SFlorian Fainelli	select SYS_HAS_CPU_MIPS32_R1
407ca5dc14SFlorian Fainelli	select SYS_HAS_EARLY_PRINTK
417ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_32BIT_KERNEL
427ca5dc14SFlorian Fainelli	select SYS_SUPPORTS_LITTLE_ENDIAN
431b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT_UART16550
445f3c9098SFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
457ca5dc14SFlorian Fainelli	select GCD
467ca5dc14SFlorian Fainelli	select VLYNQ
477ca5dc14SFlorian Fainelli	help
487ca5dc14SFlorian Fainelli	  Support for the Texas Instruments AR7 System-on-a-Chip
497ca5dc14SFlorian Fainelli	  family: TNETD7100, 7200 and 7300.
507ca5dc14SFlorian Fainelli
511c0c13ebSAurelien Jarnoconfig BCM47XX
52c619366eSFlorian Fainelli	bool "Broadcom BCM47XX based boards"
5342f77542SRalf Baechle	select CEVT_R4K
54940f6b48SRalf Baechle	select CSRC_R4K
551c0c13ebSAurelien Jarno	select DMA_NONCOHERENT
561c0c13ebSAurelien Jarno	select HW_HAS_PCI
571c0c13ebSAurelien Jarno	select IRQ_CPU
581c0c13ebSAurelien Jarno	select SYS_HAS_CPU_MIPS32_R1
591c0c13ebSAurelien Jarno	select SYS_SUPPORTS_32BIT_KERNEL
601c0c13ebSAurelien Jarno	select SYS_SUPPORTS_LITTLE_ENDIAN
611c0c13ebSAurelien Jarno	select SSB
621c0c13ebSAurelien Jarno	select SSB_DRIVER_MIPS
632f02c15aSAurelien Jarno	select SSB_DRIVER_EXTIF
64b06f3e19SAurelien Jarno	select SSB_EMBEDDED
652f02c15aSAurelien Jarno	select SSB_PCICORE_HOSTMODE if PCI
661c0c13ebSAurelien Jarno	select GENERIC_GPIO
6725e5fb97SAurelien Jarno	select SYS_HAS_EARLY_PRINTK
6825e5fb97SAurelien Jarno	select CFE
691c0c13ebSAurelien Jarno	help
701c0c13ebSAurelien Jarno	 Support for BCM47XX based boards
711c0c13ebSAurelien Jarno
72e7300d04SMaxime Bizonconfig BCM63XX
73e7300d04SMaxime Bizon	bool "Broadcom BCM63XX based boards"
74e7300d04SMaxime Bizon	select CEVT_R4K
75e7300d04SMaxime Bizon	select CSRC_R4K
76e7300d04SMaxime Bizon	select DMA_NONCOHERENT
77e7300d04SMaxime Bizon	select IRQ_CPU
78e7300d04SMaxime Bizon	select SYS_HAS_CPU_MIPS32_R1
79e7300d04SMaxime Bizon	select SYS_SUPPORTS_32BIT_KERNEL
80e7300d04SMaxime Bizon	select SYS_SUPPORTS_BIG_ENDIAN
81e7300d04SMaxime Bizon	select SYS_HAS_EARLY_PRINTK
82e7300d04SMaxime Bizon	select SWAP_IO_SPACE
83e7300d04SMaxime Bizon	select ARCH_REQUIRE_GPIOLIB
84e7300d04SMaxime Bizon	help
85e7300d04SMaxime Bizon	 Support for BCM63XX based boards
86e7300d04SMaxime Bizon
871da177e4SLinus Torvaldsconfig MIPS_COBALT
883fa986faSMartin Michlmayr	bool "Cobalt Server"
8942f77542SRalf Baechle	select CEVT_R4K
90940f6b48SRalf Baechle	select CSRC_R4K
911097c6acSYoichi Yuasa	select CEVT_GT641XX
921da177e4SLinus Torvalds	select DMA_NONCOHERENT
931da177e4SLinus Torvalds	select HW_HAS_PCI
94d865bea4SRalf Baechle	select I8253
951da177e4SLinus Torvalds	select I8259
961da177e4SLinus Torvalds	select IRQ_CPU
97d5ab1a69SYoichi Yuasa	select IRQ_GT641XX
98252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
99e25bfc92SYoichi Yuasa	select PCI
1007cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
1010a22e0d4SYoichi Yuasa	select SYS_HAS_EARLY_PRINTK
102ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
1030e8774b6SFlorian Fainelli	select SYS_SUPPORTS_64BIT_KERNEL
1045e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvaldsconfig MACH_DECSTATION
1073fa986faSMartin Michlmayr	bool "DECstations"
1081da177e4SLinus Torvalds	select BOOT_ELF32
1096457d9fcSYoichi Yuasa	select CEVT_DS1287
11042f77542SRalf Baechle	select CEVT_R4K
1114247417dSYoichi Yuasa	select CSRC_IOASIC
112940f6b48SRalf Baechle	select CSRC_R4K
11320d60d99SMaciej W. Rozycki	select CPU_DADDI_WORKAROUNDS if 64BIT
11420d60d99SMaciej W. Rozycki	select CPU_R4000_WORKAROUNDS if 64BIT
11520d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS if 64BIT
1161da177e4SLinus Torvalds	select DMA_NONCOHERENT
117d388d685SMaciej W. Rozycki	select NO_IOPORT
1181da177e4SLinus Torvalds	select IRQ_CPU
1197cf8053bSRalf Baechle	select SYS_HAS_CPU_R3000
1207cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
121ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
122ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1235e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
1241723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_128HZ
1251723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_256HZ
1261723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_1024HZ
1275e83d430SRalf Baechle	help
1281da177e4SLinus Torvalds	  This enables support for DEC's MIPS based workstations.  For details
1291da177e4SLinus Torvalds	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
1301da177e4SLinus Torvalds	  DECstation porting pages on <http://decstation.unix-ag.org/>.
1311da177e4SLinus Torvalds
1321da177e4SLinus Torvalds	  If you have one of the following DECstation Models you definitely
1331da177e4SLinus Torvalds	  want to choose R4xx0 for the CPU Type:
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvalds		DECstation 5000/50
1361da177e4SLinus Torvalds		DECstation 5000/150
1371da177e4SLinus Torvalds		DECstation 5000/260
1381da177e4SLinus Torvalds		DECsystem 5900/260
1391da177e4SLinus Torvalds
1401da177e4SLinus Torvalds	  otherwise choose R3000.
1411da177e4SLinus Torvalds
1425e83d430SRalf Baechleconfig MACH_JAZZ
1433fa986faSMartin Michlmayr	bool "Jazz family of machines"
1445e83d430SRalf Baechle	select ARC
1455e83d430SRalf Baechle	select ARC32
1465e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
14742f77542SRalf Baechle	select CEVT_R4K
148940f6b48SRalf Baechle	select CSRC_R4K
149e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1505e83d430SRalf Baechle	select GENERIC_ISA_DMA
151ea202c63SThomas Bogendoerfer	select IRQ_CPU
152d865bea4SRalf Baechle	select I8253
1535e83d430SRalf Baechle	select I8259
1545e83d430SRalf Baechle	select ISA
1557cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
1565e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
1575e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1581723b4a3SAtsushi Nemoto	select SYS_SUPPORTS_100HZ
1591da177e4SLinus Torvalds	help
1605e83d430SRalf Baechle	 This a family of machines based on the MIPS R4030 chipset which was
1615e83d430SRalf Baechle	 used by several vendors to build RISC/os and Windows NT workstations.
162692105b8SMatt LaPlante	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
1635e83d430SRalf Baechle	 Olivetti M700-10 workstations.
1645e83d430SRalf Baechle
1651f21d2bdSBrian Murphyconfig LASAT
1661f21d2bdSBrian Murphy	bool "LASAT Networks platforms"
16742f77542SRalf Baechle	select CEVT_R4K
168940f6b48SRalf Baechle	select CSRC_R4K
1691f21d2bdSBrian Murphy	select DMA_NONCOHERENT
1701f21d2bdSBrian Murphy	select SYS_HAS_EARLY_PRINTK
1711f21d2bdSBrian Murphy	select HW_HAS_PCI
172a5ccfe5cSRalf Baechle	select IRQ_CPU
1731f21d2bdSBrian Murphy	select PCI_GT64XXX_PCI0
1741f21d2bdSBrian Murphy	select MIPS_NILE4
1751f21d2bdSBrian Murphy	select R5000_CPU_SCACHE
1761f21d2bdSBrian Murphy	select SYS_HAS_CPU_R5000
1771f21d2bdSBrian Murphy	select SYS_SUPPORTS_32BIT_KERNEL
1781f21d2bdSBrian Murphy	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
1791f21d2bdSBrian Murphy	select SYS_SUPPORTS_LITTLE_ENDIAN
1801f21d2bdSBrian Murphy
18185749d24SWu Zhangjinconfig MACH_LOONGSON
18285749d24SWu Zhangjin	bool "Loongson family of machines"
183c7e8c668SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
184ade299d8SYoichi Yuasa	help
18585749d24SWu Zhangjin	  This enables the support of Loongson family of machines.
18685749d24SWu Zhangjin
18785749d24SWu Zhangjin	  Loongson is a family of general-purpose MIPS-compatible CPUs.
18885749d24SWu Zhangjin	  developed at Institute of Computing Technology (ICT),
18985749d24SWu Zhangjin	  Chinese Academy of Sciences (CAS) in the People's Republic
19085749d24SWu Zhangjin	  of China. The chief architect is Professor Weiwu Hu.
191ade299d8SYoichi Yuasa
1921da177e4SLinus Torvaldsconfig MIPS_MALTA
1933fa986faSMartin Michlmayr	bool "MIPS Malta board"
19461ed242dSRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
1951da177e4SLinus Torvalds	select BOOT_ELF32
196fa71c960SRalf Baechle	select BOOT_RAW
19742f77542SRalf Baechle	select CEVT_R4K
198940f6b48SRalf Baechle	select CSRC_R4K
1991da177e4SLinus Torvalds	select DMA_NONCOHERENT
2001da177e4SLinus Torvalds	select GENERIC_ISA_DMA
201aa414dffSRalf Baechle	select IRQ_CPU
20239b8d525SRalf Baechle	select IRQ_GIC
2031da177e4SLinus Torvalds	select HW_HAS_PCI
204d865bea4SRalf Baechle	select I8253
2051da177e4SLinus Torvalds	select I8259
2065e83d430SRalf Baechle	select MIPS_BOARDS_GEN
2075e83d430SRalf Baechle	select MIPS_BONITO64
2089318c51aSChris Dearman	select MIPS_CPU_SCACHE
209252161ecSYoichi Yuasa	select PCI_GT64XXX_PCI0
2105e83d430SRalf Baechle	select MIPS_MSC
2111da177e4SLinus Torvalds	select SWAP_IO_SPACE
2127cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2137cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
2147cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS64_R1
2157cf8053bSRalf Baechle	select SYS_HAS_CPU_NEVADA
2167cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
21736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
218ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
219ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
2205e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
2215e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
2220365070fSTim Anderson	select SYS_SUPPORTS_MIPS_CMP
223f41ae0b2SRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
2249693a853SFranck Bui-Huu	select SYS_SUPPORTS_SMARTMIPS
2251b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
2261da177e4SLinus Torvalds	help
227f638d197SMaciej W. Rozycki	  This enables support for the MIPS Technologies Malta evaluation
2281da177e4SLinus Torvalds	  board.
2291da177e4SLinus Torvalds
230c78cbf49SRalf Baechleconfig MIPS_SIM
2313fa986faSMartin Michlmayr	bool 'MIPS simulator (MIPSsim)'
23242f77542SRalf Baechle	select CEVT_R4K
233940f6b48SRalf Baechle	select CSRC_R4K
234c78cbf49SRalf Baechle	select DMA_NONCOHERENT
23536a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
236c78cbf49SRalf Baechle	select IRQ_CPU
2379267a30dSMarc St-Jean	select BOOT_RAW
2387cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
2397cf8053bSRalf Baechle	select SYS_HAS_CPU_MIPS32_R2
24036a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
241c78cbf49SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
242c78cbf49SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
243f6e2373aSRalf Baechle	select SYS_SUPPORTS_MULTITHREADING
244c78cbf49SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
245c78cbf49SRalf Baechle	help
246c78cbf49SRalf Baechle	  This option enables support for MIPS Technologies MIPSsim software
247c78cbf49SRalf Baechle	  emulator.
248c78cbf49SRalf Baechle
249a83860c2SRalf Baechleconfig NEC_MARKEINS
250a83860c2SRalf Baechle	bool "NEC EMMA2RH Mark-eins board"
251a83860c2SRalf Baechle	select SOC_EMMA2RH
252a83860c2SRalf Baechle	select HW_HAS_PCI
253a83860c2SRalf Baechle	help
254a83860c2SRalf Baechle	  This enables support for the NEC Electronics Mark-eins boards.
255ade299d8SYoichi Yuasa
2565e83d430SRalf Baechleconfig MACH_VR41XX
25774142d65SYoichi Yuasa	bool "NEC VR4100 series based machines"
25842f77542SRalf Baechle	select CEVT_R4K
259940f6b48SRalf Baechle	select CSRC_R4K
2607cf8053bSRalf Baechle	select SYS_HAS_CPU_VR41XX
26127fdd325SYoichi Yuasa	select ARCH_REQUIRE_GPIOLIB
2625e83d430SRalf Baechle
263edb6310aSDaniel Lairdconfig NXP_STB220
264edb6310aSDaniel Laird	bool "NXP STB220 board"
265edb6310aSDaniel Laird	select SOC_PNX833X
266edb6310aSDaniel Laird	help
267edb6310aSDaniel Laird	 Support for NXP Semiconductors STB220 Development Board.
268edb6310aSDaniel Laird
269edb6310aSDaniel Lairdconfig NXP_STB225
270edb6310aSDaniel Laird	bool "NXP 225 board"
271edb6310aSDaniel Laird	select SOC_PNX833X
272edb6310aSDaniel Laird	select SOC_PNX8335
273edb6310aSDaniel Laird	help
274edb6310aSDaniel Laird	 Support for NXP Semiconductors STB225 Development Board.
275edb6310aSDaniel Laird
276ade299d8SYoichi Yuasaconfig PNX8550_JBS
277a92b0588SDaniel Laird	bool "NXP PNX8550 based JBS board"
278ade299d8SYoichi Yuasa	select PNX8550
279ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
280ade299d8SYoichi Yuasa
281ade299d8SYoichi Yuasaconfig PNX8550_STB810
282a92b0588SDaniel Laird	bool "NXP PNX8550 based STB810 board"
283ade299d8SYoichi Yuasa	select PNX8550
284ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
285ade299d8SYoichi Yuasa
2869267a30dSMarc St-Jeanconfig PMC_MSP
2879267a30dSMarc St-Jean	bool "PMC-Sierra MSP chipsets"
2889267a30dSMarc St-Jean	depends on EXPERIMENTAL
2899267a30dSMarc St-Jean	select DMA_NONCOHERENT
2909267a30dSMarc St-Jean	select SWAP_IO_SPACE
2919267a30dSMarc St-Jean	select NO_EXCEPT_FILL
2929267a30dSMarc St-Jean	select BOOT_RAW
2939267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R1
2949267a30dSMarc St-Jean	select SYS_HAS_CPU_MIPS32_R2
2959267a30dSMarc St-Jean	select SYS_SUPPORTS_32BIT_KERNEL
2969267a30dSMarc St-Jean	select SYS_SUPPORTS_BIG_ENDIAN
2979267a30dSMarc St-Jean	select IRQ_CPU
2989267a30dSMarc St-Jean	select SERIAL_8250
2999267a30dSMarc St-Jean	select SERIAL_8250_CONSOLE
3009267a30dSMarc St-Jean	help
3019267a30dSMarc St-Jean	  This adds support for the PMC-Sierra family of Multi-Service
3029267a30dSMarc St-Jean	  Processor System-On-A-Chips.  These parts include a number
3039267a30dSMarc St-Jean	  of integrated peripherals, interfaces and DSPs in addition to
3049267a30dSMarc St-Jean	  a variety of MIPS cores.
3059267a30dSMarc St-Jean
3065e83d430SRalf Baechleconfig PMC_YOSEMITE
3073fa986faSMartin Michlmayr	bool "PMC-Sierra Yosemite eval board"
30842f77542SRalf Baechle	select CEVT_R4K
309940f6b48SRalf Baechle	select CSRC_R4K
3105e83d430SRalf Baechle	select DMA_COHERENT
3115e83d430SRalf Baechle	select HW_HAS_PCI
3125e83d430SRalf Baechle	select IRQ_CPU
3135e83d430SRalf Baechle	select IRQ_CPU_RM7K
3145e83d430SRalf Baechle	select IRQ_CPU_RM9K
3155e83d430SRalf Baechle	select SWAP_IO_SPACE
3167cf8053bSRalf Baechle	select SYS_HAS_CPU_RM9000
31736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3185e83d430SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
3195e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
3205e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3215e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
322e73ea273SRalf Baechle	select SYS_SUPPORTS_SMP
3235e83d430SRalf Baechle	help
3245e83d430SRalf Baechle	  Yosemite is an evaluation board for the RM9000x2 processor
3255e83d430SRalf Baechle	  manufactured by PMC-Sierra.
3261da177e4SLinus Torvalds
327a3a0f8c8SDavid VomLehnconfig POWERTV
328a3a0f8c8SDavid VomLehn	bool "Cisco PowerTV"
329a3a0f8c8SDavid VomLehn	select BOOT_ELF32
330a3a0f8c8SDavid VomLehn	select CEVT_R4K
331a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_VI
332a3a0f8c8SDavid VomLehn	select CPU_MIPSR2_IRQ_EI
333a3a0f8c8SDavid VomLehn	select CSRC_POWERTV
334a3a0f8c8SDavid VomLehn	select DMA_NONCOHERENT
335a3a0f8c8SDavid VomLehn	select HW_HAS_PCI
336a3a0f8c8SDavid VomLehn	select SYS_HAS_EARLY_PRINTK
337a3a0f8c8SDavid VomLehn	select SYS_HAS_CPU_MIPS32_R2
338a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_32BIT_KERNEL
339a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_BIG_ENDIAN
340a3a0f8c8SDavid VomLehn	select SYS_SUPPORTS_HIGHMEM
341a3a0f8c8SDavid VomLehn	select USB_OHCI_LITTLE_ENDIAN
342a3a0f8c8SDavid VomLehn	help
343a3a0f8c8SDavid VomLehn	  This enables support for the Cisco PowerTV Platform.
344a3a0f8c8SDavid VomLehn
3451da177e4SLinus Torvaldsconfig SGI_IP22
3463fa986faSMartin Michlmayr	bool "SGI IP22 (Indy/Indigo2)"
3471da177e4SLinus Torvalds	select ARC
3481da177e4SLinus Torvalds	select ARC32
3491da177e4SLinus Torvalds	select BOOT_ELF32
35042f77542SRalf Baechle	select CEVT_R4K
351940f6b48SRalf Baechle	select CSRC_R4K
352e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
3531da177e4SLinus Torvalds	select DMA_NONCOHERENT
3545e83d430SRalf Baechle	select HW_HAS_EISA
355d865bea4SRalf Baechle	select I8253
35668de4803SThomas Bogendoerfer	select I8259
3571da177e4SLinus Torvalds	select IP22_CPU_SCACHE
3581da177e4SLinus Torvalds	select IRQ_CPU
359aa414dffSRalf Baechle	select GENERIC_ISA_DMA_SUPPORT_BROKEN
360e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
361e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
36236e5c21dSThomas Bogendoerfer	select SGI_HAS_HAL2
363e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
364e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
365e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
3661da177e4SLinus Torvalds	select SWAP_IO_SPACE
3677cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
3687cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
3692b5e63f6SMartin Michlmayr	#
3702b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
3712b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
3722b5e63f6SMartin Michlmayr	#
3732b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
3742b5e63f6SMartin Michlmayr	# for a more details discussion
3752b5e63f6SMartin Michlmayr	#
3762b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
377ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
378ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3795e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
3801da177e4SLinus Torvalds	help
3811da177e4SLinus Torvalds	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
3821da177e4SLinus Torvalds	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
3831da177e4SLinus Torvalds	  that runs on these, say Y here.
3841da177e4SLinus Torvalds
3851da177e4SLinus Torvaldsconfig SGI_IP27
3863fa986faSMartin Michlmayr	bool "SGI IP27 (Origin200/2000)"
3871da177e4SLinus Torvalds	select ARC
3881da177e4SLinus Torvalds	select ARC64
3895e83d430SRalf Baechle	select BOOT_ELF64
390e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
391634286f1SRalf Baechle	select DMA_COHERENT
39236a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
3931da177e4SLinus Torvalds	select HW_HAS_PCI
394130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_64
3957cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000
396ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
3975e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
398d8cb4e11SRalf Baechle	select SYS_SUPPORTS_NUMA
3991a5c5de1SRalf Baechle	select SYS_SUPPORTS_SMP
4001da177e4SLinus Torvalds	help
4011da177e4SLinus Torvalds	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
4021da177e4SLinus Torvalds	  workstations.  To compile a Linux kernel that runs on these, say Y
4031da177e4SLinus Torvalds	  here.
4041da177e4SLinus Torvalds
405e2defae5SThomas Bogendoerferconfig SGI_IP28
406e2defae5SThomas Bogendoerfer	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
407e2defae5SThomas Bogendoerfer	depends on EXPERIMENTAL
408e2defae5SThomas Bogendoerfer	select ARC
409e2defae5SThomas Bogendoerfer	select ARC64
410e2defae5SThomas Bogendoerfer	select BOOT_ELF64
411e2defae5SThomas Bogendoerfer	select CEVT_R4K
412e2defae5SThomas Bogendoerfer	select CSRC_R4K
413e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION
414e2defae5SThomas Bogendoerfer	select DMA_NONCOHERENT
415e2defae5SThomas Bogendoerfer	select GENERIC_ISA_DMA_SUPPORT_BROKEN
416e2defae5SThomas Bogendoerfer	select IRQ_CPU
417e2defae5SThomas Bogendoerfer	select HW_HAS_EISA
418e2defae5SThomas Bogendoerfer	select I8253
419e2defae5SThomas Bogendoerfer	select I8259
420e2defae5SThomas Bogendoerfer	select SGI_HAS_I8042
421e2defae5SThomas Bogendoerfer	select SGI_HAS_INDYDOG
4225b438c44SThomas Bogendoerfer	select SGI_HAS_HAL2
423e2defae5SThomas Bogendoerfer	select SGI_HAS_SEEQ
424e2defae5SThomas Bogendoerfer	select SGI_HAS_WD93
425e2defae5SThomas Bogendoerfer	select SGI_HAS_ZILOG
426e2defae5SThomas Bogendoerfer	select SWAP_IO_SPACE
427e2defae5SThomas Bogendoerfer	select SYS_HAS_CPU_R10000
4282b5e63f6SMartin Michlmayr	#
4292b5e63f6SMartin Michlmayr	# Disable EARLY_PRINTK for now since it leads to overwritten prom
4302b5e63f6SMartin Michlmayr	# memory during early boot on some machines.
4312b5e63f6SMartin Michlmayr	#
4322b5e63f6SMartin Michlmayr	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
4332b5e63f6SMartin Michlmayr	# for a more details discussion
4342b5e63f6SMartin Michlmayr	#
4352b5e63f6SMartin Michlmayr	# select SYS_HAS_EARLY_PRINTK
436e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_64BIT_KERNEL
437e2defae5SThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
438e2defae5SThomas Bogendoerfer      help
439e2defae5SThomas Bogendoerfer        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
440e2defae5SThomas Bogendoerfer        kernel that runs on these, say Y here.
441e2defae5SThomas Bogendoerfer
4421da177e4SLinus Torvaldsconfig SGI_IP32
443cfd2afc0SRalf Baechle	bool "SGI IP32 (O2)"
4441da177e4SLinus Torvalds	select ARC
4451da177e4SLinus Torvalds	select ARC32
4461da177e4SLinus Torvalds	select BOOT_ELF32
44742f77542SRalf Baechle	select CEVT_R4K
448940f6b48SRalf Baechle	select CSRC_R4K
4491da177e4SLinus Torvalds	select DMA_NONCOHERENT
4501da177e4SLinus Torvalds	select HW_HAS_PCI
451dd67b155SRalf Baechle	select IRQ_CPU
4521da177e4SLinus Torvalds	select R5000_CPU_SCACHE
4531da177e4SLinus Torvalds	select RM7000_CPU_SCACHE
4547cf8053bSRalf Baechle	select SYS_HAS_CPU_R5000
4557cf8053bSRalf Baechle	select SYS_HAS_CPU_R10000 if BROKEN
4567cf8053bSRalf Baechle	select SYS_HAS_CPU_RM7000
457dd2f18feSRalf Baechle	select SYS_HAS_CPU_NEVADA
458ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
4595e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4601da177e4SLinus Torvalds	help
4611da177e4SLinus Torvalds	  If you want this kernel to run on SGI O2 workstation, say Y here.
4621da177e4SLinus Torvalds
463ade299d8SYoichi Yuasaconfig SIBYTE_CRHINE
464ade299d8SYoichi Yuasa	bool "Sibyte BCM91120C-CRhine"
4655e83d430SRalf Baechle	depends on EXPERIMENTAL
4665e83d430SRalf Baechle	select BOOT_ELF32
4675e83d430SRalf Baechle	select DMA_COHERENT
4685e83d430SRalf Baechle	select SIBYTE_BCM1120
4695e83d430SRalf Baechle	select SWAP_IO_SPACE
4707cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4715e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4725e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4735e83d430SRalf Baechle
474ade299d8SYoichi Yuasaconfig SIBYTE_CARMEL
475ade299d8SYoichi Yuasa	bool "Sibyte BCM91120x-Carmel"
4765e83d430SRalf Baechle	depends on EXPERIMENTAL
4775e83d430SRalf Baechle	select BOOT_ELF32
4785e83d430SRalf Baechle	select DMA_COHERENT
4795e83d430SRalf Baechle	select SIBYTE_BCM1120
4805e83d430SRalf Baechle	select SWAP_IO_SPACE
4817cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4825e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4835e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4845e83d430SRalf Baechle
4855e83d430SRalf Baechleconfig SIBYTE_CRHONE
4863fa986faSMartin Michlmayr	bool "Sibyte BCM91125C-CRhone"
4875e83d430SRalf Baechle	depends on EXPERIMENTAL
4885e83d430SRalf Baechle	select BOOT_ELF32
4895e83d430SRalf Baechle	select DMA_COHERENT
4905e83d430SRalf Baechle	select SIBYTE_BCM1125
4915e83d430SRalf Baechle	select SWAP_IO_SPACE
4927cf8053bSRalf Baechle	select SYS_HAS_CPU_SB1
4935e83d430SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
4945e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
4955e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
4965e83d430SRalf Baechle
497ade299d8SYoichi Yuasaconfig SIBYTE_RHONE
498ade299d8SYoichi Yuasa	bool "Sibyte BCM91125E-Rhone"
499ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
500ade299d8SYoichi Yuasa	select BOOT_ELF32
501ade299d8SYoichi Yuasa	select DMA_COHERENT
502ade299d8SYoichi Yuasa	select SIBYTE_BCM1125H
503ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
504ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
505ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
506ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
507ade299d8SYoichi Yuasa
508ade299d8SYoichi Yuasaconfig SIBYTE_SWARM
509ade299d8SYoichi Yuasa	bool "Sibyte BCM91250A-SWARM"
510ade299d8SYoichi Yuasa	select BOOT_ELF32
511ade299d8SYoichi Yuasa	select DMA_COHERENT
512fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
513ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
514ade299d8SYoichi Yuasa	select SIBYTE_SB1250
515ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
516ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
517ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
518ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
519ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
520cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
521ade299d8SYoichi Yuasa
522ade299d8SYoichi Yuasaconfig SIBYTE_LITTLESUR
523ade299d8SYoichi Yuasa	bool "Sibyte BCM91250C2-LittleSur"
524ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
525ade299d8SYoichi Yuasa	select BOOT_ELF32
526ade299d8SYoichi Yuasa	select DMA_COHERENT
527fcf3ca4cSSebastian Andrzej Siewior	select HAVE_PATA_PLATFORM
528ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
529ade299d8SYoichi Yuasa	select SIBYTE_SB1250
530ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
531ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
532ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
533ade299d8SYoichi Yuasa	select SYS_SUPPORTS_HIGHMEM
534ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
535ade299d8SYoichi Yuasa
536ade299d8SYoichi Yuasaconfig SIBYTE_SENTOSA
537ade299d8SYoichi Yuasa	bool "Sibyte BCM91250E-Sentosa"
538ade299d8SYoichi Yuasa	depends on EXPERIMENTAL
539ade299d8SYoichi Yuasa	select BOOT_ELF32
540ade299d8SYoichi Yuasa	select DMA_COHERENT
541ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_2
542ade299d8SYoichi Yuasa	select SIBYTE_SB1250
543ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
544ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
545ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
546ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
547ade299d8SYoichi Yuasa
548ade299d8SYoichi Yuasaconfig SIBYTE_BIGSUR
549ade299d8SYoichi Yuasa	bool "Sibyte BCM91480B-BigSur"
550ade299d8SYoichi Yuasa	select BOOT_ELF32
551ade299d8SYoichi Yuasa	select DMA_COHERENT
552ade299d8SYoichi Yuasa	select NR_CPUS_DEFAULT_4
553ade299d8SYoichi Yuasa	select SIBYTE_BCM1x80
554ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
555ade299d8SYoichi Yuasa	select SYS_HAS_CPU_SB1
556ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
557651194f8SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
558ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
559cce335aeSRalf Baechle	select ZONE_DMA32 if 64BIT
560ade299d8SYoichi Yuasa
56114b36af4SThomas Bogendoerferconfig SNI_RM
56214b36af4SThomas Bogendoerfer	bool "SNI RM200/300/400"
5634a0312fcSThomas Bogendoerfer	select ARC if CPU_LITTLE_ENDIAN
5644a0312fcSThomas Bogendoerfer	select ARC32 if CPU_LITTLE_ENDIAN
565231a35d3SThomas Bogendoerfer	select SNIPROM if CPU_BIG_ENDIAN
5665e83d430SRalf Baechle	select ARCH_MAY_HAVE_PC_FDC
5675e83d430SRalf Baechle	select BOOT_ELF32
56842f77542SRalf Baechle	select CEVT_R4K
569940f6b48SRalf Baechle	select CSRC_R4K
570e2defae5SThomas Bogendoerfer	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5715e83d430SRalf Baechle	select DMA_NONCOHERENT
5725e83d430SRalf Baechle	select GENERIC_ISA_DMA
5735e83d430SRalf Baechle	select HW_HAS_EISA
5745e83d430SRalf Baechle	select HW_HAS_PCI
575c066a32aSThomas Bogendoerfer	select IRQ_CPU
576d865bea4SRalf Baechle	select I8253
5775e83d430SRalf Baechle	select I8259
5785e83d430SRalf Baechle	select ISA
5794a0312fcSThomas Bogendoerfer	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
5807cf8053bSRalf Baechle	select SYS_HAS_CPU_R4X00
5814a0312fcSThomas Bogendoerfer	select SYS_HAS_CPU_R5000
582c066a32aSThomas Bogendoerfer	select SYS_HAS_CPU_R10000
5834a0312fcSThomas Bogendoerfer	select R5000_CPU_SCACHE
58436a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
585ed5ba2fbSYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
5865e83d430SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5874a0312fcSThomas Bogendoerfer	select SYS_SUPPORTS_BIG_ENDIAN
5885e83d430SRalf Baechle	select SYS_SUPPORTS_HIGHMEM
5895e83d430SRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
5901da177e4SLinus Torvalds	help
59114b36af4SThomas Bogendoerfer	  The SNI RM200/300/400 are MIPS-based machines manufactured by
59214b36af4SThomas Bogendoerfer	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
5935e83d430SRalf Baechle	  Technology and now in turn merged with Fujitsu.  Say Y here to
5945e83d430SRalf Baechle	  support this machine type.
5951da177e4SLinus Torvalds
596edcaf1a6SAtsushi Nemotoconfig MACH_TX39XX
597edcaf1a6SAtsushi Nemoto	bool "Toshiba TX39 series based machines"
5985e83d430SRalf Baechle
599edcaf1a6SAtsushi Nemotoconfig MACH_TX49XX
600edcaf1a6SAtsushi Nemoto	bool "Toshiba TX49 series based machines"
60123fbee9dSRalf Baechle
60273b4390fSRalf Baechleconfig MIKROTIK_RB532
60373b4390fSRalf Baechle	bool "Mikrotik RB532 boards"
60473b4390fSRalf Baechle	select CEVT_R4K
60573b4390fSRalf Baechle	select CSRC_R4K
60673b4390fSRalf Baechle	select DMA_NONCOHERENT
60773b4390fSRalf Baechle	select HW_HAS_PCI
60873b4390fSRalf Baechle	select IRQ_CPU
60973b4390fSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
61073b4390fSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
61173b4390fSRalf Baechle	select SYS_SUPPORTS_LITTLE_ENDIAN
61273b4390fSRalf Baechle	select SWAP_IO_SPACE
61373b4390fSRalf Baechle	select BOOT_RAW
614d888e25bSFlorian Fainelli	select ARCH_REQUIRE_GPIOLIB
61573b4390fSRalf Baechle	help
61673b4390fSRalf Baechle	  Support the Mikrotik(tm) RouterBoard 532 series,
61773b4390fSRalf Baechle	  based on the IDT RC32434 SoC.
61873b4390fSRalf Baechle
619ade299d8SYoichi Yuasaconfig WR_PPMC
620ade299d8SYoichi Yuasa	bool "Wind River PPMC board"
62142f77542SRalf Baechle	select CEVT_R4K
622940f6b48SRalf Baechle	select CSRC_R4K
623ade299d8SYoichi Yuasa	select IRQ_CPU
624ade299d8SYoichi Yuasa	select BOOT_ELF32
625ade299d8SYoichi Yuasa	select DMA_NONCOHERENT
626ade299d8SYoichi Yuasa	select HW_HAS_PCI
627ade299d8SYoichi Yuasa	select PCI_GT64XXX_PCI0
628ade299d8SYoichi Yuasa	select SWAP_IO_SPACE
629ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R1
630ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS32_R2
631ade299d8SYoichi Yuasa	select SYS_HAS_CPU_MIPS64_R1
632ade299d8SYoichi Yuasa	select SYS_HAS_CPU_NEVADA
633ade299d8SYoichi Yuasa	select SYS_HAS_CPU_RM7000
634ade299d8SYoichi Yuasa	select SYS_SUPPORTS_32BIT_KERNEL
635ade299d8SYoichi Yuasa	select SYS_SUPPORTS_64BIT_KERNEL
636ade299d8SYoichi Yuasa	select SYS_SUPPORTS_BIG_ENDIAN
637ade299d8SYoichi Yuasa	select SYS_SUPPORTS_LITTLE_ENDIAN
638ade299d8SYoichi Yuasa	help
639ade299d8SYoichi Yuasa	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
640ade299d8SYoichi Yuasa	  board, which is based on GT64120 bridge chip.
641ade299d8SYoichi Yuasa
642a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_SIMULATOR
643c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon Simulator"
644a86c7f72SDavid Daney	select CEVT_R4K
645a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
646a86c7f72SDavid Daney	select DMA_COHERENT
647a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
648a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
649a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
650773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
6515e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
652a86c7f72SDavid Daney	help
653a86c7f72SDavid Daney	  The Octeon simulator is software performance model of the Cavium
654a86c7f72SDavid Daney	  Octeon Processor. It supports simulating Octeon processors on x86
655a86c7f72SDavid Daney	  hardware.
656a86c7f72SDavid Daney
657a86c7f72SDavid Daneyconfig CAVIUM_OCTEON_REFERENCE_BOARD
658c9d89d97SYoichi Yuasa	bool "Cavium Networks Octeon reference board"
659a86c7f72SDavid Daney	select CEVT_R4K
660a86c7f72SDavid Daney	select 64BIT_PHYS_ADDR
661a86c7f72SDavid Daney	select DMA_COHERENT
662a86c7f72SDavid Daney	select SYS_SUPPORTS_64BIT_KERNEL
663a86c7f72SDavid Daney	select SYS_SUPPORTS_BIG_ENDIAN
664a86c7f72SDavid Daney	select SYS_SUPPORTS_HIGHMEM
665773cb77dSRalf Baechle	select SYS_SUPPORTS_HOTPLUG_CPU
666a86c7f72SDavid Daney	select SYS_HAS_EARLY_PRINTK
6675e683389SDavid Daney	select SYS_HAS_CPU_CAVIUM_OCTEON
668a86c7f72SDavid Daney	select SWAP_IO_SPACE
669e8635b48SDavid Daney	select HW_HAS_PCI
670e8635b48SDavid Daney	select ARCH_SUPPORTS_MSI
671a86c7f72SDavid Daney	help
672a86c7f72SDavid Daney	  This option supports all of the Octeon reference boards from Cavium
673a86c7f72SDavid Daney	  Networks. It builds a kernel that dynamically determines the Octeon
674a86c7f72SDavid Daney	  CPU type and supports all known board reference implementations.
675a86c7f72SDavid Daney	  Some of the supported boards are:
676a86c7f72SDavid Daney		EBT3000
677a86c7f72SDavid Daney		EBH3000
678a86c7f72SDavid Daney		EBH3100
679a86c7f72SDavid Daney		Thunder
680a86c7f72SDavid Daney		Kodama
681a86c7f72SDavid Daney		Hikari
682a86c7f72SDavid Daney	  Say Y here for most Octeon reference boards.
683a86c7f72SDavid Daney
6841da177e4SLinus Torvaldsendchoice
6851da177e4SLinus Torvalds
686e8c7c482SRalf Baechlesource "arch/mips/alchemy/Kconfig"
687e7300d04SMaxime Bizonsource "arch/mips/bcm63xx/Kconfig"
6885e83d430SRalf Baechlesource "arch/mips/jazz/Kconfig"
6891f21d2bdSBrian Murphysource "arch/mips/lasat/Kconfig"
6905e83d430SRalf Baechlesource "arch/mips/pmc-sierra/Kconfig"
691a3a0f8c8SDavid VomLehnsource "arch/mips/powertv/Kconfig"
69229c48699SRalf Baechlesource "arch/mips/sgi-ip27/Kconfig"
69338b18f72SRalf Baechlesource "arch/mips/sibyte/Kconfig"
69422b1d707SAtsushi Nemotosource "arch/mips/txx9/Kconfig"
6955e83d430SRalf Baechlesource "arch/mips/vr41xx/Kconfig"
696a86c7f72SDavid Daneysource "arch/mips/cavium-octeon/Kconfig"
69785749d24SWu Zhangjinsource "arch/mips/loongson/Kconfig"
69838b18f72SRalf Baechle
6995e83d430SRalf Baechleendmenu
7005e83d430SRalf Baechle
7011da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
7021da177e4SLinus Torvalds	bool
7031da177e4SLinus Torvalds	default y
7041da177e4SLinus Torvalds
7051da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
7061da177e4SLinus Torvalds	bool
7071da177e4SLinus Torvalds
708f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
709f0d1b0b3SDavid Howells	bool
710f0d1b0b3SDavid Howells	default n
711f0d1b0b3SDavid Howells
712f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
713f0d1b0b3SDavid Howells	bool
714f0d1b0b3SDavid Howells	default n
715f0d1b0b3SDavid Howells
71600a58253SRalf Baechleconfig ARCH_SUPPORTS_OPROFILE
71700a58253SRalf Baechle	bool
71800a58253SRalf Baechle	default y if !MIPS_MT_SMTC
71900a58253SRalf Baechle
7203c9ee7efSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
7213c9ee7efSAkinobu Mita	bool
7223c9ee7efSAkinobu Mita	default y
7233c9ee7efSAkinobu Mita
7243c9ee7efSAkinobu Mitaconfig GENERIC_HWEIGHT
7253c9ee7efSAkinobu Mita	bool
7263c9ee7efSAkinobu Mita	default y
7273c9ee7efSAkinobu Mita
7281da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
7291da177e4SLinus Torvalds	bool
7301da177e4SLinus Torvalds	default y
7311da177e4SLinus Torvalds
7327bcf7717SRalf Baechleconfig GENERIC_CLOCKEVENTS
7337bcf7717SRalf Baechle	bool
7347bcf7717SRalf Baechle	default y
7357bcf7717SRalf Baechle
7368db02010SRalf Baechleconfig GENERIC_TIME
7378db02010SRalf Baechle	bool
7388db02010SRalf Baechle	default y
7398db02010SRalf Baechle
740f5ff0a28SRalf Baechleconfig GENERIC_CMOS_UPDATE
741f5ff0a28SRalf Baechle	bool
742f5ff0a28SRalf Baechle	default y
743f5ff0a28SRalf Baechle
744ae1e9130SIngo Molnarconfig SCHED_OMIT_FRAME_POINTER
7451cc89038SAtsushi Nemoto	bool
7461cc89038SAtsushi Nemoto	default y
7471cc89038SAtsushi Nemoto
748e77c232cSFranck Bui-Huuconfig GENERIC_HARDIRQS_NO__DO_IRQ
749c87e0909SRalf Baechle	def_bool y
750e77c232cSFranck Bui-Huu
7511da177e4SLinus Torvalds#
7521da177e4SLinus Torvalds# Select some configuration options automatically based on user selections.
7531da177e4SLinus Torvalds#
7541da177e4SLinus Torvaldsconfig ARC
7551da177e4SLinus Torvalds	bool
7561da177e4SLinus Torvalds
75761ed242dSRalf Baechleconfig ARCH_MAY_HAVE_PC_FDC
75861ed242dSRalf Baechle	bool
75961ed242dSRalf Baechle
7609267a30dSMarc St-Jeanconfig BOOT_RAW
7619267a30dSMarc St-Jean	bool
7629267a30dSMarc St-Jean
763217dd11eSRalf Baechleconfig CEVT_BCM1480
764217dd11eSRalf Baechle	bool
765217dd11eSRalf Baechle
7666457d9fcSYoichi Yuasaconfig CEVT_DS1287
7676457d9fcSYoichi Yuasa	bool
7686457d9fcSYoichi Yuasa
7691097c6acSYoichi Yuasaconfig CEVT_GT641XX
7701097c6acSYoichi Yuasa	bool
7711097c6acSYoichi Yuasa
772779e7d41SManuel Laussconfig CEVT_R4K_LIB
773779e7d41SManuel Lauss	bool
774779e7d41SManuel Lauss
77542f77542SRalf Baechleconfig CEVT_R4K
776779e7d41SManuel Lauss	select CEVT_R4K_LIB
77742f77542SRalf Baechle	bool
77842f77542SRalf Baechle
779217dd11eSRalf Baechleconfig CEVT_SB1250
780217dd11eSRalf Baechle	bool
781217dd11eSRalf Baechle
782229f773eSAtsushi Nemotoconfig CEVT_TXX9
783229f773eSAtsushi Nemoto	bool
784229f773eSAtsushi Nemoto
785217dd11eSRalf Baechleconfig CSRC_BCM1480
786217dd11eSRalf Baechle	bool
787217dd11eSRalf Baechle
7884247417dSYoichi Yuasaconfig CSRC_IOASIC
7894247417dSYoichi Yuasa	bool
7904247417dSYoichi Yuasa
791a3a0f8c8SDavid VomLehnconfig CSRC_POWERTV
792a3a0f8c8SDavid VomLehn	bool
793a3a0f8c8SDavid VomLehn
794779e7d41SManuel Laussconfig CSRC_R4K_LIB
795779e7d41SManuel Lauss	bool
796779e7d41SManuel Lauss
797940f6b48SRalf Baechleconfig CSRC_R4K
798779e7d41SManuel Lauss	select CSRC_R4K_LIB
799940f6b48SRalf Baechle	bool
800940f6b48SRalf Baechle
801217dd11eSRalf Baechleconfig CSRC_SB1250
802217dd11eSRalf Baechle	bool
803217dd11eSRalf Baechle
804a9aec7feSAtsushi Nemotoconfig GPIO_TXX9
805a9aec7feSAtsushi Nemoto	select GENERIC_GPIO
8067444a72eSMichael Buesch	select ARCH_REQUIRE_GPIOLIB
807a9aec7feSAtsushi Nemoto	bool
808a9aec7feSAtsushi Nemoto
809df78b5c8SAurelien Jarnoconfig CFE
810df78b5c8SAurelien Jarno	bool
811df78b5c8SAurelien Jarno
8121da177e4SLinus Torvaldsconfig DMA_COHERENT
8131da177e4SLinus Torvalds	bool
8141da177e4SLinus Torvalds
8151da177e4SLinus Torvaldsconfig DMA_NONCOHERENT
8161da177e4SLinus Torvalds	bool
817e1e02b32SFUJITA Tomonori	select NEED_DMA_MAP_STATE
8184ce588cdSRalf Baechle
819e1e02b32SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
8204ce588cdSRalf Baechle	bool
8211da177e4SLinus Torvalds
82236a88530SRalf Baechleconfig SYS_HAS_EARLY_PRINTK
8231da177e4SLinus Torvalds	bool
8241da177e4SLinus Torvalds
825dbb74540SRalf Baechleconfig HOTPLUG_CPU
8261b2bc75cSRalf Baechle	bool "Support for hot-pluggable CPUs"
8271b2bc75cSRalf Baechle	depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
8281b2bc75cSRalf Baechle	help
8291b2bc75cSRalf Baechle	  Say Y here to allow turning CPUs off and on. CPUs can be
8301b2bc75cSRalf Baechle	  controlled through /sys/devices/system/cpu.
8311b2bc75cSRalf Baechle	  (Note: power management support will enable this option
8321b2bc75cSRalf Baechle	    automatically on SMP systems. )
8331b2bc75cSRalf Baechle	  Say N if you want to disable CPU hotplug.
8341b2bc75cSRalf Baechle
8351b2bc75cSRalf Baechleconfig SYS_SUPPORTS_HOTPLUG_CPU
836dbb74540SRalf Baechle	bool
837dbb74540SRalf Baechle
8381da177e4SLinus Torvaldsconfig I8259
8391da177e4SLinus Torvalds	bool
8401da177e4SLinus Torvalds
8411da177e4SLinus Torvaldsconfig MIPS_BONITO64
8421da177e4SLinus Torvalds	bool
8431da177e4SLinus Torvalds
8441da177e4SLinus Torvaldsconfig MIPS_MSC
8451da177e4SLinus Torvalds	bool
8461da177e4SLinus Torvalds
8471f21d2bdSBrian Murphyconfig MIPS_NILE4
8481f21d2bdSBrian Murphy	bool
8491f21d2bdSBrian Murphy
8501da177e4SLinus Torvaldsconfig MIPS_DISABLE_OBSOLETE_IDE
8511da177e4SLinus Torvalds	bool
8521da177e4SLinus Torvalds
85339b8d525SRalf Baechleconfig SYNC_R4K
85439b8d525SRalf Baechle	bool
85539b8d525SRalf Baechle
856d388d685SMaciej W. Rozyckiconfig NO_IOPORT
857d388d685SMaciej W. Rozycki	def_bool n
858d388d685SMaciej W. Rozycki
8598313da30SRalf Baechleconfig GENERIC_ISA_DMA
8608313da30SRalf Baechle	bool
8618313da30SRalf Baechle	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
8628313da30SRalf Baechle
863aa414dffSRalf Baechleconfig GENERIC_ISA_DMA_SUPPORT_BROKEN
864aa414dffSRalf Baechle	bool
8658313da30SRalf Baechle	select GENERIC_ISA_DMA
866aa414dffSRalf Baechle
86709663335SYoichi Yuasaconfig GENERIC_GPIO
86809663335SYoichi Yuasa	bool
86909663335SYoichi Yuasa
8705e83d430SRalf Baechle#
8713cb2fcccSMatt LaPlante# Endianess selection.  Sufficiently obscure so many users don't know what to
8725e83d430SRalf Baechle# answer,so we try hard to limit the available choices.  Also the use of a
8735e83d430SRalf Baechle# choice statement should be more obvious to the user.
8745e83d430SRalf Baechle#
8755e83d430SRalf Baechlechoice
8765e83d430SRalf Baechle	prompt "Endianess selection"
8771da177e4SLinus Torvalds	help
8781da177e4SLinus Torvalds	  Some MIPS machines can be configured for either little or big endian
8795e83d430SRalf Baechle	  byte order. These modes require different kernels and a different
8803cb2fcccSMatt LaPlante	  Linux distribution.  In general there is one preferred byteorder for a
8815e83d430SRalf Baechle	  particular system but some systems are just as commonly used in the
8823dde6ad8SDavid Sterba	  one or the other endianness.
8835e83d430SRalf Baechle
8845e83d430SRalf Baechleconfig CPU_BIG_ENDIAN
8855e83d430SRalf Baechle	bool "Big endian"
8865e83d430SRalf Baechle	depends on SYS_SUPPORTS_BIG_ENDIAN
8875e83d430SRalf Baechle
8885e83d430SRalf Baechleconfig CPU_LITTLE_ENDIAN
8895e83d430SRalf Baechle	bool "Little endian"
8905e83d430SRalf Baechle	depends on SYS_SUPPORTS_LITTLE_ENDIAN
8915e83d430SRalf Baechle	help
8925e83d430SRalf Baechle
8935e83d430SRalf Baechleendchoice
8945e83d430SRalf Baechle
8952116245eSRalf Baechleconfig SYS_SUPPORTS_APM_EMULATION
8962116245eSRalf Baechle	bool
8972116245eSRalf Baechle
8985e83d430SRalf Baechleconfig SYS_SUPPORTS_BIG_ENDIAN
8995e83d430SRalf Baechle	bool
9005e83d430SRalf Baechle
9015e83d430SRalf Baechleconfig SYS_SUPPORTS_LITTLE_ENDIAN
9025e83d430SRalf Baechle	bool
9031da177e4SLinus Torvalds
9049cffd154SDavid Daneyconfig SYS_SUPPORTS_HUGETLBFS
9059cffd154SDavid Daney	bool
9069cffd154SDavid Daney	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
9079cffd154SDavid Daney	default y
9089cffd154SDavid Daney
9091da177e4SLinus Torvaldsconfig IRQ_CPU
9101da177e4SLinus Torvalds	bool
9111da177e4SLinus Torvalds
9121da177e4SLinus Torvaldsconfig IRQ_CPU_RM7K
9131da177e4SLinus Torvalds	bool
9141da177e4SLinus Torvalds
9155e83d430SRalf Baechleconfig IRQ_CPU_RM9K
9165e83d430SRalf Baechle	bool
9175e83d430SRalf Baechle
9189267a30dSMarc St-Jeanconfig IRQ_MSP_SLP
9199267a30dSMarc St-Jean	bool
9209267a30dSMarc St-Jean
9219267a30dSMarc St-Jeanconfig IRQ_MSP_CIC
9229267a30dSMarc St-Jean	bool
9239267a30dSMarc St-Jean
9248420fd00SAtsushi Nemotoconfig IRQ_TXX9
9258420fd00SAtsushi Nemoto	bool
9268420fd00SAtsushi Nemoto
927d5ab1a69SYoichi Yuasaconfig IRQ_GT641XX
928d5ab1a69SYoichi Yuasa	bool
929d5ab1a69SYoichi Yuasa
93039b8d525SRalf Baechleconfig IRQ_GIC
93139b8d525SRalf Baechle	bool
93239b8d525SRalf Baechle
933a86c7f72SDavid Daneyconfig IRQ_CPU_OCTEON
934a86c7f72SDavid Daney	bool
935a86c7f72SDavid Daney
9361da177e4SLinus Torvaldsconfig MIPS_BOARDS_GEN
9371da177e4SLinus Torvalds	bool
9381da177e4SLinus Torvalds
939252161ecSYoichi Yuasaconfig PCI_GT64XXX_PCI0
9401da177e4SLinus Torvalds	bool
9411da177e4SLinus Torvalds
9429267a30dSMarc St-Jeanconfig NO_EXCEPT_FILL
9439267a30dSMarc St-Jean	bool
9449267a30dSMarc St-Jean
945663c3d90Sthomas@koeller.dyndns.orgconfig MIPS_RM9122
946663c3d90Sthomas@koeller.dyndns.org	bool
947663c3d90Sthomas@koeller.dyndns.org	select SERIAL_RM9000
948663c3d90Sthomas@koeller.dyndns.org
949a83860c2SRalf Baechleconfig SOC_EMMA2RH
950a83860c2SRalf Baechle	bool
951a83860c2SRalf Baechle	select CEVT_R4K
952a83860c2SRalf Baechle	select CSRC_R4K
953a83860c2SRalf Baechle	select DMA_NONCOHERENT
954a83860c2SRalf Baechle	select IRQ_CPU
955a83860c2SRalf Baechle	select SWAP_IO_SPACE
956a83860c2SRalf Baechle	select SYS_HAS_CPU_R5500
957a83860c2SRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
958a83860c2SRalf Baechle	select SYS_SUPPORTS_64BIT_KERNEL
959a83860c2SRalf Baechle	select SYS_SUPPORTS_BIG_ENDIAN
960a83860c2SRalf Baechle
961edb6310aSDaniel Lairdconfig SOC_PNX833X
962edb6310aSDaniel Laird	bool
963edb6310aSDaniel Laird	select CEVT_R4K
964edb6310aSDaniel Laird	select CSRC_R4K
965edb6310aSDaniel Laird	select IRQ_CPU
966edb6310aSDaniel Laird	select DMA_NONCOHERENT
967edb6310aSDaniel Laird	select SYS_HAS_CPU_MIPS32_R2
968edb6310aSDaniel Laird	select SYS_SUPPORTS_32BIT_KERNEL
969edb6310aSDaniel Laird	select SYS_SUPPORTS_LITTLE_ENDIAN
970edb6310aSDaniel Laird	select SYS_SUPPORTS_BIG_ENDIAN
971edb6310aSDaniel Laird	select GENERIC_GPIO
972edb6310aSDaniel Laird	select CPU_MIPSR2_IRQ_VI
973edb6310aSDaniel Laird
974edb6310aSDaniel Lairdconfig SOC_PNX8335
975edb6310aSDaniel Laird	bool
976edb6310aSDaniel Laird	select SOC_PNX833X
977edb6310aSDaniel Laird
978bdf21b18SPete Popovconfig PNX8550
979bdf21b18SPete Popov	bool
980bdf21b18SPete Popov	select SOC_PNX8550
981bdf21b18SPete Popov
982bdf21b18SPete Popovconfig SOC_PNX8550
983bdf21b18SPete Popov	bool
984bdf21b18SPete Popov	select DMA_NONCOHERENT
985bdf21b18SPete Popov	select HW_HAS_PCI
986b8c2a77cSRalf Baechle	select SYS_HAS_CPU_MIPS32_R1
98736a88530SRalf Baechle	select SYS_HAS_EARLY_PRINTK
9887cf8053bSRalf Baechle	select SYS_SUPPORTS_32BIT_KERNEL
9894ead1681SFlorian Fainelli	select GENERIC_GPIO
990bdf21b18SPete Popov
9911da177e4SLinus Torvaldsconfig SWAP_IO_SPACE
9921da177e4SLinus Torvalds	bool
9931da177e4SLinus Torvalds
994663c3d90Sthomas@koeller.dyndns.orgconfig SERIAL_RM9000
995663c3d90Sthomas@koeller.dyndns.org	bool
996663c3d90Sthomas@koeller.dyndns.org
997e2defae5SThomas Bogendoerferconfig SGI_HAS_INDYDOG
998e2defae5SThomas Bogendoerfer	bool
999e2defae5SThomas Bogendoerfer
10005b438c44SThomas Bogendoerferconfig SGI_HAS_HAL2
10015b438c44SThomas Bogendoerfer	bool
10025b438c44SThomas Bogendoerfer
1003e2defae5SThomas Bogendoerferconfig SGI_HAS_SEEQ
1004e2defae5SThomas Bogendoerfer	bool
1005e2defae5SThomas Bogendoerfer
1006e2defae5SThomas Bogendoerferconfig SGI_HAS_WD93
1007e2defae5SThomas Bogendoerfer	bool
1008e2defae5SThomas Bogendoerfer
1009e2defae5SThomas Bogendoerferconfig SGI_HAS_ZILOG
1010e2defae5SThomas Bogendoerfer	bool
1011e2defae5SThomas Bogendoerfer
1012e2defae5SThomas Bogendoerferconfig SGI_HAS_I8042
1013e2defae5SThomas Bogendoerfer	bool
1014e2defae5SThomas Bogendoerfer
1015e2defae5SThomas Bogendoerferconfig DEFAULT_SGI_PARTITION
1016e2defae5SThomas Bogendoerfer	bool
1017e2defae5SThomas Bogendoerfer
10185e83d430SRalf Baechleconfig ARC32
10195e83d430SRalf Baechle	bool
10205e83d430SRalf Baechle
1021231a35d3SThomas Bogendoerferconfig SNIPROM
1022231a35d3SThomas Bogendoerfer	bool
1023231a35d3SThomas Bogendoerfer
10241da177e4SLinus Torvaldsconfig BOOT_ELF32
10251da177e4SLinus Torvalds	bool
10261da177e4SLinus Torvalds
10271da177e4SLinus Torvaldsconfig MIPS_L1_CACHE_SHIFT
10281da177e4SLinus Torvalds	int
1029c7088755SRalf Baechle	default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
10300db2b74eSRalf Baechle	default "6" if MIPS_CPU_SCACHE
1031a86c7f72SDavid Daney	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
10321da177e4SLinus Torvalds	default "5"
10331da177e4SLinus Torvalds
10341da177e4SLinus Torvaldsconfig HAVE_STD_PC_SERIAL_PORT
10351da177e4SLinus Torvalds	bool
10361da177e4SLinus Torvalds
10371da177e4SLinus Torvaldsconfig ARC_CONSOLE
10381da177e4SLinus Torvalds	bool "ARC console support"
1039e2defae5SThomas Bogendoerfer	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
10401da177e4SLinus Torvalds
10411da177e4SLinus Torvaldsconfig ARC_MEMORY
10421da177e4SLinus Torvalds	bool
104314b36af4SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP32
10441da177e4SLinus Torvalds	default y
10451da177e4SLinus Torvalds
10461da177e4SLinus Torvaldsconfig ARC_PROMLIB
10471da177e4SLinus Torvalds	bool
1048e2defae5SThomas Bogendoerfer	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
10491da177e4SLinus Torvalds	default y
10501da177e4SLinus Torvalds
10511da177e4SLinus Torvaldsconfig ARC64
10521da177e4SLinus Torvalds	bool
10531da177e4SLinus Torvalds
10541da177e4SLinus Torvaldsconfig BOOT_ELF64
10551da177e4SLinus Torvalds	bool
10561da177e4SLinus Torvalds
10571da177e4SLinus Torvaldsmenu "CPU selection"
10581da177e4SLinus Torvalds
10591da177e4SLinus Torvaldschoice
10601da177e4SLinus Torvalds	prompt "CPU type"
10611da177e4SLinus Torvalds	default CPU_R4X00
10621da177e4SLinus Torvalds
10633702bba5SWu Zhangjinconfig CPU_LOONGSON2E
10643702bba5SWu Zhangjin	bool "Loongson 2E"
10653702bba5SWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2E
10663702bba5SWu Zhangjin	select CPU_LOONGSON2
10672a21c730SFuxin Zhang	help
10682a21c730SFuxin Zhang	  The Loongson 2E processor implements the MIPS III instruction set
10692a21c730SFuxin Zhang	  with many extensions.
10702a21c730SFuxin Zhang
10716f7a251aSWu Zhangjin	  It has an internal FPGA northbridge, which is compatiable to
10726f7a251aSWu Zhangjin	  bonito64.
10736f7a251aSWu Zhangjin
10746f7a251aSWu Zhangjinconfig CPU_LOONGSON2F
10756f7a251aSWu Zhangjin	bool "Loongson 2F"
10766f7a251aSWu Zhangjin	depends on SYS_HAS_CPU_LOONGSON2F
10776f7a251aSWu Zhangjin	select CPU_LOONGSON2
10786f7a251aSWu Zhangjin	help
10796f7a251aSWu Zhangjin	  The Loongson 2F processor implements the MIPS III instruction set
10806f7a251aSWu Zhangjin	  with many extensions.
10816f7a251aSWu Zhangjin
10826f7a251aSWu Zhangjin	  Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
10836f7a251aSWu Zhangjin	  have a similar programming interface with FPGA northbridge used in
10846f7a251aSWu Zhangjin	  Loongson2E.
10856f7a251aSWu Zhangjin
10866e760c8dSRalf Baechleconfig CPU_MIPS32_R1
10876e760c8dSRalf Baechle	bool "MIPS32 Release 1"
10887cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R1
10896e760c8dSRalf Baechle	select CPU_HAS_PREFETCH
1090797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1091ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
10926e760c8dSRalf Baechle	help
10935e83d430SRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
10941e5f1caaSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
10951e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
10961e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
10971e5f1caaSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
10981e5f1caaSRalf Baechle	  Release 2 of the MIPS32 architecture is available since several
10991e5f1caaSRalf Baechle	  years so chances are you even have a MIPS32 Release 2 processor
11001e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS32_R2 instead for better
11011e5f1caaSRalf Baechle	  performance.
11021e5f1caaSRalf Baechle
11031e5f1caaSRalf Baechleconfig CPU_MIPS32_R2
11041e5f1caaSRalf Baechle	bool "MIPS32 Release 2"
11057cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS32_R2
11061e5f1caaSRalf Baechle	select CPU_HAS_PREFETCH
1107797798c1SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
1108ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11091e5f1caaSRalf Baechle	help
11105e83d430SRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11116e760c8dSRalf Baechle	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
11126e760c8dSRalf Baechle	  MIPS processor are based on a MIPS32 processor.  If you know the
11136e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11146e760c8dSRalf Baechle	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
11151da177e4SLinus Torvalds
11166e760c8dSRalf Baechleconfig CPU_MIPS64_R1
11176e760c8dSRalf Baechle	bool "MIPS64 Release 1"
11187cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R1
1119797798c1SRalf Baechle	select CPU_HAS_PREFETCH
1120ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1121ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1122ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11239cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11246e760c8dSRalf Baechle	help
11256e760c8dSRalf Baechle	  Choose this option to build a kernel for release 1 or later of the
11266e760c8dSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11276e760c8dSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11286e760c8dSRalf Baechle	  specific type of processor in your system, choose those that one
11296e760c8dSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11301e5f1caaSRalf Baechle	  Release 2 of the MIPS64 architecture is available since several
11311e5f1caaSRalf Baechle	  years so chances are you even have a MIPS64 Release 2 processor
11321e5f1caaSRalf Baechle	  in which case you should choose CPU_MIPS64_R2 instead for better
11331e5f1caaSRalf Baechle	  performance.
11341e5f1caaSRalf Baechle
11351e5f1caaSRalf Baechleconfig CPU_MIPS64_R2
11361e5f1caaSRalf Baechle	bool "MIPS64 Release 2"
11377cf8053bSRalf Baechle	depends on SYS_HAS_CPU_MIPS64_R2
1138797798c1SRalf Baechle	select CPU_HAS_PREFETCH
11391e5f1caaSRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
11401e5f1caaSRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
1141ec28f306SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11429cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
11431e5f1caaSRalf Baechle	help
11441e5f1caaSRalf Baechle	  Choose this option to build a kernel for release 2 or later of the
11451e5f1caaSRalf Baechle	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
11461e5f1caaSRalf Baechle	  MIPS processor are based on a MIPS64 processor.  If you know the
11471e5f1caaSRalf Baechle	  specific type of processor in your system, choose those that one
11481e5f1caaSRalf Baechle	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
11491da177e4SLinus Torvalds
11501da177e4SLinus Torvaldsconfig CPU_R3000
11511da177e4SLinus Torvalds	bool "R3000"
11527cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R3000
1153f7062ddbSRalf Baechle	select CPU_HAS_WB
1154ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1155797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
11561da177e4SLinus Torvalds	help
11571da177e4SLinus Torvalds	  Please make sure to pick the right CPU type. Linux/MIPS is not
11581da177e4SLinus Torvalds	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
11591da177e4SLinus Torvalds	  *not* work on R4000 machines and vice versa.  However, since most
11601da177e4SLinus Torvalds	  of the supported machines have an R4000 (or similar) CPU, R4x00
11611da177e4SLinus Torvalds	  might be a safe bet.  If the resulting kernel does not work,
11621da177e4SLinus Torvalds	  try to recompile with R3000.
11631da177e4SLinus Torvalds
11641da177e4SLinus Torvaldsconfig CPU_TX39XX
11651da177e4SLinus Torvalds	bool "R39XX"
11667cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX39XX
1167ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
11681da177e4SLinus Torvalds
11691da177e4SLinus Torvaldsconfig CPU_VR41XX
11701da177e4SLinus Torvalds	bool "R41xx"
11717cf8053bSRalf Baechle	depends on SYS_HAS_CPU_VR41XX
1172ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1173ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11741da177e4SLinus Torvalds	help
11755e83d430SRalf Baechle	  The options selects support for the NEC VR4100 series of processors.
11761da177e4SLinus Torvalds	  Only choose this option if you have one of these processors as a
11771da177e4SLinus Torvalds	  kernel built with this option will not run on any other type of
11781da177e4SLinus Torvalds	  processor or vice versa.
11791da177e4SLinus Torvalds
11801da177e4SLinus Torvaldsconfig CPU_R4300
11811da177e4SLinus Torvalds	bool "R4300"
11827cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4300
1183ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1184ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11851da177e4SLinus Torvalds	help
11861da177e4SLinus Torvalds	  MIPS Technologies R4300-series processors.
11871da177e4SLinus Torvalds
11881da177e4SLinus Torvaldsconfig CPU_R4X00
11891da177e4SLinus Torvalds	bool "R4x00"
11907cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R4X00
1191ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1192ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
11931da177e4SLinus Torvalds	help
11941da177e4SLinus Torvalds	  MIPS Technologies R4000-series processors other than 4300, including
11951da177e4SLinus Torvalds	  the R4000, R4400, R4600, and 4700.
11961da177e4SLinus Torvalds
11971da177e4SLinus Torvaldsconfig CPU_TX49XX
11981da177e4SLinus Torvalds	bool "R49XX"
11997cf8053bSRalf Baechle	depends on SYS_HAS_CPU_TX49XX
1200de862b48SAtsushi Nemoto	select CPU_HAS_PREFETCH
1201ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1202ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12031da177e4SLinus Torvalds
12041da177e4SLinus Torvaldsconfig CPU_R5000
12051da177e4SLinus Torvalds	bool "R5000"
12067cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5000
1207ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1208ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12091da177e4SLinus Torvalds	help
12101da177e4SLinus Torvalds	  MIPS Technologies R5000-series processors other than the Nevada.
12111da177e4SLinus Torvalds
12121da177e4SLinus Torvaldsconfig CPU_R5432
12131da177e4SLinus Torvalds	bool "R5432"
12147cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R5432
12155e83d430SRalf Baechle	select CPU_SUPPORTS_32BIT_KERNEL
12165e83d430SRalf Baechle	select CPU_SUPPORTS_64BIT_KERNEL
12171da177e4SLinus Torvalds
1218542c1020SShinya Kuribayashiconfig CPU_R5500
1219542c1020SShinya Kuribayashi	bool "R5500"
1220542c1020SShinya Kuribayashi	depends on SYS_HAS_CPU_R5500
1221542c1020SShinya Kuribayashi	select CPU_SUPPORTS_32BIT_KERNEL
1222542c1020SShinya Kuribayashi	select CPU_SUPPORTS_64BIT_KERNEL
12239cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1224542c1020SShinya Kuribayashi	help
1225542c1020SShinya Kuribayashi	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1226542c1020SShinya Kuribayashi	  instruction set.
1227542c1020SShinya Kuribayashi
12281da177e4SLinus Torvaldsconfig CPU_R6000
12291da177e4SLinus Torvalds	bool "R6000"
1230ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12317cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R6000
1232ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
12331da177e4SLinus Torvalds	help
12341da177e4SLinus Torvalds	  MIPS Technologies R6000 and R6000A series processors.  Note these
1235c09b47d8SChris Dearman	  processors are extremely rare and the support for them is incomplete.
12361da177e4SLinus Torvalds
12371da177e4SLinus Torvaldsconfig CPU_NEVADA
12381da177e4SLinus Torvalds	bool "RM52xx"
12397cf8053bSRalf Baechle	depends on SYS_HAS_CPU_NEVADA
1240ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1241ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12421da177e4SLinus Torvalds	help
12431da177e4SLinus Torvalds	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
12441da177e4SLinus Torvalds
12451da177e4SLinus Torvaldsconfig CPU_R8000
12461da177e4SLinus Torvalds	bool "R8000"
1247ed5ba2fbSYoichi Yuasa	depends on EXPERIMENTAL
12487cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R8000
12495e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1250ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
12511da177e4SLinus Torvalds	help
12521da177e4SLinus Torvalds	  MIPS Technologies R8000 processors.  Note these processors are
12531da177e4SLinus Torvalds	  uncommon and the support for them is incomplete.
12541da177e4SLinus Torvalds
12551da177e4SLinus Torvaldsconfig CPU_R10000
12561da177e4SLinus Torvalds	bool "R10000"
12577cf8053bSRalf Baechle	depends on SYS_HAS_CPU_R10000
12585e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1259ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1260ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1261797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12621da177e4SLinus Torvalds	help
12631da177e4SLinus Torvalds	  MIPS Technologies R10000-series processors.
12641da177e4SLinus Torvalds
12651da177e4SLinus Torvaldsconfig CPU_RM7000
12661da177e4SLinus Torvalds	bool "RM7000"
12677cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM7000
12685e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1269ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1270ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1271797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12721da177e4SLinus Torvalds
12731da177e4SLinus Torvaldsconfig CPU_RM9000
12741da177e4SLinus Torvalds	bool "RM9000"
12757cf8053bSRalf Baechle	depends on SYS_HAS_CPU_RM9000
12765e83d430SRalf Baechle	select CPU_HAS_PREFETCH
1277ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1278ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1279797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12800004a9dfSRalf Baechle	select WEAK_ORDERING
12811da177e4SLinus Torvalds
12821da177e4SLinus Torvaldsconfig CPU_SB1
12831da177e4SLinus Torvalds	bool "SB1"
12847cf8053bSRalf Baechle	depends on SYS_HAS_CPU_SB1
1285ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_32BIT_KERNEL
1286ed5ba2fbSYoichi Yuasa	select CPU_SUPPORTS_64BIT_KERNEL
1287797798c1SRalf Baechle	select CPU_SUPPORTS_HIGHMEM
12880004a9dfSRalf Baechle	select WEAK_ORDERING
12891da177e4SLinus Torvalds
1290a86c7f72SDavid Daneyconfig CPU_CAVIUM_OCTEON
1291a86c7f72SDavid Daney	bool "Cavium Octeon processor"
12925e683389SDavid Daney	depends on SYS_HAS_CPU_CAVIUM_OCTEON
1293a86c7f72SDavid Daney	select IRQ_CPU
1294a86c7f72SDavid Daney	select IRQ_CPU_OCTEON
1295a86c7f72SDavid Daney	select CPU_HAS_PREFETCH
1296a86c7f72SDavid Daney	select CPU_SUPPORTS_64BIT_KERNEL
1297a86c7f72SDavid Daney	select SYS_SUPPORTS_SMP
1298a86c7f72SDavid Daney	select NR_CPUS_DEFAULT_16
1299a86c7f72SDavid Daney	select WEAK_ORDERING
1300a86c7f72SDavid Daney	select CPU_SUPPORTS_HIGHMEM
13019cffd154SDavid Daney	select CPU_SUPPORTS_HUGEPAGES
1302a86c7f72SDavid Daney	help
1303a86c7f72SDavid Daney	  The Cavium Octeon processor is a highly integrated chip containing
1304a86c7f72SDavid Daney	  many ethernet hardware widgets for networking tasks. The processor
1305a86c7f72SDavid Daney	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1306a86c7f72SDavid Daney	  Full details can be found at http://www.caviumnetworks.com.
1307a86c7f72SDavid Daney
13081da177e4SLinus Torvaldsendchoice
13091da177e4SLinus Torvalds
1310*622844bfSWu Zhangjinif CPU_LOONGSON2F
1311*622844bfSWu Zhangjinconfig CPU_NOP_WORKAROUNDS
1312*622844bfSWu Zhangjin	bool
1313*622844bfSWu Zhangjin
1314*622844bfSWu Zhangjinconfig CPU_JUMP_WORKAROUNDS
1315*622844bfSWu Zhangjin	bool
1316*622844bfSWu Zhangjin
1317*622844bfSWu Zhangjinconfig CPU_LOONGSON2F_WORKAROUNDS
1318*622844bfSWu Zhangjin	bool "Loongson 2F Workarounds"
1319*622844bfSWu Zhangjin	default y
1320*622844bfSWu Zhangjin	select CPU_NOP_WORKAROUNDS
1321*622844bfSWu Zhangjin	select CPU_JUMP_WORKAROUNDS
1322*622844bfSWu Zhangjin	help
1323*622844bfSWu Zhangjin	  Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1324*622844bfSWu Zhangjin	  require workarounds.  Without workarounds the system may hang
1325*622844bfSWu Zhangjin	  unexpectedly.  For more information please refer to the gas
1326*622844bfSWu Zhangjin	  -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1327*622844bfSWu Zhangjin
1328*622844bfSWu Zhangjin	  Loongson 2F03 and later have fixed these issues and no workarounds
1329*622844bfSWu Zhangjin	  are needed.  The workarounds have no significant side effect on them
1330*622844bfSWu Zhangjin	  but may decrease the performance of the system so this option should
1331*622844bfSWu Zhangjin	  be disabled unless the kernel is intended to be run on 2F01 or 2F02
1332*622844bfSWu Zhangjin	  systems.
1333*622844bfSWu Zhangjin
1334*622844bfSWu Zhangjin	  If unsure, please say Y.
1335*622844bfSWu Zhangjinendif # CPU_LOONGSON2F
1336*622844bfSWu Zhangjin
13371b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT
13381b93b3c3SWu Zhangjin	bool
13391b93b3c3SWu Zhangjin	select HAVE_KERNEL_GZIP
13401b93b3c3SWu Zhangjin	select HAVE_KERNEL_BZIP2
13411b93b3c3SWu Zhangjin	select HAVE_KERNEL_LZMA
1342fe1d45e0SWu Zhangjin	select HAVE_KERNEL_LZO
13431b93b3c3SWu Zhangjin
13441b93b3c3SWu Zhangjinconfig SYS_SUPPORTS_ZBOOT_UART16550
13451b93b3c3SWu Zhangjin	bool
13461b93b3c3SWu Zhangjin	select SYS_SUPPORTS_ZBOOT
13471b93b3c3SWu Zhangjin
13483702bba5SWu Zhangjinconfig CPU_LOONGSON2
13493702bba5SWu Zhangjin	bool
13503702bba5SWu Zhangjin	select CPU_SUPPORTS_32BIT_KERNEL
13513702bba5SWu Zhangjin	select CPU_SUPPORTS_64BIT_KERNEL
13523702bba5SWu Zhangjin	select CPU_SUPPORTS_HIGHMEM
13533702bba5SWu Zhangjin
13543702bba5SWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2E
13552a21c730SFuxin Zhang	bool
13562a21c730SFuxin Zhang
13576f7a251aSWu Zhangjinconfig SYS_HAS_CPU_LOONGSON2F
13586f7a251aSWu Zhangjin	bool
135955045ff5SWu Zhangjin	select CPU_SUPPORTS_CPUFREQ
136055045ff5SWu Zhangjin	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
136122f1fdfdSWu Zhangjin	select CPU_SUPPORTS_UNCACHED_ACCELERATED
13626f7a251aSWu Zhangjin
13637cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R1
13647cf8053bSRalf Baechle	bool
13657cf8053bSRalf Baechle
13667cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS32_R2
13677cf8053bSRalf Baechle	bool
13687cf8053bSRalf Baechle
13697cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R1
13707cf8053bSRalf Baechle	bool
13717cf8053bSRalf Baechle
13727cf8053bSRalf Baechleconfig SYS_HAS_CPU_MIPS64_R2
13737cf8053bSRalf Baechle	bool
13747cf8053bSRalf Baechle
13757cf8053bSRalf Baechleconfig SYS_HAS_CPU_R3000
13767cf8053bSRalf Baechle	bool
13777cf8053bSRalf Baechle
13787cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX39XX
13797cf8053bSRalf Baechle	bool
13807cf8053bSRalf Baechle
13817cf8053bSRalf Baechleconfig SYS_HAS_CPU_VR41XX
13827cf8053bSRalf Baechle	bool
13837cf8053bSRalf Baechle
13847cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4300
13857cf8053bSRalf Baechle	bool
13867cf8053bSRalf Baechle
13877cf8053bSRalf Baechleconfig SYS_HAS_CPU_R4X00
13887cf8053bSRalf Baechle	bool
13897cf8053bSRalf Baechle
13907cf8053bSRalf Baechleconfig SYS_HAS_CPU_TX49XX
13917cf8053bSRalf Baechle	bool
13927cf8053bSRalf Baechle
13937cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5000
13947cf8053bSRalf Baechle	bool
13957cf8053bSRalf Baechle
13967cf8053bSRalf Baechleconfig SYS_HAS_CPU_R5432
13977cf8053bSRalf Baechle	bool
13987cf8053bSRalf Baechle
1399542c1020SShinya Kuribayashiconfig SYS_HAS_CPU_R5500
1400542c1020SShinya Kuribayashi	bool
1401542c1020SShinya Kuribayashi
14027cf8053bSRalf Baechleconfig SYS_HAS_CPU_R6000
14037cf8053bSRalf Baechle	bool
14047cf8053bSRalf Baechle
14057cf8053bSRalf Baechleconfig SYS_HAS_CPU_NEVADA
14067cf8053bSRalf Baechle	bool
14077cf8053bSRalf Baechle
14087cf8053bSRalf Baechleconfig SYS_HAS_CPU_R8000
14097cf8053bSRalf Baechle	bool
14107cf8053bSRalf Baechle
14117cf8053bSRalf Baechleconfig SYS_HAS_CPU_R10000
14127cf8053bSRalf Baechle	bool
14137cf8053bSRalf Baechle
14147cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM7000
14157cf8053bSRalf Baechle	bool
14167cf8053bSRalf Baechle
14177cf8053bSRalf Baechleconfig SYS_HAS_CPU_RM9000
14187cf8053bSRalf Baechle	bool
14197cf8053bSRalf Baechle
14207cf8053bSRalf Baechleconfig SYS_HAS_CPU_SB1
14217cf8053bSRalf Baechle	bool
14227cf8053bSRalf Baechle
14235e683389SDavid Daneyconfig SYS_HAS_CPU_CAVIUM_OCTEON
14245e683389SDavid Daney	bool
14255e683389SDavid Daney
142617099b11SRalf Baechle#
142717099b11SRalf Baechle# CPU may reorder R->R, R->W, W->R, W->W
142817099b11SRalf Baechle# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
142917099b11SRalf Baechle#
14300004a9dfSRalf Baechleconfig WEAK_ORDERING
14310004a9dfSRalf Baechle	bool
143217099b11SRalf Baechle
143317099b11SRalf Baechle#
143417099b11SRalf Baechle# CPU may reorder reads and writes beyond LL/SC
143517099b11SRalf Baechle# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
143617099b11SRalf Baechle#
143717099b11SRalf Baechleconfig WEAK_REORDERING_BEYOND_LLSC
143817099b11SRalf Baechle	bool
14395e83d430SRalf Baechleendmenu
14405e83d430SRalf Baechle
14415e83d430SRalf Baechle#
14425e83d430SRalf Baechle# These two indicate any level of the MIPS32 and MIPS64 architecture
14435e83d430SRalf Baechle#
14445e83d430SRalf Baechleconfig CPU_MIPS32
14455e83d430SRalf Baechle	bool
14465e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
14475e83d430SRalf Baechle
14485e83d430SRalf Baechleconfig CPU_MIPS64
14495e83d430SRalf Baechle	bool
14505e83d430SRalf Baechle	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
14515e83d430SRalf Baechle
14525e83d430SRalf Baechle#
1453c09b47d8SChris Dearman# These two indicate the revision of the architecture, either Release 1 or Release 2
14545e83d430SRalf Baechle#
14555e83d430SRalf Baechleconfig CPU_MIPSR1
14565e83d430SRalf Baechle	bool
14575e83d430SRalf Baechle	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
14585e83d430SRalf Baechle
14595e83d430SRalf Baechleconfig CPU_MIPSR2
14605e83d430SRalf Baechle	bool
1461a86c7f72SDavid Daney	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
14625e83d430SRalf Baechle
14635e83d430SRalf Baechleconfig SYS_SUPPORTS_32BIT_KERNEL
14645e83d430SRalf Baechle	bool
14655e83d430SRalf Baechleconfig SYS_SUPPORTS_64BIT_KERNEL
14665e83d430SRalf Baechle	bool
14675e83d430SRalf Baechleconfig CPU_SUPPORTS_32BIT_KERNEL
14685e83d430SRalf Baechle	bool
14695e83d430SRalf Baechleconfig CPU_SUPPORTS_64BIT_KERNEL
14705e83d430SRalf Baechle	bool
147155045ff5SWu Zhangjinconfig CPU_SUPPORTS_CPUFREQ
147255045ff5SWu Zhangjin	bool
147355045ff5SWu Zhangjinconfig CPU_SUPPORTS_ADDRWINCFG
147455045ff5SWu Zhangjin	bool
14759cffd154SDavid Daneyconfig CPU_SUPPORTS_HUGEPAGES
14769cffd154SDavid Daney	bool
147722f1fdfdSWu Zhangjinconfig CPU_SUPPORTS_UNCACHED_ACCELERATED
147822f1fdfdSWu Zhangjin	bool
147982622284SDavid Daneyconfig MIPS_PGD_C0_CONTEXT
148082622284SDavid Daney	bool
148182622284SDavid Daney	default y if 64BIT && CPU_MIPSR2
14825e83d430SRalf Baechle
14838192c9eaSDavid Daney#
14848192c9eaSDavid Daney# Set to y for ptrace access to watch registers.
14858192c9eaSDavid Daney#
14868192c9eaSDavid Daneyconfig HARDWARE_WATCHPOINTS
14878192c9eaSDavid Daney       bool
1488f839490aSDavid Daney       default y if CPU_MIPSR1 || CPU_MIPSR2
14898192c9eaSDavid Daney
14905e83d430SRalf Baechlemenu "Kernel type"
14915e83d430SRalf Baechle
14925e83d430SRalf Baechlechoice
14935e83d430SRalf Baechle
14945e83d430SRalf Baechle	prompt "Kernel code model"
14955e83d430SRalf Baechle	help
14965e83d430SRalf Baechle	  You should only select this option if you have a workload that
14975e83d430SRalf Baechle	  actually benefits from 64-bit processing or if your machine has
14985e83d430SRalf Baechle	  large memory.  You will only be presented a single option in this
14995e83d430SRalf Baechle	  menu if your system does not support both 32-bit and 64-bit kernels.
15005e83d430SRalf Baechle
15015e83d430SRalf Baechleconfig 32BIT
15025e83d430SRalf Baechle	bool "32-bit kernel"
15035e83d430SRalf Baechle	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
15045e83d430SRalf Baechle	select TRAD_SIGNALS
15055e83d430SRalf Baechle	help
15065e83d430SRalf Baechle	  Select this option if you want to build a 32-bit kernel.
15075e83d430SRalf Baechleconfig 64BIT
15085e83d430SRalf Baechle	bool "64-bit kernel"
15095e83d430SRalf Baechle	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1510dbda6ac0SRalf Baechle	select HAVE_SYSCALL_WRAPPERS
15115e83d430SRalf Baechle	help
15125e83d430SRalf Baechle	  Select this option if you want to build a 64-bit kernel.
15135e83d430SRalf Baechle
15145e83d430SRalf Baechleendchoice
15155e83d430SRalf Baechle
15161da177e4SLinus Torvaldschoice
15171da177e4SLinus Torvalds	prompt "Kernel page size"
15181da177e4SLinus Torvalds	default PAGE_SIZE_4KB
15191da177e4SLinus Torvalds
15201da177e4SLinus Torvaldsconfig PAGE_SIZE_4KB
15211da177e4SLinus Torvalds	bool "4kB"
1522315fe625SWu Zhangjin	depends on !CPU_LOONGSON2
15231da177e4SLinus Torvalds	help
15241da177e4SLinus Torvalds	 This option select the standard 4kB Linux page size.  On some
15251da177e4SLinus Torvalds	 R3000-family processors this is the only available page size.  Using
15261da177e4SLinus Torvalds	 4kB page size will minimize memory consumption and is therefore
15271da177e4SLinus Torvalds	 recommended for low memory systems.
15281da177e4SLinus Torvalds
15291da177e4SLinus Torvaldsconfig PAGE_SIZE_8KB
15301da177e4SLinus Torvalds	bool "8kB"
1531c52399beSRalf Baechle	depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
15321da177e4SLinus Torvalds	help
15331da177e4SLinus Torvalds	  Using 8kB page size will result in higher performance kernel at
15341da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available
1535c52399beSRalf Baechle	  only on R8000 and cnMIPS processors.  Note that you will need a
1536c52399beSRalf Baechle	  suitable Linux distribution to support this.
15371da177e4SLinus Torvalds
15381da177e4SLinus Torvaldsconfig PAGE_SIZE_16KB
15391da177e4SLinus Torvalds	bool "16kB"
1540714bfad6SRalf Baechle	depends on !CPU_R3000 && !CPU_TX39XX
15411da177e4SLinus Torvalds	help
15421da177e4SLinus Torvalds	  Using 16kB page size will result in higher performance kernel at
15431da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
1544714bfad6SRalf Baechle	  all non-R3000 family processors.  Note that you will need a suitable
1545714bfad6SRalf Baechle	  Linux distribution to support this.
15461da177e4SLinus Torvalds
1547c52399beSRalf Baechleconfig PAGE_SIZE_32KB
1548c52399beSRalf Baechle	bool "32kB"
1549c52399beSRalf Baechle	depends on CPU_CAVIUM_OCTEON
1550c52399beSRalf Baechle	help
1551c52399beSRalf Baechle	  Using 32kB page size will result in higher performance kernel at
1552c52399beSRalf Baechle	  the price of higher memory consumption.  This option is available
1553c52399beSRalf Baechle	  only on cnMIPS cores.  Note that you will need a suitable Linux
1554c52399beSRalf Baechle	  distribution to support this.
1555c52399beSRalf Baechle
15561da177e4SLinus Torvaldsconfig PAGE_SIZE_64KB
15571da177e4SLinus Torvalds	bool "64kB"
15581da177e4SLinus Torvalds	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
15591da177e4SLinus Torvalds	help
15601da177e4SLinus Torvalds	  Using 64kB page size will result in higher performance kernel at
15611da177e4SLinus Torvalds	  the price of higher memory consumption.  This option is available on
15621da177e4SLinus Torvalds	  all non-R3000 family processor.  Not that at the time of this
1563714bfad6SRalf Baechle	  writing this option is still high experimental.
15641da177e4SLinus Torvalds
15651da177e4SLinus Torvaldsendchoice
15661da177e4SLinus Torvalds
15671da177e4SLinus Torvaldsconfig BOARD_SCACHE
15681da177e4SLinus Torvalds	bool
15691da177e4SLinus Torvalds
15701da177e4SLinus Torvaldsconfig IP22_CPU_SCACHE
15711da177e4SLinus Torvalds	bool
15721da177e4SLinus Torvalds	select BOARD_SCACHE
15731da177e4SLinus Torvalds
15749318c51aSChris Dearman#
15759318c51aSChris Dearman# Support for a MIPS32 / MIPS64 style S-caches
15769318c51aSChris Dearman#
15779318c51aSChris Dearmanconfig MIPS_CPU_SCACHE
15789318c51aSChris Dearman	bool
15799318c51aSChris Dearman	select BOARD_SCACHE
15809318c51aSChris Dearman
15811da177e4SLinus Torvaldsconfig R5000_CPU_SCACHE
15821da177e4SLinus Torvalds	bool
15831da177e4SLinus Torvalds	select BOARD_SCACHE
15841da177e4SLinus Torvalds
15851da177e4SLinus Torvaldsconfig RM7000_CPU_SCACHE
15861da177e4SLinus Torvalds	bool
15871da177e4SLinus Torvalds	select BOARD_SCACHE
15881da177e4SLinus Torvalds
15891da177e4SLinus Torvaldsconfig SIBYTE_DMA_PAGEOPS
15901da177e4SLinus Torvalds	bool "Use DMA to clear/copy pages"
15911da177e4SLinus Torvalds	depends on CPU_SB1
15921da177e4SLinus Torvalds	help
15931da177e4SLinus Torvalds	  Instead of using the CPU to zero and copy pages, use a Data Mover
15941da177e4SLinus Torvalds	  channel.  These DMA channels are otherwise unused by the standard
15951da177e4SLinus Torvalds	  SiByte Linux port.  Seems to give a small performance benefit.
15961da177e4SLinus Torvalds
15971da177e4SLinus Torvaldsconfig CPU_HAS_PREFETCH
1598c8094b53SRalf Baechle	bool
15991da177e4SLinus Torvalds
1600340ee4b9SRalf Baechlechoice
1601340ee4b9SRalf Baechle	prompt "MIPS MT options"
1602f41ae0b2SRalf Baechle
1603f41ae0b2SRalf Baechleconfig MIPS_MT_DISABLED
1604f41ae0b2SRalf Baechle	bool "Disable multithreading support."
1605f41ae0b2SRalf Baechle	help
1606f41ae0b2SRalf Baechle	  Use this option if your workload can't take advantage of
1607f41ae0b2SRalf Baechle	  MIPS hardware multithreading support.  On systems that don't have
1608f41ae0b2SRalf Baechle	  the option of an MT-enabled processor this option will be the only
1609f41ae0b2SRalf Baechle	  option in this menu.
1610340ee4b9SRalf Baechle
161159d6ab86SRalf Baechleconfig MIPS_MT_SMP
161259d6ab86SRalf Baechle	bool "Use 1 TC on each available VPE for SMP"
161359d6ab86SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
161459d6ab86SRalf Baechle	select CPU_MIPSR2_IRQ_VI
1615d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
161659d6ab86SRalf Baechle	select MIPS_MT
1617f510aa3bSRalf Baechle	select NR_CPUS_DEFAULT_2
161859d6ab86SRalf Baechle	select SMP
16190ab7aefcSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
162059d6ab86SRalf Baechle	select SYS_SUPPORTS_SMP
162187353d8aSRalf Baechle	select SMP_UP
162259d6ab86SRalf Baechle	help
162359d6ab86SRalf Baechle	  This is a kernel model which is also known a VSMP or lately
162459d6ab86SRalf Baechle	  has been marketesed into SMVP.
162559d6ab86SRalf Baechle
162641c594abSRalf Baechleconfig MIPS_MT_SMTC
162741c594abSRalf Baechle	bool "SMTC: Use all TCs on all VPEs for SMP"
1628f41ae0b2SRalf Baechle	depends on CPU_MIPS32_R2
1629f41ae0b2SRalf Baechle	#depends on CPU_MIPS64_R2		# once there is hardware ...
1630f41ae0b2SRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
1631f7062ddbSRalf Baechle	select CPU_MIPSR2_IRQ_VI
1632d725cf38SChris Dearman	select CPU_MIPSR2_IRQ_EI
1633f41ae0b2SRalf Baechle	select MIPS_MT
1634130e2fb7SRalf Baechle	select NR_CPUS_DEFAULT_8
163541c594abSRalf Baechle	select SMP
163673b76c78SRalf Baechle	select SYS_SUPPORTS_SMP
163787353d8aSRalf Baechle	select SMP_UP
1638f41ae0b2SRalf Baechle	help
1639f41ae0b2SRalf Baechle	  This is a kernel model which is known a SMTC or lately has been
1640f41ae0b2SRalf Baechle	  marketesed into SMVP.
164141c594abSRalf Baechle
1642340ee4b9SRalf Baechleendchoice
1643340ee4b9SRalf Baechle
1644f41ae0b2SRalf Baechleconfig MIPS_MT
1645f41ae0b2SRalf Baechle	bool
1646f41ae0b2SRalf Baechle
16470ab7aefcSRalf Baechleconfig SCHED_SMT
16480ab7aefcSRalf Baechle	bool "SMT (multithreading) scheduler support"
16490ab7aefcSRalf Baechle	depends on SYS_SUPPORTS_SCHED_SMT
16500ab7aefcSRalf Baechle	default n
16510ab7aefcSRalf Baechle	help
16520ab7aefcSRalf Baechle	  SMT scheduler support improves the CPU scheduler's decision making
16530ab7aefcSRalf Baechle	  when dealing with MIPS MT enabled cores at a cost of slightly
16540ab7aefcSRalf Baechle	  increased overhead in some places. If unsure say N here.
16550ab7aefcSRalf Baechle
16560ab7aefcSRalf Baechleconfig SYS_SUPPORTS_SCHED_SMT
16570ab7aefcSRalf Baechle	bool
16580ab7aefcSRalf Baechle
16590ab7aefcSRalf Baechle
1660f41ae0b2SRalf Baechleconfig SYS_SUPPORTS_MULTITHREADING
1661f41ae0b2SRalf Baechle	bool
1662f41ae0b2SRalf Baechle
1663f088fc84SRalf Baechleconfig MIPS_MT_FPAFF
1664f088fc84SRalf Baechle	bool "Dynamic FPU affinity for FP-intensive threads"
1665f088fc84SRalf Baechle	default y
166607cc0c9eSRalf Baechle	depends on MIPS_MT_SMP || MIPS_MT_SMTC
166707cc0c9eSRalf Baechle
166807cc0c9eSRalf Baechleconfig MIPS_VPE_LOADER
166907cc0c9eSRalf Baechle	bool "VPE loader support."
167007cc0c9eSRalf Baechle	depends on SYS_SUPPORTS_MULTITHREADING
167107cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_VI
167207cc0c9eSRalf Baechle	select CPU_MIPSR2_IRQ_EI
167307cc0c9eSRalf Baechle	select MIPS_MT
167407cc0c9eSRalf Baechle	help
167507cc0c9eSRalf Baechle	  Includes a loader for loading an elf relocatable object
167607cc0c9eSRalf Baechle	  onto another VPE and running it.
1677f088fc84SRalf Baechle
16780db34215SKevin D. Kissellconfig MIPS_MT_SMTC_IM_BACKSTOP
16790db34215SKevin D. Kissell	bool "Use per-TC register bits as backstop for inhibited IM bits"
16800db34215SKevin D. Kissell	depends on MIPS_MT_SMTC
16818531a35eSKevin D. Kissell	default n
16820db34215SKevin D. Kissell	help
16830db34215SKevin D. Kissell	  To support multiple TC microthreads acting as "CPUs" within
16840db34215SKevin D. Kissell	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
16850db34215SKevin D. Kissell	  during interrupt handling. To support legacy drivers and interrupt
16860db34215SKevin D. Kissell	  controller management code, SMTC has a "backstop" to track and
16870db34215SKevin D. Kissell	  if necessary restore the interrupt mask. This has some performance
16888531a35eSKevin D. Kissell	  impact on interrupt service overhead.
16890db34215SKevin D. Kissell
1690f571eff0SKevin D. Kissellconfig MIPS_MT_SMTC_IRQAFF
1691f571eff0SKevin D. Kissell	bool "Support IRQ affinity API"
1692f571eff0SKevin D. Kissell	depends on MIPS_MT_SMTC
1693f571eff0SKevin D. Kissell	default n
1694f571eff0SKevin D. Kissell	help
1695f571eff0SKevin D. Kissell	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1696f571eff0SKevin D. Kissell	  for SMTC Linux kernel. Requires platform support, of which
1697f571eff0SKevin D. Kissell	  an example can be found in the MIPS kernel i8259 and Malta
16988531a35eSKevin D. Kissell	  platform code.  Adds some overhead to interrupt dispatch, and
16998531a35eSKevin D. Kissell	  should be used only if you know what you are doing.
1700f571eff0SKevin D. Kissell
1701e01402b1SRalf Baechleconfig MIPS_VPE_LOADER_TOM
1702e01402b1SRalf Baechle	bool "Load VPE program into memory hidden from linux"
1703e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
1704e01402b1SRalf Baechle	default y
1705e01402b1SRalf Baechle	help
1706e01402b1SRalf Baechle	  The loader can use memory that is present but has been hidden from
1707e01402b1SRalf Baechle	  Linux using the kernel command line option "mem=xxMB". It's up to
1708e01402b1SRalf Baechle	  you to ensure the amount you put in the option and the space your
1709e01402b1SRalf Baechle	  program requires is less or equal to the amount physically present.
1710e01402b1SRalf Baechle
1711e01402b1SRalf Baechle# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1712e01402b1SRalf Baechleconfig MIPS_VPE_APSP_API
1713e01402b1SRalf Baechle	bool "Enable support for AP/SP API (RTLX)"
1714e01402b1SRalf Baechle	depends on MIPS_VPE_LOADER
17155e83d430SRalf Baechle	help
1716e01402b1SRalf Baechle
17172600990eSRalf Baechleconfig MIPS_APSP_KSPD
17182600990eSRalf Baechle	bool "Enable KSPD"
17192600990eSRalf Baechle	depends on MIPS_VPE_APSP_API
17202600990eSRalf Baechle	default y
17212600990eSRalf Baechle	help
17222600990eSRalf Baechle	  KSPD is a kernel daemon that accepts syscall requests from the SP
17232600990eSRalf Baechle	  side, actions them and returns the results. It also handles the
17242600990eSRalf Baechle	  "exit" syscall notifying other kernel modules the SP program is
17252600990eSRalf Baechle	  exiting.  You probably want to say yes here.
17262600990eSRalf Baechle
17274a16ff4cSRalf Baechleconfig MIPS_CMP
17284a16ff4cSRalf Baechle	bool "MIPS CMP framework support"
17294a16ff4cSRalf Baechle	depends on SYS_SUPPORTS_MIPS_CMP
1730eb9b5141STim Anderson	select SYNC_R4K
17314a16ff4cSRalf Baechle	select SYS_SUPPORTS_SMP
17324a16ff4cSRalf Baechle	select SYS_SUPPORTS_SCHED_SMT if SMP
17334a16ff4cSRalf Baechle	select WEAK_ORDERING
17344a16ff4cSRalf Baechle	default n
17354a16ff4cSRalf Baechle	help
17364a16ff4cSRalf Baechle	  This is a placeholder option for the GCMP work. It will need to
17374a16ff4cSRalf Baechle	  be handled differently...
17384a16ff4cSRalf Baechle
17391da177e4SLinus Torvaldsconfig SB1_PASS_1_WORKAROUNDS
17401da177e4SLinus Torvalds	bool
17411da177e4SLinus Torvalds	depends on CPU_SB1_PASS_1
17421da177e4SLinus Torvalds	default y
17431da177e4SLinus Torvalds
17441da177e4SLinus Torvaldsconfig SB1_PASS_2_WORKAROUNDS
17451da177e4SLinus Torvalds	bool
17461da177e4SLinus Torvalds	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
17471da177e4SLinus Torvalds	default y
17481da177e4SLinus Torvalds
17491da177e4SLinus Torvaldsconfig SB1_PASS_2_1_WORKAROUNDS
17501da177e4SLinus Torvalds	bool
17511da177e4SLinus Torvalds	depends on CPU_SB1 && CPU_SB1_PASS_2
17521da177e4SLinus Torvalds	default y
17531da177e4SLinus Torvalds
17541da177e4SLinus Torvaldsconfig 64BIT_PHYS_ADDR
1755d806cb2bSRalf Baechle	bool
17561da177e4SLinus Torvalds
175760ec6571Spascal@pabr.orgconfig ARCH_PHYS_ADDR_T_64BIT
175860ec6571Spascal@pabr.org       def_bool 64BIT_PHYS_ADDR
175960ec6571Spascal@pabr.org
17609693a853SFranck Bui-Huuconfig CPU_HAS_SMARTMIPS
17619693a853SFranck Bui-Huu	depends on SYS_SUPPORTS_SMARTMIPS
17629693a853SFranck Bui-Huu	bool "Support for the SmartMIPS ASE"
17639693a853SFranck Bui-Huu	help
17649693a853SFranck Bui-Huu	  SmartMIPS is a extension of the MIPS32 architecture aimed at
17659693a853SFranck Bui-Huu	  increased security at both hardware and software level for
17669693a853SFranck Bui-Huu	  smartcards.  Enabling this option will allow proper use of the
17679693a853SFranck Bui-Huu	  SmartMIPS instructions by Linux applications.  However a kernel with
17689693a853SFranck Bui-Huu	  this option will not work on a MIPS core without SmartMIPS core.  If
17699693a853SFranck Bui-Huu	  you don't know you probably don't have SmartMIPS and should say N
17709693a853SFranck Bui-Huu	  here.
17719693a853SFranck Bui-Huu
17721da177e4SLinus Torvaldsconfig CPU_HAS_WB
1773f7062ddbSRalf Baechle	bool
1774e01402b1SRalf Baechle
1775f41ae0b2SRalf Baechle#
1776f41ae0b2SRalf Baechle# Vectored interrupt mode is an R2 feature
1777f41ae0b2SRalf Baechle#
1778e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_VI
1779f41ae0b2SRalf Baechle	bool
1780e01402b1SRalf Baechle
1781f41ae0b2SRalf Baechle#
1782f41ae0b2SRalf Baechle# Extended interrupt mode is an R2 feature
1783f41ae0b2SRalf Baechle#
1784e01402b1SRalf Baechleconfig CPU_MIPSR2_IRQ_EI
1785f41ae0b2SRalf Baechle	bool
1786e01402b1SRalf Baechle
17871da177e4SLinus Torvaldsconfig CPU_HAS_SYNC
17881da177e4SLinus Torvalds	bool
17891da177e4SLinus Torvalds	depends on !CPU_R3000
17901da177e4SLinus Torvalds	default y
17911da177e4SLinus Torvalds
1792ea580401SRalf Baechleconfig GENERIC_CLOCKEVENTS_BROADCAST
1793ea580401SRalf Baechle	bool
1794ea580401SRalf Baechle
17951da177e4SLinus Torvalds#
179620d60d99SMaciej W. Rozycki# CPU non-features
179720d60d99SMaciej W. Rozycki#
179820d60d99SMaciej W. Rozyckiconfig CPU_DADDI_WORKAROUNDS
179920d60d99SMaciej W. Rozycki	bool
180020d60d99SMaciej W. Rozycki
180120d60d99SMaciej W. Rozyckiconfig CPU_R4000_WORKAROUNDS
180220d60d99SMaciej W. Rozycki	bool
180320d60d99SMaciej W. Rozycki	select CPU_R4400_WORKAROUNDS
180420d60d99SMaciej W. Rozycki
180520d60d99SMaciej W. Rozyckiconfig CPU_R4400_WORKAROUNDS
180620d60d99SMaciej W. Rozycki	bool
180720d60d99SMaciej W. Rozycki
180820d60d99SMaciej W. Rozycki#
1809797798c1SRalf Baechle# Use the generic interrupt handling code in kernel/irq/:
1810797798c1SRalf Baechle#
1811797798c1SRalf Baechleconfig GENERIC_HARDIRQS
1812797798c1SRalf Baechle	bool
1813797798c1SRalf Baechle	default y
1814797798c1SRalf Baechle
1815797798c1SRalf Baechleconfig GENERIC_IRQ_PROBE
1816797798c1SRalf Baechle	bool
1817797798c1SRalf Baechle	default y
1818797798c1SRalf Baechle
18190d7012a9SIngo Molnarconfig IRQ_PER_CPU
18200d7012a9SIngo Molnar	bool
18210d7012a9SIngo Molnar
1822797798c1SRalf Baechle#
18231da177e4SLinus Torvalds# - Highmem only makes sense for the 32-bit kernel.
18241da177e4SLinus Torvalds# - The current highmem code will only work properly on physically indexed
18251da177e4SLinus Torvalds#   caches such as R3000, SB1, R7000 or those that look like they're virtually
18261da177e4SLinus Torvalds#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
18271da177e4SLinus Torvalds#   moment we protect the user and offer the highmem option only on machines
18281da177e4SLinus Torvalds#   where it's known to be safe.  This will not offer highmem on a few systems
18291da177e4SLinus Torvalds#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
18301da177e4SLinus Torvalds#   indexed CPUs but we're playing safe.
1831797798c1SRalf Baechle# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1832797798c1SRalf Baechle#   know they might have memory configurations that could make use of highmem
1833797798c1SRalf Baechle#   support.
18341da177e4SLinus Torvalds#
18351da177e4SLinus Torvaldsconfig HIGHMEM
18361da177e4SLinus Torvalds	bool "High Memory Support"
1837797798c1SRalf Baechle	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1838797798c1SRalf Baechle
1839797798c1SRalf Baechleconfig CPU_SUPPORTS_HIGHMEM
1840797798c1SRalf Baechle	bool
1841797798c1SRalf Baechle
1842797798c1SRalf Baechleconfig SYS_SUPPORTS_HIGHMEM
1843797798c1SRalf Baechle	bool
18441da177e4SLinus Torvalds
18459693a853SFranck Bui-Huuconfig SYS_SUPPORTS_SMARTMIPS
18469693a853SFranck Bui-Huu	bool
18479693a853SFranck Bui-Huu
1848b4819b59SYoichi Yuasaconfig ARCH_FLATMEM_ENABLE
1849b4819b59SYoichi Yuasa	def_bool y
1850f133f22dSWu Zhangjin	depends on !NUMA && !CPU_LOONGSON2
1851b4819b59SYoichi Yuasa
1852d8cb4e11SRalf Baechleconfig ARCH_DISCONTIGMEM_ENABLE
1853d8cb4e11SRalf Baechle	bool
1854d8cb4e11SRalf Baechle	default y if SGI_IP27
1855d8cb4e11SRalf Baechle	help
18563dde6ad8SDavid Sterba	  Say Y to support efficient handling of discontiguous physical memory,
1857d8cb4e11SRalf Baechle	  for architectures which are either NUMA (Non-Uniform Memory Access)
1858d8cb4e11SRalf Baechle	  or have huge holes in the physical address space for other reasons.
1859d8cb4e11SRalf Baechle	  See <file:Documentation/vm/numa> for more.
1860d8cb4e11SRalf Baechle
1861cce335aeSRalf Baechleconfig ARCH_POPULATES_NODE_MAP
1862cce335aeSRalf Baechle	def_bool y
1863cce335aeSRalf Baechle
1864b1c6cd42SAtsushi Nemotoconfig ARCH_SPARSEMEM_ENABLE
1865b1c6cd42SAtsushi Nemoto	bool
18667de58fabSAtsushi Nemoto	select SPARSEMEM_STATIC
186731473747SAtsushi Nemoto
1868d8cb4e11SRalf Baechleconfig NUMA
1869d8cb4e11SRalf Baechle	bool "NUMA Support"
1870d8cb4e11SRalf Baechle	depends on SYS_SUPPORTS_NUMA
1871d8cb4e11SRalf Baechle	help
1872d8cb4e11SRalf Baechle	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1873d8cb4e11SRalf Baechle	  Access).  This option improves performance on systems with more
1874d8cb4e11SRalf Baechle	  than two nodes; on two node systems it is generally better to
1875d8cb4e11SRalf Baechle	  leave it disabled; on single node systems disable this option
1876d8cb4e11SRalf Baechle	  disabled.
1877d8cb4e11SRalf Baechle
1878d8cb4e11SRalf Baechleconfig SYS_SUPPORTS_NUMA
1879d8cb4e11SRalf Baechle	bool
1880d8cb4e11SRalf Baechle
1881c80d79d7SYasunori Gotoconfig NODES_SHIFT
1882c80d79d7SYasunori Goto	int
1883c80d79d7SYasunori Goto	default "6"
1884c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
1885c80d79d7SYasunori Goto
1886b4819b59SYoichi Yuasasource "mm/Kconfig"
1887b4819b59SYoichi Yuasa
18881da177e4SLinus Torvaldsconfig SMP
18891da177e4SLinus Torvalds	bool "Multi-Processing support"
1890e73ea273SRalf Baechle	depends on SYS_SUPPORTS_SMP
1891b4b30a5aSRalf Baechle	select IRQ_PER_CPU
18922f304c0aSJens Axboe	select USE_GENERIC_SMP_HELPERS
1893e73ea273SRalf Baechle	help
18941da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
18951da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
18961da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
18971da177e4SLinus Torvalds
18981da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
18991da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
19001da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
19011da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
19021da177e4SLinus Torvalds	  will run faster if you say N here.
19031da177e4SLinus Torvalds
19041da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
19051da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below.
19061da177e4SLinus Torvalds
190703502faaSAdrian Bunk	  See also the SMP-HOWTO available at
190803502faaSAdrian Bunk	  <http://www.tldp.org/docs.html#howto>.
19091da177e4SLinus Torvalds
19101da177e4SLinus Torvalds	  If you don't know what to do here, say N.
19111da177e4SLinus Torvalds
191287353d8aSRalf Baechleconfig SMP_UP
191387353d8aSRalf Baechle	bool
191487353d8aSRalf Baechle
19154a16ff4cSRalf Baechleconfig SYS_SUPPORTS_MIPS_CMP
19164a16ff4cSRalf Baechle	bool
19174a16ff4cSRalf Baechle
1918e73ea273SRalf Baechleconfig SYS_SUPPORTS_SMP
1919e73ea273SRalf Baechle	bool
1920e73ea273SRalf Baechle
192172ede9b1SAtsushi Nemotoconfig NR_CPUS_DEFAULT_1
192272ede9b1SAtsushi Nemoto	bool
192372ede9b1SAtsushi Nemoto
1924130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_2
1925130e2fb7SRalf Baechle	bool
1926130e2fb7SRalf Baechle
1927130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_4
1928130e2fb7SRalf Baechle	bool
1929130e2fb7SRalf Baechle
1930130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_8
1931130e2fb7SRalf Baechle	bool
1932130e2fb7SRalf Baechle
1933130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_16
1934130e2fb7SRalf Baechle	bool
1935130e2fb7SRalf Baechle
1936130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_32
1937130e2fb7SRalf Baechle	bool
1938130e2fb7SRalf Baechle
1939130e2fb7SRalf Baechleconfig NR_CPUS_DEFAULT_64
1940130e2fb7SRalf Baechle	bool
1941130e2fb7SRalf Baechle
19421da177e4SLinus Torvaldsconfig NR_CPUS
19431da177e4SLinus Torvalds	int "Maximum number of CPUs (2-64)"
194472ede9b1SAtsushi Nemoto	range 1 64 if NR_CPUS_DEFAULT_1
19451da177e4SLinus Torvalds	depends on SMP
194672ede9b1SAtsushi Nemoto	default "1" if NR_CPUS_DEFAULT_1
1947130e2fb7SRalf Baechle	default "2" if NR_CPUS_DEFAULT_2
1948130e2fb7SRalf Baechle	default "4" if NR_CPUS_DEFAULT_4
1949130e2fb7SRalf Baechle	default "8" if NR_CPUS_DEFAULT_8
1950130e2fb7SRalf Baechle	default "16" if NR_CPUS_DEFAULT_16
1951130e2fb7SRalf Baechle	default "32" if NR_CPUS_DEFAULT_32
1952130e2fb7SRalf Baechle	default "64" if NR_CPUS_DEFAULT_64
19531da177e4SLinus Torvalds	help
19541da177e4SLinus Torvalds	  This allows you to specify the maximum number of CPUs which this
19551da177e4SLinus Torvalds	  kernel will support.  The maximum supported value is 32 for 32-bit
19561da177e4SLinus Torvalds	  kernel and 64 for 64-bit kernels; the minimum value which makes
195772ede9b1SAtsushi Nemoto	  sense is 1 for Qemu (useful only for kernel debugging purposes)
195872ede9b1SAtsushi Nemoto	  and 2 for all others.
19591da177e4SLinus Torvalds
19601da177e4SLinus Torvalds	  This is purely to save memory - each supported CPU adds
196172ede9b1SAtsushi Nemoto	  approximately eight kilobytes to the kernel image.  For best
196272ede9b1SAtsushi Nemoto	  performance should round up your number of processors to the next
196372ede9b1SAtsushi Nemoto	  power of two.
19641da177e4SLinus Torvalds
1965c4eee283SAtsushi Nemotosource "kernel/time/Kconfig"
1966c4eee283SAtsushi Nemoto
19671723b4a3SAtsushi Nemoto#
19681723b4a3SAtsushi Nemoto# Timer Interrupt Frequency Configuration
19691723b4a3SAtsushi Nemoto#
19701723b4a3SAtsushi Nemoto
19711723b4a3SAtsushi Nemotochoice
19721723b4a3SAtsushi Nemoto	prompt "Timer frequency"
19731723b4a3SAtsushi Nemoto	default HZ_250
19741723b4a3SAtsushi Nemoto	help
19751723b4a3SAtsushi Nemoto	 Allows the configuration of the timer frequency.
19761723b4a3SAtsushi Nemoto
19771723b4a3SAtsushi Nemoto	config HZ_48
19780f873585SRalf Baechle		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
19791723b4a3SAtsushi Nemoto
19801723b4a3SAtsushi Nemoto	config HZ_100
19811723b4a3SAtsushi Nemoto		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
19821723b4a3SAtsushi Nemoto
19831723b4a3SAtsushi Nemoto	config HZ_128
19841723b4a3SAtsushi Nemoto		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
19851723b4a3SAtsushi Nemoto
19861723b4a3SAtsushi Nemoto	config HZ_250
19871723b4a3SAtsushi Nemoto		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
19881723b4a3SAtsushi Nemoto
19891723b4a3SAtsushi Nemoto	config HZ_256
19901723b4a3SAtsushi Nemoto		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
19911723b4a3SAtsushi Nemoto
19921723b4a3SAtsushi Nemoto	config HZ_1000
19931723b4a3SAtsushi Nemoto		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
19941723b4a3SAtsushi Nemoto
19951723b4a3SAtsushi Nemoto	config HZ_1024
19961723b4a3SAtsushi Nemoto		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
19971723b4a3SAtsushi Nemoto
19981723b4a3SAtsushi Nemotoendchoice
19991723b4a3SAtsushi Nemoto
20001723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_48HZ
20011723b4a3SAtsushi Nemoto	bool
20021723b4a3SAtsushi Nemoto
20031723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_100HZ
20041723b4a3SAtsushi Nemoto	bool
20051723b4a3SAtsushi Nemoto
20061723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_128HZ
20071723b4a3SAtsushi Nemoto	bool
20081723b4a3SAtsushi Nemoto
20091723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_250HZ
20101723b4a3SAtsushi Nemoto	bool
20111723b4a3SAtsushi Nemoto
20121723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_256HZ
20131723b4a3SAtsushi Nemoto	bool
20141723b4a3SAtsushi Nemoto
20151723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1000HZ
20161723b4a3SAtsushi Nemoto	bool
20171723b4a3SAtsushi Nemoto
20181723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_1024HZ
20191723b4a3SAtsushi Nemoto	bool
20201723b4a3SAtsushi Nemoto
20211723b4a3SAtsushi Nemotoconfig SYS_SUPPORTS_ARBIT_HZ
20221723b4a3SAtsushi Nemoto	bool
20231723b4a3SAtsushi Nemoto	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
20241723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
20251723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
20261723b4a3SAtsushi Nemoto		     !SYS_SUPPORTS_1024HZ
20271723b4a3SAtsushi Nemoto
20281723b4a3SAtsushi Nemotoconfig HZ
20291723b4a3SAtsushi Nemoto	int
20301723b4a3SAtsushi Nemoto	default 48 if HZ_48
20311723b4a3SAtsushi Nemoto	default 100 if HZ_100
20321723b4a3SAtsushi Nemoto	default 128 if HZ_128
20331723b4a3SAtsushi Nemoto	default 250 if HZ_250
20341723b4a3SAtsushi Nemoto	default 256 if HZ_256
20351723b4a3SAtsushi Nemoto	default 1000 if HZ_1000
20361723b4a3SAtsushi Nemoto	default 1024 if HZ_1024
20371723b4a3SAtsushi Nemoto
2038e80de850SRalf Baechlesource "kernel/Kconfig.preempt"
20391da177e4SLinus Torvalds
20401da177e4SLinus Torvaldsconfig MIPS_INSANE_LARGE
20411da177e4SLinus Torvalds	bool "Support for large 64-bit configurations"
2042875d43e7SRalf Baechle	depends on CPU_R10000 && 64BIT
20431da177e4SLinus Torvalds	help
20441da177e4SLinus Torvalds	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
20451da177e4SLinus Torvalds	  previous 64-bit processors which only supported 40 bit / 1TB. If you
20461da177e4SLinus Torvalds	  need processes of more than 1TB virtual address space, say Y here.
20471da177e4SLinus Torvalds	  This will result in additional memory usage, so it is not
20481da177e4SLinus Torvalds	  recommended for normal users.
20491da177e4SLinus Torvalds
2050ea6e942bSAtsushi Nemotoconfig KEXEC
2051ea6e942bSAtsushi Nemoto	bool "Kexec system call (EXPERIMENTAL)"
2052ea6e942bSAtsushi Nemoto	depends on EXPERIMENTAL
2053ea6e942bSAtsushi Nemoto	help
2054ea6e942bSAtsushi Nemoto	  kexec is a system call that implements the ability to shutdown your
2055ea6e942bSAtsushi Nemoto	  current kernel, and to start another kernel.  It is like a reboot
20563dde6ad8SDavid Sterba	  but it is independent of the system firmware.   And like a reboot
2057ea6e942bSAtsushi Nemoto	  you can start any kernel with it, not just Linux.
2058ea6e942bSAtsushi Nemoto
205901dd2fbfSMatt LaPlante	  The name comes from the similarity to the exec system call.
2060ea6e942bSAtsushi Nemoto
2061ea6e942bSAtsushi Nemoto	  It is an ongoing process to be certain the hardware in a machine
2062ea6e942bSAtsushi Nemoto	  is properly shutdown, so do not be surprised if this code does not
2063ea6e942bSAtsushi Nemoto	  initially work for you.  It may help to enable device hotplugging
2064ea6e942bSAtsushi Nemoto	  support.  As of this writing the exact hardware interface is
2065ea6e942bSAtsushi Nemoto	  strongly in flux, so no good recommendation can be made.
2066ea6e942bSAtsushi Nemoto
2067ea6e942bSAtsushi Nemotoconfig SECCOMP
2068ea6e942bSAtsushi Nemoto	bool "Enable seccomp to safely compute untrusted bytecode"
2069293c5bd1SRalf Baechle	depends on PROC_FS
2070ea6e942bSAtsushi Nemoto	default y
2071ea6e942bSAtsushi Nemoto	help
2072ea6e942bSAtsushi Nemoto	  This kernel feature is useful for number crunching applications
2073ea6e942bSAtsushi Nemoto	  that may need to compute untrusted bytecode during their
2074ea6e942bSAtsushi Nemoto	  execution. By using pipes or other transports made available to
2075ea6e942bSAtsushi Nemoto	  the process as file descriptors supporting the read/write
2076ea6e942bSAtsushi Nemoto	  syscalls, it's possible to isolate those applications in
2077ea6e942bSAtsushi Nemoto	  their own address space using seccomp. Once seccomp is
2078ea6e942bSAtsushi Nemoto	  enabled via /proc/<pid>/seccomp, it cannot be disabled
2079ea6e942bSAtsushi Nemoto	  and the task is only allowed to execute a few safe syscalls
2080ea6e942bSAtsushi Nemoto	  defined by each seccomp mode.
2081ea6e942bSAtsushi Nemoto
2082ea6e942bSAtsushi Nemoto	  If unsure, say Y. Only embedded should say N here.
2083ea6e942bSAtsushi Nemoto
20845e83d430SRalf Baechleendmenu
20855e83d430SRalf Baechle
20861df0f0ffSAtsushi Nemotoconfig LOCKDEP_SUPPORT
20871df0f0ffSAtsushi Nemoto	bool
20881df0f0ffSAtsushi Nemoto	default y
20891df0f0ffSAtsushi Nemoto
20901df0f0ffSAtsushi Nemotoconfig STACKTRACE_SUPPORT
20911df0f0ffSAtsushi Nemoto	bool
20921df0f0ffSAtsushi Nemoto	default y
20931df0f0ffSAtsushi Nemoto
2094b6c3539bSRalf Baechlesource "init/Kconfig"
2095b6c3539bSRalf Baechle
2096dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
2097dc52ddc0SMatt Helsley
20981da177e4SLinus Torvaldsmenu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
20991da177e4SLinus Torvalds
21005e83d430SRalf Baechleconfig HW_HAS_EISA
21015e83d430SRalf Baechle	bool
21021da177e4SLinus Torvaldsconfig HW_HAS_PCI
21031da177e4SLinus Torvalds	bool
21041da177e4SLinus Torvalds
21051da177e4SLinus Torvaldsconfig PCI
21061da177e4SLinus Torvalds	bool "Support for PCI controller"
21071da177e4SLinus Torvalds	depends on HW_HAS_PCI
2108abb4ae46SRalf Baechle	select PCI_DOMAINS
21091da177e4SLinus Torvalds	help
21101da177e4SLinus Torvalds	  Find out whether you have a PCI motherboard. PCI is the name of a
21111da177e4SLinus Torvalds	  bus system, i.e. the way the CPU talks to the other stuff inside
21121da177e4SLinus Torvalds	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
21131da177e4SLinus Torvalds	  say Y, otherwise N.
21141da177e4SLinus Torvalds
21151da177e4SLinus Torvaldsconfig PCI_DOMAINS
21161da177e4SLinus Torvalds	bool
21171da177e4SLinus Torvalds
21181da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
21191da177e4SLinus Torvalds
21201da177e4SLinus Torvalds#
21211da177e4SLinus Torvalds# ISA support is now enabled via select.  Too many systems still have the one
21221da177e4SLinus Torvalds# or other ISA chip on the board that users don't know about so don't expect
21231da177e4SLinus Torvalds# users to choose the right thing ...
21241da177e4SLinus Torvalds#
21251da177e4SLinus Torvaldsconfig ISA
21261da177e4SLinus Torvalds	bool
21271da177e4SLinus Torvalds
21281da177e4SLinus Torvaldsconfig EISA
21291da177e4SLinus Torvalds	bool "EISA support"
21305e83d430SRalf Baechle	depends on HW_HAS_EISA
21311da177e4SLinus Torvalds	select ISA
2132aa414dffSRalf Baechle	select GENERIC_ISA_DMA
21331da177e4SLinus Torvalds	---help---
21341da177e4SLinus Torvalds	  The Extended Industry Standard Architecture (EISA) bus was
21351da177e4SLinus Torvalds	  developed as an open alternative to the IBM MicroChannel bus.
21361da177e4SLinus Torvalds
21371da177e4SLinus Torvalds	  The EISA bus provided some of the features of the IBM MicroChannel
21381da177e4SLinus Torvalds	  bus while maintaining backward compatibility with cards made for
21391da177e4SLinus Torvalds	  the older ISA bus.  The EISA bus saw limited use between 1988 and
21401da177e4SLinus Torvalds	  1995 when it was made obsolete by the PCI bus.
21411da177e4SLinus Torvalds
21421da177e4SLinus Torvalds	  Say Y here if you are building a kernel for an EISA-based machine.
21431da177e4SLinus Torvalds
21441da177e4SLinus Torvalds	  Otherwise, say N.
21451da177e4SLinus Torvalds
21461da177e4SLinus Torvaldssource "drivers/eisa/Kconfig"
21471da177e4SLinus Torvalds
21481da177e4SLinus Torvaldsconfig TC
21491da177e4SLinus Torvalds	bool "TURBOchannel support"
21501da177e4SLinus Torvalds	depends on MACH_DECSTATION
21511da177e4SLinus Torvalds	help
21521da177e4SLinus Torvalds	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
21531da177e4SLinus Torvalds	  processors.  Documentation on writing device drivers for TurboChannel
21541da177e4SLinus Torvalds	  is available at:
21551da177e4SLinus Torvalds	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
21561da177e4SLinus Torvalds
21571da177e4SLinus Torvalds#config ACCESSBUS
21581da177e4SLinus Torvalds#	bool "Access.Bus support"
21591da177e4SLinus Torvalds#	depends on TC
21601da177e4SLinus Torvalds
21611da177e4SLinus Torvaldsconfig MMU
21621da177e4SLinus Torvalds	bool
21631da177e4SLinus Torvalds	default y
21641da177e4SLinus Torvalds
2165d865bea4SRalf Baechleconfig I8253
2166d865bea4SRalf Baechle	bool
21679726b43aSWu Zhangjin	select MIPS_EXTERNAL_TIMER
2168d865bea4SRalf Baechle
2169cce335aeSRalf Baechleconfig ZONE_DMA32
2170cce335aeSRalf Baechle	bool
2171cce335aeSRalf Baechle
21721da177e4SLinus Torvaldssource "drivers/pcmcia/Kconfig"
21731da177e4SLinus Torvalds
21741da177e4SLinus Torvaldssource "drivers/pci/hotplug/Kconfig"
21751da177e4SLinus Torvalds
21761da177e4SLinus Torvaldsendmenu
21771da177e4SLinus Torvalds
21781da177e4SLinus Torvaldsmenu "Executable file formats"
21791da177e4SLinus Torvalds
21801da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
21811da177e4SLinus Torvalds
21821da177e4SLinus Torvaldsconfig TRAD_SIGNALS
21831da177e4SLinus Torvalds	bool
21841da177e4SLinus Torvalds
21851da177e4SLinus Torvaldsconfig MIPS32_COMPAT
21861da177e4SLinus Torvalds	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2187875d43e7SRalf Baechle	depends on 64BIT
21881da177e4SLinus Torvalds	help
21891da177e4SLinus Torvalds	  Select this option if you want Linux/MIPS 32-bit binary
21901da177e4SLinus Torvalds	  compatibility. Since all software available for Linux/MIPS is
21911da177e4SLinus Torvalds	  currently 32-bit you should say Y here.
21921da177e4SLinus Torvalds
21931da177e4SLinus Torvaldsconfig COMPAT
21941da177e4SLinus Torvalds	bool
21951da177e4SLinus Torvalds	depends on MIPS32_COMPAT
21961da177e4SLinus Torvalds	default y
21971da177e4SLinus Torvalds
219805e43966SAtsushi Nemotoconfig SYSVIPC_COMPAT
219905e43966SAtsushi Nemoto	bool
220005e43966SAtsushi Nemoto	depends on COMPAT && SYSVIPC
220105e43966SAtsushi Nemoto	default y
220205e43966SAtsushi Nemoto
22031da177e4SLinus Torvaldsconfig MIPS32_O32
22041da177e4SLinus Torvalds	bool "Kernel support for o32 binaries"
22051da177e4SLinus Torvalds	depends on MIPS32_COMPAT
22061da177e4SLinus Torvalds	help
22071da177e4SLinus Torvalds	  Select this option if you want to run o32 binaries.  These are pure
22081da177e4SLinus Torvalds	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
22091da177e4SLinus Torvalds	  existing binaries are in this format.
22101da177e4SLinus Torvalds
22111da177e4SLinus Torvalds	  If unsure, say Y.
22121da177e4SLinus Torvalds
22131da177e4SLinus Torvaldsconfig MIPS32_N32
22141da177e4SLinus Torvalds	bool "Kernel support for n32 binaries"
22151da177e4SLinus Torvalds	depends on MIPS32_COMPAT
22161da177e4SLinus Torvalds	help
22171da177e4SLinus Torvalds	  Select this option if you want to run n32 binaries.  These are
22181da177e4SLinus Torvalds	  64-bit binaries using 32-bit quantities for addressing and certain
22191da177e4SLinus Torvalds	  data that would normally be 64-bit.  They are used in special
22201da177e4SLinus Torvalds	  cases.
22211da177e4SLinus Torvalds
22221da177e4SLinus Torvalds	  If unsure, say N.
22231da177e4SLinus Torvalds
22241da177e4SLinus Torvaldsconfig BINFMT_ELF32
22251da177e4SLinus Torvalds	bool
22261da177e4SLinus Torvalds	default y if MIPS32_O32 || MIPS32_N32
22271da177e4SLinus Torvalds
22282116245eSRalf Baechleendmenu
22291da177e4SLinus Torvalds
22302116245eSRalf Baechlemenu "Power management options"
2231952fa954SRodolfo Giometti
2232363c55caSWu Zhangjinconfig ARCH_HIBERNATION_POSSIBLE
2233363c55caSWu Zhangjin	def_bool y
22343f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2235363c55caSWu Zhangjin
2236f4cb5700SJohannes Bergconfig ARCH_SUSPEND_POSSIBLE
2237f4cb5700SJohannes Berg	def_bool y
22383f5b3e17SRalf Baechle	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2239f4cb5700SJohannes Berg
22402116245eSRalf Baechlesource "kernel/power/Kconfig"
2241952fa954SRodolfo Giometti
22421da177e4SLinus Torvaldsendmenu
22431da177e4SLinus Torvalds
22449726b43aSWu Zhangjinsource "arch/mips/kernel/cpufreq/Kconfig"
22459726b43aSWu Zhangjin
2246d5950b43SSam Ravnborgsource "net/Kconfig"
2247d5950b43SSam Ravnborg
22481da177e4SLinus Torvaldssource "drivers/Kconfig"
22491da177e4SLinus Torvalds
22501da177e4SLinus Torvaldssource "fs/Kconfig"
22511da177e4SLinus Torvalds
22521da177e4SLinus Torvaldssource "arch/mips/Kconfig.debug"
22531da177e4SLinus Torvalds
22541da177e4SLinus Torvaldssource "security/Kconfig"
22551da177e4SLinus Torvalds
22561da177e4SLinus Torvaldssource "crypto/Kconfig"
22571da177e4SLinus Torvalds
22581da177e4SLinus Torvaldssource "lib/Kconfig"
2259