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