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