aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig181
1 files changed, 107 insertions, 74 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index b22c043b6ef8..6b0f85f02c79 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -37,16 +37,6 @@ config BASLER_EXCITE
37 The eXcite is a smart camera platform manufactured by 37 The eXcite is a smart camera platform manufactured by
38 Basler Vision Technologies AG. 38 Basler Vision Technologies AG.
39 39
40config BASLER_EXCITE_PROTOTYPE
41 bool "Support for pre-release units"
42 depends on BASLER_EXCITE
43 default n
44 help
45 Pre-series (prototype) units are different from later ones in
46 some ways. Select this option if you have one of these. Please
47 note that a kernel built with this option selected will not be
48 able to run on normal units.
49
50config BCM47XX 40config BCM47XX
51 bool "BCM47XX based boards" 41 bool "BCM47XX based boards"
52 select CEVT_R4K 42 select CEVT_R4K
@@ -82,7 +72,7 @@ config MIPS_COBALT
82 select SYS_HAS_CPU_NEVADA 72 select SYS_HAS_CPU_NEVADA
83 select SYS_HAS_EARLY_PRINTK 73 select SYS_HAS_EARLY_PRINTK
84 select SYS_SUPPORTS_32BIT_KERNEL 74 select SYS_SUPPORTS_32BIT_KERNEL
85 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 75 select SYS_SUPPORTS_64BIT_KERNEL
86 select SYS_SUPPORTS_LITTLE_ENDIAN 76 select SYS_SUPPORTS_LITTLE_ENDIAN
87 select GENERIC_HARDIRQS_NO__DO_IRQ 77 select GENERIC_HARDIRQS_NO__DO_IRQ
88 78
@@ -91,6 +81,9 @@ config MACH_DECSTATION
91 select BOOT_ELF32 81 select BOOT_ELF32
92 select CEVT_R4K 82 select CEVT_R4K
93 select CSRC_R4K 83 select CSRC_R4K
84 select CPU_DADDI_WORKAROUNDS if 64BIT
85 select CPU_R4000_WORKAROUNDS if 64BIT
86 select CPU_R4400_WORKAROUNDS if 64BIT
94 select DMA_NONCOHERENT 87 select DMA_NONCOHERENT
95 select NO_IOPORT 88 select NO_IOPORT
96 select IRQ_CPU 89 select IRQ_CPU
@@ -124,12 +117,12 @@ config MACH_JAZZ
124 select ARCH_MAY_HAVE_PC_FDC 117 select ARCH_MAY_HAVE_PC_FDC
125 select CEVT_R4K 118 select CEVT_R4K
126 select CSRC_R4K 119 select CSRC_R4K
120 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
127 select GENERIC_ISA_DMA 121 select GENERIC_ISA_DMA
128 select IRQ_CPU 122 select IRQ_CPU
129 select I8253 123 select I8253
130 select I8259 124 select I8259
131 select ISA 125 select ISA
132 select PCSPEAKER
133 select SYS_HAS_CPU_R4X00 126 select SYS_HAS_CPU_R4X00
134 select SYS_SUPPORTS_32BIT_KERNEL 127 select SYS_SUPPORTS_32BIT_KERNEL
135 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 128 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
@@ -187,6 +180,7 @@ config LEMOTE_FULONG
187config MIPS_ATLAS 180config MIPS_ATLAS
188 bool "MIPS Atlas board" 181 bool "MIPS Atlas board"
189 select BOOT_ELF32 182 select BOOT_ELF32
183 select BOOT_RAW
190 select CEVT_R4K 184 select CEVT_R4K
191 select CSRC_R4K 185 select CSRC_R4K
192 select DMA_NONCOHERENT 186 select DMA_NONCOHERENT
@@ -219,6 +213,7 @@ config MIPS_MALTA
219 bool "MIPS Malta board" 213 bool "MIPS Malta board"
220 select ARCH_MAY_HAVE_PC_FDC 214 select ARCH_MAY_HAVE_PC_FDC
221 select BOOT_ELF32 215 select BOOT_ELF32
216 select BOOT_RAW
222 select CEVT_R4K 217 select CEVT_R4K
223 select CSRC_R4K 218 select CSRC_R4K
224 select DMA_NONCOHERENT 219 select DMA_NONCOHERENT
@@ -364,35 +359,6 @@ config PMC_YOSEMITE
364 Yosemite is an evaluation board for the RM9000x2 processor 359 Yosemite is an evaluation board for the RM9000x2 processor
365 manufactured by PMC-Sierra. 360 manufactured by PMC-Sierra.
366 361
367config QEMU
368 bool "Qemu"
369 select CEVT_R4K
370 select CSRC_R4K
371 select DMA_COHERENT
372 select GENERIC_ISA_DMA
373 select HAVE_STD_PC_SERIAL_PORT
374 select I8253
375 select I8259
376 select IRQ_CPU
377 select ISA
378 select PCSPEAKER
379 select SWAP_IO_SPACE
380 select SYS_HAS_CPU_MIPS32_R1
381 select SYS_HAS_EARLY_PRINTK
382 select SYS_SUPPORTS_32BIT_KERNEL
383 select SYS_SUPPORTS_BIG_ENDIAN
384 select SYS_SUPPORTS_LITTLE_ENDIAN
385 select GENERIC_HARDIRQS_NO__DO_IRQ
386 select NR_CPUS_DEFAULT_1
387 select SYS_SUPPORTS_SMP
388 help
389 Qemu is a software emulator which among other architectures also
390 can simulate a MIPS32 4Kc system. This patch adds support for the
391 system architecture that currently is being simulated by Qemu. It
392 will eventually be removed again when Qemu has the capability to
393 simulate actual MIPS hardware platforms. More information on Qemu
394 can be found at http://www.linux-mips.org/wiki/Qemu.
395
396config SGI_IP22 362config SGI_IP22
397 bool "SGI IP22 (Indy/Indigo2)" 363 bool "SGI IP22 (Indy/Indigo2)"
398 select ARC 364 select ARC
@@ -400,6 +366,7 @@ config SGI_IP22
400 select BOOT_ELF32 366 select BOOT_ELF32
401 select CEVT_R4K 367 select CEVT_R4K
402 select CSRC_R4K 368 select CSRC_R4K
369 select DEFAULT_SGI_PARTITION
403 select DMA_NONCOHERENT 370 select DMA_NONCOHERENT
404 select HW_HAS_EISA 371 select HW_HAS_EISA
405 select I8253 372 select I8253
@@ -407,6 +374,12 @@ config SGI_IP22
407 select IP22_CPU_SCACHE 374 select IP22_CPU_SCACHE
408 select IRQ_CPU 375 select IRQ_CPU
409 select GENERIC_ISA_DMA_SUPPORT_BROKEN 376 select GENERIC_ISA_DMA_SUPPORT_BROKEN
377 select SGI_HAS_DS1286
378 select SGI_HAS_I8042
379 select SGI_HAS_INDYDOG
380 select SGI_HAS_SEEQ
381 select SGI_HAS_WD93
382 select SGI_HAS_ZILOG
410 select SWAP_IO_SPACE 383 select SWAP_IO_SPACE
411 select SYS_HAS_CPU_R4X00 384 select SYS_HAS_CPU_R4X00
412 select SYS_HAS_CPU_R5000 385 select SYS_HAS_CPU_R5000
@@ -424,6 +397,7 @@ config SGI_IP27
424 select ARC 397 select ARC
425 select ARC64 398 select ARC64
426 select BOOT_ELF64 399 select BOOT_ELF64
400 select DEFAULT_SGI_PARTITION
427 select DMA_IP27 401 select DMA_IP27
428 select SYS_HAS_EARLY_PRINTK 402 select SYS_HAS_EARLY_PRINTK
429 select HW_HAS_PCI 403 select HW_HAS_PCI
@@ -440,6 +414,36 @@ config SGI_IP27
440 workstations. To compile a Linux kernel that runs on these, say Y 414 workstations. To compile a Linux kernel that runs on these, say Y
441 here. 415 here.
442 416
417config SGI_IP28
418 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
419 depends on EXPERIMENTAL
420 select ARC
421 select ARC64
422 select BOOT_ELF64
423 select CEVT_R4K
424 select CSRC_R4K
425 select DEFAULT_SGI_PARTITION
426 select DMA_NONCOHERENT
427 select GENERIC_ISA_DMA_SUPPORT_BROKEN
428 select IRQ_CPU
429 select HW_HAS_EISA
430 select I8253
431 select I8259
432 select SGI_HAS_DS1286
433 select SGI_HAS_I8042
434 select SGI_HAS_INDYDOG
435 select SGI_HAS_SEEQ
436 select SGI_HAS_WD93
437 select SGI_HAS_ZILOG
438 select SWAP_IO_SPACE
439 select SYS_HAS_CPU_R10000
440 select SYS_HAS_EARLY_PRINTK
441 select SYS_SUPPORTS_64BIT_KERNEL
442 select SYS_SUPPORTS_BIG_ENDIAN
443 help
444 This is the SGI Indigo2 with R10000 processor. To compile a Linux
445 kernel that runs on these, say Y here.
446
443config SGI_IP32 447config SGI_IP32
444 bool "SGI IP32 (O2)" 448 bool "SGI IP32 (O2)"
445 select ARC 449 select ARC
@@ -545,19 +549,6 @@ config SIBYTE_SENTOSA
545 select SYS_SUPPORTS_BIG_ENDIAN 549 select SYS_SUPPORTS_BIG_ENDIAN
546 select SYS_SUPPORTS_LITTLE_ENDIAN 550 select SYS_SUPPORTS_LITTLE_ENDIAN
547 551
548config SIBYTE_PTSWARM
549 bool "Sibyte BCM91250PT-PTSWARM"
550 depends on EXPERIMENTAL
551 select BOOT_ELF32
552 select DMA_COHERENT
553 select NR_CPUS_DEFAULT_2
554 select SIBYTE_SB1250
555 select SWAP_IO_SPACE
556 select SYS_HAS_CPU_SB1
557 select SYS_SUPPORTS_BIG_ENDIAN
558 select SYS_SUPPORTS_HIGHMEM
559 select SYS_SUPPORTS_LITTLE_ENDIAN
560
561config SIBYTE_BIGSUR 552config SIBYTE_BIGSUR
562 bool "Sibyte BCM91480B-BigSur" 553 bool "Sibyte BCM91480B-BigSur"
563 select BOOT_ELF32 554 select BOOT_ELF32
@@ -575,10 +566,12 @@ config SNI_RM
575 bool "SNI RM200/300/400" 566 bool "SNI RM200/300/400"
576 select ARC if CPU_LITTLE_ENDIAN 567 select ARC if CPU_LITTLE_ENDIAN
577 select ARC32 if CPU_LITTLE_ENDIAN 568 select ARC32 if CPU_LITTLE_ENDIAN
569 select SNIPROM if CPU_BIG_ENDIAN
578 select ARCH_MAY_HAVE_PC_FDC 570 select ARCH_MAY_HAVE_PC_FDC
579 select BOOT_ELF32 571 select BOOT_ELF32
580 select CEVT_R4K 572 select CEVT_R4K
581 select CSRC_R4K 573 select CSRC_R4K
574 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
582 select DMA_NONCOHERENT 575 select DMA_NONCOHERENT
583 select GENERIC_ISA_DMA 576 select GENERIC_ISA_DMA
584 select HW_HAS_EISA 577 select HW_HAS_EISA
@@ -587,7 +580,6 @@ config SNI_RM
587 select I8253 580 select I8253
588 select I8259 581 select I8259
589 select ISA 582 select ISA
590 select PCSPEAKER
591 select SWAP_IO_SPACE if CPU_BIG_ENDIAN 583 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
592 select SYS_HAS_CPU_R4X00 584 select SYS_HAS_CPU_R4X00
593 select SYS_HAS_CPU_R5000 585 select SYS_HAS_CPU_R5000
@@ -690,6 +682,7 @@ config WR_PPMC
690endchoice 682endchoice
691 683
692source "arch/mips/au1000/Kconfig" 684source "arch/mips/au1000/Kconfig"
685source "arch/mips/basler/excite/Kconfig"
693source "arch/mips/jazz/Kconfig" 686source "arch/mips/jazz/Kconfig"
694source "arch/mips/lasat/Kconfig" 687source "arch/mips/lasat/Kconfig"
695source "arch/mips/pmc-sierra/Kconfig" 688source "arch/mips/pmc-sierra/Kconfig"
@@ -797,10 +790,6 @@ config DMA_COHERENT
797config DMA_IP27 790config DMA_IP27
798 bool 791 bool
799 792
800config DMA_IP32
801 bool
802 select DMA_NEED_PCI_MAP_STATE
803
804config DMA_NONCOHERENT 793config DMA_NONCOHERENT
805 bool 794 bool
806 select DMA_NEED_PCI_MAP_STATE 795 select DMA_NEED_PCI_MAP_STATE
@@ -956,16 +945,40 @@ config EMMA2RH
956config SERIAL_RM9000 945config SERIAL_RM9000
957 bool 946 bool
958 947
948config SGI_HAS_DS1286
949 bool
950
951config SGI_HAS_INDYDOG
952 bool
953
954config SGI_HAS_SEEQ
955 bool
956
957config SGI_HAS_WD93
958 bool
959
960config SGI_HAS_ZILOG
961 bool
962
963config SGI_HAS_I8042
964 bool
965
966config DEFAULT_SGI_PARTITION
967 bool
968
959config ARC32 969config ARC32
960 bool 970 bool
961 971
972config SNIPROM
973 bool
974
962config BOOT_ELF32 975config BOOT_ELF32
963 bool 976 bool
964 977
965config MIPS_L1_CACHE_SHIFT 978config MIPS_L1_CACHE_SHIFT
966 int 979 int
967 default "4" if MACH_DECSTATION 980 default "4" if MACH_DECSTATION
968 default "7" if SGI_IP27 || SNI_RM 981 default "7" if SGI_IP27 || SGI_IP28 || SNI_RM
969 default "4" if PMC_MSP4200_EVAL 982 default "4" if PMC_MSP4200_EVAL
970 default "5" 983 default "5"
971 984
@@ -974,7 +987,7 @@ config HAVE_STD_PC_SERIAL_PORT
974 987
975config ARC_CONSOLE 988config ARC_CONSOLE
976 bool "ARC console support" 989 bool "ARC console support"
977 depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN) 990 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
978 991
979config ARC_MEMORY 992config ARC_MEMORY
980 bool 993 bool
@@ -983,7 +996,7 @@ config ARC_MEMORY
983 996
984config ARC_PROMLIB 997config ARC_PROMLIB
985 bool 998 bool
986 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32 999 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
987 default y 1000 default y
988 1001
989config ARC64 1002config ARC64
@@ -1443,7 +1456,9 @@ config MIPS_MT_SMP
1443 select MIPS_MT 1456 select MIPS_MT
1444 select NR_CPUS_DEFAULT_2 1457 select NR_CPUS_DEFAULT_2
1445 select SMP 1458 select SMP
1459 select SYS_SUPPORTS_SCHED_SMT if SMP
1446 select SYS_SUPPORTS_SMP 1460 select SYS_SUPPORTS_SMP
1461 select SMP_UP
1447 help 1462 help
1448 This is a kernel model which is also known a VSMP or lately 1463 This is a kernel model which is also known a VSMP or lately
1449 has been marketesed into SMVP. 1464 has been marketesed into SMVP.
@@ -1460,6 +1475,7 @@ config MIPS_MT_SMTC
1460 select NR_CPUS_DEFAULT_8 1475 select NR_CPUS_DEFAULT_8
1461 select SMP 1476 select SMP
1462 select SYS_SUPPORTS_SMP 1477 select SYS_SUPPORTS_SMP
1478 select SMP_UP
1463 help 1479 help
1464 This is a kernel model which is known a SMTC or lately has been 1480 This is a kernel model which is known a SMTC or lately has been
1465 marketesed into SMVP. 1481 marketesed into SMVP.
@@ -1469,6 +1485,19 @@ endchoice
1469config MIPS_MT 1485config MIPS_MT
1470 bool 1486 bool
1471 1487
1488config SCHED_SMT
1489 bool "SMT (multithreading) scheduler support"
1490 depends on SYS_SUPPORTS_SCHED_SMT
1491 default n
1492 help
1493 SMT scheduler support improves the CPU scheduler's decision making
1494 when dealing with MIPS MT enabled cores at a cost of slightly
1495 increased overhead in some places. If unsure say N here.
1496
1497config SYS_SUPPORTS_SCHED_SMT
1498 bool
1499
1500
1472config SYS_SUPPORTS_MULTITHREADING 1501config SYS_SUPPORTS_MULTITHREADING
1473 bool 1502 bool
1474 1503
@@ -1589,15 +1618,6 @@ config CPU_HAS_SMARTMIPS
1589config CPU_HAS_WB 1618config CPU_HAS_WB
1590 bool 1619 bool
1591 1620
1592config 64BIT_CONTEXT
1593 bool "Save 64bit integer registers"
1594 depends on 32BIT && CPU_LOONGSON2
1595 help
1596 Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
1597 registers can still be accessed as 64bit, mainly for multimedia
1598 instructions. We must have all 64bit save/restored to make sure
1599 those instructions to get correct result.
1600
1601# 1621#
1602# Vectored interrupt mode is an R2 feature 1622# Vectored interrupt mode is an R2 feature
1603# 1623#
@@ -1619,6 +1639,19 @@ config GENERIC_CLOCKEVENTS_BROADCAST
1619 bool 1639 bool
1620 1640
1621# 1641#
1642# CPU non-features
1643#
1644config CPU_DADDI_WORKAROUNDS
1645 bool
1646
1647config CPU_R4000_WORKAROUNDS
1648 bool
1649 select CPU_R4400_WORKAROUNDS
1650
1651config CPU_R4400_WORKAROUNDS
1652 bool
1653
1654#
1622# Use the generic interrupt handling code in kernel/irq/: 1655# Use the generic interrupt handling code in kernel/irq/:
1623# 1656#
1624config GENERIC_HARDIRQS 1657config GENERIC_HARDIRQS
@@ -1721,6 +1754,9 @@ config SMP
1721 1754
1722 If you don't know what to do here, say N. 1755 If you don't know what to do here, say N.
1723 1756
1757config SMP_UP
1758 bool
1759
1724config SYS_SUPPORTS_SMP 1760config SYS_SUPPORTS_SMP
1725 bool 1761 bool
1726 1762
@@ -1978,9 +2014,6 @@ config MMU
1978config I8253 2014config I8253
1979 bool 2015 bool
1980 2016
1981config PCSPEAKER
1982 bool
1983
1984config ZONE_DMA32 2017config ZONE_DMA32
1985 bool 2018 bool
1986 2019