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