blob: 632dba2ac30084e97555178107b10d7d96b35986 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001config MIPS
2 bool
3 default y
Yoichi Yuasaf8ac0422009-06-04 00:16:04 +09004 select HAVE_GENERIC_DMA_COHERENT
Sam Ravnborgec7748b2008-02-09 10:46:40 +01005 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -05006 select HAVE_OPROFILE
Jason Wessel88547002008-07-29 15:58:53 -05007 select HAVE_ARCH_KGDB
Wu Zhangjind2bb07622009-11-20 20:34:29 +08008 select HAVE_FUNCTION_TRACER
Linus Torvalds1da177e2005-04-16 15:20:36 -07009 # Horrible source of confusion. Die, die, die ...
10 select EMBEDDED
Wu Zhangjin21a41fa2009-11-10 00:06:11 +080011 select RTC_LIB if !MACH_LOONGSON
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Linus Torvalds1da177e2005-04-16 15:20:36 -070013mainmenu "Linux/MIPS Kernel Configuration"
14
Linus Torvalds1da177e2005-04-16 15:20:36 -070015menu "Machine selection"
16
Christoph Lameter5ac6da62007-02-10 01:43:14 -080017config ZONE_DMA
18 bool
Christoph Lameter5ac6da62007-02-10 01:43:14 -080019
Ralf Baechle5e83d432005-10-29 19:32:41 +010020choice
21 prompt "System type"
22 default SGI_IP22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023
Yoichi Yuasac3543e22007-05-11 20:44:30 +090024config MACH_ALCHEMY
25 bool "Alchemy processor based machines"
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +080026 select SYS_SUPPORTS_ZBOOT
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
Florian Fainelli7ca5dc12009-06-24 11:12:57 +020028config AR7
29 bool "Texas Instruments AR7"
30 select BOOT_ELF32
31 select DMA_NONCOHERENT
32 select CEVT_R4K
33 select CSRC_R4K
34 select IRQ_CPU
35 select NO_EXCEPT_FILL
36 select SWAP_IO_SPACE
37 select SYS_HAS_CPU_MIPS32_R1
38 select SYS_HAS_EARLY_PRINTK
39 select SYS_SUPPORTS_32BIT_KERNEL
40 select SYS_SUPPORTS_LITTLE_ENDIAN
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +080041 select SYS_SUPPORTS_ZBOOT_UART16550
Florian Fainelli7ca5dc12009-06-24 11:12:57 +020042 select GENERIC_GPIO
43 select GCD
44 select VLYNQ
45 help
46 Support for the Texas Instruments AR7 System-on-a-Chip
47 family: TNETD7100, 7200 and 7300.
48
Ralf Baechle35189fa2006-06-18 16:39:46 +010049config BASLER_EXCITE
Thomas Koellerbe915892007-02-23 01:40:34 +010050 bool "Basler eXcite smart camera"
Ralf Baechle42f77542007-10-18 17:48:11 +010051 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000052 select CSRC_R4K
Ralf Baechle35189fa2006-06-18 16:39:46 +010053 select DMA_COHERENT
54 select HW_HAS_PCI
55 select IRQ_CPU
56 select IRQ_CPU_RM7K
57 select IRQ_CPU_RM9K
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +020058 select MIPS_RM9122
Ralf Baechle35189fa2006-06-18 16:39:46 +010059 select SYS_HAS_CPU_RM9000
60 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle35189fa2006-06-18 16:39:46 +010061 select SYS_SUPPORTS_BIG_ENDIAN
62 help
63 The eXcite is a smart camera platform manufactured by
Thomas Koellerbe915892007-02-23 01:40:34 +010064 Basler Vision Technologies AG.
Ralf Baechle35189fa2006-06-18 16:39:46 +010065
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020066config BCM47XX
67 bool "BCM47XX based boards"
Ralf Baechle42f77542007-10-18 17:48:11 +010068 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000069 select CSRC_R4K
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020070 select DMA_NONCOHERENT
71 select HW_HAS_PCI
72 select IRQ_CPU
73 select SYS_HAS_CPU_MIPS32_R1
74 select SYS_SUPPORTS_32BIT_KERNEL
75 select SYS_SUPPORTS_LITTLE_ENDIAN
76 select SSB
77 select SSB_DRIVER_MIPS
Aurelien Jarno2f02c152007-12-11 11:30:34 +010078 select SSB_DRIVER_EXTIF
Aurelien Jarnob06f3e12008-10-14 11:44:26 +020079 select SSB_EMBEDDED
Aurelien Jarno2f02c152007-12-11 11:30:34 +010080 select SSB_PCICORE_HOSTMODE if PCI
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020081 select GENERIC_GPIO
Aurelien Jarno25e5fb92007-09-25 15:41:24 +020082 select SYS_HAS_EARLY_PRINTK
83 select CFE
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020084 help
85 Support for BCM47XX based boards
86
Maxime Bizone7300d02009-08-18 13:23:37 +010087config BCM63XX
88 bool "Broadcom BCM63XX based boards"
89 select CEVT_R4K
90 select CSRC_R4K
91 select DMA_NONCOHERENT
92 select IRQ_CPU
93 select SYS_HAS_CPU_MIPS32_R1
94 select SYS_SUPPORTS_32BIT_KERNEL
95 select SYS_SUPPORTS_BIG_ENDIAN
96 select SYS_HAS_EARLY_PRINTK
97 select SWAP_IO_SPACE
98 select ARCH_REQUIRE_GPIOLIB
99 help
100 Support for BCM63XX based boards
101
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102config MIPS_COBALT
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200103 bool "Cobalt Server"
Ralf Baechle42f77542007-10-18 17:48:11 +0100104 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000105 select CSRC_R4K
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900106 select CEVT_GT641XX
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107 select DMA_NONCOHERENT
108 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100109 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110 select I8259
111 select IRQ_CPU
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900112 select IRQ_GT641XX
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900113 select PCI_GT64XXX_PCI0
Yoichi Yuasae25bfc92009-06-02 23:17:07 +0900114 select PCI
Ralf Baechle7cf80532005-10-20 22:33:09 +0100115 select SYS_HAS_CPU_NEVADA
Yoichi Yuasa0a22e0d2007-03-02 12:42:33 +0900116 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700117 select SYS_SUPPORTS_32BIT_KERNEL
Florian Fainelli0e8774b2008-01-15 19:42:57 +0100118 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100119 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120
121config MACH_DECSTATION
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200122 bool "DECstations"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123 select BOOT_ELF32
Yoichi Yuasa6457d9f2008-04-25 12:11:44 +0900124 select CEVT_DS1287
Ralf Baechle42f77542007-10-18 17:48:11 +0100125 select CEVT_R4K
Yoichi Yuasa42474172008-04-24 09:48:40 +0900126 select CSRC_IOASIC
Ralf Baechle940f6b42007-11-24 22:33:28 +0000127 select CSRC_R4K
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +0100128 select CPU_DADDI_WORKAROUNDS if 64BIT
129 select CPU_R4000_WORKAROUNDS if 64BIT
130 select CPU_R4400_WORKAROUNDS if 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700131 select DMA_NONCOHERENT
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100132 select NO_IOPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700133 select IRQ_CPU
Ralf Baechle7cf80532005-10-20 22:33:09 +0100134 select SYS_HAS_CPU_R3000
135 select SYS_HAS_CPU_R4X00
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700136 select SYS_SUPPORTS_32BIT_KERNEL
137 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100138 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900139 select SYS_SUPPORTS_128HZ
140 select SYS_SUPPORTS_256HZ
141 select SYS_SUPPORTS_1024HZ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100142 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700143 This enables support for DEC's MIPS based workstations. For details
144 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
145 DECstation porting pages on <http://decstation.unix-ag.org/>.
146
147 If you have one of the following DECstation Models you definitely
148 want to choose R4xx0 for the CPU Type:
149
Ralf Baechle93088162007-08-29 14:21:45 +0100150 DECstation 5000/50
151 DECstation 5000/150
152 DECstation 5000/260
153 DECsystem 5900/260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700154
155 otherwise choose R3000.
156
Ralf Baechle5e83d432005-10-29 19:32:41 +0100157config MACH_JAZZ
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200158 bool "Jazz family of machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100159 select ARC
160 select ARC32
161 select ARCH_MAY_HAVE_PC_FDC
Ralf Baechle42f77542007-10-18 17:48:11 +0100162 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000163 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100164 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100165 select GENERIC_ISA_DMA
Thomas Bogendoerferea202c62007-08-25 11:01:50 +0200166 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100167 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100168 select I8259
169 select ISA
Ralf Baechle7cf80532005-10-20 22:33:09 +0100170 select SYS_HAS_CPU_R4X00
Ralf Baechle5e83d432005-10-29 19:32:41 +0100171 select SYS_SUPPORTS_32BIT_KERNEL
172 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900173 select SYS_SUPPORTS_100HZ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700174 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100175 This a family of machines based on the MIPS R4030 chipset which was
176 used by several vendors to build RISC/os and Windows NT workstations.
Matt LaPlante692105b2009-01-26 11:12:25 +0100177 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
Ralf Baechle5e83d432005-10-29 19:32:41 +0100178 Olivetti M700-10 workstations.
179
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200180config LASAT
181 bool "LASAT Networks platforms"
Ralf Baechle42f77542007-10-18 17:48:11 +0100182 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000183 select CSRC_R4K
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200184 select DMA_NONCOHERENT
185 select SYS_HAS_EARLY_PRINTK
186 select HW_HAS_PCI
Ralf Baechlea5ccfe5c12007-10-14 23:49:33 +0100187 select IRQ_CPU
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200188 select PCI_GT64XXX_PCI0
189 select MIPS_NILE4
190 select R5000_CPU_SCACHE
191 select SYS_HAS_CPU_R5000
192 select SYS_SUPPORTS_32BIT_KERNEL
193 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
194 select SYS_SUPPORTS_LITTLE_ENDIAN
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200195
Wu Zhangjin85749d22009-07-02 23:26:45 +0800196config MACH_LOONGSON
197 bool "Loongson family of machines"
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +0800198 select SYS_SUPPORTS_ZBOOT_UART16550
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900199 help
Wu Zhangjin85749d22009-07-02 23:26:45 +0800200 This enables the support of Loongson family of machines.
201
202 Loongson is a family of general-purpose MIPS-compatible CPUs.
203 developed at Institute of Computing Technology (ICT),
204 Chinese Academy of Sciences (CAS) in the People's Republic
205 of China. The chief architect is Professor Weiwu Hu.
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900206
Linus Torvalds1da177e2005-04-16 15:20:36 -0700207config MIPS_MALTA
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200208 bool "MIPS Malta board"
Ralf Baechle61ed242d2005-09-15 08:52:34 +0000209 select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700210 select BOOT_ELF32
Ralf Baechlefa71c962008-01-29 10:15:00 +0000211 select BOOT_RAW
Ralf Baechle42f77542007-10-18 17:48:11 +0100212 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000213 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214 select DMA_NONCOHERENT
215 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000216 select IRQ_CPU
Ralf Baechle39b8d522008-04-28 17:14:26 +0100217 select IRQ_GIC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700218 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100219 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700220 select I8259
Ralf Baechle5e83d432005-10-29 19:32:41 +0100221 select MIPS_BOARDS_GEN
222 select MIPS_BONITO64
Chris Dearman9318c512006-06-20 17:15:20 +0100223 select MIPS_CPU_SCACHE
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900224 select PCI_GT64XXX_PCI0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100225 select MIPS_MSC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100227 select SYS_HAS_CPU_MIPS32_R1
228 select SYS_HAS_CPU_MIPS32_R2
229 select SYS_HAS_CPU_MIPS64_R1
230 select SYS_HAS_CPU_NEVADA
231 select SYS_HAS_CPU_RM7000
Ralf Baechle36a88532007-03-01 11:56:43 +0000232 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700233 select SYS_SUPPORTS_32BIT_KERNEL
234 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100235 select SYS_SUPPORTS_BIG_ENDIAN
236 select SYS_SUPPORTS_LITTLE_ENDIAN
Tim Anderson03650702009-06-17 16:22:53 -0700237 select SYS_SUPPORTS_MIPS_CMP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +0100238 select SYS_SUPPORTS_MULTITHREADING
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100239 select SYS_SUPPORTS_SMARTMIPS
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +0800240 select SYS_SUPPORTS_ZBOOT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700241 help
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000242 This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds1da177e2005-04-16 15:20:36 -0700243 board.
244
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100245config MIPS_SIM
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200246 bool 'MIPS simulator (MIPSsim)'
Ralf Baechle42f77542007-10-18 17:48:11 +0100247 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000248 select CSRC_R4K
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100249 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000250 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100251 select IRQ_CPU
Marc St-Jean9267a302007-06-14 15:55:31 -0600252 select BOOT_RAW
Ralf Baechle7cf80532005-10-20 22:33:09 +0100253 select SYS_HAS_CPU_MIPS32_R1
254 select SYS_HAS_CPU_MIPS32_R2
Ralf Baechle36a88532007-03-01 11:56:43 +0000255 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100256 select SYS_SUPPORTS_32BIT_KERNEL
257 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlef6e23732007-07-10 17:32:56 +0100258 select SYS_SUPPORTS_MULTITHREADING
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100259 select SYS_SUPPORTS_LITTLE_ENDIAN
260 help
261 This option enables support for MIPS Technologies MIPSsim software
262 emulator.
263
Ralf Baechlea83860c2009-03-13 21:17:57 +0100264config NEC_MARKEINS
265 bool "NEC EMMA2RH Mark-eins board"
266 select SOC_EMMA2RH
267 select HW_HAS_PCI
268 help
269 This enables support for the NEC Electronics Mark-eins boards.
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900270
Ralf Baechle5e83d432005-10-29 19:32:41 +0100271config MACH_VR41XX
Yoichi Yuasa74142d62007-04-26 19:45:09 +0900272 bool "NEC VR4100 series based machines"
Ralf Baechle42f77542007-10-18 17:48:11 +0100273 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000274 select CSRC_R4K
Ralf Baechle7cf80532005-10-20 22:33:09 +0100275 select SYS_HAS_CPU_VR41XX
Yoichi Yuasa27fdd322009-06-29 11:11:05 +0900276 select ARCH_REQUIRE_GPIOLIB
Ralf Baechle5e83d432005-10-29 19:32:41 +0100277
Daniel Lairdedb63102008-06-16 15:49:21 +0100278config NXP_STB220
279 bool "NXP STB220 board"
280 select SOC_PNX833X
281 help
282 Support for NXP Semiconductors STB220 Development Board.
283
284config NXP_STB225
285 bool "NXP 225 board"
286 select SOC_PNX833X
287 select SOC_PNX8335
288 help
289 Support for NXP Semiconductors STB225 Development Board.
290
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900291config PNX8550_JBS
Daniel Lairda92b0582008-03-06 09:07:18 +0000292 bool "NXP PNX8550 based JBS board"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900293 select PNX8550
294 select SYS_SUPPORTS_LITTLE_ENDIAN
295
296config PNX8550_STB810
Daniel Lairda92b0582008-03-06 09:07:18 +0000297 bool "NXP PNX8550 based STB810 board"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900298 select PNX8550
299 select SYS_SUPPORTS_LITTLE_ENDIAN
300
Marc St-Jean9267a302007-06-14 15:55:31 -0600301config PMC_MSP
302 bool "PMC-Sierra MSP chipsets"
303 depends on EXPERIMENTAL
304 select DMA_NONCOHERENT
305 select SWAP_IO_SPACE
306 select NO_EXCEPT_FILL
307 select BOOT_RAW
308 select SYS_HAS_CPU_MIPS32_R1
309 select SYS_HAS_CPU_MIPS32_R2
310 select SYS_SUPPORTS_32BIT_KERNEL
311 select SYS_SUPPORTS_BIG_ENDIAN
Marc St-Jean9267a302007-06-14 15:55:31 -0600312 select IRQ_CPU
313 select SERIAL_8250
314 select SERIAL_8250_CONSOLE
315 help
316 This adds support for the PMC-Sierra family of Multi-Service
317 Processor System-On-A-Chips. These parts include a number
318 of integrated peripherals, interfaces and DSPs in addition to
319 a variety of MIPS cores.
320
Ralf Baechle5e83d432005-10-29 19:32:41 +0100321config PMC_YOSEMITE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200322 bool "PMC-Sierra Yosemite eval board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100323 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000324 select CSRC_R4K
Ralf Baechle5e83d432005-10-29 19:32:41 +0100325 select DMA_COHERENT
326 select HW_HAS_PCI
327 select IRQ_CPU
328 select IRQ_CPU_RM7K
329 select IRQ_CPU_RM9K
330 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100331 select SYS_HAS_CPU_RM9000
Ralf Baechle36a88532007-03-01 11:56:43 +0000332 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100333 select SYS_SUPPORTS_32BIT_KERNEL
334 select SYS_SUPPORTS_64BIT_KERNEL
335 select SYS_SUPPORTS_BIG_ENDIAN
336 select SYS_SUPPORTS_HIGHMEM
Ralf Baechlee73ea272006-06-04 11:51:46 +0100337 select SYS_SUPPORTS_SMP
Ralf Baechle5e83d432005-10-29 19:32:41 +0100338 help
339 Yosemite is an evaluation board for the RM9000x2 processor
340 manufactured by PMC-Sierra.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700341
David VomLehna3a0f8c2009-08-30 17:15:11 -0700342config POWERTV
343 bool "Cisco PowerTV"
344 select BOOT_ELF32
345 select CEVT_R4K
346 select CPU_MIPSR2_IRQ_VI
347 select CPU_MIPSR2_IRQ_EI
348 select CSRC_POWERTV
349 select DMA_NONCOHERENT
350 select HW_HAS_PCI
351 select SYS_HAS_EARLY_PRINTK
352 select SYS_HAS_CPU_MIPS32_R2
353 select SYS_SUPPORTS_32BIT_KERNEL
354 select SYS_SUPPORTS_BIG_ENDIAN
355 select SYS_SUPPORTS_HIGHMEM
356 select USB_OHCI_LITTLE_ENDIAN
357 help
358 This enables support for the Cisco PowerTV Platform.
359
Linus Torvalds1da177e2005-04-16 15:20:36 -0700360config SGI_IP22
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200361 bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700362 select ARC
363 select ARC32
364 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100365 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000366 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100367 select DEFAULT_SGI_PARTITION
Linus Torvalds1da177e2005-04-16 15:20:36 -0700368 select DMA_NONCOHERENT
Ralf Baechle5e83d432005-10-29 19:32:41 +0100369 select HW_HAS_EISA
Ralf Baechled865bea2007-10-11 23:46:10 +0100370 select I8253
Thomas Bogendoerfer68de4802007-11-23 20:34:16 +0100371 select I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700372 select IP22_CPU_SCACHE
373 select IRQ_CPU
Ralf Baechleaa414df2006-11-30 01:14:51 +0000374 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100375 select SGI_HAS_I8042
376 select SGI_HAS_INDYDOG
Thomas Bogendoerfer36e5c212008-07-16 14:06:15 +0200377 select SGI_HAS_HAL2
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100378 select SGI_HAS_SEEQ
379 select SGI_HAS_WD93
380 select SGI_HAS_ZILOG
Linus Torvalds1da177e2005-04-16 15:20:36 -0700381 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100382 select SYS_HAS_CPU_R4X00
383 select SYS_HAS_CPU_R5000
Martin Michlmayr2b5e63f2009-11-19 16:40:09 +0000384 #
385 # Disable EARLY_PRINTK for now since it leads to overwritten prom
386 # memory during early boot on some machines.
387 #
388 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
389 # for a more details discussion
390 #
391 # select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700392 select SYS_SUPPORTS_32BIT_KERNEL
393 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100394 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700395 help
396 This are the SGI Indy, Challenge S and Indigo2, as well as certain
397 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
398 that runs on these, say Y here.
399
400config SGI_IP27
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200401 bool "SGI IP27 (Origin200/2000)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700402 select ARC
403 select ARC64
Ralf Baechle5e83d432005-10-29 19:32:41 +0100404 select BOOT_ELF64
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100405 select DEFAULT_SGI_PARTITION
Ralf Baechle634286f2009-01-28 17:48:40 +0000406 select DMA_COHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000407 select SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700408 select HW_HAS_PCI
Ralf Baechle130e2fb2007-02-06 16:53:15 +0000409 select NR_CPUS_DEFAULT_64
Ralf Baechle7cf80532005-10-20 22:33:09 +0100410 select SYS_HAS_CPU_R10000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700411 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100412 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechled8cb4e12006-06-11 23:03:08 +0100413 select SYS_SUPPORTS_NUMA
Ralf Baechle1a5c5de2006-11-02 17:23:33 +0000414 select SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700415 help
416 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
417 workstations. To compile a Linux kernel that runs on these, say Y
418 here.
419
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100420config SGI_IP28
421 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
422 depends on EXPERIMENTAL
423 select ARC
424 select ARC64
425 select BOOT_ELF64
426 select CEVT_R4K
427 select CSRC_R4K
428 select DEFAULT_SGI_PARTITION
429 select DMA_NONCOHERENT
430 select GENERIC_ISA_DMA_SUPPORT_BROKEN
431 select IRQ_CPU
432 select HW_HAS_EISA
433 select I8253
434 select I8259
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100435 select SGI_HAS_I8042
436 select SGI_HAS_INDYDOG
Thomas Bogendoerfer5b438c42008-07-10 20:29:55 +0200437 select SGI_HAS_HAL2
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100438 select SGI_HAS_SEEQ
439 select SGI_HAS_WD93
440 select SGI_HAS_ZILOG
441 select SWAP_IO_SPACE
442 select SYS_HAS_CPU_R10000
Martin Michlmayr2b5e63f2009-11-19 16:40:09 +0000443 #
444 # Disable EARLY_PRINTK for now since it leads to overwritten prom
445 # memory during early boot on some machines.
446 #
447 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
448 # for a more details discussion
449 #
450 # select SYS_HAS_EARLY_PRINTK
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100451 select SYS_SUPPORTS_64BIT_KERNEL
452 select SYS_SUPPORTS_BIG_ENDIAN
453 help
454 This is the SGI Indigo2 with R10000 processor. To compile a Linux
455 kernel that runs on these, say Y here.
456
Linus Torvalds1da177e2005-04-16 15:20:36 -0700457config SGI_IP32
Ralf Baechlecfd2afc2007-07-10 17:33:00 +0100458 bool "SGI IP32 (O2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700459 select ARC
460 select ARC32
461 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100462 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000463 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700464 select DMA_NONCOHERENT
465 select HW_HAS_PCI
Ralf Baechledd67b152007-10-14 14:02:26 +0100466 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700467 select R5000_CPU_SCACHE
468 select RM7000_CPU_SCACHE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100469 select SYS_HAS_CPU_R5000
470 select SYS_HAS_CPU_R10000 if BROKEN
471 select SYS_HAS_CPU_RM7000
Ralf Baechledd2f18f2006-01-19 14:55:42 +0000472 select SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700473 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100474 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700475 help
476 If you want this kernel to run on SGI O2 workstation, say Y here.
477
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900478config SIBYTE_CRHINE
479 bool "Sibyte BCM91120C-CRhine"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100480 depends on EXPERIMENTAL
481 select BOOT_ELF32
482 select DMA_COHERENT
483 select SIBYTE_BCM1120
484 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100485 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100486 select SYS_SUPPORTS_BIG_ENDIAN
487 select SYS_SUPPORTS_LITTLE_ENDIAN
488
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900489config SIBYTE_CARMEL
490 bool "Sibyte BCM91120x-Carmel"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100491 depends on EXPERIMENTAL
492 select BOOT_ELF32
493 select DMA_COHERENT
494 select SIBYTE_BCM1120
495 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100496 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100497 select SYS_SUPPORTS_BIG_ENDIAN
498 select SYS_SUPPORTS_LITTLE_ENDIAN
499
500config SIBYTE_CRHONE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200501 bool "Sibyte BCM91125C-CRhone"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100502 depends on EXPERIMENTAL
503 select BOOT_ELF32
504 select DMA_COHERENT
505 select SIBYTE_BCM1125
506 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100507 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100508 select SYS_SUPPORTS_BIG_ENDIAN
509 select SYS_SUPPORTS_HIGHMEM
510 select SYS_SUPPORTS_LITTLE_ENDIAN
511
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900512config SIBYTE_RHONE
513 bool "Sibyte BCM91125E-Rhone"
514 depends on EXPERIMENTAL
515 select BOOT_ELF32
516 select DMA_COHERENT
517 select SIBYTE_BCM1125H
518 select SWAP_IO_SPACE
519 select SYS_HAS_CPU_SB1
520 select SYS_SUPPORTS_BIG_ENDIAN
521 select SYS_SUPPORTS_LITTLE_ENDIAN
522
523config SIBYTE_SWARM
524 bool "Sibyte BCM91250A-SWARM"
525 select BOOT_ELF32
526 select DMA_COHERENT
527 select NR_CPUS_DEFAULT_2
528 select SIBYTE_SB1250
529 select SWAP_IO_SPACE
530 select SYS_HAS_CPU_SB1
531 select SYS_SUPPORTS_BIG_ENDIAN
532 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900533 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000534 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900535
536config SIBYTE_LITTLESUR
537 bool "Sibyte BCM91250C2-LittleSur"
538 depends on EXPERIMENTAL
539 select BOOT_ELF32
540 select DMA_COHERENT
541 select NR_CPUS_DEFAULT_2
542 select SIBYTE_SB1250
543 select SWAP_IO_SPACE
544 select SYS_HAS_CPU_SB1
545 select SYS_SUPPORTS_BIG_ENDIAN
546 select SYS_SUPPORTS_HIGHMEM
547 select SYS_SUPPORTS_LITTLE_ENDIAN
548
549config SIBYTE_SENTOSA
550 bool "Sibyte BCM91250E-Sentosa"
551 depends on EXPERIMENTAL
552 select BOOT_ELF32
553 select DMA_COHERENT
554 select NR_CPUS_DEFAULT_2
555 select SIBYTE_SB1250
556 select SWAP_IO_SPACE
557 select SYS_HAS_CPU_SB1
558 select SYS_SUPPORTS_BIG_ENDIAN
559 select SYS_SUPPORTS_LITTLE_ENDIAN
560
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900561config SIBYTE_BIGSUR
562 bool "Sibyte BCM91480B-BigSur"
563 select BOOT_ELF32
564 select DMA_COHERENT
565 select NR_CPUS_DEFAULT_4
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900566 select SIBYTE_BCM1x80
567 select SWAP_IO_SPACE
568 select SYS_HAS_CPU_SB1
569 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle651194f2007-11-01 21:55:39 +0000570 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900571 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000572 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900573
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100574config SNI_RM
575 bool "SNI RM200/300/400"
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200576 select ARC if CPU_LITTLE_ENDIAN
577 select ARC32 if CPU_LITTLE_ENDIAN
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +0100578 select SNIPROM if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100579 select ARCH_MAY_HAVE_PC_FDC
580 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100581 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000582 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100583 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100584 select DMA_NONCOHERENT
585 select GENERIC_ISA_DMA
Ralf Baechle5e83d432005-10-29 19:32:41 +0100586 select HW_HAS_EISA
587 select HW_HAS_PCI
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100588 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100589 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100590 select I8259
591 select ISA
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200592 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100593 select SYS_HAS_CPU_R4X00
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200594 select SYS_HAS_CPU_R5000
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100595 select SYS_HAS_CPU_R10000
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200596 select R5000_CPU_SCACHE
Ralf Baechle36a88532007-03-01 11:56:43 +0000597 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700598 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100599 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200600 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100601 select SYS_SUPPORTS_HIGHMEM
602 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700603 help
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100604 The SNI RM200/300/400 are MIPS-based machines manufactured by
605 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
Ralf Baechle5e83d432005-10-29 19:32:41 +0100606 Technology and now in turn merged with Fujitsu. Say Y here to
607 support this machine type.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700608
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +0900609config MACH_TX39XX
610 bool "Toshiba TX39 series based machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100611
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +0900612config MACH_TX49XX
613 bool "Toshiba TX49 series based machines"
Ralf Baechle23fbee92005-07-25 22:45:45 +0000614
Ralf Baechle73b43902008-07-16 16:12:25 +0100615config MIKROTIK_RB532
616 bool "Mikrotik RB532 boards"
617 select CEVT_R4K
618 select CSRC_R4K
619 select DMA_NONCOHERENT
Ralf Baechle73b43902008-07-16 16:12:25 +0100620 select HW_HAS_PCI
621 select IRQ_CPU
622 select SYS_HAS_CPU_MIPS32_R1
623 select SYS_SUPPORTS_32BIT_KERNEL
624 select SYS_SUPPORTS_LITTLE_ENDIAN
625 select SWAP_IO_SPACE
626 select BOOT_RAW
Florian Fainellid888e252008-08-23 18:54:34 +0200627 select ARCH_REQUIRE_GPIOLIB
Ralf Baechle73b43902008-07-16 16:12:25 +0100628 help
629 Support the Mikrotik(tm) RouterBoard 532 series,
630 based on the IDT RC32434 SoC.
631
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900632config WR_PPMC
633 bool "Wind River PPMC board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100634 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000635 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900636 select IRQ_CPU
637 select BOOT_ELF32
638 select DMA_NONCOHERENT
639 select HW_HAS_PCI
640 select PCI_GT64XXX_PCI0
641 select SWAP_IO_SPACE
642 select SYS_HAS_CPU_MIPS32_R1
643 select SYS_HAS_CPU_MIPS32_R2
644 select SYS_HAS_CPU_MIPS64_R1
645 select SYS_HAS_CPU_NEVADA
646 select SYS_HAS_CPU_RM7000
647 select SYS_SUPPORTS_32BIT_KERNEL
648 select SYS_SUPPORTS_64BIT_KERNEL
649 select SYS_SUPPORTS_BIG_ENDIAN
650 select SYS_SUPPORTS_LITTLE_ENDIAN
651 help
652 This enables support for the Wind River MIPS32 4KC PPMC evaluation
653 board, which is based on GT64120 bridge chip.
654
David Daneya86c7f72008-12-11 15:33:38 -0800655config CAVIUM_OCTEON_SIMULATOR
Yoichi Yuasac9d89d92009-06-02 23:15:10 +0900656 bool "Cavium Networks Octeon Simulator"
David Daneya86c7f72008-12-11 15:33:38 -0800657 select CEVT_R4K
658 select 64BIT_PHYS_ADDR
659 select DMA_COHERENT
660 select SYS_SUPPORTS_64BIT_KERNEL
661 select SYS_SUPPORTS_BIG_ENDIAN
662 select SYS_SUPPORTS_HIGHMEM
Ralf Baechle773cb772009-06-23 10:36:38 +0100663 select SYS_SUPPORTS_HOTPLUG_CPU
David Daney5e683382009-02-02 11:30:59 -0800664 select SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -0800665 help
666 The Octeon simulator is software performance model of the Cavium
667 Octeon Processor. It supports simulating Octeon processors on x86
668 hardware.
669
670config CAVIUM_OCTEON_REFERENCE_BOARD
Yoichi Yuasac9d89d92009-06-02 23:15:10 +0900671 bool "Cavium Networks Octeon reference board"
David Daneya86c7f72008-12-11 15:33:38 -0800672 select CEVT_R4K
673 select 64BIT_PHYS_ADDR
674 select DMA_COHERENT
675 select SYS_SUPPORTS_64BIT_KERNEL
676 select SYS_SUPPORTS_BIG_ENDIAN
677 select SYS_SUPPORTS_HIGHMEM
Ralf Baechle773cb772009-06-23 10:36:38 +0100678 select SYS_SUPPORTS_HOTPLUG_CPU
David Daneya86c7f72008-12-11 15:33:38 -0800679 select SYS_HAS_EARLY_PRINTK
David Daney5e683382009-02-02 11:30:59 -0800680 select SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -0800681 select SWAP_IO_SPACE
David Daneye8635b42009-04-23 17:44:38 -0700682 select HW_HAS_PCI
683 select ARCH_SUPPORTS_MSI
David Daneya86c7f72008-12-11 15:33:38 -0800684 help
685 This option supports all of the Octeon reference boards from Cavium
686 Networks. It builds a kernel that dynamically determines the Octeon
687 CPU type and supports all known board reference implementations.
688 Some of the supported boards are:
689 EBT3000
690 EBH3000
691 EBH3100
692 Thunder
693 Kodama
694 Hikari
695 Say Y here for most Octeon reference boards.
696
Linus Torvalds1da177e2005-04-16 15:20:36 -0700697endchoice
698
Ralf Baechlee8c7c482008-09-16 19:12:16 +0200699source "arch/mips/alchemy/Kconfig"
Yoichi Yuasa9c746ed2007-12-12 22:39:54 +0900700source "arch/mips/basler/excite/Kconfig"
Maxime Bizone7300d02009-08-18 13:23:37 +0100701source "arch/mips/bcm63xx/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100702source "arch/mips/jazz/Kconfig"
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200703source "arch/mips/lasat/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100704source "arch/mips/pmc-sierra/Kconfig"
David VomLehna3a0f8c2009-08-30 17:15:11 -0700705source "arch/mips/powertv/Kconfig"
Ralf Baechle29c48692005-02-07 01:27:14 +0000706source "arch/mips/sgi-ip27/Kconfig"
Ralf Baechle38b18f722005-02-03 14:28:23 +0000707source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto22b1d702008-07-11 00:31:36 +0900708source "arch/mips/txx9/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100709source "arch/mips/vr41xx/Kconfig"
David Daneya86c7f72008-12-11 15:33:38 -0800710source "arch/mips/cavium-octeon/Kconfig"
Wu Zhangjin85749d22009-07-02 23:26:45 +0800711source "arch/mips/loongson/Kconfig"
Ralf Baechle38b18f722005-02-03 14:28:23 +0000712
Ralf Baechle5e83d432005-10-29 19:32:41 +0100713endmenu
714
Linus Torvalds1da177e2005-04-16 15:20:36 -0700715config RWSEM_GENERIC_SPINLOCK
716 bool
717 default y
718
719config RWSEM_XCHGADD_ALGORITHM
720 bool
721
David Howellsf0d1b0b2006-12-08 02:37:49 -0800722config ARCH_HAS_ILOG2_U32
723 bool
724 default n
725
726config ARCH_HAS_ILOG2_U64
727 bool
728 default n
729
Ralf Baechle00a58252007-12-06 16:53:19 +0000730config ARCH_SUPPORTS_OPROFILE
731 bool
732 default y if !MIPS_MT_SMTC
733
Akinobu Mita3c9ee7e2006-03-26 01:39:30 -0800734config GENERIC_FIND_NEXT_BIT
735 bool
736 default y
737
738config GENERIC_HWEIGHT
739 bool
740 default y
741
Linus Torvalds1da177e2005-04-16 15:20:36 -0700742config GENERIC_CALIBRATE_DELAY
743 bool
744 default y
745
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100746config GENERIC_CLOCKEVENTS
747 bool
748 default y
749
Ralf Baechle8db02012006-10-02 16:54:48 +0100750config GENERIC_TIME
751 bool
752 default y
753
Ralf Baechlef5ff0a22007-08-13 15:26:12 +0100754config GENERIC_CMOS_UPDATE
755 bool
756 default y
757
Ingo Molnarae1e9132008-11-11 09:05:16 +0100758config SCHED_OMIT_FRAME_POINTER
Atsushi Nemoto1cc89032006-04-04 13:11:45 +0900759 bool
760 default y
761
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100762config GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechlec87e0902009-03-30 14:49:44 +0200763 def_bool y
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100764
Linus Torvalds1da177e2005-04-16 15:20:36 -0700765#
766# Select some configuration options automatically based on user selections.
767#
768config ARC
769 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700770
Ralf Baechle61ed242d2005-09-15 08:52:34 +0000771config ARCH_MAY_HAVE_PC_FDC
772 bool
773
Marc St-Jean9267a302007-06-14 15:55:31 -0600774config BOOT_RAW
775 bool
776
Ralf Baechle217dd112007-11-01 01:57:55 +0000777config CEVT_BCM1480
778 bool
779
Yoichi Yuasa6457d9f2008-04-25 12:11:44 +0900780config CEVT_DS1287
781 bool
782
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900783config CEVT_GT641XX
784 bool
785
Manuel Lauss779e7d42008-12-21 09:26:22 +0100786config CEVT_R4K_LIB
787 bool
788
Ralf Baechle42f77542007-10-18 17:48:11 +0100789config CEVT_R4K
Manuel Lauss779e7d42008-12-21 09:26:22 +0100790 select CEVT_R4K_LIB
Ralf Baechle42f77542007-10-18 17:48:11 +0100791 bool
792
Ralf Baechle217dd112007-11-01 01:57:55 +0000793config CEVT_SB1250
794 bool
795
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900796config CEVT_TXX9
797 bool
798
Ralf Baechle217dd112007-11-01 01:57:55 +0000799config CSRC_BCM1480
800 bool
801
Yoichi Yuasa42474172008-04-24 09:48:40 +0900802config CSRC_IOASIC
803 bool
804
David VomLehna3a0f8c2009-08-30 17:15:11 -0700805config CSRC_POWERTV
806 bool
807
Manuel Lauss779e7d42008-12-21 09:26:22 +0100808config CSRC_R4K_LIB
809 bool
810
Ralf Baechle940f6b42007-11-24 22:33:28 +0000811config CSRC_R4K
Manuel Lauss779e7d42008-12-21 09:26:22 +0100812 select CSRC_R4K_LIB
Ralf Baechle940f6b42007-11-24 22:33:28 +0000813 bool
814
Ralf Baechle217dd112007-11-01 01:57:55 +0000815config CSRC_SB1250
816 bool
817
Atsushi Nemotoa9aec7f2008-04-05 00:55:41 +0900818config GPIO_TXX9
819 select GENERIC_GPIO
Michael Buesch7444a722008-07-25 01:46:11 -0700820 select ARCH_REQUIRE_GPIOLIB
Atsushi Nemotoa9aec7f2008-04-05 00:55:41 +0900821 bool
822
Aurelien Jarnodf78b5c2007-09-05 08:58:26 +0200823config CFE
824 bool
825
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700826config DMA_COHERENT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700827 bool
828
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700829config DMA_NONCOHERENT
830 bool
831 select DMA_NEED_PCI_MAP_STATE
832
833config DMA_NEED_PCI_MAP_STATE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700834 bool
835
836config EARLY_PRINTK
Ralf Baechle36a88532007-03-01 11:56:43 +0000837 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
838 depends on SYS_HAS_EARLY_PRINTK
839 default y
840 help
841 This option enables special console drivers which allow the kernel
842 to print messages very early in the bootup process.
843
844 This is useful for kernel debugging when your machine crashes very
Robert P. J. Day490dcc42007-05-20 12:11:07 -0400845 early before the console code is initialized. For normal operation,
846 it is not recommended because it looks ugly on some machines and
847 doesn't cooperate with an X server. You should normally say N here,
Ralf Baechle36a88532007-03-01 11:56:43 +0000848 unless you want to debug such a crash.
849
850config SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700851 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700852
Ralf Baechledbb74542007-08-07 14:52:17 +0100853config HOTPLUG_CPU
Ralf Baechle1b2bc752009-06-23 10:00:31 +0100854 bool "Support for hot-pluggable CPUs"
855 depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
856 help
857 Say Y here to allow turning CPUs off and on. CPUs can be
858 controlled through /sys/devices/system/cpu.
859 (Note: power management support will enable this option
860 automatically on SMP systems. )
861 Say N if you want to disable CPU hotplug.
862
863config SYS_SUPPORTS_HOTPLUG_CPU
Ralf Baechledbb74542007-08-07 14:52:17 +0100864 bool
Ralf Baechledbb74542007-08-07 14:52:17 +0100865
Linus Torvalds1da177e2005-04-16 15:20:36 -0700866config I8259
867 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700868
Linus Torvalds1da177e2005-04-16 15:20:36 -0700869config MIPS_BONITO64
870 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700871
872config MIPS_MSC
873 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700874
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200875config MIPS_NILE4
876 bool
877
Linus Torvalds1da177e2005-04-16 15:20:36 -0700878config MIPS_DISABLE_OBSOLETE_IDE
879 bool
880
Ralf Baechle39b8d522008-04-28 17:14:26 +0100881config SYNC_R4K
882 bool
883
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100884config NO_IOPORT
885 def_bool n
886
Ralf Baechle8313da32007-08-24 16:48:30 +0100887config GENERIC_ISA_DMA
888 bool
889 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
890
Ralf Baechleaa414df2006-11-30 01:14:51 +0000891config GENERIC_ISA_DMA_SUPPORT_BROKEN
892 bool
Ralf Baechle8313da32007-08-24 16:48:30 +0100893 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000894
Yoichi Yuasa09663332007-05-22 00:05:58 +0900895config GENERIC_GPIO
896 bool
897
Ralf Baechle5e83d432005-10-29 19:32:41 +0100898#
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100899# Endianess selection. Sufficiently obscure so many users don't know what to
Ralf Baechle5e83d432005-10-29 19:32:41 +0100900# answer,so we try hard to limit the available choices. Also the use of a
901# choice statement should be more obvious to the user.
902#
903choice
904 prompt "Endianess selection"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700905 help
906 Some MIPS machines can be configured for either little or big endian
Ralf Baechle5e83d432005-10-29 19:32:41 +0100907 byte order. These modes require different kernels and a different
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100908 Linux distribution. In general there is one preferred byteorder for a
Ralf Baechle5e83d432005-10-29 19:32:41 +0100909 particular system but some systems are just as commonly used in the
David Sterba3dde6ad2007-05-09 07:12:20 +0200910 one or the other endianness.
Ralf Baechle5e83d432005-10-29 19:32:41 +0100911
912config CPU_BIG_ENDIAN
913 bool "Big endian"
914 depends on SYS_SUPPORTS_BIG_ENDIAN
915
916config CPU_LITTLE_ENDIAN
917 bool "Little endian"
918 depends on SYS_SUPPORTS_LITTLE_ENDIAN
919 help
920
921endchoice
922
Ralf Baechle21162452007-02-09 17:08:58 +0000923config SYS_SUPPORTS_APM_EMULATION
924 bool
925
Ralf Baechle5e83d432005-10-29 19:32:41 +0100926config SYS_SUPPORTS_BIG_ENDIAN
927 bool
928
929config SYS_SUPPORTS_LITTLE_ENDIAN
930 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700931
David Daney9cffd1542009-05-27 17:47:46 -0700932config SYS_SUPPORTS_HUGETLBFS
933 bool
934 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
935 default y
936
Linus Torvalds1da177e2005-04-16 15:20:36 -0700937config IRQ_CPU
938 bool
939
940config IRQ_CPU_RM7K
941 bool
942
Ralf Baechle5e83d432005-10-29 19:32:41 +0100943config IRQ_CPU_RM9K
944 bool
945
Marc St-Jean9267a302007-06-14 15:55:31 -0600946config IRQ_MSP_SLP
947 bool
948
949config IRQ_MSP_CIC
950 bool
951
Atsushi Nemoto8420fd02007-08-02 23:35:53 +0900952config IRQ_TXX9
953 bool
954
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900955config IRQ_GT641XX
956 bool
957
Ralf Baechle39b8d522008-04-28 17:14:26 +0100958config IRQ_GIC
959 bool
960
David Daneya86c7f72008-12-11 15:33:38 -0800961config IRQ_CPU_OCTEON
962 bool
963
Linus Torvalds1da177e2005-04-16 15:20:36 -0700964config MIPS_BOARDS_GEN
965 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700966
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900967config PCI_GT64XXX_PCI0
Linus Torvalds1da177e2005-04-16 15:20:36 -0700968 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700969
Marc St-Jean9267a302007-06-14 15:55:31 -0600970config NO_EXCEPT_FILL
971 bool
972
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200973config MIPS_RM9122
974 bool
975 select SERIAL_RM9000
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200976
Ralf Baechlea83860c2009-03-13 21:17:57 +0100977config SOC_EMMA2RH
978 bool
979 select CEVT_R4K
980 select CSRC_R4K
981 select DMA_NONCOHERENT
982 select IRQ_CPU
983 select SWAP_IO_SPACE
984 select SYS_HAS_CPU_R5500
985 select SYS_SUPPORTS_32BIT_KERNEL
986 select SYS_SUPPORTS_64BIT_KERNEL
987 select SYS_SUPPORTS_BIG_ENDIAN
988
Daniel Lairdedb63102008-06-16 15:49:21 +0100989config SOC_PNX833X
990 bool
991 select CEVT_R4K
992 select CSRC_R4K
993 select IRQ_CPU
994 select DMA_NONCOHERENT
995 select SYS_HAS_CPU_MIPS32_R2
996 select SYS_SUPPORTS_32BIT_KERNEL
997 select SYS_SUPPORTS_LITTLE_ENDIAN
998 select SYS_SUPPORTS_BIG_ENDIAN
Daniel Lairdedb63102008-06-16 15:49:21 +0100999 select GENERIC_GPIO
1000 select CPU_MIPSR2_IRQ_VI
1001
1002config SOC_PNX8335
1003 bool
1004 select SOC_PNX833X
1005
Pete Popovbdf21b12005-07-14 17:47:57 +00001006config PNX8550
1007 bool
1008 select SOC_PNX8550
1009
1010config SOC_PNX8550
1011 bool
Pete Popovbdf21b12005-07-14 17:47:57 +00001012 select DMA_NONCOHERENT
1013 select HW_HAS_PCI
Ralf Baechleb8c2a772005-10-31 13:08:37 +00001014 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechle36a88532007-03-01 11:56:43 +00001015 select SYS_HAS_EARLY_PRINTK
Ralf Baechle7cf80532005-10-20 22:33:09 +01001016 select SYS_SUPPORTS_32BIT_KERNEL
Florian Fainelli4ead1682007-05-22 21:44:42 +02001017 select GENERIC_GPIO
Pete Popovbdf21b12005-07-14 17:47:57 +00001018
Linus Torvalds1da177e2005-04-16 15:20:36 -07001019config SWAP_IO_SPACE
1020 bool
1021
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +02001022config SERIAL_RM9000
1023 bool
1024
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001025config SGI_HAS_INDYDOG
1026 bool
1027
Thomas Bogendoerfer5b438c42008-07-10 20:29:55 +02001028config SGI_HAS_HAL2
1029 bool
1030
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001031config SGI_HAS_SEEQ
1032 bool
1033
1034config SGI_HAS_WD93
1035 bool
1036
1037config SGI_HAS_ZILOG
1038 bool
1039
1040config SGI_HAS_I8042
1041 bool
1042
1043config DEFAULT_SGI_PARTITION
1044 bool
1045
Ralf Baechle5e83d432005-10-29 19:32:41 +01001046config ARC32
1047 bool
1048
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +01001049config SNIPROM
1050 bool
1051
Linus Torvalds1da177e2005-04-16 15:20:36 -07001052config BOOT_ELF32
1053 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001054
1055config MIPS_L1_CACHE_SHIFT
1056 int
Ralf Baechlec7088752009-10-12 22:30:06 +02001057 default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
Ralf Baechle0db2b742009-10-13 16:54:01 +02001058 default "6" if MIPS_CPU_SCACHE
David Daneya86c7f72008-12-11 15:33:38 -08001059 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
Linus Torvalds1da177e2005-04-16 15:20:36 -07001060 default "5"
1061
Linus Torvalds1da177e2005-04-16 15:20:36 -07001062config HAVE_STD_PC_SERIAL_PORT
1063 bool
1064
Linus Torvalds1da177e2005-04-16 15:20:36 -07001065config ARC_CONSOLE
1066 bool "ARC console support"
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001067 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001068
1069config ARC_MEMORY
1070 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +01001071 depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -07001072 default y
1073
1074config ARC_PROMLIB
1075 bool
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001076 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -07001077 default y
1078
1079config ARC64
1080 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001081
1082config BOOT_ELF64
1083 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001084
Linus Torvalds1da177e2005-04-16 15:20:36 -07001085menu "CPU selection"
1086
1087choice
1088 prompt "CPU type"
1089 default CPU_R4X00
1090
Wu Zhangjin3702bba2009-07-02 23:27:41 +08001091config CPU_LOONGSON2E
1092 bool "Loongson 2E"
1093 depends on SYS_HAS_CPU_LOONGSON2E
1094 select CPU_LOONGSON2
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001095 help
1096 The Loongson 2E processor implements the MIPS III instruction set
1097 with many extensions.
1098
Wu Zhangjin6f7a2512009-11-06 18:45:05 +08001099 It has an internal FPGA northbridge, which is compatiable to
1100 bonito64.
1101
1102config CPU_LOONGSON2F
1103 bool "Loongson 2F"
1104 depends on SYS_HAS_CPU_LOONGSON2F
1105 select CPU_LOONGSON2
1106 help
1107 The Loongson 2F processor implements the MIPS III instruction set
1108 with many extensions.
1109
1110 Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
1111 have a similar programming interface with FPGA northbridge used in
1112 Loongson2E.
1113
Ralf Baechle6e760c82005-07-06 12:08:11 +00001114config CPU_MIPS32_R1
1115 bool "MIPS32 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001116 depends on SYS_HAS_CPU_MIPS32_R1
Ralf Baechle6e760c82005-07-06 12:08:11 +00001117 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001118 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001119 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001120 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001121 Choose this option to build a kernel for release 1 or later of the
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001122 MIPS32 architecture. Most modern embedded systems with a 32-bit
1123 MIPS processor are based on a MIPS32 processor. If you know the
1124 specific type of processor in your system, choose those that one
1125 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1126 Release 2 of the MIPS32 architecture is available since several
1127 years so chances are you even have a MIPS32 Release 2 processor
1128 in which case you should choose CPU_MIPS32_R2 instead for better
1129 performance.
1130
1131config CPU_MIPS32_R2
1132 bool "MIPS32 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001133 depends on SYS_HAS_CPU_MIPS32_R2
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001134 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001135 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001136 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001137 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001138 Choose this option to build a kernel for release 2 or later of the
Ralf Baechle6e760c82005-07-06 12:08:11 +00001139 MIPS32 architecture. Most modern embedded systems with a 32-bit
1140 MIPS processor are based on a MIPS32 processor. If you know the
1141 specific type of processor in your system, choose those that one
1142 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001143
Ralf Baechle6e760c82005-07-06 12:08:11 +00001144config CPU_MIPS64_R1
1145 bool "MIPS64 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001146 depends on SYS_HAS_CPU_MIPS64_R1
Ralf Baechle797798c2005-08-10 15:17:11 +00001147 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001148 select CPU_SUPPORTS_32BIT_KERNEL
1149 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001150 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd1542009-05-27 17:47:46 -07001151 select CPU_SUPPORTS_HUGEPAGES
Ralf Baechle6e760c82005-07-06 12:08:11 +00001152 help
1153 Choose this option to build a kernel for release 1 or later of the
1154 MIPS64 architecture. Many modern embedded systems with a 64-bit
1155 MIPS processor are based on a MIPS64 processor. If you know the
1156 specific type of processor in your system, choose those that one
1157 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001158 Release 2 of the MIPS64 architecture is available since several
1159 years so chances are you even have a MIPS64 Release 2 processor
1160 in which case you should choose CPU_MIPS64_R2 instead for better
1161 performance.
1162
1163config CPU_MIPS64_R2
1164 bool "MIPS64 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001165 depends on SYS_HAS_CPU_MIPS64_R2
Ralf Baechle797798c2005-08-10 15:17:11 +00001166 select CPU_HAS_PREFETCH
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001167 select CPU_SUPPORTS_32BIT_KERNEL
1168 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001169 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd1542009-05-27 17:47:46 -07001170 select CPU_SUPPORTS_HUGEPAGES
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001171 help
1172 Choose this option to build a kernel for release 2 or later of the
1173 MIPS64 architecture. Many modern embedded systems with a 64-bit
1174 MIPS processor are based on a MIPS64 processor. If you know the
1175 specific type of processor in your system, choose those that one
1176 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001177
1178config CPU_R3000
1179 bool "R3000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001180 depends on SYS_HAS_CPU_R3000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001181 select CPU_HAS_WB
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001182 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001183 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001184 help
1185 Please make sure to pick the right CPU type. Linux/MIPS is not
1186 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1187 *not* work on R4000 machines and vice versa. However, since most
1188 of the supported machines have an R4000 (or similar) CPU, R4x00
1189 might be a safe bet. If the resulting kernel does not work,
1190 try to recompile with R3000.
1191
1192config CPU_TX39XX
1193 bool "R39XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001194 depends on SYS_HAS_CPU_TX39XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001195 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001196
1197config CPU_VR41XX
1198 bool "R41xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001199 depends on SYS_HAS_CPU_VR41XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001200 select CPU_SUPPORTS_32BIT_KERNEL
1201 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001202 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001203 The options selects support for the NEC VR4100 series of processors.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001204 Only choose this option if you have one of these processors as a
1205 kernel built with this option will not run on any other type of
1206 processor or vice versa.
1207
1208config CPU_R4300
1209 bool "R4300"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001210 depends on SYS_HAS_CPU_R4300
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001211 select CPU_SUPPORTS_32BIT_KERNEL
1212 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001213 help
1214 MIPS Technologies R4300-series processors.
1215
1216config CPU_R4X00
1217 bool "R4x00"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001218 depends on SYS_HAS_CPU_R4X00
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001219 select CPU_SUPPORTS_32BIT_KERNEL
1220 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001221 help
1222 MIPS Technologies R4000-series processors other than 4300, including
1223 the R4000, R4400, R4600, and 4700.
1224
1225config CPU_TX49XX
1226 bool "R49XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001227 depends on SYS_HAS_CPU_TX49XX
Atsushi Nemotode862b42006-03-17 12:59:22 +09001228 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001229 select CPU_SUPPORTS_32BIT_KERNEL
1230 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001231
1232config CPU_R5000
1233 bool "R5000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001234 depends on SYS_HAS_CPU_R5000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001235 select CPU_SUPPORTS_32BIT_KERNEL
1236 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001237 help
1238 MIPS Technologies R5000-series processors other than the Nevada.
1239
1240config CPU_R5432
1241 bool "R5432"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001242 depends on SYS_HAS_CPU_R5432
Ralf Baechle5e83d432005-10-29 19:32:41 +01001243 select CPU_SUPPORTS_32BIT_KERNEL
1244 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001245
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001246config CPU_R5500
1247 bool "R5500"
1248 depends on SYS_HAS_CPU_R5500
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001249 select CPU_SUPPORTS_32BIT_KERNEL
1250 select CPU_SUPPORTS_64BIT_KERNEL
David Daney9cffd1542009-05-27 17:47:46 -07001251 select CPU_SUPPORTS_HUGEPAGES
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001252 help
1253 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1254 instruction set.
1255
Linus Torvalds1da177e2005-04-16 15:20:36 -07001256config CPU_R6000
1257 bool "R6000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001258 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001259 depends on SYS_HAS_CPU_R6000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001260 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001261 help
1262 MIPS Technologies R6000 and R6000A series processors. Note these
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001263 processors are extremely rare and the support for them is incomplete.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001264
1265config CPU_NEVADA
1266 bool "RM52xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001267 depends on SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001268 select CPU_SUPPORTS_32BIT_KERNEL
1269 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001270 help
1271 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1272
1273config CPU_R8000
1274 bool "R8000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001275 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001276 depends on SYS_HAS_CPU_R8000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001277 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001278 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001279 help
1280 MIPS Technologies R8000 processors. Note these processors are
1281 uncommon and the support for them is incomplete.
1282
1283config CPU_R10000
1284 bool "R10000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001285 depends on SYS_HAS_CPU_R10000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001286 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001287 select CPU_SUPPORTS_32BIT_KERNEL
1288 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001289 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001290 help
1291 MIPS Technologies R10000-series processors.
1292
1293config CPU_RM7000
1294 bool "RM7000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001295 depends on SYS_HAS_CPU_RM7000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001296 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001297 select CPU_SUPPORTS_32BIT_KERNEL
1298 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001299 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001300
1301config CPU_RM9000
1302 bool "RM9000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001303 depends on SYS_HAS_CPU_RM9000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001304 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001305 select CPU_SUPPORTS_32BIT_KERNEL
1306 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001307 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001308 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001309
1310config CPU_SB1
1311 bool "SB1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001312 depends on SYS_HAS_CPU_SB1
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001313 select CPU_SUPPORTS_32BIT_KERNEL
1314 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001315 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001316 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001317
David Daneya86c7f72008-12-11 15:33:38 -08001318config CPU_CAVIUM_OCTEON
1319 bool "Cavium Octeon processor"
David Daney5e683382009-02-02 11:30:59 -08001320 depends on SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -08001321 select IRQ_CPU
1322 select IRQ_CPU_OCTEON
1323 select CPU_HAS_PREFETCH
1324 select CPU_SUPPORTS_64BIT_KERNEL
1325 select SYS_SUPPORTS_SMP
1326 select NR_CPUS_DEFAULT_16
1327 select WEAK_ORDERING
1328 select WEAK_REORDERING_BEYOND_LLSC
1329 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd1542009-05-27 17:47:46 -07001330 select CPU_SUPPORTS_HUGEPAGES
David Daneya86c7f72008-12-11 15:33:38 -08001331 help
1332 The Cavium Octeon processor is a highly integrated chip containing
1333 many ethernet hardware widgets for networking tasks. The processor
1334 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1335 Full details can be found at http://www.caviumnetworks.com.
1336
Linus Torvalds1da177e2005-04-16 15:20:36 -07001337endchoice
1338
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +08001339config SYS_SUPPORTS_ZBOOT
1340 bool
1341 select HAVE_KERNEL_GZIP
1342 select HAVE_KERNEL_BZIP2
1343 select HAVE_KERNEL_LZMA
1344
1345config SYS_SUPPORTS_ZBOOT_UART16550
1346 bool
1347 select SYS_SUPPORTS_ZBOOT
1348
Wu Zhangjin3702bba2009-07-02 23:27:41 +08001349config CPU_LOONGSON2
1350 bool
1351 select CPU_SUPPORTS_32BIT_KERNEL
1352 select CPU_SUPPORTS_64BIT_KERNEL
1353 select CPU_SUPPORTS_HIGHMEM
1354
1355config SYS_HAS_CPU_LOONGSON2E
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001356 bool
1357
Wu Zhangjin6f7a2512009-11-06 18:45:05 +08001358config SYS_HAS_CPU_LOONGSON2F
1359 bool
Wu Zhangjin55045ff2009-11-11 13:39:12 +08001360 select CPU_SUPPORTS_CPUFREQ
1361 select CPU_SUPPORTS_ADDRWINCFG if 64BIT
Wu Zhangjin22f1fdf2009-11-11 13:59:23 +08001362 select CPU_SUPPORTS_UNCACHED_ACCELERATED
Wu Zhangjin6f7a2512009-11-06 18:45:05 +08001363
Ralf Baechle7cf80532005-10-20 22:33:09 +01001364config SYS_HAS_CPU_MIPS32_R1
1365 bool
1366
1367config SYS_HAS_CPU_MIPS32_R2
1368 bool
1369
1370config SYS_HAS_CPU_MIPS64_R1
1371 bool
1372
1373config SYS_HAS_CPU_MIPS64_R2
1374 bool
1375
1376config SYS_HAS_CPU_R3000
1377 bool
1378
1379config SYS_HAS_CPU_TX39XX
1380 bool
1381
1382config SYS_HAS_CPU_VR41XX
1383 bool
1384
1385config SYS_HAS_CPU_R4300
1386 bool
1387
1388config SYS_HAS_CPU_R4X00
1389 bool
1390
1391config SYS_HAS_CPU_TX49XX
1392 bool
1393
1394config SYS_HAS_CPU_R5000
1395 bool
1396
1397config SYS_HAS_CPU_R5432
1398 bool
1399
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001400config SYS_HAS_CPU_R5500
1401 bool
1402
Ralf Baechle7cf80532005-10-20 22:33:09 +01001403config SYS_HAS_CPU_R6000
1404 bool
1405
1406config SYS_HAS_CPU_NEVADA
1407 bool
1408
1409config SYS_HAS_CPU_R8000
1410 bool
1411
1412config SYS_HAS_CPU_R10000
1413 bool
1414
1415config SYS_HAS_CPU_RM7000
1416 bool
1417
1418config SYS_HAS_CPU_RM9000
1419 bool
1420
1421config SYS_HAS_CPU_SB1
1422 bool
1423
David Daney5e683382009-02-02 11:30:59 -08001424config SYS_HAS_CPU_CAVIUM_OCTEON
1425 bool
1426
Ralf Baechle17099b12007-07-14 13:24:05 +01001427#
1428# CPU may reorder R->R, R->W, W->R, W->W
1429# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1430#
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001431config WEAK_ORDERING
1432 bool
Ralf Baechle17099b12007-07-14 13:24:05 +01001433
1434#
1435# CPU may reorder reads and writes beyond LL/SC
1436# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1437#
1438config WEAK_REORDERING_BEYOND_LLSC
1439 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001440endmenu
1441
1442#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001443# These two indicate any level of the MIPS32 and MIPS64 architecture
Ralf Baechle5e83d432005-10-29 19:32:41 +01001444#
1445config CPU_MIPS32
1446 bool
1447 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1448
1449config CPU_MIPS64
1450 bool
1451 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1452
1453#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001454# These two indicate the revision of the architecture, either Release 1 or Release 2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001455#
1456config CPU_MIPSR1
1457 bool
1458 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1459
1460config CPU_MIPSR2
1461 bool
David Daneya86c7f72008-12-11 15:33:38 -08001462 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
Ralf Baechle5e83d432005-10-29 19:32:41 +01001463
1464config SYS_SUPPORTS_32BIT_KERNEL
1465 bool
1466config SYS_SUPPORTS_64BIT_KERNEL
1467 bool
1468config CPU_SUPPORTS_32BIT_KERNEL
1469 bool
1470config CPU_SUPPORTS_64BIT_KERNEL
1471 bool
Wu Zhangjin55045ff2009-11-11 13:39:12 +08001472config CPU_SUPPORTS_CPUFREQ
1473 bool
1474config CPU_SUPPORTS_ADDRWINCFG
1475 bool
David Daney9cffd1542009-05-27 17:47:46 -07001476config CPU_SUPPORTS_HUGEPAGES
1477 bool
Wu Zhangjin22f1fdf2009-11-11 13:59:23 +08001478config CPU_SUPPORTS_UNCACHED_ACCELERATED
1479 bool
David Daney82622282009-10-14 12:16:56 -07001480config MIPS_PGD_C0_CONTEXT
1481 bool
1482 default y if 64BIT && CPU_MIPSR2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001483
David Daney8192c9e2008-09-23 00:04:26 -07001484#
1485# Set to y for ptrace access to watch registers.
1486#
1487config HARDWARE_WATCHPOINTS
1488 bool
David Daneyf8394902009-01-05 15:29:14 -08001489 default y if CPU_MIPSR1 || CPU_MIPSR2
David Daney8192c9e2008-09-23 00:04:26 -07001490
Ralf Baechle5e83d432005-10-29 19:32:41 +01001491menu "Kernel type"
1492
1493choice
1494
1495 prompt "Kernel code model"
1496 help
1497 You should only select this option if you have a workload that
1498 actually benefits from 64-bit processing or if your machine has
1499 large memory. You will only be presented a single option in this
1500 menu if your system does not support both 32-bit and 64-bit kernels.
1501
1502config 32BIT
1503 bool "32-bit kernel"
1504 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1505 select TRAD_SIGNALS
1506 help
1507 Select this option if you want to build a 32-bit kernel.
1508config 64BIT
1509 bool "64-bit kernel"
1510 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechledbda6ac2009-02-08 16:00:26 +00001511 select HAVE_SYSCALL_WRAPPERS
Ralf Baechle5e83d432005-10-29 19:32:41 +01001512 help
1513 Select this option if you want to build a 64-bit kernel.
1514
1515endchoice
1516
Linus Torvalds1da177e2005-04-16 15:20:36 -07001517choice
1518 prompt "Kernel page size"
1519 default PAGE_SIZE_4KB
1520
1521config PAGE_SIZE_4KB
1522 bool "4kB"
Wu Zhangjin315fe622009-12-01 14:55:25 +08001523 depends on !CPU_LOONGSON2
Linus Torvalds1da177e2005-04-16 15:20:36 -07001524 help
1525 This option select the standard 4kB Linux page size. On some
1526 R3000-family processors this is the only available page size. Using
1527 4kB page size will minimize memory consumption and is therefore
1528 recommended for low memory systems.
1529
1530config PAGE_SIZE_8KB
1531 bool "8kB"
Ralf Baechlec52399b2009-04-02 14:07:10 +02001532 depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
Linus Torvalds1da177e2005-04-16 15:20:36 -07001533 help
1534 Using 8kB page size will result in higher performance kernel at
1535 the price of higher memory consumption. This option is available
Ralf Baechlec52399b2009-04-02 14:07:10 +02001536 only on R8000 and cnMIPS processors. Note that you will need a
1537 suitable Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001538
1539config PAGE_SIZE_16KB
1540 bool "16kB"
Ralf Baechle714bfad2006-05-17 14:04:30 +01001541 depends on !CPU_R3000 && !CPU_TX39XX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001542 help
1543 Using 16kB page size will result in higher performance kernel at
1544 the price of higher memory consumption. This option is available on
Ralf Baechle714bfad2006-05-17 14:04:30 +01001545 all non-R3000 family processors. Note that you will need a suitable
1546 Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001547
Ralf Baechlec52399b2009-04-02 14:07:10 +02001548config PAGE_SIZE_32KB
1549 bool "32kB"
1550 depends on CPU_CAVIUM_OCTEON
1551 help
1552 Using 32kB page size will result in higher performance kernel at
1553 the price of higher memory consumption. This option is available
1554 only on cnMIPS cores. Note that you will need a suitable Linux
1555 distribution to support this.
1556
Linus Torvalds1da177e2005-04-16 15:20:36 -07001557config PAGE_SIZE_64KB
1558 bool "64kB"
1559 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1560 help
1561 Using 64kB page size will result in higher performance kernel at
1562 the price of higher memory consumption. This option is available on
1563 all non-R3000 family processor. Not that at the time of this
Ralf Baechle714bfad2006-05-17 14:04:30 +01001564 writing this option is still high experimental.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001565
1566endchoice
1567
1568config BOARD_SCACHE
1569 bool
1570
1571config IP22_CPU_SCACHE
1572 bool
1573 select BOARD_SCACHE
1574
Chris Dearman9318c512006-06-20 17:15:20 +01001575#
1576# Support for a MIPS32 / MIPS64 style S-caches
1577#
1578config MIPS_CPU_SCACHE
1579 bool
1580 select BOARD_SCACHE
1581
Linus Torvalds1da177e2005-04-16 15:20:36 -07001582config R5000_CPU_SCACHE
1583 bool
1584 select BOARD_SCACHE
1585
1586config RM7000_CPU_SCACHE
1587 bool
1588 select BOARD_SCACHE
1589
1590config SIBYTE_DMA_PAGEOPS
1591 bool "Use DMA to clear/copy pages"
1592 depends on CPU_SB1
1593 help
1594 Instead of using the CPU to zero and copy pages, use a Data Mover
1595 channel. These DMA channels are otherwise unused by the standard
1596 SiByte Linux port. Seems to give a small performance benefit.
1597
1598config CPU_HAS_PREFETCH
Ralf Baechlec8094b52005-08-05 14:28:54 +00001599 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001600
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001601choice
1602 prompt "MIPS MT options"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001603
1604config MIPS_MT_DISABLED
1605 bool "Disable multithreading support."
1606 help
1607 Use this option if your workload can't take advantage of
1608 MIPS hardware multithreading support. On systems that don't have
1609 the option of an MT-enabled processor this option will be the only
1610 option in this menu.
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001611
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001612config MIPS_MT_SMP
1613 bool "Use 1 TC on each available VPE for SMP"
1614 depends on SYS_SUPPORTS_MULTITHREADING
1615 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001616 select CPU_MIPSR2_IRQ_EI
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001617 select MIPS_MT
Ralf Baechlef510aa32007-03-16 21:58:37 +00001618 select NR_CPUS_DEFAULT_2
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001619 select SMP
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001620 select SYS_SUPPORTS_SCHED_SMT if SMP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001621 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001622 select SMP_UP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001623 help
1624 This is a kernel model which is also known a VSMP or lately
1625 has been marketesed into SMVP.
1626
Ralf Baechle41c594a2006-04-05 09:45:45 +01001627config MIPS_MT_SMTC
1628 bool "SMTC: Use all TCs on all VPEs for SMP"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001629 depends on CPU_MIPS32_R2
1630 #depends on CPU_MIPS64_R2 # once there is hardware ...
1631 depends on SYS_SUPPORTS_MULTITHREADING
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001632 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001633 select CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001634 select MIPS_MT
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001635 select NR_CPUS_DEFAULT_8
Ralf Baechle41c594a2006-04-05 09:45:45 +01001636 select SMP
Ralf Baechle73b76c72006-08-15 19:36:40 +01001637 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001638 select SMP_UP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001639 help
1640 This is a kernel model which is known a SMTC or lately has been
1641 marketesed into SMVP.
Ralf Baechle41c594a2006-04-05 09:45:45 +01001642
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001643endchoice
1644
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001645config MIPS_MT
1646 bool
1647
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001648config SCHED_SMT
1649 bool "SMT (multithreading) scheduler support"
1650 depends on SYS_SUPPORTS_SCHED_SMT
1651 default n
1652 help
1653 SMT scheduler support improves the CPU scheduler's decision making
1654 when dealing with MIPS MT enabled cores at a cost of slightly
1655 increased overhead in some places. If unsure say N here.
1656
1657config SYS_SUPPORTS_SCHED_SMT
1658 bool
1659
1660
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001661config SYS_SUPPORTS_MULTITHREADING
1662 bool
1663
Ralf Baechlef088fc82006-04-05 09:45:47 +01001664config MIPS_MT_FPAFF
1665 bool "Dynamic FPU affinity for FP-intensive threads"
Ralf Baechlef088fc82006-04-05 09:45:47 +01001666 default y
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001667 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1668
1669config MIPS_VPE_LOADER
1670 bool "VPE loader support."
1671 depends on SYS_SUPPORTS_MULTITHREADING
1672 select CPU_MIPSR2_IRQ_VI
1673 select CPU_MIPSR2_IRQ_EI
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001674 select MIPS_MT
1675 help
1676 Includes a loader for loading an elf relocatable object
1677 onto another VPE and running it.
Ralf Baechlef088fc82006-04-05 09:45:47 +01001678
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001679config MIPS_MT_SMTC_IM_BACKSTOP
1680 bool "Use per-TC register bits as backstop for inhibited IM bits"
1681 depends on MIPS_MT_SMTC
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001682 default n
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001683 help
1684 To support multiple TC microthreads acting as "CPUs" within
1685 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1686 during interrupt handling. To support legacy drivers and interrupt
1687 controller management code, SMTC has a "backstop" to track and
1688 if necessary restore the interrupt mask. This has some performance
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001689 impact on interrupt service overhead.
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001690
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001691config MIPS_MT_SMTC_IRQAFF
1692 bool "Support IRQ affinity API"
1693 depends on MIPS_MT_SMTC
1694 default n
1695 help
1696 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1697 for SMTC Linux kernel. Requires platform support, of which
1698 an example can be found in the MIPS kernel i8259 and Malta
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001699 platform code. Adds some overhead to interrupt dispatch, and
1700 should be used only if you know what you are doing.
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001701
Ralf Baechlee01402b2005-07-14 15:57:16 +00001702config MIPS_VPE_LOADER_TOM
1703 bool "Load VPE program into memory hidden from linux"
1704 depends on MIPS_VPE_LOADER
1705 default y
1706 help
1707 The loader can use memory that is present but has been hidden from
1708 Linux using the kernel command line option "mem=xxMB". It's up to
1709 you to ensure the amount you put in the option and the space your
1710 program requires is less or equal to the amount physically present.
1711
1712# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1713config MIPS_VPE_APSP_API
Ralf Baechle5e83d432005-10-29 19:32:41 +01001714 bool "Enable support for AP/SP API (RTLX)"
1715 depends on MIPS_VPE_LOADER
1716 help
Ralf Baechlee01402b2005-07-14 15:57:16 +00001717
Ralf Baechle26009902006-04-05 09:45:45 +01001718config MIPS_APSP_KSPD
1719 bool "Enable KSPD"
1720 depends on MIPS_VPE_APSP_API
1721 default y
1722 help
1723 KSPD is a kernel daemon that accepts syscall requests from the SP
1724 side, actions them and returns the results. It also handles the
1725 "exit" syscall notifying other kernel modules the SP program is
1726 exiting. You probably want to say yes here.
1727
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001728config MIPS_CMP
1729 bool "MIPS CMP framework support"
1730 depends on SYS_SUPPORTS_MIPS_CMP
Tim Andersoneb9b5142009-06-17 16:40:34 -07001731 select SYNC_R4K
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001732 select SYS_SUPPORTS_SMP
1733 select SYS_SUPPORTS_SCHED_SMT if SMP
1734 select WEAK_ORDERING
1735 default n
1736 help
1737 This is a placeholder option for the GCMP work. It will need to
1738 be handled differently...
1739
Linus Torvalds1da177e2005-04-16 15:20:36 -07001740config SB1_PASS_1_WORKAROUNDS
1741 bool
1742 depends on CPU_SB1_PASS_1
1743 default y
1744
1745config SB1_PASS_2_WORKAROUNDS
1746 bool
1747 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1748 default y
1749
1750config SB1_PASS_2_1_WORKAROUNDS
1751 bool
1752 depends on CPU_SB1 && CPU_SB1_PASS_2
1753 default y
1754
1755config 64BIT_PHYS_ADDR
Ralf Baechled806cb22007-08-02 00:36:08 +01001756 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001757
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001758config CPU_HAS_SMARTMIPS
1759 depends on SYS_SUPPORTS_SMARTMIPS
1760 bool "Support for the SmartMIPS ASE"
1761 help
1762 SmartMIPS is a extension of the MIPS32 architecture aimed at
1763 increased security at both hardware and software level for
1764 smartcards. Enabling this option will allow proper use of the
1765 SmartMIPS instructions by Linux applications. However a kernel with
1766 this option will not work on a MIPS core without SmartMIPS core. If
1767 you don't know you probably don't have SmartMIPS and should say N
1768 here.
1769
Linus Torvalds1da177e2005-04-16 15:20:36 -07001770config CPU_HAS_WB
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001771 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001772
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001773#
1774# Vectored interrupt mode is an R2 feature
1775#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001776config CPU_MIPSR2_IRQ_VI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001777 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001778
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001779#
1780# Extended interrupt mode is an R2 feature
1781#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001782config CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001783 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001784
Linus Torvalds1da177e2005-04-16 15:20:36 -07001785config CPU_HAS_SYNC
1786 bool
1787 depends on !CPU_R3000
1788 default y
1789
Ralf Baechleea580402007-10-11 23:46:09 +01001790config GENERIC_CLOCKEVENTS_BROADCAST
1791 bool
1792
Linus Torvalds1da177e2005-04-16 15:20:36 -07001793#
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +01001794# CPU non-features
1795#
1796config CPU_DADDI_WORKAROUNDS
1797 bool
1798
1799config CPU_R4000_WORKAROUNDS
1800 bool
1801 select CPU_R4400_WORKAROUNDS
1802
1803config CPU_R4400_WORKAROUNDS
1804 bool
1805
1806#
Ralf Baechle797798c2005-08-10 15:17:11 +00001807# Use the generic interrupt handling code in kernel/irq/:
1808#
1809config GENERIC_HARDIRQS
1810 bool
1811 default y
1812
1813config GENERIC_IRQ_PROBE
1814 bool
1815 default y
1816
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001817config IRQ_PER_CPU
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001818 bool
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001819
Ralf Baechle797798c2005-08-10 15:17:11 +00001820#
Linus Torvalds1da177e2005-04-16 15:20:36 -07001821# - Highmem only makes sense for the 32-bit kernel.
1822# - The current highmem code will only work properly on physically indexed
1823# caches such as R3000, SB1, R7000 or those that look like they're virtually
1824# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1825# moment we protect the user and offer the highmem option only on machines
1826# where it's known to be safe. This will not offer highmem on a few systems
1827# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1828# indexed CPUs but we're playing safe.
Ralf Baechle797798c2005-08-10 15:17:11 +00001829# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1830# know they might have memory configurations that could make use of highmem
1831# support.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001832#
1833config HIGHMEM
1834 bool "High Memory Support"
Ralf Baechle797798c2005-08-10 15:17:11 +00001835 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1836
1837config CPU_SUPPORTS_HIGHMEM
1838 bool
1839
1840config SYS_SUPPORTS_HIGHMEM
1841 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001842
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001843config SYS_SUPPORTS_SMARTMIPS
1844 bool
1845
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001846config ARCH_FLATMEM_ENABLE
1847 def_bool y
Wu Zhangjinf133f222009-12-01 14:55:42 +08001848 depends on !NUMA && !CPU_LOONGSON2
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001849
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001850config ARCH_DISCONTIGMEM_ENABLE
1851 bool
1852 default y if SGI_IP27
1853 help
David Sterba3dde6ad2007-05-09 07:12:20 +02001854 Say Y to support efficient handling of discontiguous physical memory,
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001855 for architectures which are either NUMA (Non-Uniform Memory Access)
1856 or have huge holes in the physical address space for other reasons.
1857 See <file:Documentation/vm/numa> for more.
1858
Ralf Baechlecce335a2007-11-03 02:05:43 +00001859config ARCH_POPULATES_NODE_MAP
1860 def_bool y
1861
Atsushi Nemotob1c6cd42006-07-03 00:09:47 +09001862config ARCH_SPARSEMEM_ENABLE
1863 bool
Atsushi Nemoto7de58fa2006-07-05 01:22:44 +09001864 select SPARSEMEM_STATIC
Atsushi Nemoto31473742006-07-03 00:09:47 +09001865
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001866config NUMA
1867 bool "NUMA Support"
1868 depends on SYS_SUPPORTS_NUMA
1869 help
1870 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1871 Access). This option improves performance on systems with more
1872 than two nodes; on two node systems it is generally better to
1873 leave it disabled; on single node systems disable this option
1874 disabled.
1875
1876config SYS_SUPPORTS_NUMA
1877 bool
1878
Yasunori Gotoc80d79d2006-04-10 22:53:53 -07001879config NODES_SHIFT
1880 int
1881 default "6"
1882 depends on NEED_MULTIPLE_NODES
1883
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001884source "mm/Kconfig"
1885
Linus Torvalds1da177e2005-04-16 15:20:36 -07001886config SMP
1887 bool "Multi-Processing support"
Ralf Baechlee73ea272006-06-04 11:51:46 +01001888 depends on SYS_SUPPORTS_SMP
Ralf Baechleb4b30a52006-08-03 17:34:24 +01001889 select IRQ_PER_CPU
Jens Axboe2f304c02008-06-17 10:45:23 +02001890 select USE_GENERIC_SMP_HELPERS
Ralf Baechlee73ea272006-06-04 11:51:46 +01001891 help
Linus Torvalds1da177e2005-04-16 15:20:36 -07001892 This enables support for systems with more than one CPU. If you have
1893 a system with only one CPU, like most personal computers, say N. If
1894 you have a system with more than one CPU, say Y.
1895
1896 If you say N here, the kernel will run on single and multiprocessor
1897 machines, but will use only one CPU of a multiprocessor machine. If
1898 you say Y here, the kernel will run on many, but not all,
1899 singleprocessor machines. On a singleprocessor machine, the kernel
1900 will run faster if you say N here.
1901
1902 People using multiprocessor machines who say Y here should also say
1903 Y to "Enhanced Real Time Clock Support", below.
1904
Adrian Bunk03502fa2008-02-03 15:50:21 +02001905 See also the SMP-HOWTO available at
1906 <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001907
1908 If you don't know what to do here, say N.
1909
Ralf Baechle87353d82007-11-19 12:23:51 +00001910config SMP_UP
1911 bool
1912
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001913config SYS_SUPPORTS_MIPS_CMP
1914 bool
1915
Ralf Baechlee73ea272006-06-04 11:51:46 +01001916config SYS_SUPPORTS_SMP
1917 bool
1918
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001919config NR_CPUS_DEFAULT_1
1920 bool
1921
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001922config NR_CPUS_DEFAULT_2
1923 bool
1924
1925config NR_CPUS_DEFAULT_4
1926 bool
1927
1928config NR_CPUS_DEFAULT_8
1929 bool
1930
1931config NR_CPUS_DEFAULT_16
1932 bool
1933
1934config NR_CPUS_DEFAULT_32
1935 bool
1936
1937config NR_CPUS_DEFAULT_64
1938 bool
1939
Linus Torvalds1da177e2005-04-16 15:20:36 -07001940config NR_CPUS
1941 int "Maximum number of CPUs (2-64)"
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001942 range 1 64 if NR_CPUS_DEFAULT_1
Linus Torvalds1da177e2005-04-16 15:20:36 -07001943 depends on SMP
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001944 default "1" if NR_CPUS_DEFAULT_1
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001945 default "2" if NR_CPUS_DEFAULT_2
1946 default "4" if NR_CPUS_DEFAULT_4
1947 default "8" if NR_CPUS_DEFAULT_8
1948 default "16" if NR_CPUS_DEFAULT_16
1949 default "32" if NR_CPUS_DEFAULT_32
1950 default "64" if NR_CPUS_DEFAULT_64
Linus Torvalds1da177e2005-04-16 15:20:36 -07001951 help
1952 This allows you to specify the maximum number of CPUs which this
1953 kernel will support. The maximum supported value is 32 for 32-bit
1954 kernel and 64 for 64-bit kernels; the minimum value which makes
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001955 sense is 1 for Qemu (useful only for kernel debugging purposes)
1956 and 2 for all others.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001957
1958 This is purely to save memory - each supported CPU adds
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001959 approximately eight kilobytes to the kernel image. For best
1960 performance should round up your number of processors to the next
1961 power of two.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001962
Atsushi Nemotoc4eee282007-11-12 01:05:16 +09001963source "kernel/time/Kconfig"
1964
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001965#
1966# Timer Interrupt Frequency Configuration
1967#
1968
1969choice
1970 prompt "Timer frequency"
1971 default HZ_250
1972 help
1973 Allows the configuration of the timer frequency.
1974
1975 config HZ_48
Ralf Baechle0f873582008-02-25 16:55:29 +00001976 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001977
1978 config HZ_100
1979 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1980
1981 config HZ_128
1982 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1983
1984 config HZ_250
1985 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1986
1987 config HZ_256
1988 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1989
1990 config HZ_1000
1991 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1992
1993 config HZ_1024
1994 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1995
1996endchoice
1997
1998config SYS_SUPPORTS_48HZ
1999 bool
2000
2001config SYS_SUPPORTS_100HZ
2002 bool
2003
2004config SYS_SUPPORTS_128HZ
2005 bool
2006
2007config SYS_SUPPORTS_250HZ
2008 bool
2009
2010config SYS_SUPPORTS_256HZ
2011 bool
2012
2013config SYS_SUPPORTS_1000HZ
2014 bool
2015
2016config SYS_SUPPORTS_1024HZ
2017 bool
2018
2019config SYS_SUPPORTS_ARBIT_HZ
2020 bool
2021 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
2022 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
2023 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
2024 !SYS_SUPPORTS_1024HZ
2025
2026config HZ
2027 int
2028 default 48 if HZ_48
2029 default 100 if HZ_100
2030 default 128 if HZ_128
2031 default 250 if HZ_250
2032 default 256 if HZ_256
2033 default 1000 if HZ_1000
2034 default 1024 if HZ_1024
2035
Ralf Baechlee80de852005-07-11 20:45:51 +00002036source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -07002037
Linus Torvalds1da177e2005-04-16 15:20:36 -07002038config MIPS_INSANE_LARGE
2039 bool "Support for large 64-bit configurations"
Ralf Baechle875d43e2005-09-03 15:56:16 -07002040 depends on CPU_R10000 && 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07002041 help
2042 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
2043 previous 64-bit processors which only supported 40 bit / 1TB. If you
2044 need processes of more than 1TB virtual address space, say Y here.
2045 This will result in additional memory usage, so it is not
2046 recommended for normal users.
2047
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09002048config KEXEC
2049 bool "Kexec system call (EXPERIMENTAL)"
2050 depends on EXPERIMENTAL
2051 help
2052 kexec is a system call that implements the ability to shutdown your
2053 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +02002054 but it is independent of the system firmware. And like a reboot
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09002055 you can start any kernel with it, not just Linux.
2056
Matt LaPlante01dd2fb2007-10-20 01:34:40 +02002057 The name comes from the similarity to the exec system call.
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09002058
2059 It is an ongoing process to be certain the hardware in a machine
2060 is properly shutdown, so do not be surprised if this code does not
2061 initially work for you. It may help to enable device hotplugging
2062 support. As of this writing the exact hardware interface is
2063 strongly in flux, so no good recommendation can be made.
2064
2065config SECCOMP
2066 bool "Enable seccomp to safely compute untrusted bytecode"
Ralf Baechle293c5bd2007-07-25 16:19:33 +01002067 depends on PROC_FS
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09002068 default y
2069 help
2070 This kernel feature is useful for number crunching applications
2071 that may need to compute untrusted bytecode during their
2072 execution. By using pipes or other transports made available to
2073 the process as file descriptors supporting the read/write
2074 syscalls, it's possible to isolate those applications in
2075 their own address space using seccomp. Once seccomp is
2076 enabled via /proc/<pid>/seccomp, it cannot be disabled
2077 and the task is only allowed to execute a few safe syscalls
2078 defined by each seccomp mode.
2079
2080 If unsure, say Y. Only embedded should say N here.
2081
Ralf Baechle5e83d432005-10-29 19:32:41 +01002082endmenu
2083
Atsushi Nemoto1df0f0f2006-09-26 23:44:01 +09002084config LOCKDEP_SUPPORT
2085 bool
2086 default y
2087
2088config STACKTRACE_SUPPORT
2089 bool
2090 default y
2091
Ralf Baechleb6c35392005-11-25 11:35:40 +00002092source "init/Kconfig"
2093
Matt Helsleydc52ddc2008-10-18 20:27:21 -07002094source "kernel/Kconfig.freezer"
2095
Linus Torvalds1da177e2005-04-16 15:20:36 -07002096menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
2097
Ralf Baechle5e83d432005-10-29 19:32:41 +01002098config HW_HAS_EISA
2099 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002100config HW_HAS_PCI
2101 bool
2102
2103config PCI
2104 bool "Support for PCI controller"
2105 depends on HW_HAS_PCI
Ralf Baechleabb4ae42007-10-11 23:46:03 +01002106 select PCI_DOMAINS
Linus Torvalds1da177e2005-04-16 15:20:36 -07002107 help
2108 Find out whether you have a PCI motherboard. PCI is the name of a
2109 bus system, i.e. the way the CPU talks to the other stuff inside
2110 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
2111 say Y, otherwise N.
2112
Linus Torvalds1da177e2005-04-16 15:20:36 -07002113config PCI_DOMAINS
2114 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002115
2116source "drivers/pci/Kconfig"
2117
2118#
2119# ISA support is now enabled via select. Too many systems still have the one
2120# or other ISA chip on the board that users don't know about so don't expect
2121# users to choose the right thing ...
2122#
2123config ISA
2124 bool
2125
2126config EISA
2127 bool "EISA support"
Ralf Baechle5e83d432005-10-29 19:32:41 +01002128 depends on HW_HAS_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -07002129 select ISA
Ralf Baechleaa414df2006-11-30 01:14:51 +00002130 select GENERIC_ISA_DMA
Linus Torvalds1da177e2005-04-16 15:20:36 -07002131 ---help---
2132 The Extended Industry Standard Architecture (EISA) bus was
2133 developed as an open alternative to the IBM MicroChannel bus.
2134
2135 The EISA bus provided some of the features of the IBM MicroChannel
2136 bus while maintaining backward compatibility with cards made for
2137 the older ISA bus. The EISA bus saw limited use between 1988 and
2138 1995 when it was made obsolete by the PCI bus.
2139
2140 Say Y here if you are building a kernel for an EISA-based machine.
2141
2142 Otherwise, say N.
2143
2144source "drivers/eisa/Kconfig"
2145
2146config TC
2147 bool "TURBOchannel support"
2148 depends on MACH_DECSTATION
2149 help
2150 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2151 processors. Documentation on writing device drivers for TurboChannel
2152 is available at:
2153 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
2154
2155#config ACCESSBUS
2156# bool "Access.Bus support"
2157# depends on TC
2158
2159config MMU
2160 bool
2161 default y
2162
Ralf Baechled865bea2007-10-11 23:46:10 +01002163config I8253
2164 bool
Wu Zhangjin9726b432009-11-17 01:32:58 +08002165 select MIPS_EXTERNAL_TIMER
Ralf Baechled865bea2007-10-11 23:46:10 +01002166
Ralf Baechlecce335a2007-11-03 02:05:43 +00002167config ZONE_DMA32
2168 bool
2169
Linus Torvalds1da177e2005-04-16 15:20:36 -07002170source "drivers/pcmcia/Kconfig"
2171
2172source "drivers/pci/hotplug/Kconfig"
2173
2174endmenu
2175
2176menu "Executable file formats"
2177
2178source "fs/Kconfig.binfmt"
2179
2180config TRAD_SIGNALS
2181 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002182
Linus Torvalds1da177e2005-04-16 15:20:36 -07002183config MIPS32_COMPAT
2184 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
Ralf Baechle875d43e2005-09-03 15:56:16 -07002185 depends on 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07002186 help
2187 Select this option if you want Linux/MIPS 32-bit binary
2188 compatibility. Since all software available for Linux/MIPS is
2189 currently 32-bit you should say Y here.
2190
2191config COMPAT
2192 bool
2193 depends on MIPS32_COMPAT
2194 default y
2195
Atsushi Nemoto05e43962006-11-07 18:02:44 +09002196config SYSVIPC_COMPAT
2197 bool
2198 depends on COMPAT && SYSVIPC
2199 default y
2200
Linus Torvalds1da177e2005-04-16 15:20:36 -07002201config MIPS32_O32
2202 bool "Kernel support for o32 binaries"
2203 depends on MIPS32_COMPAT
2204 help
2205 Select this option if you want to run o32 binaries. These are pure
2206 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2207 existing binaries are in this format.
2208
2209 If unsure, say Y.
2210
2211config MIPS32_N32
2212 bool "Kernel support for n32 binaries"
2213 depends on MIPS32_COMPAT
2214 help
2215 Select this option if you want to run n32 binaries. These are
2216 64-bit binaries using 32-bit quantities for addressing and certain
2217 data that would normally be 64-bit. They are used in special
2218 cases.
2219
2220 If unsure, say N.
2221
2222config BINFMT_ELF32
2223 bool
2224 default y if MIPS32_O32 || MIPS32_N32
2225
Ralf Baechle21162452007-02-09 17:08:58 +00002226endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -07002227
Ralf Baechle21162452007-02-09 17:08:58 +00002228menu "Power management options"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002229
Wu Zhangjin363c55c2009-06-04 20:27:10 +08002230config ARCH_HIBERNATION_POSSIBLE
2231 def_bool y
Ralf Baechle3f5b3e12009-07-02 11:48:07 +01002232 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
Wu Zhangjin363c55c2009-06-04 20:27:10 +08002233
Johannes Bergf4cb5702007-12-08 02:14:00 +01002234config ARCH_SUSPEND_POSSIBLE
2235 def_bool y
Ralf Baechle3f5b3e12009-07-02 11:48:07 +01002236 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
Johannes Bergf4cb5702007-12-08 02:14:00 +01002237
Ralf Baechle21162452007-02-09 17:08:58 +00002238source "kernel/power/Kconfig"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002239
Linus Torvalds1da177e2005-04-16 15:20:36 -07002240endmenu
2241
Wu Zhangjin9726b432009-11-17 01:32:58 +08002242source "arch/mips/kernel/cpufreq/Kconfig"
2243
Sam Ravnborgd5950b42005-07-11 21:03:49 -07002244source "net/Kconfig"
2245
Linus Torvalds1da177e2005-04-16 15:20:36 -07002246source "drivers/Kconfig"
2247
2248source "fs/Kconfig"
2249
2250source "arch/mips/Kconfig.debug"
2251
2252source "security/Kconfig"
2253
2254source "crypto/Kconfig"
2255
2256source "lib/Kconfig"