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