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