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