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