[MIPS] Fix build error: don't offer SMP on systems that don't have SMP.
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / mips / Kconfig
CommitLineData
1da177e4
LT
1config MIPS
2 bool
3 default y
4 # Horrible source of confusion. Die, die, die ...
5 select EMBEDDED
6
875d43e7
RB
7mainmenu "Linux/MIPS Kernel Configuration"
8
1da177e4
LT
9menu "Machine selection"
10
5e83d430
RB
11choice
12 prompt "System type"
13 default SGI_IP22
1da177e4 14
5e83d430 15config MIPS_MTX1
3fa986fa 16 bool "4G Systems MTX-1 board"
1da177e4 17 select DMA_NONCOHERENT
5e83d430
RB
18 select HW_HAS_PCI
19 select SOC_AU1500
7cf8053b 20 select SYS_HAS_CPU_MIPS32_R1
5e83d430 21 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 22
5e83d430
RB
23config MIPS_BOSPORUS
24 bool "AMD Alchemy Bosporus board"
25 select SOC_AU1500
1da177e4 26 select DMA_NONCOHERENT
7cf8053b 27 select SYS_HAS_CPU_MIPS32_R1
5e83d430 28 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 29
5e83d430
RB
30config MIPS_PB1000
31 bool "AMD Alchemy PB1000 board"
32 select SOC_AU1000
1da177e4 33 select DMA_NONCOHERENT
5e83d430
RB
34 select HW_HAS_PCI
35 select SWAP_IO_SPACE
7cf8053b 36 select SYS_HAS_CPU_MIPS32_R1
5e83d430 37 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 38
5e83d430
RB
39config MIPS_PB1100
40 bool "AMD Alchemy PB1100 board"
41 select SOC_AU1100
1da177e4 42 select DMA_NONCOHERENT
1da177e4 43 select HW_HAS_PCI
5e83d430 44 select SWAP_IO_SPACE
7cf8053b 45 select SYS_HAS_CPU_MIPS32_R1
5e83d430 46 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 47
5e83d430
RB
48config MIPS_PB1500
49 bool "AMD Alchemy PB1500 board"
50 select SOC_AU1500
51 select DMA_NONCOHERENT
52 select HW_HAS_PCI
7cf8053b 53 select SYS_HAS_CPU_MIPS32_R1
5e83d430 54 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 55
5e83d430
RB
56config MIPS_PB1550
57 bool "AMD Alchemy PB1550 board"
58 select SOC_AU1550
1da177e4 59 select DMA_NONCOHERENT
5e83d430
RB
60 select HW_HAS_PCI
61 select MIPS_DISABLE_OBSOLETE_IDE
7cf8053b 62 select SYS_HAS_CPU_MIPS32_R1
5e83d430 63 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 64
5e83d430
RB
65config MIPS_PB1200
66 bool "AMD Alchemy PB1200 board"
67 select SOC_AU1200
1da177e4 68 select DMA_NONCOHERENT
5e83d430 69 select MIPS_DISABLE_OBSOLETE_IDE
7cf8053b 70 select SYS_HAS_CPU_MIPS32_R1
5e83d430 71 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 72
5e83d430
RB
73config MIPS_DB1000
74 bool "AMD Alchemy DB1000 board"
75 select SOC_AU1000
1da177e4 76 select DMA_NONCOHERENT
63b799f9 77 select HW_HAS_PCI
7cf8053b 78 select SYS_HAS_CPU_MIPS32_R1
5e83d430 79 select SYS_SUPPORTS_LITTLE_ENDIAN
4d666d7a 80
5e83d430
RB
81config MIPS_DB1100
82 bool "AMD Alchemy DB1100 board"
83 select SOC_AU1100
1da177e4 84 select DMA_NONCOHERENT
7cf8053b 85 select SYS_HAS_CPU_MIPS32_R1
5e83d430 86 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 87
5e83d430
RB
88config MIPS_DB1500
89 bool "AMD Alchemy DB1500 board"
90 select SOC_AU1500
1da177e4 91 select DMA_NONCOHERENT
8dd4aebe 92 select HW_HAS_PCI
5e83d430 93 select MIPS_DISABLE_OBSOLETE_IDE
7cf8053b 94 select SYS_HAS_CPU_MIPS32_R1
5e83d430
RB
95 select SYS_SUPPORTS_BIG_ENDIAN
96 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 97
5e83d430
RB
98config MIPS_DB1550
99 bool "AMD Alchemy DB1550 board"
100 select SOC_AU1550
101 select HW_HAS_PCI
102 select DMA_NONCOHERENT
103 select MIPS_DISABLE_OBSOLETE_IDE
7cf8053b 104 select SYS_HAS_CPU_MIPS32_R1
5e83d430 105 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 106
5e83d430
RB
107config MIPS_DB1200
108 bool "AMD Alchemy DB1200 board"
109 select SOC_AU1200
110 select DMA_COHERENT
111 select MIPS_DISABLE_OBSOLETE_IDE
7cf8053b 112 select SYS_HAS_CPU_MIPS32_R1
5e83d430 113 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 114
5e83d430
RB
115config MIPS_MIRAGE
116 bool "AMD Alchemy Mirage board"
1da177e4 117 select DMA_NONCOHERENT
5e83d430 118 select SOC_AU1500
7cf8053b 119 select SYS_HAS_CPU_MIPS32_R1
5e83d430 120 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 121
35189fad
RB
122config BASLER_EXCITE
123 bool "Basler eXcite smart camera support"
124 select DMA_COHERENT
125 select HW_HAS_PCI
126 select IRQ_CPU
127 select IRQ_CPU_RM7K
128 select IRQ_CPU_RM9K
129 select SERIAL_RM9000
130 select SYS_HAS_CPU_RM9000
131 select SYS_SUPPORTS_32BIT_KERNEL
132 select SYS_SUPPORTS_64BIT_KERNEL
133 select SYS_SUPPORTS_BIG_ENDIAN
134 help
135 The eXcite is a smart camera platform manufactured by
136 Basler Vision Technologies AG
137
138config BASLER_EXCITE_PROTOTYPE
139 bool "Support for pre-release units"
140 depends on BASLER_EXCITE
141 default n
142 help
143 Pre-series (prototype) units are different from later ones in
144 some ways. Select this option if you have one of these. Please
145 note that a kernel built with this option selected will not be
146 able to run on normal units.
147
1da177e4 148config MIPS_COBALT
3fa986fa 149 bool "Cobalt Server"
1da177e4
LT
150 select DMA_NONCOHERENT
151 select HW_HAS_PCI
152 select I8259
153 select IRQ_CPU
5e83d430 154 select MIPS_GT64111
7cf8053b 155 select SYS_HAS_CPU_NEVADA
ed5ba2fb
YY
156 select SYS_SUPPORTS_32BIT_KERNEL
157 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5e83d430 158 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4
LT
159
160config MACH_DECSTATION
3fa986fa 161 bool "DECstations"
1da177e4
LT
162 select BOOT_ELF32
163 select DMA_NONCOHERENT
b6d468ec 164 select EARLY_PRINTK
1da177e4 165 select IRQ_CPU
7cf8053b
RB
166 select SYS_HAS_CPU_R3000
167 select SYS_HAS_CPU_R4X00
ed5ba2fb
YY
168 select SYS_SUPPORTS_32BIT_KERNEL
169 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5e83d430 170 select SYS_SUPPORTS_LITTLE_ENDIAN
1723b4a3
AN
171 select SYS_SUPPORTS_128HZ
172 select SYS_SUPPORTS_256HZ
173 select SYS_SUPPORTS_1024HZ
5e83d430 174 help
1da177e4
LT
175 This enables support for DEC's MIPS based workstations. For details
176 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
177 DECstation porting pages on <http://decstation.unix-ag.org/>.
178
179 If you have one of the following DECstation Models you definitely
180 want to choose R4xx0 for the CPU Type:
181
182 DECstation 5000/50
183 DECstation 5000/150
184 DECstation 5000/260
185 DECsystem 5900/260
186
187 otherwise choose R3000.
188
189config MIPS_EV64120
3fa986fa 190 bool "Galileo EV64120 Evaluation board (EXPERIMENTAL)"
1da177e4
LT
191 depends on EXPERIMENTAL
192 select DMA_NONCOHERENT
193 select HW_HAS_PCI
194 select MIPS_GT64120
7cf8053b 195 select SYS_HAS_CPU_R5000
ed5ba2fb
YY
196 select SYS_SUPPORTS_32BIT_KERNEL
197 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 198 select SYS_SUPPORTS_BIG_ENDIAN
1da177e4
LT
199 help
200 This is an evaluation board based on the Galileo GT-64120
201 single-chip system controller that contains a MIPS R5000 compatible
202 core running at 75/100MHz. Their website is located at
203 <http://www.marvell.com/>. Say Y here if you wish to build a
204 kernel for this platform.
205
1da177e4 206config MIPS_EV96100
3fa986fa 207 bool "Galileo EV96100 Evaluation board (EXPERIMENTAL)"
1da177e4
LT
208 depends on EXPERIMENTAL
209 select DMA_NONCOHERENT
210 select HW_HAS_PCI
211 select IRQ_CPU
212 select MIPS_GT96100
213 select RM7000_CPU_SCACHE
214 select SWAP_IO_SPACE
7cf8053b
RB
215 select SYS_HAS_CPU_R5000
216 select SYS_HAS_CPU_RM7000
ed5ba2fb 217 select SYS_SUPPORTS_32BIT_KERNEL
5e83d430
RB
218 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
219 select SYS_SUPPORTS_BIG_ENDIAN
1da177e4
LT
220 help
221 This is an evaluation board based on the Galileo GT-96100 LAN/WAN
222 communications controllers containing a MIPS R5000 compatible core
223 running at 83MHz. Their website is <http://www.marvell.com/>. Say Y
224 here if you wish to build a kernel for this platform.
225
226config MIPS_IVR
3fa986fa 227 bool "Globespan IVR board"
1da177e4
LT
228 select DMA_NONCOHERENT
229 select HW_HAS_PCI
5e83d430 230 select ITE_BOARD_GEN
7cf8053b 231 select SYS_HAS_CPU_NEVADA
ed5ba2fb
YY
232 select SYS_SUPPORTS_32BIT_KERNEL
233 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5e83d430 234 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4
LT
235 help
236 This is an evaluation board built by Globespan to showcase thir
237 iVR (Internet Video Recorder) design. It utilizes a QED RM5231
238 R5000 MIPS core. More information can be found out their website
239 located at <http://www.globespan.net/>. Say Y here if you wish to
240 build a kernel for this platform.
241
1da177e4 242config MIPS_ITE8172
3fa986fa 243 bool "ITE 8172G board"
1da177e4
LT
244 select DMA_NONCOHERENT
245 select HW_HAS_PCI
5e83d430 246 select ITE_BOARD_GEN
7cf8053b
RB
247 select SYS_HAS_CPU_R5432
248 select SYS_HAS_CPU_NEVADA
ed5ba2fb
YY
249 select SYS_SUPPORTS_32BIT_KERNEL
250 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5e83d430 251 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4
LT
252 help
253 Ths is an evaluation board made by ITE <http://www.ite.com.tw/>
254 with ATX form factor that utilizes a MIPS R5000 to work with its
255 ITE8172G companion internet appliance chip. The MIPS core can be
256 either a NEC Vr5432 or QED RM5231. Say Y here if you wish to build
257 a kernel for this platform.
258
5e83d430 259config MACH_JAZZ
3fa986fa 260 bool "Jazz family of machines"
5e83d430
RB
261 select ARC
262 select ARC32
263 select ARCH_MAY_HAVE_PC_FDC
264 select GENERIC_ISA_DMA
e5c6c8e4 265 select I8253
5e83d430
RB
266 select I8259
267 select ISA
7cf8053b 268 select SYS_HAS_CPU_R4X00
5e83d430
RB
269 select SYS_SUPPORTS_32BIT_KERNEL
270 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1723b4a3 271 select SYS_SUPPORTS_100HZ
1da177e4 272 help
5e83d430
RB
273 This a family of machines based on the MIPS R4030 chipset which was
274 used by several vendors to build RISC/os and Windows NT workstations.
275 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
276 Olivetti M700-10 workstations.
277
278config LASAT
3fa986fa 279 bool "LASAT Networks platforms"
5e83d430
RB
280 select DMA_NONCOHERENT
281 select HW_HAS_PCI
282 select MIPS_GT64120
283 select MIPS_NILE4
284 select R5000_CPU_SCACHE
7cf8053b 285 select SYS_HAS_CPU_R5000
5e83d430
RB
286 select SYS_SUPPORTS_32BIT_KERNEL
287 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
288 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4
LT
289
290config MIPS_ATLAS
3fa986fa 291 bool "MIPS Atlas board"
1da177e4
LT
292 select BOOT_ELF32
293 select DMA_NONCOHERENT
5e83d430 294 select IRQ_CPU
1da177e4 295 select HW_HAS_PCI
5e83d430
RB
296 select MIPS_BOARDS_GEN
297 select MIPS_BONITO64
1da177e4 298 select MIPS_GT64120
5e83d430 299 select MIPS_MSC
f4b7cdb4 300 select RM7000_CPU_SCACHE
1da177e4 301 select SWAP_IO_SPACE
7cf8053b
RB
302 select SYS_HAS_CPU_MIPS32_R1
303 select SYS_HAS_CPU_MIPS32_R2
304 select SYS_HAS_CPU_MIPS64_R1
305 select SYS_HAS_CPU_NEVADA
306 select SYS_HAS_CPU_RM7000
ed5ba2fb
YY
307 select SYS_SUPPORTS_32BIT_KERNEL
308 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430
RB
309 select SYS_SUPPORTS_BIG_ENDIAN
310 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 311 help
f638d197 312 This enables support for the MIPS Technologies Atlas evaluation
1da177e4
LT
313 board.
314
315config MIPS_MALTA
3fa986fa 316 bool "MIPS Malta board"
61ed242d 317 select ARCH_MAY_HAVE_PC_FDC
1da177e4
LT
318 select BOOT_ELF32
319 select HAVE_STD_PC_SERIAL_PORT
320 select DMA_NONCOHERENT
e01402b1 321 select IRQ_CPU
1da177e4
LT
322 select GENERIC_ISA_DMA
323 select HW_HAS_PCI
324 select I8259
5e83d430
RB
325 select MIPS_BOARDS_GEN
326 select MIPS_BONITO64
1da177e4 327 select MIPS_GT64120
5e83d430 328 select MIPS_MSC
1da177e4 329 select SWAP_IO_SPACE
7cf8053b
RB
330 select SYS_HAS_CPU_MIPS32_R1
331 select SYS_HAS_CPU_MIPS32_R2
332 select SYS_HAS_CPU_MIPS64_R1
333 select SYS_HAS_CPU_NEVADA
334 select SYS_HAS_CPU_RM7000
ed5ba2fb
YY
335 select SYS_SUPPORTS_32BIT_KERNEL
336 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430
RB
337 select SYS_SUPPORTS_BIG_ENDIAN
338 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 339 help
f638d197 340 This enables support for the MIPS Technologies Malta evaluation
1da177e4
LT
341 board.
342
343config MIPS_SEAD
3fa986fa 344 bool "MIPS SEAD board (EXPERIMENTAL)"
1da177e4
LT
345 depends on EXPERIMENTAL
346 select IRQ_CPU
347 select DMA_NONCOHERENT
5e83d430 348 select MIPS_BOARDS_GEN
7cf8053b
RB
349 select SYS_HAS_CPU_MIPS32_R1
350 select SYS_HAS_CPU_MIPS32_R2
351 select SYS_HAS_CPU_MIPS64_R1
ed5ba2fb 352 select SYS_SUPPORTS_32BIT_KERNEL
5e83d430
RB
353 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
354 select SYS_SUPPORTS_BIG_ENDIAN
355 select SYS_SUPPORTS_LITTLE_ENDIAN
f638d197
MR
356 help
357 This enables support for the MIPS Technologies SEAD evaluation
358 board.
1da177e4 359
a240a469 360config WR_PPMC
9247857f 361 bool "Wind River PPMC board"
a240a469
MZ
362 select IRQ_CPU
363 select BOOT_ELF32
364 select DMA_NONCOHERENT
365 select HW_HAS_PCI
366 select MIPS_GT64120
367 select SWAP_IO_SPACE
368 select SYS_HAS_CPU_MIPS32_R1
369 select SYS_HAS_CPU_MIPS32_R2
370 select SYS_HAS_CPU_MIPS64_R1
371 select SYS_HAS_CPU_NEVADA
372 select SYS_HAS_CPU_RM7000
373 select SYS_SUPPORTS_32BIT_KERNEL
374 select SYS_SUPPORTS_64BIT_KERNEL
375 select SYS_SUPPORTS_BIG_ENDIAN
376 select SYS_SUPPORTS_LITTLE_ENDIAN
377 help
378 This enables support for the Wind River MIPS32 4KC PPMC evaluation
379 board, which is based on GT64120 bridge chip.
380
5e83d430 381config MIPS_SIM
3fa986fa 382 bool 'MIPS simulator (MIPSsim)'
1da177e4 383 select DMA_NONCOHERENT
1da177e4 384 select IRQ_CPU
7cf8053b
RB
385 select SYS_HAS_CPU_MIPS32_R1
386 select SYS_HAS_CPU_MIPS32_R2
ed5ba2fb 387 select SYS_SUPPORTS_32BIT_KERNEL
5e83d430
RB
388 select SYS_SUPPORTS_BIG_ENDIAN
389 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 390 help
5e83d430
RB
391 This option enables support for MIPS Technologies MIPSsim software
392 emulator.
1da177e4 393
5e83d430 394config MOMENCO_JAGUAR_ATX
3fa986fa 395 bool "Momentum Jaguar board"
5e83d430 396 select BOOT_ELF32
1da177e4
LT
397 select DMA_NONCOHERENT
398 select HW_HAS_PCI
399 select IRQ_CPU
400 select IRQ_CPU_RM7K
5e83d430
RB
401 select IRQ_MV64340
402 select LIMITED_DMA
1da177e4
LT
403 select PCI_MARVELL
404 select RM7000_CPU_SCACHE
405 select SWAP_IO_SPACE
7cf8053b 406 select SYS_HAS_CPU_RM9000
ed5ba2fb
YY
407 select SYS_SUPPORTS_32BIT_KERNEL
408 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 409 select SYS_SUPPORTS_BIG_ENDIAN
1da177e4 410 help
5e83d430 411 The Jaguar ATX is a MIPS-based Single Board Computer (SBC) made by
1da177e4
LT
412 Momentum Computer <http://www.momenco.com/>.
413
5e83d430 414config MOMENCO_OCELOT
3fa986fa 415 bool "Momentum Ocelot board"
1da177e4
LT
416 select DMA_NONCOHERENT
417 select HW_HAS_PCI
418 select IRQ_CPU
5e83d430
RB
419 select IRQ_CPU_RM7K
420 select MIPS_GT64120
1da177e4
LT
421 select RM7000_CPU_SCACHE
422 select SWAP_IO_SPACE
7cf8053b 423 select SYS_HAS_CPU_RM7000
ed5ba2fb
YY
424 select SYS_SUPPORTS_32BIT_KERNEL
425 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 426 select SYS_SUPPORTS_BIG_ENDIAN
1da177e4
LT
427 help
428 The Ocelot is a MIPS-based Single Board Computer (SBC) made by
429 Momentum Computer <http://www.momenco.com/>.
430
431config MOMENCO_OCELOT_3
3fa986fa 432 bool "Momentum Ocelot-3 board"
1da177e4
LT
433 select BOOT_ELF32
434 select DMA_NONCOHERENT
435 select HW_HAS_PCI
436 select IRQ_CPU
437 select IRQ_CPU_RM7K
438 select IRQ_MV64340
439 select PCI_MARVELL
440 select RM7000_CPU_SCACHE
441 select SWAP_IO_SPACE
7cf8053b 442 select SYS_HAS_CPU_RM9000
ed5ba2fb
YY
443 select SYS_SUPPORTS_32BIT_KERNEL
444 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 445 select SYS_SUPPORTS_BIG_ENDIAN
1da177e4
LT
446 help
447 The Ocelot-3 is based off Discovery III System Controller and
448 PMC-Sierra Rm79000 core.
449
5e83d430 450config MOMENCO_OCELOT_C
3fa986fa 451 bool "Momentum Ocelot-C board"
1da177e4
LT
452 select DMA_NONCOHERENT
453 select HW_HAS_PCI
454 select IRQ_CPU
1da177e4 455 select IRQ_MV64340
1da177e4
LT
456 select PCI_MARVELL
457 select RM7000_CPU_SCACHE
458 select SWAP_IO_SPACE
7cf8053b 459 select SYS_HAS_CPU_RM7000
ed5ba2fb
YY
460 select SYS_SUPPORTS_32BIT_KERNEL
461 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 462 select SYS_SUPPORTS_BIG_ENDIAN
1da177e4 463 help
5e83d430 464 The Ocelot is a MIPS-based Single Board Computer (SBC) made by
1da177e4
LT
465 Momentum Computer <http://www.momenco.com/>.
466
5e83d430 467config MOMENCO_OCELOT_G
3fa986fa 468 bool "Momentum Ocelot-G board"
5e83d430 469 select DMA_NONCOHERENT
1da177e4
LT
470 select HW_HAS_PCI
471 select IRQ_CPU
472 select IRQ_CPU_RM7K
5e83d430
RB
473 select PCI_MARVELL
474 select RM7000_CPU_SCACHE
1da177e4 475 select SWAP_IO_SPACE
7cf8053b 476 select SYS_HAS_CPU_RM7000
ed5ba2fb
YY
477 select SYS_SUPPORTS_32BIT_KERNEL
478 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 479 select SYS_SUPPORTS_BIG_ENDIAN
1da177e4 480 help
5e83d430
RB
481 The Ocelot is a MIPS-based Single Board Computer (SBC) made by
482 Momentum Computer <http://www.momenco.com/>.
1da177e4 483
5e83d430 484config MIPS_XXS1500
3fa986fa 485 bool "MyCable XXS1500 board"
5e83d430
RB
486 select DMA_NONCOHERENT
487 select SOC_AU1500
488 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 489
bdf21b18 490config PNX8550_V2PCI
3fa986fa 491 bool "Philips PNX8550 based Viper2-PCI board"
4b29f604 492 depends on BROKEN
bdf21b18
PP
493 select PNX8550
494 select SYS_SUPPORTS_LITTLE_ENDIAN
495
496config PNX8550_JBS
3fa986fa 497 bool "Philips PNX8550 based JBS board"
4b29f604 498 depends on BROKEN
bdf21b18
PP
499 select PNX8550
500 select SYS_SUPPORTS_LITTLE_ENDIAN
501
1da177e4 502config DDB5477
3fa986fa 503 bool "NEC DDB Vrc-5477"
5e83d430 504 select DDB5XXX_COMMON
1da177e4
LT
505 select DMA_NONCOHERENT
506 select HW_HAS_PCI
507 select I8259
508 select IRQ_CPU
7cf8053b 509 select SYS_HAS_CPU_R5432
ed5ba2fb
YY
510 select SYS_SUPPORTS_32BIT_KERNEL
511 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5e83d430 512 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4
LT
513 help
514 This enables support for the R5432-based NEC DDB Vrc-5477,
515 or Rockhopper/SolutionGear boards with R5432/R5500 CPUs.
516
517 Features : kernel debugging, serial terminal, NFS root fs, on-board
518 ether port USB, AC97, PCI, etc.
519
5e83d430 520config MACH_VR41XX
3fa986fa 521 bool "NEC VR41XX-based machines"
7cf8053b 522 select SYS_HAS_CPU_VR41XX
5e83d430
RB
523 select SYS_SUPPORTS_32BIT_KERNEL
524 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
525
526config PMC_YOSEMITE
3fa986fa 527 bool "PMC-Sierra Yosemite eval board"
5e83d430
RB
528 select DMA_COHERENT
529 select HW_HAS_PCI
530 select IRQ_CPU
531 select IRQ_CPU_RM7K
532 select IRQ_CPU_RM9K
533 select SWAP_IO_SPACE
7cf8053b 534 select SYS_HAS_CPU_RM9000
5e83d430
RB
535 select SYS_SUPPORTS_32BIT_KERNEL
536 select SYS_SUPPORTS_64BIT_KERNEL
537 select SYS_SUPPORTS_BIG_ENDIAN
538 select SYS_SUPPORTS_HIGHMEM
e73ea273 539 select SYS_SUPPORTS_SMP
5e83d430
RB
540 help
541 Yosemite is an evaluation board for the RM9000x2 processor
542 manufactured by PMC-Sierra.
1da177e4 543
07119621 544config QEMU
3fa986fa 545 bool "Qemu"
07119621
RB
546 select DMA_COHERENT
547 select GENERIC_ISA_DMA
548 select HAVE_STD_PC_SERIAL_PORT
e5c6c8e4 549 select I8253
07119621
RB
550 select I8259
551 select ISA
552 select SWAP_IO_SPACE
7cf8053b 553 select SYS_HAS_CPU_MIPS32_R1
07119621
RB
554 select SYS_SUPPORTS_32BIT_KERNEL
555 select SYS_SUPPORTS_BIG_ENDIAN
556 help
5e83d430
RB
557 Qemu is a software emulator which among other architectures also
558 can simulate a MIPS32 4Kc system. This patch adds support for the
559 system architecture that currently is being simulated by Qemu. It
560 will eventually be removed again when Qemu has the capability to
561 simulate actual MIPS hardware platforms. More information on Qemu
562 can be found at http://www.linux-mips.org/wiki/Qemu.
07119621 563
355c471f 564config MARKEINS
565 bool "Support for NEC EMMA2RH Mark-eins"
566 select DMA_NONCOHERENT
567 select HW_HAS_PCI
568 select IRQ_CPU
569 select SWAP_IO_SPACE
570 select SYS_SUPPORTS_32BIT_KERNEL
571 select SYS_SUPPORTS_BIG_ENDIAN
572 select SYS_SUPPORTS_LITTLE_ENDIAN
573 select SYS_HAS_CPU_R5000
574 help
575 This enables support for the R5432-based NEC Mark-eins
576 boards with R5500 CPU.
577
1da177e4 578config SGI_IP22
3fa986fa 579 bool "SGI IP22 (Indy/Indigo2)"
1da177e4
LT
580 select ARC
581 select ARC32
582 select BOOT_ELF32
583 select DMA_NONCOHERENT
5e83d430 584 select HW_HAS_EISA
1da177e4
LT
585 select IP22_CPU_SCACHE
586 select IRQ_CPU
aac076f8 587 select NO_ISA if ISA
1da177e4 588 select SWAP_IO_SPACE
7cf8053b
RB
589 select SYS_HAS_CPU_R4X00
590 select SYS_HAS_CPU_R5000
ed5ba2fb
YY
591 select SYS_SUPPORTS_32BIT_KERNEL
592 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 593 select SYS_SUPPORTS_BIG_ENDIAN
e73ea273 594 select SYS_SUPPORTS_SMP
1da177e4
LT
595 help
596 This are the SGI Indy, Challenge S and Indigo2, as well as certain
597 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
598 that runs on these, say Y here.
599
600config SGI_IP27
3fa986fa 601 bool "SGI IP27 (Origin200/2000)"
1da177e4
LT
602 select ARC
603 select ARC64
5e83d430 604 select BOOT_ELF64
1da177e4
LT
605 select DMA_IP27
606 select HW_HAS_PCI
607 select PCI_DOMAINS
7cf8053b 608 select SYS_HAS_CPU_R10000
ed5ba2fb 609 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 610 select SYS_SUPPORTS_BIG_ENDIAN
d8cb4e11 611 select SYS_SUPPORTS_NUMA
1da177e4
LT
612 help
613 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
614 workstations. To compile a Linux kernel that runs on these, say Y
615 here.
616
1da177e4 617config SGI_IP32
3fa986fa 618 bool "SGI IP32 (O2) (EXPERIMENTAL)"
ed5ba2fb 619 depends on EXPERIMENTAL
1da177e4
LT
620 select ARC
621 select ARC32
622 select BOOT_ELF32
623 select OWN_DMA
624 select DMA_IP32
625 select DMA_NONCOHERENT
626 select HW_HAS_PCI
627 select R5000_CPU_SCACHE
628 select RM7000_CPU_SCACHE
7cf8053b
RB
629 select SYS_HAS_CPU_R5000
630 select SYS_HAS_CPU_R10000 if BROKEN
631 select SYS_HAS_CPU_RM7000
dd2f18fe 632 select SYS_HAS_CPU_NEVADA
ed5ba2fb 633 select SYS_SUPPORTS_64BIT_KERNEL
23fbee9d 634 select SYS_SUPPORTS_BIG_ENDIAN
23fbee9d 635 help
5e83d430 636 If you want this kernel to run on SGI O2 workstation, say Y here.
1da177e4 637
9a6dcea1 638config SIBYTE_BIGSUR
3fa986fa 639 bool "Sibyte BCM91480B-BigSur"
9a6dcea1
AI
640 select BOOT_ELF32
641 select DMA_COHERENT
7cf8053b 642 select PCI_DOMAINS
9a6dcea1
AI
643 select SIBYTE_BCM1x80
644 select SWAP_IO_SPACE
7cf8053b 645 select SYS_HAS_CPU_SB1
9a6dcea1
AI
646 select SYS_SUPPORTS_BIG_ENDIAN
647 select SYS_SUPPORTS_LITTLE_ENDIAN
648
5e83d430 649config SIBYTE_SWARM
3fa986fa 650 bool "Sibyte BCM91250A-SWARM"
5e83d430 651 select BOOT_ELF32
1da177e4 652 select DMA_COHERENT
5e83d430
RB
653 select SIBYTE_SB1250
654 select SWAP_IO_SPACE
7cf8053b 655 select SYS_HAS_CPU_SB1
81731f79 656 select SYS_SUPPORTS_BIG_ENDIAN
5e83d430
RB
657 select SYS_SUPPORTS_HIGHMEM
658 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 659
5e83d430 660config SIBYTE_SENTOSA
3fa986fa 661 bool "Sibyte BCM91250E-Sentosa"
5e83d430
RB
662 depends on EXPERIMENTAL
663 select BOOT_ELF32
664 select DMA_COHERENT
665 select SIBYTE_SB1250
666 select SWAP_IO_SPACE
7cf8053b 667 select SYS_HAS_CPU_SB1
5e83d430
RB
668 select SYS_SUPPORTS_BIG_ENDIAN
669 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 670
5e83d430 671config SIBYTE_RHONE
3fa986fa 672 bool "Sibyte BCM91125E-Rhone"
5e83d430
RB
673 depends on EXPERIMENTAL
674 select BOOT_ELF32
675 select DMA_COHERENT
676 select SIBYTE_BCM1125H
677 select SWAP_IO_SPACE
7cf8053b 678 select SYS_HAS_CPU_SB1
5e83d430
RB
679 select SYS_SUPPORTS_BIG_ENDIAN
680 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 681
5e83d430 682config SIBYTE_CARMEL
3fa986fa 683 bool "Sibyte BCM91120x-Carmel"
5e83d430
RB
684 depends on EXPERIMENTAL
685 select BOOT_ELF32
26a940e2 686 select DMA_COHERENT
5e83d430
RB
687 select SIBYTE_BCM1120
688 select SWAP_IO_SPACE
7cf8053b 689 select SYS_HAS_CPU_SB1
5e83d430 690 select SYS_SUPPORTS_BIG_ENDIAN
e3ad1c23
PP
691 select SYS_SUPPORTS_LITTLE_ENDIAN
692
5e83d430 693config SIBYTE_PTSWARM
3fa986fa 694 bool "Sibyte BCM91250PT-PTSWARM"
5e83d430
RB
695 depends on EXPERIMENTAL
696 select BOOT_ELF32
697 select DMA_COHERENT
698 select SIBYTE_SB1250
699 select SWAP_IO_SPACE
7cf8053b 700 select SYS_HAS_CPU_SB1
5e83d430
RB
701 select SYS_SUPPORTS_BIG_ENDIAN
702 select SYS_SUPPORTS_HIGHMEM
703 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 704
5e83d430 705config SIBYTE_LITTLESUR
3fa986fa 706 bool "Sibyte BCM91250C2-LittleSur"
5e83d430
RB
707 depends on EXPERIMENTAL
708 select BOOT_ELF32
709 select DMA_COHERENT
710 select SIBYTE_SB1250
711 select SWAP_IO_SPACE
7cf8053b 712 select SYS_HAS_CPU_SB1
5e83d430
RB
713 select SYS_SUPPORTS_BIG_ENDIAN
714 select SYS_SUPPORTS_HIGHMEM
715 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 716
5e83d430 717config SIBYTE_CRHINE
3fa986fa 718 bool "Sibyte BCM91120C-CRhine"
5e83d430
RB
719 depends on EXPERIMENTAL
720 select BOOT_ELF32
721 select DMA_COHERENT
722 select SIBYTE_BCM1120
723 select SWAP_IO_SPACE
7cf8053b 724 select SYS_HAS_CPU_SB1
5e83d430
RB
725 select SYS_SUPPORTS_BIG_ENDIAN
726 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 727
5e83d430 728config SIBYTE_CRHONE
3fa986fa 729 bool "Sibyte BCM91125C-CRhone"
5e83d430
RB
730 depends on EXPERIMENTAL
731 select BOOT_ELF32
732 select DMA_COHERENT
733 select SIBYTE_BCM1125
734 select SWAP_IO_SPACE
7cf8053b 735 select SYS_HAS_CPU_SB1
5e83d430
RB
736 select SYS_SUPPORTS_BIG_ENDIAN
737 select SYS_SUPPORTS_HIGHMEM
738 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 739
1da177e4 740config SNI_RM200_PCI
3fa986fa 741 bool "SNI RM200 PCI"
4a0312fc
TB
742 select ARC if CPU_LITTLE_ENDIAN
743 select ARC32 if CPU_LITTLE_ENDIAN
61ed242d 744 select ARCH_MAY_HAVE_PC_FDC
1da177e4
LT
745 select BOOT_ELF32
746 select DMA_NONCOHERENT
747 select GENERIC_ISA_DMA
748 select HAVE_STD_PC_SERIAL_PORT
5e83d430 749 select HW_HAS_EISA
1da177e4 750 select HW_HAS_PCI
e5c6c8e4 751 select I8253
1da177e4
LT
752 select I8259
753 select ISA
4a0312fc 754 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
7cf8053b 755 select SYS_HAS_CPU_R4X00
4a0312fc
TB
756 select SYS_HAS_CPU_R5000
757 select R5000_CPU_SCACHE
ed5ba2fb
YY
758 select SYS_SUPPORTS_32BIT_KERNEL
759 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
4a0312fc 760 select SYS_SUPPORTS_BIG_ENDIAN
797798c1 761 select SYS_SUPPORTS_HIGHMEM
5e83d430 762 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4
LT
763 help
764 The SNI RM200 PCI was a MIPS-based platform manufactured by Siemens
765 Nixdorf Informationssysteme (SNI), parent company of Pyramid
766 Technology and now in turn merged with Fujitsu. Say Y here to
767 support this machine type.
768
5e83d430 769config TOSHIBA_JMR3927
3fa986fa 770 bool "Toshiba JMR-TX3927 board"
5e83d430
RB
771 select DMA_NONCOHERENT
772 select HW_HAS_PCI
773 select MIPS_TX3927
774 select SWAP_IO_SPACE
7cf8053b 775 select SYS_HAS_CPU_TX39XX
5e83d430
RB
776 select SYS_SUPPORTS_32BIT_KERNEL
777 select SYS_SUPPORTS_BIG_ENDIAN
778 select TOSHIBA_BOARDS
779
1da177e4 780config TOSHIBA_RBTX4927
3fa986fa 781 bool "Toshiba TBTX49[23]7 board"
1da177e4
LT
782 select DMA_NONCOHERENT
783 select HAS_TXX9_SERIAL
784 select HW_HAS_PCI
785 select I8259
786 select ISA
787 select SWAP_IO_SPACE
7cf8053b 788 select SYS_HAS_CPU_TX49XX
ed5ba2fb
YY
789 select SYS_SUPPORTS_32BIT_KERNEL
790 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430
RB
791 select SYS_SUPPORTS_BIG_ENDIAN
792 select TOSHIBA_BOARDS
1da177e4
LT
793 help
794 This Toshiba board is based on the TX4927 processor. Say Y here to
795 support this machine type
796
5e83d430 797config TOSHIBA_RBTX4938
3fa986fa 798 bool "Toshiba RBTX4938 board"
5e83d430
RB
799 select HAVE_STD_PC_SERIAL_PORT
800 select DMA_NONCOHERENT
801 select GENERIC_ISA_DMA
802 select HAS_TXX9_SERIAL
803 select HW_HAS_PCI
804 select I8259
805 select ISA
806 select SWAP_IO_SPACE
7cf8053b 807 select SYS_HAS_CPU_TX49XX
5e83d430
RB
808 select SYS_SUPPORTS_32BIT_KERNEL
809 select SYS_SUPPORTS_LITTLE_ENDIAN
810 select SYS_SUPPORTS_BIG_ENDIAN
811 select TOSHIBA_BOARDS
812 help
813 This Toshiba board is based on the TX4938 processor. Say Y here to
814 support this machine type
815
816endchoice
1da177e4 817
5e83d430
RB
818source "arch/mips/ddb5xxx/Kconfig"
819source "arch/mips/gt64120/ev64120/Kconfig"
820source "arch/mips/jazz/Kconfig"
821source "arch/mips/ite-boards/Kconfig"
822source "arch/mips/lasat/Kconfig"
823source "arch/mips/momentum/Kconfig"
824source "arch/mips/pmc-sierra/Kconfig"
29c48699 825source "arch/mips/sgi-ip27/Kconfig"
38b18f72 826source "arch/mips/sibyte/Kconfig"
5e83d430 827source "arch/mips/tx4927/Kconfig"
23fbee9d 828source "arch/mips/tx4938/Kconfig"
5e83d430 829source "arch/mips/vr41xx/Kconfig"
bdf21b18 830source "arch/mips/philips/pnx8550/common/Kconfig"
e87dddeb 831source "arch/mips/cobalt/Kconfig"
38b18f72 832
5e83d430
RB
833endmenu
834
1da177e4
LT
835config RWSEM_GENERIC_SPINLOCK
836 bool
837 default y
838
839config RWSEM_XCHGADD_ALGORITHM
840 bool
841
3c9ee7ef
AM
842config GENERIC_FIND_NEXT_BIT
843 bool
844 default y
845
846config GENERIC_HWEIGHT
847 bool
848 default y
849
1da177e4
LT
850config GENERIC_CALIBRATE_DELAY
851 bool
852 default y
853
1cc89038
AN
854config SCHED_NO_NO_OMIT_FRAME_POINTER
855 bool
856 default y
857
1da177e4
LT
858#
859# Select some configuration options automatically based on user selections.
860#
861config ARC
862 bool
1da177e4 863
61ed242d
RB
864config ARCH_MAY_HAVE_PC_FDC
865 bool
866
4ce588cd 867config DMA_COHERENT
1da177e4
LT
868 bool
869
4ce588cd 870config DMA_IP27
1da177e4
LT
871 bool
872
4ce588cd
RB
873config DMA_IP32
874 bool
875 select DMA_NEED_PCI_MAP_STATE
876
877config DMA_NONCOHERENT
878 bool
879 select DMA_NEED_PCI_MAP_STATE
880
881config DMA_NEED_PCI_MAP_STATE
1da177e4
LT
882 bool
883
5e83d430
RB
884config OWN_DMA
885 bool
886
1da177e4
LT
887config EARLY_PRINTK
888 bool
1da177e4
LT
889
890config GENERIC_ISA_DMA
891 bool
1da177e4
LT
892
893config I8259
894 bool
1da177e4
LT
895
896config LIMITED_DMA
897 bool
898 select HIGHMEM
797798c1 899 select SYS_SUPPORTS_HIGHMEM
1da177e4
LT
900
901config MIPS_BONITO64
902 bool
1da177e4
LT
903
904config MIPS_MSC
905 bool
1da177e4
LT
906
907config MIPS_NILE4
908 bool
1da177e4
LT
909
910config MIPS_DISABLE_OBSOLETE_IDE
911 bool
912
5e83d430
RB
913#
914# Endianess selection. Suffiently obscure so many users don't know what to
915# answer,so we try hard to limit the available choices. Also the use of a
916# choice statement should be more obvious to the user.
917#
918choice
919 prompt "Endianess selection"
1da177e4
LT
920 help
921 Some MIPS machines can be configured for either little or big endian
5e83d430
RB
922 byte order. These modes require different kernels and a different
923 Linux distribution. In general there is one prefered byteorder for a
924 particular system but some systems are just as commonly used in the
925 one or the other endianess.
926
927config CPU_BIG_ENDIAN
928 bool "Big endian"
929 depends on SYS_SUPPORTS_BIG_ENDIAN
930
931config CPU_LITTLE_ENDIAN
932 bool "Little endian"
933 depends on SYS_SUPPORTS_LITTLE_ENDIAN
934 help
935
936endchoice
937
938config SYS_SUPPORTS_BIG_ENDIAN
939 bool
940
941config SYS_SUPPORTS_LITTLE_ENDIAN
942 bool
1da177e4
LT
943
944config IRQ_CPU
945 bool
946
947config IRQ_CPU_RM7K
948 bool
949
5e83d430
RB
950config IRQ_CPU_RM9K
951 bool
952
1da177e4
LT
953config IRQ_MV64340
954 bool
955
956config DDB5XXX_COMMON
957 bool
1da177e4
LT
958
959config MIPS_BOARDS_GEN
960 bool
1da177e4
LT
961
962config MIPS_GT64111
963 bool
1da177e4
LT
964
965config MIPS_GT64120
966 bool
1da177e4
LT
967
968config MIPS_TX3927
969 bool
1da177e4 970 select HAS_TXX9_SERIAL
1da177e4
LT
971
972config PCI_MARVELL
973 bool
974
975config ITE_BOARD_GEN
976 bool
5e83d430
RB
977
978config SOC_AU1000
979 bool
980 select SOC_AU1X00
981
982config SOC_AU1100
983 bool
984 select SOC_AU1X00
985
986config SOC_AU1500
987 bool
988 select SOC_AU1X00
989
990config SOC_AU1550
991 bool
992 select SOC_AU1X00
993
994config SOC_AU1200
995 bool
996 select SOC_AU1X00
997
998config SOC_AU1X00
999 bool
7cf8053b 1000 select SYS_HAS_CPU_MIPS32_R1
5e83d430 1001 select SYS_SUPPORTS_32BIT_KERNEL
1da177e4 1002
bdf21b18
PP
1003config PNX8550
1004 bool
1005 select SOC_PNX8550
1006
1007config SOC_PNX8550
1008 bool
bdf21b18
PP
1009 select DMA_NONCOHERENT
1010 select HW_HAS_PCI
b8c2a77c 1011 select SYS_HAS_CPU_MIPS32_R1
7cf8053b 1012 select SYS_SUPPORTS_32BIT_KERNEL
bdf21b18 1013
1da177e4
LT
1014config SWAP_IO_SPACE
1015 bool
1016
355c471f 1017config EMMA2RH
1018 bool
1019 depends on MARKEINS
1020 default y
1021
1da177e4
LT
1022#
1023# Unfortunately not all GT64120 systems run the chip at the same clock.
1024# As the user for the clock rate and try to minimize the available options.
1025#
1026choice
1027 prompt "Galileo Chip Clock"
1028 #default SYSCLK_83 if MIPS_EV64120
1029 depends on MIPS_EV64120 || MOMENCO_OCELOT || MOMENCO_OCELOT_G
1030 default SYSCLK_83 if MIPS_EV64120
1031 default SYSCLK_100 if MOMENCO_OCELOT || MOMENCO_OCELOT_G
1032
1033config SYSCLK_75
1034 bool "75" if MIPS_EV64120
1035
1036config SYSCLK_83
1037 bool "83.3" if MIPS_EV64120
1038
1039config SYSCLK_100
1040 bool "100" if MIPS_EV64120 || MOMENCO_OCELOT || MOMENCO_OCELOT_G
1041
1042endchoice
1043
5e83d430
RB
1044config ARC32
1045 bool
1046
1da177e4
LT
1047config AU1X00_USB_DEVICE
1048 bool
1049 depends on MIPS_PB1500 || MIPS_PB1100 || MIPS_PB1000
1050 default n
1051
1052config MIPS_GT96100
1053 bool
5e83d430 1054 select MIPS_GT64120
1da177e4
LT
1055
1056config IT8172_CIR
1057 bool
1058 depends on MIPS_ITE8172 || MIPS_IVR
1059 default y
1060
1061config IT8712
1062 bool
1063 depends on MIPS_ITE8172
1064 default y
1065
1066config BOOT_ELF32
1067 bool
1da177e4
LT
1068
1069config MIPS_L1_CACHE_SHIFT
1070 int
1071 default "4" if MACH_DECSTATION
1072 default "7" if SGI_IP27
1073 default "5"
1074
1da177e4
LT
1075config HAVE_STD_PC_SERIAL_PORT
1076 bool
1077
1da177e4
LT
1078config ARC_CONSOLE
1079 bool "ARC console support"
1080 depends on SGI_IP22 || SNI_RM200_PCI
1081
1082config ARC_MEMORY
1083 bool
1084 depends on MACH_JAZZ || SNI_RM200_PCI || SGI_IP32
1085 default y
1086
1087config ARC_PROMLIB
1088 bool
1089 depends on MACH_JAZZ || SNI_RM200_PCI || SGI_IP22 || SGI_IP32
1090 default y
1091
1092config ARC64
1093 bool
1da177e4
LT
1094
1095config BOOT_ELF64
1096 bool
1da177e4 1097
1da177e4
LT
1098config TOSHIBA_BOARDS
1099 bool
1da177e4
LT
1100
1101menu "CPU selection"
1102
1103choice
1104 prompt "CPU type"
1105 default CPU_R4X00
1106
6e760c8d
RB
1107config CPU_MIPS32_R1
1108 bool "MIPS32 Release 1"
7cf8053b 1109 depends on SYS_HAS_CPU_MIPS32_R1
f7062ddb 1110 select CPU_HAS_LLSC
6e760c8d 1111 select CPU_HAS_PREFETCH
797798c1 1112 select CPU_SUPPORTS_32BIT_KERNEL
ec28f306 1113 select CPU_SUPPORTS_HIGHMEM
1e5f1caa 1114 help
5e83d430 1115 Choose this option to build a kernel for release 1 or later of the
1e5f1caa
RB
1116 MIPS32 architecture. Most modern embedded systems with a 32-bit
1117 MIPS processor are based on a MIPS32 processor. If you know the
1118 specific type of processor in your system, choose those that one
1119 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1120 Release 2 of the MIPS32 architecture is available since several
1121 years so chances are you even have a MIPS32 Release 2 processor
1122 in which case you should choose CPU_MIPS32_R2 instead for better
1123 performance.
1124
1125config CPU_MIPS32_R2
1126 bool "MIPS32 Release 2"
7cf8053b 1127 depends on SYS_HAS_CPU_MIPS32_R2
f7062ddb 1128 select CPU_HAS_LLSC
1e5f1caa 1129 select CPU_HAS_PREFETCH
797798c1 1130 select CPU_SUPPORTS_32BIT_KERNEL
ec28f306 1131 select CPU_SUPPORTS_HIGHMEM
6e760c8d 1132 help
5e83d430 1133 Choose this option to build a kernel for release 2 or later of the
6e760c8d
RB
1134 MIPS32 architecture. Most modern embedded systems with a 32-bit
1135 MIPS processor are based on a MIPS32 processor. If you know the
1136 specific type of processor in your system, choose those that one
1137 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1138
1139config CPU_MIPS64_R1
1140 bool "MIPS64 Release 1"
7cf8053b 1141 depends on SYS_HAS_CPU_MIPS64_R1
f7062ddb 1142 select CPU_HAS_LLSC
797798c1 1143 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1144 select CPU_SUPPORTS_32BIT_KERNEL
1145 select CPU_SUPPORTS_64BIT_KERNEL
ec28f306 1146 select CPU_SUPPORTS_HIGHMEM
6e760c8d
RB
1147 help
1148 Choose this option to build a kernel for release 1 or later of the
1149 MIPS64 architecture. Many modern embedded systems with a 64-bit
1150 MIPS processor are based on a MIPS64 processor. If you know the
1151 specific type of processor in your system, choose those that one
1152 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1e5f1caa
RB
1153 Release 2 of the MIPS64 architecture is available since several
1154 years so chances are you even have a MIPS64 Release 2 processor
1155 in which case you should choose CPU_MIPS64_R2 instead for better
1156 performance.
1157
1158config CPU_MIPS64_R2
1159 bool "MIPS64 Release 2"
7cf8053b 1160 depends on SYS_HAS_CPU_MIPS64_R2
f7062ddb 1161 select CPU_HAS_LLSC
797798c1 1162 select CPU_HAS_PREFETCH
1e5f1caa
RB
1163 select CPU_SUPPORTS_32BIT_KERNEL
1164 select CPU_SUPPORTS_64BIT_KERNEL
ec28f306 1165 select CPU_SUPPORTS_HIGHMEM
1e5f1caa
RB
1166 help
1167 Choose this option to build a kernel for release 2 or later of the
1168 MIPS64 architecture. Many modern embedded systems with a 64-bit
1169 MIPS processor are based on a MIPS64 processor. If you know the
1170 specific type of processor in your system, choose those that one
1171 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1da177e4
LT
1172
1173config CPU_R3000
1174 bool "R3000"
7cf8053b 1175 depends on SYS_HAS_CPU_R3000
f7062ddb 1176 select CPU_HAS_WB
ed5ba2fb 1177 select CPU_SUPPORTS_32BIT_KERNEL
797798c1 1178 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1179 help
1180 Please make sure to pick the right CPU type. Linux/MIPS is not
1181 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1182 *not* work on R4000 machines and vice versa. However, since most
1183 of the supported machines have an R4000 (or similar) CPU, R4x00
1184 might be a safe bet. If the resulting kernel does not work,
1185 try to recompile with R3000.
1186
1187config CPU_TX39XX
1188 bool "R39XX"
7cf8053b 1189 depends on SYS_HAS_CPU_TX39XX
ed5ba2fb 1190 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1191
1192config CPU_VR41XX
1193 bool "R41xx"
7cf8053b 1194 depends on SYS_HAS_CPU_VR41XX
ed5ba2fb
YY
1195 select CPU_SUPPORTS_32BIT_KERNEL
1196 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4 1197 help
5e83d430 1198 The options selects support for the NEC VR4100 series of processors.
1da177e4
LT
1199 Only choose this option if you have one of these processors as a
1200 kernel built with this option will not run on any other type of
1201 processor or vice versa.
1202
1203config CPU_R4300
1204 bool "R4300"
7cf8053b 1205 depends on SYS_HAS_CPU_R4300
f7062ddb 1206 select CPU_HAS_LLSC
ed5ba2fb
YY
1207 select CPU_SUPPORTS_32BIT_KERNEL
1208 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1209 help
1210 MIPS Technologies R4300-series processors.
1211
1212config CPU_R4X00
1213 bool "R4x00"
7cf8053b 1214 depends on SYS_HAS_CPU_R4X00
f7062ddb 1215 select CPU_HAS_LLSC
ed5ba2fb
YY
1216 select CPU_SUPPORTS_32BIT_KERNEL
1217 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1218 help
1219 MIPS Technologies R4000-series processors other than 4300, including
1220 the R4000, R4400, R4600, and 4700.
1221
1222config CPU_TX49XX
1223 bool "R49XX"
7cf8053b 1224 depends on SYS_HAS_CPU_TX49XX
f7062ddb 1225 select CPU_HAS_LLSC
de862b48 1226 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1227 select CPU_SUPPORTS_32BIT_KERNEL
1228 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1229
1230config CPU_R5000
1231 bool "R5000"
7cf8053b 1232 depends on SYS_HAS_CPU_R5000
f7062ddb 1233 select CPU_HAS_LLSC
ed5ba2fb
YY
1234 select CPU_SUPPORTS_32BIT_KERNEL
1235 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1236 help
1237 MIPS Technologies R5000-series processors other than the Nevada.
1238
1239config CPU_R5432
1240 bool "R5432"
7cf8053b 1241 depends on SYS_HAS_CPU_R5432
f7062ddb 1242 select CPU_HAS_LLSC
5e83d430
RB
1243 select CPU_SUPPORTS_32BIT_KERNEL
1244 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1245
1246config CPU_R6000
1247 bool "R6000"
ed5ba2fb 1248 depends on EXPERIMENTAL
f7062ddb 1249 select CPU_HAS_LLSC
7cf8053b 1250 depends on SYS_HAS_CPU_R6000
ed5ba2fb 1251 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1252 help
1253 MIPS Technologies R6000 and R6000A series processors. Note these
1254 processors are extremly rare and the support for them is incomplete.
1255
1256config CPU_NEVADA
1257 bool "RM52xx"
7cf8053b 1258 depends on SYS_HAS_CPU_NEVADA
f7062ddb 1259 select CPU_HAS_LLSC
ed5ba2fb
YY
1260 select CPU_SUPPORTS_32BIT_KERNEL
1261 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1262 help
1263 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1264
1265config CPU_R8000
1266 bool "R8000"
ed5ba2fb 1267 depends on EXPERIMENTAL
7cf8053b 1268 depends on SYS_HAS_CPU_R8000
f7062ddb 1269 select CPU_HAS_LLSC
5e83d430 1270 select CPU_HAS_PREFETCH
ed5ba2fb 1271 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1272 help
1273 MIPS Technologies R8000 processors. Note these processors are
1274 uncommon and the support for them is incomplete.
1275
1276config CPU_R10000
1277 bool "R10000"
7cf8053b 1278 depends on SYS_HAS_CPU_R10000
f7062ddb 1279 select CPU_HAS_LLSC
5e83d430 1280 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1281 select CPU_SUPPORTS_32BIT_KERNEL
1282 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1283 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1284 help
1285 MIPS Technologies R10000-series processors.
1286
1287config CPU_RM7000
1288 bool "RM7000"
7cf8053b 1289 depends on SYS_HAS_CPU_RM7000
f7062ddb 1290 select CPU_HAS_LLSC
5e83d430 1291 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1292 select CPU_SUPPORTS_32BIT_KERNEL
1293 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1294 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1295
1296config CPU_RM9000
1297 bool "RM9000"
7cf8053b 1298 depends on SYS_HAS_CPU_RM9000
f7062ddb 1299 select CPU_HAS_LLSC
5e83d430 1300 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1301 select CPU_SUPPORTS_32BIT_KERNEL
1302 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1303 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1304
1305config CPU_SB1
1306 bool "SB1"
7cf8053b 1307 depends on SYS_HAS_CPU_SB1
f7062ddb 1308 select CPU_HAS_LLSC
ed5ba2fb
YY
1309 select CPU_SUPPORTS_32BIT_KERNEL
1310 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1311 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1312
1313endchoice
1314
7cf8053b
RB
1315config SYS_HAS_CPU_MIPS32_R1
1316 bool
1317
1318config SYS_HAS_CPU_MIPS32_R2
1319 bool
1320
1321config SYS_HAS_CPU_MIPS64_R1
1322 bool
1323
1324config SYS_HAS_CPU_MIPS64_R2
1325 bool
1326
1327config SYS_HAS_CPU_R3000
1328 bool
1329
1330config SYS_HAS_CPU_TX39XX
1331 bool
1332
1333config SYS_HAS_CPU_VR41XX
1334 bool
1335
1336config SYS_HAS_CPU_R4300
1337 bool
1338
1339config SYS_HAS_CPU_R4X00
1340 bool
1341
1342config SYS_HAS_CPU_TX49XX
1343 bool
1344
1345config SYS_HAS_CPU_R5000
1346 bool
1347
1348config SYS_HAS_CPU_R5432
1349 bool
1350
1351config SYS_HAS_CPU_R6000
1352 bool
1353
1354config SYS_HAS_CPU_NEVADA
1355 bool
1356
1357config SYS_HAS_CPU_R8000
1358 bool
1359
1360config SYS_HAS_CPU_R10000
1361 bool
1362
1363config SYS_HAS_CPU_RM7000
1364 bool
1365
1366config SYS_HAS_CPU_RM9000
1367 bool
1368
1369config SYS_HAS_CPU_SB1
1370 bool
1371
5e83d430
RB
1372endmenu
1373
1374#
1375# These two indicate any levelof the MIPS32 and MIPS64 architecture
1376#
1377config CPU_MIPS32
1378 bool
1379 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1380
1381config CPU_MIPS64
1382 bool
1383 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1384
1385#
1386# These two indicate the revision of the architecture, either 32 bot 64 bit.
1387#
1388config CPU_MIPSR1
1389 bool
1390 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1391
1392config CPU_MIPSR2
1393 bool
1394 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
1395
1396config SYS_SUPPORTS_32BIT_KERNEL
1397 bool
1398config SYS_SUPPORTS_64BIT_KERNEL
1399 bool
1400config CPU_SUPPORTS_32BIT_KERNEL
1401 bool
1402config CPU_SUPPORTS_64BIT_KERNEL
1403 bool
1404
1405menu "Kernel type"
1406
1407choice
1408
1409 prompt "Kernel code model"
1410 help
1411 You should only select this option if you have a workload that
1412 actually benefits from 64-bit processing or if your machine has
1413 large memory. You will only be presented a single option in this
1414 menu if your system does not support both 32-bit and 64-bit kernels.
1415
1416config 32BIT
1417 bool "32-bit kernel"
1418 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1419 select TRAD_SIGNALS
1420 help
1421 Select this option if you want to build a 32-bit kernel.
1422config 64BIT
1423 bool "64-bit kernel"
1424 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1425 help
1426 Select this option if you want to build a 64-bit kernel.
1427
1428endchoice
1429
1da177e4
LT
1430choice
1431 prompt "Kernel page size"
1432 default PAGE_SIZE_4KB
1433
1434config PAGE_SIZE_4KB
1435 bool "4kB"
1436 help
1437 This option select the standard 4kB Linux page size. On some
1438 R3000-family processors this is the only available page size. Using
1439 4kB page size will minimize memory consumption and is therefore
1440 recommended for low memory systems.
1441
1442config PAGE_SIZE_8KB
1443 bool "8kB"
1444 depends on EXPERIMENTAL && CPU_R8000
1445 help
1446 Using 8kB page size will result in higher performance kernel at
1447 the price of higher memory consumption. This option is available
1448 only on the R8000 processor. Not that at the time of this writing
1449 this option is still high experimental; there are also issues with
1450 compatibility of user applications.
1451
1452config PAGE_SIZE_16KB
1453 bool "16kB"
714bfad6 1454 depends on !CPU_R3000 && !CPU_TX39XX
1da177e4
LT
1455 help
1456 Using 16kB page size will result in higher performance kernel at
1457 the price of higher memory consumption. This option is available on
714bfad6
RB
1458 all non-R3000 family processors. Note that you will need a suitable
1459 Linux distribution to support this.
1da177e4
LT
1460
1461config PAGE_SIZE_64KB
1462 bool "64kB"
1463 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1464 help
1465 Using 64kB page size will result in higher performance kernel at
1466 the price of higher memory consumption. This option is available on
1467 all non-R3000 family processor. Not that at the time of this
714bfad6 1468 writing this option is still high experimental.
1da177e4
LT
1469
1470endchoice
1471
1472config BOARD_SCACHE
1473 bool
1474
1475config IP22_CPU_SCACHE
1476 bool
1477 select BOARD_SCACHE
1478
1479config R5000_CPU_SCACHE
1480 bool
1481 select BOARD_SCACHE
1482
1483config RM7000_CPU_SCACHE
1484 bool
1485 select BOARD_SCACHE
1486
1487config SIBYTE_DMA_PAGEOPS
1488 bool "Use DMA to clear/copy pages"
1489 depends on CPU_SB1
1490 help
1491 Instead of using the CPU to zero and copy pages, use a Data Mover
1492 channel. These DMA channels are otherwise unused by the standard
1493 SiByte Linux port. Seems to give a small performance benefit.
1494
1495config CPU_HAS_PREFETCH
c8094b53 1496 bool
1da177e4 1497
e01402b1
RB
1498config MIPS_MT
1499 bool "Enable MIPS MT"
a620dbe3
RB
1500 depends on CPU_MIPS32_R2
1501 #depends on CPU_MIPS64_R2 # later ...
e01402b1 1502
340ee4b9
RB
1503choice
1504 prompt "MIPS MT options"
1505 depends on MIPS_MT
1506
41c594ab
RB
1507config MIPS_MT_SMTC
1508 bool "SMTC: Use all TCs on all VPEs for SMP"
f7062ddb
RB
1509 select CPU_MIPSR2_IRQ_VI
1510 select CPU_MIPSR2_SRS
41c594ab
RB
1511 select SMP
1512
340ee4b9
RB
1513config MIPS_MT_SMP
1514 bool "Use 1 TC on each available VPE for SMP"
1515 select SMP
1516
e01402b1
RB
1517config MIPS_VPE_LOADER
1518 bool "VPE loader support."
1519 depends on MIPS_MT
1520 help
1521 Includes a loader for loading an elf relocatable object
1522 onto another VPE and running it.
1523
340ee4b9
RB
1524endchoice
1525
f088fc84
RB
1526config MIPS_MT_FPAFF
1527 bool "Dynamic FPU affinity for FP-intensive threads"
1528 depends on MIPS_MT
1529 default y
1530
e01402b1
RB
1531config MIPS_VPE_LOADER_TOM
1532 bool "Load VPE program into memory hidden from linux"
1533 depends on MIPS_VPE_LOADER
1534 default y
1535 help
1536 The loader can use memory that is present but has been hidden from
1537 Linux using the kernel command line option "mem=xxMB". It's up to
1538 you to ensure the amount you put in the option and the space your
1539 program requires is less or equal to the amount physically present.
1540
1541# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1542config MIPS_VPE_APSP_API
5e83d430
RB
1543 bool "Enable support for AP/SP API (RTLX)"
1544 depends on MIPS_VPE_LOADER
1545 help
e01402b1 1546
2600990e
RB
1547config MIPS_APSP_KSPD
1548 bool "Enable KSPD"
1549 depends on MIPS_VPE_APSP_API
1550 default y
1551 help
1552 KSPD is a kernel daemon that accepts syscall requests from the SP
1553 side, actions them and returns the results. It also handles the
1554 "exit" syscall notifying other kernel modules the SP program is
1555 exiting. You probably want to say yes here.
1556
1da177e4
LT
1557config SB1_PASS_1_WORKAROUNDS
1558 bool
1559 depends on CPU_SB1_PASS_1
1560 default y
1561
1562config SB1_PASS_2_WORKAROUNDS
1563 bool
1564 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1565 default y
1566
1567config SB1_PASS_2_1_WORKAROUNDS
1568 bool
1569 depends on CPU_SB1 && CPU_SB1_PASS_2
1570 default y
1571
1572config 64BIT_PHYS_ADDR
1573 bool "Support for 64-bit physical address space"
948928ad 1574 depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT
1da177e4 1575
1da177e4 1576config CPU_HAS_LLSC
f7062ddb 1577 bool
1da177e4 1578
1da177e4 1579config CPU_HAS_WB
f7062ddb 1580 bool
e01402b1
RB
1581
1582config CPU_MIPSR2_IRQ_VI
1583 bool "Vectored interrupt mode"
f7062ddb 1584 depends on CPU_MIPSR2
e01402b1
RB
1585 help
1586 Vectored interrupt mode allowing faster dispatching of interrupts.
1587 The board support code needs to be written to take advantage of this
1588 mode. Compatibility code is included to allow the kernel to run on
1589 a CPU that does not support vectored interrupts. It's safe to
1590 say Y here.
1591
1592config CPU_MIPSR2_IRQ_EI
1593 bool "External interrupt controller mode"
f7062ddb 1594 depends on CPU_MIPSR2
e01402b1
RB
1595 help
1596 Extended interrupt mode takes advantage of an external interrupt
1597 controller to allow fast dispatching from many possible interrupt
1598 sources. Say N unless you know that external interrupt support is
1599 required.
1600
1601config CPU_MIPSR2_SRS
1602 bool "Make shadow set registers available for interrupt handlers"
1603 depends on CPU_MIPSR2_IRQ_VI || CPU_MIPSR2_IRQ_EI
1604 help
1605 Allow the kernel to use shadow register sets for fast interrupts.
1606 Interrupt handlers must be specially written to use shadow sets.
1607 Say N unless you know that shadow register set upport is needed.
e01402b1 1608
1da177e4
LT
1609config CPU_HAS_SYNC
1610 bool
1611 depends on !CPU_R3000
1612 default y
1613
797798c1
RB
1614#
1615# Use the generic interrupt handling code in kernel/irq/:
1616#
1617config GENERIC_HARDIRQS
1618 bool
1619 default y
1620
1621config GENERIC_IRQ_PROBE
1622 bool
1623 default y
1624
1da177e4
LT
1625#
1626# - Highmem only makes sense for the 32-bit kernel.
1627# - The current highmem code will only work properly on physically indexed
1628# caches such as R3000, SB1, R7000 or those that look like they're virtually
1629# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1630# moment we protect the user and offer the highmem option only on machines
1631# where it's known to be safe. This will not offer highmem on a few systems
1632# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1633# indexed CPUs but we're playing safe.
797798c1
RB
1634# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1635# know they might have memory configurations that could make use of highmem
1636# support.
1da177e4
LT
1637#
1638config HIGHMEM
1639 bool "High Memory Support"
797798c1
RB
1640 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1641
1642config CPU_SUPPORTS_HIGHMEM
1643 bool
1644
1645config SYS_SUPPORTS_HIGHMEM
1646 bool
1da177e4 1647
b4819b59
YY
1648config ARCH_FLATMEM_ENABLE
1649 def_bool y
1650 depends on !NUMA
1651
d8cb4e11
RB
1652config ARCH_DISCONTIGMEM_ENABLE
1653 bool
1654 default y if SGI_IP27
1655 help
1656 Say Y to upport efficient handling of discontiguous physical memory,
1657 for architectures which are either NUMA (Non-Uniform Memory Access)
1658 or have huge holes in the physical address space for other reasons.
1659 See <file:Documentation/vm/numa> for more.
1660
1661config NUMA
1662 bool "NUMA Support"
1663 depends on SYS_SUPPORTS_NUMA
1664 help
1665 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1666 Access). This option improves performance on systems with more
1667 than two nodes; on two node systems it is generally better to
1668 leave it disabled; on single node systems disable this option
1669 disabled.
1670
1671config SYS_SUPPORTS_NUMA
1672 bool
1673
c80d79d7
YG
1674config NODES_SHIFT
1675 int
1676 default "6"
1677 depends on NEED_MULTIPLE_NODES
1678
b4819b59
YY
1679source "mm/Kconfig"
1680
1da177e4
LT
1681config SMP
1682 bool "Multi-Processing support"
e73ea273
RB
1683 depends on SYS_SUPPORTS_SMP
1684 help
1da177e4
LT
1685 This enables support for systems with more than one CPU. If you have
1686 a system with only one CPU, like most personal computers, say N. If
1687 you have a system with more than one CPU, say Y.
1688
1689 If you say N here, the kernel will run on single and multiprocessor
1690 machines, but will use only one CPU of a multiprocessor machine. If
1691 you say Y here, the kernel will run on many, but not all,
1692 singleprocessor machines. On a singleprocessor machine, the kernel
1693 will run faster if you say N here.
1694
1695 People using multiprocessor machines who say Y here should also say
1696 Y to "Enhanced Real Time Clock Support", below.
1697
1698 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
1699 available at <http://www.tldp.org/docs.html#howto>.
1700
1701 If you don't know what to do here, say N.
1702
e73ea273
RB
1703config SYS_SUPPORTS_SMP
1704 bool
1705
1da177e4
LT
1706config NR_CPUS
1707 int "Maximum number of CPUs (2-64)"
1708 range 2 64
1709 depends on SMP
1710 default "64" if SGI_IP27
1711 default "2"
1712 help
1713 This allows you to specify the maximum number of CPUs which this
1714 kernel will support. The maximum supported value is 32 for 32-bit
1715 kernel and 64 for 64-bit kernels; the minimum value which makes
1716 sense is 2.
1717
1718 This is purely to save memory - each supported CPU adds
1719 approximately eight kilobytes to the kernel image.
1720
1723b4a3
AN
1721#
1722# Timer Interrupt Frequency Configuration
1723#
1724
1725choice
1726 prompt "Timer frequency"
1727 default HZ_250
1728 help
1729 Allows the configuration of the timer frequency.
1730
1731 config HZ_48
1732 bool "48 HZ" if SYS_SUPPORTS_48HZ
1733
1734 config HZ_100
1735 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1736
1737 config HZ_128
1738 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1739
1740 config HZ_250
1741 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1742
1743 config HZ_256
1744 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1745
1746 config HZ_1000
1747 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1748
1749 config HZ_1024
1750 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1751
1752endchoice
1753
1754config SYS_SUPPORTS_48HZ
1755 bool
1756
1757config SYS_SUPPORTS_100HZ
1758 bool
1759
1760config SYS_SUPPORTS_128HZ
1761 bool
1762
1763config SYS_SUPPORTS_250HZ
1764 bool
1765
1766config SYS_SUPPORTS_256HZ
1767 bool
1768
1769config SYS_SUPPORTS_1000HZ
1770 bool
1771
1772config SYS_SUPPORTS_1024HZ
1773 bool
1774
1775config SYS_SUPPORTS_ARBIT_HZ
1776 bool
1777 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1778 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1779 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1780 !SYS_SUPPORTS_1024HZ
1781
1782config HZ
1783 int
1784 default 48 if HZ_48
1785 default 100 if HZ_100
1786 default 128 if HZ_128
1787 default 250 if HZ_250
1788 default 256 if HZ_256
1789 default 1000 if HZ_1000
1790 default 1024 if HZ_1024
1791
e80de850 1792source "kernel/Kconfig.preempt"
1da177e4
LT
1793
1794config RTC_DS1742
1795 bool "DS1742 BRAM/RTC support"
1796 depends on TOSHIBA_JMR3927 || TOSHIBA_RBTX4927
1797
1798config MIPS_INSANE_LARGE
1799 bool "Support for large 64-bit configurations"
875d43e7 1800 depends on CPU_R10000 && 64BIT
1da177e4
LT
1801 help
1802 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1803 previous 64-bit processors which only supported 40 bit / 1TB. If you
1804 need processes of more than 1TB virtual address space, say Y here.
1805 This will result in additional memory usage, so it is not
1806 recommended for normal users.
1807
5e83d430
RB
1808endmenu
1809
1da177e4
LT
1810config RWSEM_GENERIC_SPINLOCK
1811 bool
1812 default y
1813
b6c3539b
RB
1814source "init/Kconfig"
1815
1da177e4
LT
1816menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1817
5e83d430
RB
1818config HW_HAS_EISA
1819 bool
1da177e4
LT
1820config HW_HAS_PCI
1821 bool
1822
1823config PCI
1824 bool "Support for PCI controller"
1825 depends on HW_HAS_PCI
1826 help
1827 Find out whether you have a PCI motherboard. PCI is the name of a
1828 bus system, i.e. the way the CPU talks to the other stuff inside
1829 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1830 say Y, otherwise N.
1831
1832 The PCI-HOWTO, available from
1833 <http://www.tldp.org/docs.html#howto>, contains valuable
1834 information about which PCI hardware does work under Linux and which
1835 doesn't.
1836
1837config PCI_DOMAINS
1838 bool
1839 depends on PCI
1840
1841source "drivers/pci/Kconfig"
1842
1843#
1844# ISA support is now enabled via select. Too many systems still have the one
1845# or other ISA chip on the board that users don't know about so don't expect
1846# users to choose the right thing ...
1847#
1848config ISA
1849 bool
1850
aac076f8
RB
1851config NO_ISA
1852 bool
1853
1da177e4
LT
1854config EISA
1855 bool "EISA support"
5e83d430 1856 depends on HW_HAS_EISA
1da177e4
LT
1857 select ISA
1858 ---help---
1859 The Extended Industry Standard Architecture (EISA) bus was
1860 developed as an open alternative to the IBM MicroChannel bus.
1861
1862 The EISA bus provided some of the features of the IBM MicroChannel
1863 bus while maintaining backward compatibility with cards made for
1864 the older ISA bus. The EISA bus saw limited use between 1988 and
1865 1995 when it was made obsolete by the PCI bus.
1866
1867 Say Y here if you are building a kernel for an EISA-based machine.
1868
1869 Otherwise, say N.
1870
1871source "drivers/eisa/Kconfig"
1872
1873config TC
1874 bool "TURBOchannel support"
1875 depends on MACH_DECSTATION
1876 help
1877 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
1878 processors. Documentation on writing device drivers for TurboChannel
1879 is available at:
1880 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
1881
1882#config ACCESSBUS
1883# bool "Access.Bus support"
1884# depends on TC
1885
1886config MMU
1887 bool
1888 default y
1889
e5c6c8e4
MN
1890config I8253
1891 bool
1892
1da177e4
LT
1893source "drivers/pcmcia/Kconfig"
1894
1895source "drivers/pci/hotplug/Kconfig"
1896
1897endmenu
1898
1899menu "Executable file formats"
1900
1901source "fs/Kconfig.binfmt"
1902
1903config TRAD_SIGNALS
1904 bool
1da177e4
LT
1905
1906config BUILD_ELF64
1907 bool "Use 64-bit ELF format for building"
875d43e7 1908 depends on 64BIT
1da177e4
LT
1909 help
1910 A 64-bit kernel is usually built using the 64-bit ELF binary object
1911 format as it's one that allows arbitrary 64-bit constructs. For
1912 kernels that are loaded within the KSEG compatibility segments the
1913 32-bit ELF format can optionally be used resulting in a somewhat
1914 smaller binary, but this option is not explicitly supported by the
1915 toolchain and since binutils 2.14 it does not even work at all.
1916
1917 Say Y to use the 64-bit format or N to use the 32-bit one.
1918
1919 If unsure say Y.
1920
1921config BINFMT_IRIX
1922 bool "Include IRIX binary compatibility"
5e83d430 1923 depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
1da177e4
LT
1924
1925config MIPS32_COMPAT
1926 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
875d43e7 1927 depends on 64BIT
1da177e4
LT
1928 help
1929 Select this option if you want Linux/MIPS 32-bit binary
1930 compatibility. Since all software available for Linux/MIPS is
1931 currently 32-bit you should say Y here.
1932
1933config COMPAT
1934 bool
1935 depends on MIPS32_COMPAT
1936 default y
1937
1938config MIPS32_O32
1939 bool "Kernel support for o32 binaries"
1940 depends on MIPS32_COMPAT
1941 help
1942 Select this option if you want to run o32 binaries. These are pure
1943 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
1944 existing binaries are in this format.
1945
1946 If unsure, say Y.
1947
1948config MIPS32_N32
1949 bool "Kernel support for n32 binaries"
1950 depends on MIPS32_COMPAT
1951 help
1952 Select this option if you want to run n32 binaries. These are
1953 64-bit binaries using 32-bit quantities for addressing and certain
1954 data that would normally be 64-bit. They are used in special
1955 cases.
1956
1957 If unsure, say N.
1958
1959config BINFMT_ELF32
1960 bool
1961 default y if MIPS32_O32 || MIPS32_N32
1962
127c6f66
RB
1963config SECCOMP
1964 bool "Enable seccomp to safely compute untrusted bytecode"
1965 depends on PROC_FS && BROKEN
1966 default y
1967 help
1968 This kernel feature is useful for number crunching applications
1969 that may need to compute untrusted bytecode during their
1970 execution. By using pipes or other transports made available to
1971 the process as file descriptors supporting the read/write
1972 syscalls, it's possible to isolate those applications in
1973 their own address space using seccomp. Once seccomp is
1974 enabled via /proc/<pid>/seccomp, it cannot be disabled
1975 and the task is only allowed to execute a few safe syscalls
1976 defined by each seccomp mode.
1977
1978 If unsure, say Y. Only embedded should say N here.
1979
1da177e4
LT
1980config PM
1981 bool "Power Management support (EXPERIMENTAL)"
5e83d430 1982 depends on EXPERIMENTAL && SOC_AU1X00
1da177e4 1983
952fa954
RG
1984config APM
1985 tristate "Advanced Power Management Emulation"
1986 depends on PM
1987 ---help---
1988 APM is a BIOS specification for saving power using several different
1989 techniques. This is mostly useful for battery powered systems with
1990 APM compliant BIOSes. If you say Y here, the system time will be
1991 reset after a RESUME operation, the /proc/apm device will provide
1992 battery status information, and user-space programs will receive
1993 notification of APM "events" (e.g. battery status change).
1994
1995 In order to use APM, you will need supporting software. For location
1996 and more information, read <file:Documentation/pm.txt> and the
1997 Battery Powered Linux mini-HOWTO, available from
1998 <http://www.tldp.org/docs.html#howto>.
1999
2000 This driver does not spin down disk drives (see the hdparm(8)
2001 manpage ("man 8 hdparm") for that), and it doesn't turn off
2002 VESA-compliant "green" monitors.
2003
2004 Generally, if you don't have a battery in your machine, there isn't
2005 much point in using this driver and you should say N. If you get
2006 random kernel OOPSes or reboots that don't seem to be related to
2007 anything, try disabling/enabling this option (or disabling/enabling
2008 APM in your BIOS).
2009
1da177e4
LT
2010endmenu
2011
d5950b43
SR
2012source "net/Kconfig"
2013
1da177e4
LT
2014source "drivers/Kconfig"
2015
2016source "fs/Kconfig"
2017
5e83d430
RB
2018source "arch/mips/oprofile/Kconfig"
2019
1da177e4
LT
2020source "arch/mips/Kconfig.debug"
2021
2022source "security/Kconfig"
2023
2024source "crypto/Kconfig"
2025
2026source "lib/Kconfig"