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