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