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