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