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