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