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