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