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