[MIPS] JMR3927 and RBTX49x7 support little endian
[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 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 755 select SYS_SUPPORTS_32BIT_KERNEL
6a2603a2 756 select SYS_SUPPORTS_LITTLE_ENDIAN
5e83d430
RB
757 select SYS_SUPPORTS_BIG_ENDIAN
758 select TOSHIBA_BOARDS
759
1da177e4 760config TOSHIBA_RBTX4927
3fa986fa 761 bool "Toshiba TBTX49[23]7 board"
1da177e4
LT
762 select DMA_NONCOHERENT
763 select HAS_TXX9_SERIAL
764 select HW_HAS_PCI
765 select I8259
766 select ISA
767 select SWAP_IO_SPACE
7cf8053b 768 select SYS_HAS_CPU_TX49XX
ed5ba2fb
YY
769 select SYS_SUPPORTS_32BIT_KERNEL
770 select SYS_SUPPORTS_64BIT_KERNEL
6a2603a2 771 select SYS_SUPPORTS_LITTLE_ENDIAN
5e83d430
RB
772 select SYS_SUPPORTS_BIG_ENDIAN
773 select TOSHIBA_BOARDS
9fd32cfb 774 select GENERIC_HARDIRQS_NO__DO_IRQ
1da177e4
LT
775 help
776 This Toshiba board is based on the TX4927 processor. Say Y here to
777 support this machine type
778
5e83d430 779config TOSHIBA_RBTX4938
3fa986fa 780 bool "Toshiba RBTX4938 board"
5e83d430
RB
781 select HAVE_STD_PC_SERIAL_PORT
782 select DMA_NONCOHERENT
783 select GENERIC_ISA_DMA
784 select HAS_TXX9_SERIAL
785 select HW_HAS_PCI
786 select I8259
787 select ISA
788 select SWAP_IO_SPACE
7cf8053b 789 select SYS_HAS_CPU_TX49XX
5e83d430
RB
790 select SYS_SUPPORTS_32BIT_KERNEL
791 select SYS_SUPPORTS_LITTLE_ENDIAN
792 select SYS_SUPPORTS_BIG_ENDIAN
793 select TOSHIBA_BOARDS
9fd32cfb 794 select GENERIC_HARDIRQS_NO__DO_IRQ
5e83d430
RB
795 help
796 This Toshiba board is based on the TX4938 processor. Say Y here to
797 support this machine type
798
799endchoice
1da177e4 800
5e83d430
RB
801source "arch/mips/ddb5xxx/Kconfig"
802source "arch/mips/gt64120/ev64120/Kconfig"
803source "arch/mips/jazz/Kconfig"
5e83d430
RB
804source "arch/mips/lasat/Kconfig"
805source "arch/mips/momentum/Kconfig"
806source "arch/mips/pmc-sierra/Kconfig"
29c48699 807source "arch/mips/sgi-ip27/Kconfig"
38b18f72 808source "arch/mips/sibyte/Kconfig"
5e83d430 809source "arch/mips/tx4927/Kconfig"
23fbee9d 810source "arch/mips/tx4938/Kconfig"
5e83d430 811source "arch/mips/vr41xx/Kconfig"
bdf21b18 812source "arch/mips/philips/pnx8550/common/Kconfig"
e87dddeb 813source "arch/mips/cobalt/Kconfig"
38b18f72 814
5e83d430
RB
815endmenu
816
1da177e4
LT
817config RWSEM_GENERIC_SPINLOCK
818 bool
819 default y
820
821config RWSEM_XCHGADD_ALGORITHM
822 bool
823
f0d1b0b3
DH
824config ARCH_HAS_ILOG2_U32
825 bool
826 default n
827
828config ARCH_HAS_ILOG2_U64
829 bool
830 default n
831
3c9ee7ef
AM
832config GENERIC_FIND_NEXT_BIT
833 bool
834 default y
835
836config GENERIC_HWEIGHT
837 bool
838 default y
839
1da177e4
LT
840config GENERIC_CALIBRATE_DELAY
841 bool
842 default y
843
8db02010
RB
844config GENERIC_TIME
845 bool
846 default y
847
1cc89038
AN
848config SCHED_NO_NO_OMIT_FRAME_POINTER
849 bool
850 default y
851
e77c232c
FBH
852config GENERIC_HARDIRQS_NO__DO_IRQ
853 bool
854 default n
855
1da177e4
LT
856#
857# Select some configuration options automatically based on user selections.
858#
859config ARC
860 bool
1da177e4 861
61ed242d
RB
862config ARCH_MAY_HAVE_PC_FDC
863 bool
864
4ce588cd 865config DMA_COHERENT
1da177e4
LT
866 bool
867
4ce588cd 868config DMA_IP27
1da177e4
LT
869 bool
870
4ce588cd
RB
871config DMA_IP32
872 bool
873 select DMA_NEED_PCI_MAP_STATE
874
875config DMA_NONCOHERENT
876 bool
877 select DMA_NEED_PCI_MAP_STATE
878
879config DMA_NEED_PCI_MAP_STATE
1da177e4
LT
880 bool
881
5e83d430
RB
882config OWN_DMA
883 bool
884
1da177e4
LT
885config EARLY_PRINTK
886 bool
1da177e4
LT
887
888config GENERIC_ISA_DMA
889 bool
1da177e4
LT
890
891config I8259
892 bool
1da177e4
LT
893
894config LIMITED_DMA
895 bool
896 select HIGHMEM
797798c1 897 select SYS_SUPPORTS_HIGHMEM
1da177e4
LT
898
899config MIPS_BONITO64
900 bool
1da177e4
LT
901
902config MIPS_MSC
903 bool
1da177e4
LT
904
905config MIPS_NILE4
906 bool
1da177e4
LT
907
908config MIPS_DISABLE_OBSOLETE_IDE
909 bool
910
aa414dff
RB
911config GENERIC_ISA_DMA_SUPPORT_BROKEN
912 bool
913
5e83d430 914#
3cb2fccc 915# Endianess selection. Sufficiently obscure so many users don't know what to
5e83d430
RB
916# answer,so we try hard to limit the available choices. Also the use of a
917# choice statement should be more obvious to the user.
918#
919choice
920 prompt "Endianess selection"
1da177e4
LT
921 help
922 Some MIPS machines can be configured for either little or big endian
5e83d430 923 byte order. These modes require different kernels and a different
3cb2fccc 924 Linux distribution. In general there is one preferred byteorder for a
5e83d430
RB
925 particular system but some systems are just as commonly used in the
926 one or the other endianess.
927
928config CPU_BIG_ENDIAN
929 bool "Big endian"
930 depends on SYS_SUPPORTS_BIG_ENDIAN
931
932config CPU_LITTLE_ENDIAN
933 bool "Little endian"
934 depends on SYS_SUPPORTS_LITTLE_ENDIAN
935 help
936
937endchoice
938
2116245e
RB
939config SYS_SUPPORTS_APM_EMULATION
940 bool
941
5e83d430
RB
942config SYS_SUPPORTS_BIG_ENDIAN
943 bool
944
945config SYS_SUPPORTS_LITTLE_ENDIAN
946 bool
1da177e4
LT
947
948config IRQ_CPU
949 bool
950
951config IRQ_CPU_RM7K
952 bool
953
5e83d430
RB
954config IRQ_CPU_RM9K
955 bool
956
1da177e4
LT
957config IRQ_MV64340
958 bool
959
960config DDB5XXX_COMMON
961 bool
1da177e4
LT
962
963config MIPS_BOARDS_GEN
964 bool
1da177e4
LT
965
966config MIPS_GT64111
967 bool
1da177e4
LT
968
969config MIPS_GT64120
970 bool
1da177e4
LT
971
972config MIPS_TX3927
973 bool
1da177e4 974 select HAS_TXX9_SERIAL
1da177e4 975
663c3d90 976config MIPS_RM9122
977 bool
978 select SERIAL_RM9000
979 select GPI_RM9000
980 select WDT_RM9000
981
1da177e4
LT
982config PCI_MARVELL
983 bool
984
5e83d430
RB
985config SOC_AU1000
986 bool
987 select SOC_AU1X00
988
989config SOC_AU1100
990 bool
991 select SOC_AU1X00
992
993config SOC_AU1500
994 bool
995 select SOC_AU1X00
996
997config SOC_AU1550
998 bool
999 select SOC_AU1X00
1000
1001config SOC_AU1200
1002 bool
1003 select SOC_AU1X00
1004
1005config SOC_AU1X00
1006 bool
7cf8053b 1007 select SYS_HAS_CPU_MIPS32_R1
5e83d430 1008 select SYS_SUPPORTS_32BIT_KERNEL
2116245e 1009 select SYS_SUPPORTS_APM_EMULATION
1da177e4 1010
bdf21b18
PP
1011config PNX8550
1012 bool
1013 select SOC_PNX8550
1014
1015config SOC_PNX8550
1016 bool
bdf21b18
PP
1017 select DMA_NONCOHERENT
1018 select HW_HAS_PCI
b8c2a77c 1019 select SYS_HAS_CPU_MIPS32_R1
7cf8053b 1020 select SYS_SUPPORTS_32BIT_KERNEL
e77c232c 1021 select GENERIC_HARDIRQS_NO__DO_IRQ
bdf21b18 1022
1da177e4
LT
1023config SWAP_IO_SPACE
1024 bool
1025
355c471f 1026config EMMA2RH
1027 bool
1028 depends on MARKEINS
1029 default y
1030
663c3d90 1031config SERIAL_RM9000
1032 bool
1033
1034config GPI_RM9000
1035 bool
1036
1037config WDT_RM9000
1038 bool
1039
1da177e4
LT
1040#
1041# Unfortunately not all GT64120 systems run the chip at the same clock.
1042# As the user for the clock rate and try to minimize the available options.
1043#
1044choice
1045 prompt "Galileo Chip Clock"
1046 #default SYSCLK_83 if MIPS_EV64120
1047 depends on MIPS_EV64120 || MOMENCO_OCELOT || MOMENCO_OCELOT_G
1048 default SYSCLK_83 if MIPS_EV64120
1049 default SYSCLK_100 if MOMENCO_OCELOT || MOMENCO_OCELOT_G
1050
1051config SYSCLK_75
1052 bool "75" if MIPS_EV64120
1053
1054config SYSCLK_83
1055 bool "83.3" if MIPS_EV64120
1056
1057config SYSCLK_100
1058 bool "100" if MIPS_EV64120 || MOMENCO_OCELOT || MOMENCO_OCELOT_G
1059
1060endchoice
1061
5e83d430
RB
1062config ARC32
1063 bool
1064
1da177e4
LT
1065config BOOT_ELF32
1066 bool
1da177e4
LT
1067
1068config MIPS_L1_CACHE_SHIFT
1069 int
1070 default "4" if MACH_DECSTATION
1071 default "7" if SGI_IP27
1072 default "5"
1073
1da177e4
LT
1074config HAVE_STD_PC_SERIAL_PORT
1075 bool
1076
1da177e4
LT
1077config ARC_CONSOLE
1078 bool "ARC console support"
14b36af4 1079 depends on SGI_IP22 || SNI_RM
1da177e4
LT
1080
1081config ARC_MEMORY
1082 bool
14b36af4 1083 depends on MACH_JAZZ || SNI_RM || SGI_IP32
1da177e4
LT
1084 default y
1085
1086config ARC_PROMLIB
1087 bool
14b36af4 1088 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
1da177e4
LT
1089 default y
1090
1091config ARC64
1092 bool
1da177e4
LT
1093
1094config BOOT_ELF64
1095 bool
1da177e4 1096
1da177e4
LT
1097config TOSHIBA_BOARDS
1098 bool
1da177e4
LT
1099
1100menu "CPU selection"
1101
1102choice
1103 prompt "CPU type"
1104 default CPU_R4X00
1105
6e760c8d
RB
1106config CPU_MIPS32_R1
1107 bool "MIPS32 Release 1"
7cf8053b 1108 depends on SYS_HAS_CPU_MIPS32_R1
f7062ddb 1109 select CPU_HAS_LLSC
6e760c8d 1110 select CPU_HAS_PREFETCH
797798c1 1111 select CPU_SUPPORTS_32BIT_KERNEL
ec28f306 1112 select CPU_SUPPORTS_HIGHMEM
1e5f1caa 1113 help
5e83d430 1114 Choose this option to build a kernel for release 1 or later of the
1e5f1caa
RB
1115 MIPS32 architecture. Most modern embedded systems with a 32-bit
1116 MIPS processor are based on a MIPS32 processor. If you know the
1117 specific type of processor in your system, choose those that one
1118 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1119 Release 2 of the MIPS32 architecture is available since several
1120 years so chances are you even have a MIPS32 Release 2 processor
1121 in which case you should choose CPU_MIPS32_R2 instead for better
1122 performance.
1123
1124config CPU_MIPS32_R2
1125 bool "MIPS32 Release 2"
7cf8053b 1126 depends on SYS_HAS_CPU_MIPS32_R2
f7062ddb 1127 select CPU_HAS_LLSC
1e5f1caa 1128 select CPU_HAS_PREFETCH
797798c1 1129 select CPU_SUPPORTS_32BIT_KERNEL
ec28f306 1130 select CPU_SUPPORTS_HIGHMEM
6e760c8d 1131 help
5e83d430 1132 Choose this option to build a kernel for release 2 or later of the
6e760c8d
RB
1133 MIPS32 architecture. Most modern embedded systems with a 32-bit
1134 MIPS processor are based on a MIPS32 processor. If you know the
1135 specific type of processor in your system, choose those that one
1136 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1137
1138config CPU_MIPS64_R1
1139 bool "MIPS64 Release 1"
7cf8053b 1140 depends on SYS_HAS_CPU_MIPS64_R1
f7062ddb 1141 select CPU_HAS_LLSC
797798c1 1142 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1143 select CPU_SUPPORTS_32BIT_KERNEL
1144 select CPU_SUPPORTS_64BIT_KERNEL
ec28f306 1145 select CPU_SUPPORTS_HIGHMEM
6e760c8d
RB
1146 help
1147 Choose this option to build a kernel for release 1 or later of the
1148 MIPS64 architecture. Many modern embedded systems with a 64-bit
1149 MIPS processor are based on a MIPS64 processor. If you know the
1150 specific type of processor in your system, choose those that one
1151 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1e5f1caa
RB
1152 Release 2 of the MIPS64 architecture is available since several
1153 years so chances are you even have a MIPS64 Release 2 processor
1154 in which case you should choose CPU_MIPS64_R2 instead for better
1155 performance.
1156
1157config CPU_MIPS64_R2
1158 bool "MIPS64 Release 2"
7cf8053b 1159 depends on SYS_HAS_CPU_MIPS64_R2
f7062ddb 1160 select CPU_HAS_LLSC
797798c1 1161 select CPU_HAS_PREFETCH
1e5f1caa
RB
1162 select CPU_SUPPORTS_32BIT_KERNEL
1163 select CPU_SUPPORTS_64BIT_KERNEL
ec28f306 1164 select CPU_SUPPORTS_HIGHMEM
1e5f1caa
RB
1165 help
1166 Choose this option to build a kernel for release 2 or later of the
1167 MIPS64 architecture. Many modern embedded systems with a 64-bit
1168 MIPS processor are based on a MIPS64 processor. If you know the
1169 specific type of processor in your system, choose those that one
1170 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1da177e4
LT
1171
1172config CPU_R3000
1173 bool "R3000"
7cf8053b 1174 depends on SYS_HAS_CPU_R3000
f7062ddb 1175 select CPU_HAS_WB
ed5ba2fb 1176 select CPU_SUPPORTS_32BIT_KERNEL
797798c1 1177 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1178 help
1179 Please make sure to pick the right CPU type. Linux/MIPS is not
1180 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1181 *not* work on R4000 machines and vice versa. However, since most
1182 of the supported machines have an R4000 (or similar) CPU, R4x00
1183 might be a safe bet. If the resulting kernel does not work,
1184 try to recompile with R3000.
1185
1186config CPU_TX39XX
1187 bool "R39XX"
7cf8053b 1188 depends on SYS_HAS_CPU_TX39XX
ed5ba2fb 1189 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1190
1191config CPU_VR41XX
1192 bool "R41xx"
7cf8053b 1193 depends on SYS_HAS_CPU_VR41XX
ed5ba2fb
YY
1194 select CPU_SUPPORTS_32BIT_KERNEL
1195 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4 1196 help
5e83d430 1197 The options selects support for the NEC VR4100 series of processors.
1da177e4
LT
1198 Only choose this option if you have one of these processors as a
1199 kernel built with this option will not run on any other type of
1200 processor or vice versa.
1201
1202config CPU_R4300
1203 bool "R4300"
7cf8053b 1204 depends on SYS_HAS_CPU_R4300
f7062ddb 1205 select CPU_HAS_LLSC
ed5ba2fb
YY
1206 select CPU_SUPPORTS_32BIT_KERNEL
1207 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1208 help
1209 MIPS Technologies R4300-series processors.
1210
1211config CPU_R4X00
1212 bool "R4x00"
7cf8053b 1213 depends on SYS_HAS_CPU_R4X00
f7062ddb 1214 select CPU_HAS_LLSC
ed5ba2fb
YY
1215 select CPU_SUPPORTS_32BIT_KERNEL
1216 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1217 help
1218 MIPS Technologies R4000-series processors other than 4300, including
1219 the R4000, R4400, R4600, and 4700.
1220
1221config CPU_TX49XX
1222 bool "R49XX"
7cf8053b 1223 depends on SYS_HAS_CPU_TX49XX
f7062ddb 1224 select CPU_HAS_LLSC
de862b48 1225 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1226 select CPU_SUPPORTS_32BIT_KERNEL
1227 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1228
1229config CPU_R5000
1230 bool "R5000"
7cf8053b 1231 depends on SYS_HAS_CPU_R5000
f7062ddb 1232 select CPU_HAS_LLSC
ed5ba2fb
YY
1233 select CPU_SUPPORTS_32BIT_KERNEL
1234 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1235 help
1236 MIPS Technologies R5000-series processors other than the Nevada.
1237
1238config CPU_R5432
1239 bool "R5432"
7cf8053b 1240 depends on SYS_HAS_CPU_R5432
f7062ddb 1241 select CPU_HAS_LLSC
5e83d430
RB
1242 select CPU_SUPPORTS_32BIT_KERNEL
1243 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1244
1245config CPU_R6000
1246 bool "R6000"
ed5ba2fb 1247 depends on EXPERIMENTAL
f7062ddb 1248 select CPU_HAS_LLSC
7cf8053b 1249 depends on SYS_HAS_CPU_R6000
ed5ba2fb 1250 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1251 help
1252 MIPS Technologies R6000 and R6000A series processors. Note these
c09b47d8 1253 processors are extremely rare and the support for them is incomplete.
1da177e4
LT
1254
1255config CPU_NEVADA
1256 bool "RM52xx"
7cf8053b 1257 depends on SYS_HAS_CPU_NEVADA
f7062ddb 1258 select CPU_HAS_LLSC
ed5ba2fb
YY
1259 select CPU_SUPPORTS_32BIT_KERNEL
1260 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1261 help
1262 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1263
1264config CPU_R8000
1265 bool "R8000"
ed5ba2fb 1266 depends on EXPERIMENTAL
7cf8053b 1267 depends on SYS_HAS_CPU_R8000
f7062ddb 1268 select CPU_HAS_LLSC
5e83d430 1269 select CPU_HAS_PREFETCH
ed5ba2fb 1270 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1271 help
1272 MIPS Technologies R8000 processors. Note these processors are
1273 uncommon and the support for them is incomplete.
1274
1275config CPU_R10000
1276 bool "R10000"
7cf8053b 1277 depends on SYS_HAS_CPU_R10000
f7062ddb 1278 select CPU_HAS_LLSC
5e83d430 1279 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1280 select CPU_SUPPORTS_32BIT_KERNEL
1281 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1282 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1283 help
1284 MIPS Technologies R10000-series processors.
1285
1286config CPU_RM7000
1287 bool "RM7000"
7cf8053b 1288 depends on SYS_HAS_CPU_RM7000
f7062ddb 1289 select CPU_HAS_LLSC
5e83d430 1290 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1291 select CPU_SUPPORTS_32BIT_KERNEL
1292 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1293 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1294
1295config CPU_RM9000
1296 bool "RM9000"
7cf8053b 1297 depends on SYS_HAS_CPU_RM9000
f7062ddb 1298 select CPU_HAS_LLSC
5e83d430 1299 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1300 select CPU_SUPPORTS_32BIT_KERNEL
1301 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1302 select CPU_SUPPORTS_HIGHMEM
0004a9df 1303 select WEAK_ORDERING
1da177e4
LT
1304
1305config CPU_SB1
1306 bool "SB1"
7cf8053b 1307 depends on SYS_HAS_CPU_SB1
f7062ddb 1308 select CPU_HAS_LLSC
ed5ba2fb
YY
1309 select CPU_SUPPORTS_32BIT_KERNEL
1310 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1311 select CPU_SUPPORTS_HIGHMEM
0004a9df 1312 select WEAK_ORDERING
1da177e4
LT
1313
1314endchoice
1315
7cf8053b
RB
1316config SYS_HAS_CPU_MIPS32_R1
1317 bool
1318
1319config SYS_HAS_CPU_MIPS32_R2
1320 bool
1321
1322config SYS_HAS_CPU_MIPS64_R1
1323 bool
1324
1325config SYS_HAS_CPU_MIPS64_R2
1326 bool
1327
1328config SYS_HAS_CPU_R3000
1329 bool
1330
1331config SYS_HAS_CPU_TX39XX
1332 bool
1333
1334config SYS_HAS_CPU_VR41XX
1335 bool
1336
1337config SYS_HAS_CPU_R4300
1338 bool
1339
1340config SYS_HAS_CPU_R4X00
1341 bool
1342
1343config SYS_HAS_CPU_TX49XX
1344 bool
1345
1346config SYS_HAS_CPU_R5000
1347 bool
1348
1349config SYS_HAS_CPU_R5432
1350 bool
1351
1352config SYS_HAS_CPU_R6000
1353 bool
1354
1355config SYS_HAS_CPU_NEVADA
1356 bool
1357
1358config SYS_HAS_CPU_R8000
1359 bool
1360
1361config SYS_HAS_CPU_R10000
1362 bool
1363
1364config SYS_HAS_CPU_RM7000
1365 bool
1366
1367config SYS_HAS_CPU_RM9000
1368 bool
1369
1370config SYS_HAS_CPU_SB1
1371 bool
1372
0004a9df
RB
1373config WEAK_ORDERING
1374 bool
5e83d430
RB
1375endmenu
1376
1377#
c09b47d8 1378# These two indicate any level of the MIPS32 and MIPS64 architecture
5e83d430
RB
1379#
1380config CPU_MIPS32
1381 bool
1382 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1383
1384config CPU_MIPS64
1385 bool
1386 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1387
1388#
c09b47d8 1389# These two indicate the revision of the architecture, either Release 1 or Release 2
5e83d430
RB
1390#
1391config CPU_MIPSR1
1392 bool
1393 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1394
1395config CPU_MIPSR2
1396 bool
1397 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
1398
1399config SYS_SUPPORTS_32BIT_KERNEL
1400 bool
1401config SYS_SUPPORTS_64BIT_KERNEL
1402 bool
1403config CPU_SUPPORTS_32BIT_KERNEL
1404 bool
1405config CPU_SUPPORTS_64BIT_KERNEL
1406 bool
1407
1408menu "Kernel type"
1409
1410choice
1411
1412 prompt "Kernel code model"
1413 help
1414 You should only select this option if you have a workload that
1415 actually benefits from 64-bit processing or if your machine has
1416 large memory. You will only be presented a single option in this
1417 menu if your system does not support both 32-bit and 64-bit kernels.
1418
1419config 32BIT
1420 bool "32-bit kernel"
1421 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1422 select TRAD_SIGNALS
1423 help
1424 Select this option if you want to build a 32-bit kernel.
1425config 64BIT
1426 bool "64-bit kernel"
1427 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1428 help
1429 Select this option if you want to build a 64-bit kernel.
1430
1431endchoice
1432
1da177e4
LT
1433choice
1434 prompt "Kernel page size"
1435 default PAGE_SIZE_4KB
1436
1437config PAGE_SIZE_4KB
1438 bool "4kB"
1439 help
1440 This option select the standard 4kB Linux page size. On some
1441 R3000-family processors this is the only available page size. Using
1442 4kB page size will minimize memory consumption and is therefore
1443 recommended for low memory systems.
1444
1445config PAGE_SIZE_8KB
1446 bool "8kB"
1447 depends on EXPERIMENTAL && CPU_R8000
1448 help
1449 Using 8kB page size will result in higher performance kernel at
1450 the price of higher memory consumption. This option is available
1451 only on the R8000 processor. Not that at the time of this writing
1452 this option is still high experimental; there are also issues with
1453 compatibility of user applications.
1454
1455config PAGE_SIZE_16KB
1456 bool "16kB"
714bfad6 1457 depends on !CPU_R3000 && !CPU_TX39XX
1da177e4
LT
1458 help
1459 Using 16kB page size will result in higher performance kernel at
1460 the price of higher memory consumption. This option is available on
714bfad6
RB
1461 all non-R3000 family processors. Note that you will need a suitable
1462 Linux distribution to support this.
1da177e4
LT
1463
1464config PAGE_SIZE_64KB
1465 bool "64kB"
1466 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1467 help
1468 Using 64kB page size will result in higher performance kernel at
1469 the price of higher memory consumption. This option is available on
1470 all non-R3000 family processor. Not that at the time of this
714bfad6 1471 writing this option is still high experimental.
1da177e4
LT
1472
1473endchoice
1474
1475config BOARD_SCACHE
1476 bool
1477
1478config IP22_CPU_SCACHE
1479 bool
1480 select BOARD_SCACHE
1481
9318c51a
CD
1482#
1483# Support for a MIPS32 / MIPS64 style S-caches
1484#
1485config MIPS_CPU_SCACHE
1486 bool
1487 select BOARD_SCACHE
1488
1da177e4
LT
1489config R5000_CPU_SCACHE
1490 bool
1491 select BOARD_SCACHE
1492
1493config RM7000_CPU_SCACHE
1494 bool
1495 select BOARD_SCACHE
1496
1497config SIBYTE_DMA_PAGEOPS
1498 bool "Use DMA to clear/copy pages"
1499 depends on CPU_SB1
1500 help
1501 Instead of using the CPU to zero and copy pages, use a Data Mover
1502 channel. These DMA channels are otherwise unused by the standard
1503 SiByte Linux port. Seems to give a small performance benefit.
1504
1505config CPU_HAS_PREFETCH
c8094b53 1506 bool
1da177e4 1507
340ee4b9
RB
1508choice
1509 prompt "MIPS MT options"
f41ae0b2
RB
1510
1511config MIPS_MT_DISABLED
1512 bool "Disable multithreading support."
1513 help
1514 Use this option if your workload can't take advantage of
1515 MIPS hardware multithreading support. On systems that don't have
1516 the option of an MT-enabled processor this option will be the only
1517 option in this menu.
340ee4b9 1518
59d6ab86
RB
1519config MIPS_MT_SMP
1520 bool "Use 1 TC on each available VPE for SMP"
f41ae0b2 1521 depends on SYS_SUPPORTS_MULTITHREADING
f7062ddb
RB
1522 select CPU_MIPSR2_IRQ_VI
1523 select CPU_MIPSR2_SRS
f41ae0b2 1524 select MIPS_MT
41c594ab 1525 select SMP
73b76c78 1526 select SYS_SUPPORTS_SMP
f41ae0b2 1527 help
59d6ab86
RB
1528 This is a kernel model which is also known a VSMP or lately
1529 has been marketesed into SMVP.
41c594ab 1530
59d6ab86
RB
1531config MIPS_MT_SMTC
1532 bool "SMTC: Use all TCs on all VPEs for SMP"
1533 depends on CPU_MIPS32_R2
1534 #depends on CPU_MIPS64_R2 # once there is hardware ...
f41ae0b2
RB
1535 depends on SYS_SUPPORTS_MULTITHREADING
1536 select CPU_MIPSR2_IRQ_VI
1537 select CPU_MIPSR2_SRS
1538 select MIPS_MT
130e2fb7
RB
1539 select NR_CPUS_DEFAULT_2
1540 select NR_CPUS_DEFAULT_8
340ee4b9 1541 select SMP
73b76c78 1542 select SYS_SUPPORTS_SMP
f41ae0b2 1543 help
59d6ab86
RB
1544 This is a kernel model which is known a SMTC or lately has been
1545 marketesed into SMVP.
340ee4b9 1546
e01402b1
RB
1547config MIPS_VPE_LOADER
1548 bool "VPE loader support."
f41ae0b2
RB
1549 depends on SYS_SUPPORTS_MULTITHREADING
1550 select MIPS_MT
e01402b1
RB
1551 help
1552 Includes a loader for loading an elf relocatable object
1553 onto another VPE and running it.
1554
340ee4b9
RB
1555endchoice
1556
f41ae0b2
RB
1557config MIPS_MT
1558 bool
1559
1560config SYS_SUPPORTS_MULTITHREADING
1561 bool
1562
f088fc84
RB
1563config MIPS_MT_FPAFF
1564 bool "Dynamic FPU affinity for FP-intensive threads"
1565 depends on MIPS_MT
1566 default y
1567
ac8be955
RB
1568config MIPS_MT_SMTC_INSTANT_REPLAY
1569 bool "Low-latency Dispatch of Deferred SMTC IPIs"
1570 depends on MIPS_MT_SMTC
1571 default y
1572 help
1573 SMTC pseudo-interrupts between TCs are deferred and queued
1574 if the target TC is interrupt-inhibited (IXMT). In the first
1575 SMTC prototypes, these queued IPIs were serviced on return
1576 to user mode, or on entry into the kernel idle loop. The
1577 INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1578 processing, which adds runtime overhead (hence the option to turn
1579 it off), but ensures that IPIs are handled promptly even under
1580 heavy I/O interrupt load.
1581
e01402b1
RB
1582config MIPS_VPE_LOADER_TOM
1583 bool "Load VPE program into memory hidden from linux"
1584 depends on MIPS_VPE_LOADER
1585 default y
1586 help
1587 The loader can use memory that is present but has been hidden from
1588 Linux using the kernel command line option "mem=xxMB". It's up to
1589 you to ensure the amount you put in the option and the space your
1590 program requires is less or equal to the amount physically present.
1591
1592# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1593config MIPS_VPE_APSP_API
5e83d430
RB
1594 bool "Enable support for AP/SP API (RTLX)"
1595 depends on MIPS_VPE_LOADER
1596 help
e01402b1 1597
2600990e
RB
1598config MIPS_APSP_KSPD
1599 bool "Enable KSPD"
1600 depends on MIPS_VPE_APSP_API
1601 default y
1602 help
1603 KSPD is a kernel daemon that accepts syscall requests from the SP
1604 side, actions them and returns the results. It also handles the
1605 "exit" syscall notifying other kernel modules the SP program is
1606 exiting. You probably want to say yes here.
1607
1da177e4
LT
1608config SB1_PASS_1_WORKAROUNDS
1609 bool
1610 depends on CPU_SB1_PASS_1
1611 default y
1612
1613config SB1_PASS_2_WORKAROUNDS
1614 bool
1615 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1616 default y
1617
1618config SB1_PASS_2_1_WORKAROUNDS
1619 bool
1620 depends on CPU_SB1 && CPU_SB1_PASS_2
1621 default y
1622
1623config 64BIT_PHYS_ADDR
1624 bool "Support for 64-bit physical address space"
948928ad 1625 depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT
1da177e4 1626
1da177e4 1627config CPU_HAS_LLSC
f7062ddb 1628 bool
1da177e4 1629
1da177e4 1630config CPU_HAS_WB
f7062ddb 1631 bool
e01402b1 1632
f41ae0b2
RB
1633#
1634# Vectored interrupt mode is an R2 feature
1635#
e01402b1 1636config CPU_MIPSR2_IRQ_VI
f41ae0b2 1637 bool
e01402b1 1638
f41ae0b2
RB
1639#
1640# Extended interrupt mode is an R2 feature
1641#
e01402b1 1642config CPU_MIPSR2_IRQ_EI
f41ae0b2 1643 bool
e01402b1 1644
f41ae0b2
RB
1645#
1646# Shadow registers are an R2 feature
1647#
e01402b1 1648config CPU_MIPSR2_SRS
f41ae0b2 1649 bool
e01402b1 1650
1da177e4
LT
1651config CPU_HAS_SYNC
1652 bool
1653 depends on !CPU_R3000
1654 default y
1655
797798c1
RB
1656#
1657# Use the generic interrupt handling code in kernel/irq/:
1658#
1659config GENERIC_HARDIRQS
1660 bool
1661 default y
1662
1663config GENERIC_IRQ_PROBE
1664 bool
1665 default y
1666
0d7012a9 1667config IRQ_PER_CPU
0d7012a9 1668 bool
0d7012a9 1669
1da177e4
LT
1670#
1671# - Highmem only makes sense for the 32-bit kernel.
1672# - The current highmem code will only work properly on physically indexed
1673# caches such as R3000, SB1, R7000 or those that look like they're virtually
1674# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1675# moment we protect the user and offer the highmem option only on machines
1676# where it's known to be safe. This will not offer highmem on a few systems
1677# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1678# indexed CPUs but we're playing safe.
797798c1
RB
1679# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1680# know they might have memory configurations that could make use of highmem
1681# support.
1da177e4
LT
1682#
1683config HIGHMEM
1684 bool "High Memory Support"
797798c1
RB
1685 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1686
1687config CPU_SUPPORTS_HIGHMEM
1688 bool
1689
1690config SYS_SUPPORTS_HIGHMEM
1691 bool
1da177e4 1692
b4819b59
YY
1693config ARCH_FLATMEM_ENABLE
1694 def_bool y
1695 depends on !NUMA
1696
d8cb4e11
RB
1697config ARCH_DISCONTIGMEM_ENABLE
1698 bool
1699 default y if SGI_IP27
1700 help
1701 Say Y to upport efficient handling of discontiguous physical memory,
1702 for architectures which are either NUMA (Non-Uniform Memory Access)
1703 or have huge holes in the physical address space for other reasons.
1704 See <file:Documentation/vm/numa> for more.
1705
31473747
AN
1706config ARCH_SPARSEMEM_ENABLE
1707 bool
7de58fab 1708 select SPARSEMEM_STATIC
31473747 1709
d8cb4e11
RB
1710config NUMA
1711 bool "NUMA Support"
1712 depends on SYS_SUPPORTS_NUMA
1713 help
1714 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1715 Access). This option improves performance on systems with more
1716 than two nodes; on two node systems it is generally better to
1717 leave it disabled; on single node systems disable this option
1718 disabled.
1719
1720config SYS_SUPPORTS_NUMA
1721 bool
1722
c80d79d7
YG
1723config NODES_SHIFT
1724 int
1725 default "6"
1726 depends on NEED_MULTIPLE_NODES
1727
b4819b59
YY
1728source "mm/Kconfig"
1729
1da177e4
LT
1730config SMP
1731 bool "Multi-Processing support"
e73ea273 1732 depends on SYS_SUPPORTS_SMP
b4b30a5a 1733 select IRQ_PER_CPU
e73ea273 1734 help
1da177e4
LT
1735 This enables support for systems with more than one CPU. If you have
1736 a system with only one CPU, like most personal computers, say N. If
1737 you have a system with more than one CPU, say Y.
1738
1739 If you say N here, the kernel will run on single and multiprocessor
1740 machines, but will use only one CPU of a multiprocessor machine. If
1741 you say Y here, the kernel will run on many, but not all,
1742 singleprocessor machines. On a singleprocessor machine, the kernel
1743 will run faster if you say N here.
1744
1745 People using multiprocessor machines who say Y here should also say
1746 Y to "Enhanced Real Time Clock Support", below.
1747
1748 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
1749 available at <http://www.tldp.org/docs.html#howto>.
1750
1751 If you don't know what to do here, say N.
1752
e73ea273
RB
1753config SYS_SUPPORTS_SMP
1754 bool
1755
130e2fb7
RB
1756config NR_CPUS_DEFAULT_2
1757 bool
1758
1759config NR_CPUS_DEFAULT_4
1760 bool
1761
1762config NR_CPUS_DEFAULT_8
1763 bool
1764
1765config NR_CPUS_DEFAULT_16
1766 bool
1767
1768config NR_CPUS_DEFAULT_32
1769 bool
1770
1771config NR_CPUS_DEFAULT_64
1772 bool
1773
1da177e4
LT
1774config NR_CPUS
1775 int "Maximum number of CPUs (2-64)"
1776 range 2 64
1777 depends on SMP
130e2fb7
RB
1778 default "2" if NR_CPUS_DEFAULT_2
1779 default "4" if NR_CPUS_DEFAULT_4
1780 default "8" if NR_CPUS_DEFAULT_8
1781 default "16" if NR_CPUS_DEFAULT_16
1782 default "32" if NR_CPUS_DEFAULT_32
1783 default "64" if NR_CPUS_DEFAULT_64
1da177e4
LT
1784 help
1785 This allows you to specify the maximum number of CPUs which this
1786 kernel will support. The maximum supported value is 32 for 32-bit
1787 kernel and 64 for 64-bit kernels; the minimum value which makes
1788 sense is 2.
1789
1790 This is purely to save memory - each supported CPU adds
1791 approximately eight kilobytes to the kernel image.
1792
1723b4a3
AN
1793#
1794# Timer Interrupt Frequency Configuration
1795#
1796
1797choice
1798 prompt "Timer frequency"
1799 default HZ_250
1800 help
1801 Allows the configuration of the timer frequency.
1802
1803 config HZ_48
1804 bool "48 HZ" if SYS_SUPPORTS_48HZ
1805
1806 config HZ_100
1807 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1808
1809 config HZ_128
1810 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1811
1812 config HZ_250
1813 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1814
1815 config HZ_256
1816 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1817
1818 config HZ_1000
1819 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1820
1821 config HZ_1024
1822 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1823
1824endchoice
1825
1826config SYS_SUPPORTS_48HZ
1827 bool
1828
1829config SYS_SUPPORTS_100HZ
1830 bool
1831
1832config SYS_SUPPORTS_128HZ
1833 bool
1834
1835config SYS_SUPPORTS_250HZ
1836 bool
1837
1838config SYS_SUPPORTS_256HZ
1839 bool
1840
1841config SYS_SUPPORTS_1000HZ
1842 bool
1843
1844config SYS_SUPPORTS_1024HZ
1845 bool
1846
1847config SYS_SUPPORTS_ARBIT_HZ
1848 bool
1849 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1850 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1851 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1852 !SYS_SUPPORTS_1024HZ
1853
1854config HZ
1855 int
1856 default 48 if HZ_48
1857 default 100 if HZ_100
1858 default 128 if HZ_128
1859 default 250 if HZ_250
1860 default 256 if HZ_256
1861 default 1000 if HZ_1000
1862 default 1024 if HZ_1024
1863
e80de850 1864source "kernel/Kconfig.preempt"
1da177e4
LT
1865
1866config RTC_DS1742
1867 bool "DS1742 BRAM/RTC support"
1868 depends on TOSHIBA_JMR3927 || TOSHIBA_RBTX4927
1869
1870config MIPS_INSANE_LARGE
1871 bool "Support for large 64-bit configurations"
875d43e7 1872 depends on CPU_R10000 && 64BIT
1da177e4
LT
1873 help
1874 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1875 previous 64-bit processors which only supported 40 bit / 1TB. If you
1876 need processes of more than 1TB virtual address space, say Y here.
1877 This will result in additional memory usage, so it is not
1878 recommended for normal users.
1879
ea6e942b
AN
1880config KEXEC
1881 bool "Kexec system call (EXPERIMENTAL)"
1882 depends on EXPERIMENTAL
1883 help
1884 kexec is a system call that implements the ability to shutdown your
1885 current kernel, and to start another kernel. It is like a reboot
1886 but it is indepedent of the system firmware. And like a reboot
1887 you can start any kernel with it, not just Linux.
1888
1889 The name comes from the similiarity to the exec system call.
1890
1891 It is an ongoing process to be certain the hardware in a machine
1892 is properly shutdown, so do not be surprised if this code does not
1893 initially work for you. It may help to enable device hotplugging
1894 support. As of this writing the exact hardware interface is
1895 strongly in flux, so no good recommendation can be made.
1896
1897config SECCOMP
1898 bool "Enable seccomp to safely compute untrusted bytecode"
1899 depends on PROC_FS && BROKEN
1900 default y
1901 help
1902 This kernel feature is useful for number crunching applications
1903 that may need to compute untrusted bytecode during their
1904 execution. By using pipes or other transports made available to
1905 the process as file descriptors supporting the read/write
1906 syscalls, it's possible to isolate those applications in
1907 their own address space using seccomp. Once seccomp is
1908 enabled via /proc/<pid>/seccomp, it cannot be disabled
1909 and the task is only allowed to execute a few safe syscalls
1910 defined by each seccomp mode.
1911
1912 If unsure, say Y. Only embedded should say N here.
1913
5e83d430
RB
1914endmenu
1915
1da177e4
LT
1916config RWSEM_GENERIC_SPINLOCK
1917 bool
1918 default y
1919
1df0f0ff
AN
1920config LOCKDEP_SUPPORT
1921 bool
1922 default y
1923
1924config STACKTRACE_SUPPORT
1925 bool
1926 default y
1927
b6c3539b
RB
1928source "init/Kconfig"
1929
1da177e4
LT
1930menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1931
5e83d430
RB
1932config HW_HAS_EISA
1933 bool
1da177e4
LT
1934config HW_HAS_PCI
1935 bool
1936
1937config PCI
1938 bool "Support for PCI controller"
1939 depends on HW_HAS_PCI
1940 help
1941 Find out whether you have a PCI motherboard. PCI is the name of a
1942 bus system, i.e. the way the CPU talks to the other stuff inside
1943 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1944 say Y, otherwise N.
1945
1946 The PCI-HOWTO, available from
1947 <http://www.tldp.org/docs.html#howto>, contains valuable
1948 information about which PCI hardware does work under Linux and which
1949 doesn't.
1950
1951config PCI_DOMAINS
1952 bool
1953 depends on PCI
1954
1955source "drivers/pci/Kconfig"
1956
1957#
1958# ISA support is now enabled via select. Too many systems still have the one
1959# or other ISA chip on the board that users don't know about so don't expect
1960# users to choose the right thing ...
1961#
1962config ISA
1963 bool
1964
1965config EISA
1966 bool "EISA support"
5e83d430 1967 depends on HW_HAS_EISA
1da177e4 1968 select ISA
aa414dff 1969 select GENERIC_ISA_DMA
1da177e4
LT
1970 ---help---
1971 The Extended Industry Standard Architecture (EISA) bus was
1972 developed as an open alternative to the IBM MicroChannel bus.
1973
1974 The EISA bus provided some of the features of the IBM MicroChannel
1975 bus while maintaining backward compatibility with cards made for
1976 the older ISA bus. The EISA bus saw limited use between 1988 and
1977 1995 when it was made obsolete by the PCI bus.
1978
1979 Say Y here if you are building a kernel for an EISA-based machine.
1980
1981 Otherwise, say N.
1982
1983source "drivers/eisa/Kconfig"
1984
1985config TC
1986 bool "TURBOchannel support"
1987 depends on MACH_DECSTATION
1988 help
1989 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
1990 processors. Documentation on writing device drivers for TurboChannel
1991 is available at:
1992 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
1993
1994#config ACCESSBUS
1995# bool "Access.Bus support"
1996# depends on TC
1997
1998config MMU
1999 bool
2000 default y
2001
e5c6c8e4
MN
2002config I8253
2003 bool
2004
1da177e4
LT
2005source "drivers/pcmcia/Kconfig"
2006
2007source "drivers/pci/hotplug/Kconfig"
2008
2009endmenu
2010
2011menu "Executable file formats"
2012
2013source "fs/Kconfig.binfmt"
2014
2015config TRAD_SIGNALS
2016 bool
1da177e4
LT
2017
2018config BUILD_ELF64
2019 bool "Use 64-bit ELF format for building"
875d43e7 2020 depends on 64BIT
1da177e4
LT
2021 help
2022 A 64-bit kernel is usually built using the 64-bit ELF binary object
2023 format as it's one that allows arbitrary 64-bit constructs. For
2024 kernels that are loaded within the KSEG compatibility segments the
2025 32-bit ELF format can optionally be used resulting in a somewhat
2026 smaller binary, but this option is not explicitly supported by the
2027 toolchain and since binutils 2.14 it does not even work at all.
2028
2029 Say Y to use the 64-bit format or N to use the 32-bit one.
2030
2031 If unsure say Y.
2032
2033config BINFMT_IRIX
2034 bool "Include IRIX binary compatibility"
5e83d430 2035 depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
1da177e4
LT
2036
2037config MIPS32_COMPAT
2038 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
875d43e7 2039 depends on 64BIT
1da177e4
LT
2040 help
2041 Select this option if you want Linux/MIPS 32-bit binary
2042 compatibility. Since all software available for Linux/MIPS is
2043 currently 32-bit you should say Y here.
2044
2045config COMPAT
2046 bool
2047 depends on MIPS32_COMPAT
2048 default y
2049
05e43966
AN
2050config SYSVIPC_COMPAT
2051 bool
2052 depends on COMPAT && SYSVIPC
2053 default y
2054
1da177e4
LT
2055config MIPS32_O32
2056 bool "Kernel support for o32 binaries"
2057 depends on MIPS32_COMPAT
2058 help
2059 Select this option if you want to run o32 binaries. These are pure
2060 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2061 existing binaries are in this format.
2062
2063 If unsure, say Y.
2064
2065config MIPS32_N32
2066 bool "Kernel support for n32 binaries"
2067 depends on MIPS32_COMPAT
2068 help
2069 Select this option if you want to run n32 binaries. These are
2070 64-bit binaries using 32-bit quantities for addressing and certain
2071 data that would normally be 64-bit. They are used in special
2072 cases.
2073
2074 If unsure, say N.
2075
2076config BINFMT_ELF32
2077 bool
2078 default y if MIPS32_O32 || MIPS32_N32
2079
2116245e
RB
2080endmenu
2081
2082menu "Power management options"
2083
2084source "kernel/power/Kconfig"
952fa954 2085
1da177e4
LT
2086endmenu
2087
d5950b43
SR
2088source "net/Kconfig"
2089
1da177e4
LT
2090source "drivers/Kconfig"
2091
2092source "fs/Kconfig"
2093
5e83d430
RB
2094source "arch/mips/oprofile/Kconfig"
2095
1da177e4
LT
2096source "arch/mips/Kconfig.debug"
2097
2098source "security/Kconfig"
2099
2100source "crypto/Kconfig"
2101
2102source "lib/Kconfig"
This page took 0.365595 seconds and 5 git commands to generate.