aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig57
1 files changed, 53 insertions, 4 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 25f3b0a11ca8..3ca0fe1a9123 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -22,6 +22,26 @@ choice
22config MACH_ALCHEMY 22config MACH_ALCHEMY
23 bool "Alchemy processor based machines" 23 bool "Alchemy processor based machines"
24 24
25config AR7
26 bool "Texas Instruments AR7"
27 select BOOT_ELF32
28 select DMA_NONCOHERENT
29 select CEVT_R4K
30 select CSRC_R4K
31 select IRQ_CPU
32 select NO_EXCEPT_FILL
33 select SWAP_IO_SPACE
34 select SYS_HAS_CPU_MIPS32_R1
35 select SYS_HAS_EARLY_PRINTK
36 select SYS_SUPPORTS_32BIT_KERNEL
37 select SYS_SUPPORTS_LITTLE_ENDIAN
38 select GENERIC_GPIO
39 select GCD
40 select VLYNQ
41 help
42 Support for the Texas Instruments AR7 System-on-a-Chip
43 family: TNETD7100, 7200 and 7300.
44
25config BASLER_EXCITE 45config BASLER_EXCITE
26 bool "Basler eXcite smart camera" 46 bool "Basler eXcite smart camera"
27 select CEVT_R4K 47 select CEVT_R4K
@@ -209,7 +229,7 @@ config MIPS_MALTA
209 select SYS_SUPPORTS_64BIT_KERNEL 229 select SYS_SUPPORTS_64BIT_KERNEL
210 select SYS_SUPPORTS_BIG_ENDIAN 230 select SYS_SUPPORTS_BIG_ENDIAN
211 select SYS_SUPPORTS_LITTLE_ENDIAN 231 select SYS_SUPPORTS_LITTLE_ENDIAN
212 select SYS_SUPPORTS_MIPS_CMP if BROKEN # because SYNC_R4K is broken 232 select SYS_SUPPORTS_MIPS_CMP
213 select SYS_SUPPORTS_MULTITHREADING 233 select SYS_SUPPORTS_MULTITHREADING
214 select SYS_SUPPORTS_SMARTMIPS 234 select SYS_SUPPORTS_SMARTMIPS
215 help 235 help
@@ -247,6 +267,7 @@ config MACH_VR41XX
247 select CEVT_R4K 267 select CEVT_R4K
248 select CSRC_R4K 268 select CSRC_R4K
249 select SYS_HAS_CPU_VR41XX 269 select SYS_HAS_CPU_VR41XX
270 select ARCH_REQUIRE_GPIOLIB
250 271
251config NXP_STB220 272config NXP_STB220
252 bool "NXP STB220 board" 273 bool "NXP STB220 board"
@@ -601,6 +622,7 @@ config CAVIUM_OCTEON_SIMULATOR
601 select SYS_SUPPORTS_64BIT_KERNEL 622 select SYS_SUPPORTS_64BIT_KERNEL
602 select SYS_SUPPORTS_BIG_ENDIAN 623 select SYS_SUPPORTS_BIG_ENDIAN
603 select SYS_SUPPORTS_HIGHMEM 624 select SYS_SUPPORTS_HIGHMEM
625 select SYS_SUPPORTS_HOTPLUG_CPU
604 select SYS_HAS_CPU_CAVIUM_OCTEON 626 select SYS_HAS_CPU_CAVIUM_OCTEON
605 help 627 help
606 The Octeon simulator is software performance model of the Cavium 628 The Octeon simulator is software performance model of the Cavium
@@ -615,9 +637,12 @@ config CAVIUM_OCTEON_REFERENCE_BOARD
615 select SYS_SUPPORTS_64BIT_KERNEL 637 select SYS_SUPPORTS_64BIT_KERNEL
616 select SYS_SUPPORTS_BIG_ENDIAN 638 select SYS_SUPPORTS_BIG_ENDIAN
617 select SYS_SUPPORTS_HIGHMEM 639 select SYS_SUPPORTS_HIGHMEM
640 select SYS_SUPPORTS_HOTPLUG_CPU
618 select SYS_HAS_EARLY_PRINTK 641 select SYS_HAS_EARLY_PRINTK
619 select SYS_HAS_CPU_CAVIUM_OCTEON 642 select SYS_HAS_CPU_CAVIUM_OCTEON
620 select SWAP_IO_SPACE 643 select SWAP_IO_SPACE
644 select HW_HAS_PCI
645 select ARCH_SUPPORTS_MSI
621 help 646 help
622 This option supports all of the Octeon reference boards from Cavium 647 This option supports all of the Octeon reference boards from Cavium
623 Networks. It builds a kernel that dynamically determines the Octeon 648 Networks. It builds a kernel that dynamically determines the Octeon
@@ -782,8 +807,17 @@ config SYS_HAS_EARLY_PRINTK
782 bool 807 bool
783 808
784config HOTPLUG_CPU 809config HOTPLUG_CPU
810 bool "Support for hot-pluggable CPUs"
811 depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
812 help
813 Say Y here to allow turning CPUs off and on. CPUs can be
814 controlled through /sys/devices/system/cpu.
815 (Note: power management support will enable this option
816 automatically on SMP systems. )
817 Say N if you want to disable CPU hotplug.
818
819config SYS_SUPPORTS_HOTPLUG_CPU
785 bool 820 bool
786 default n
787 821
788config I8259 822config I8259
789 bool 823 bool
@@ -851,6 +885,11 @@ config SYS_SUPPORTS_BIG_ENDIAN
851config SYS_SUPPORTS_LITTLE_ENDIAN 885config SYS_SUPPORTS_LITTLE_ENDIAN
852 bool 886 bool
853 887
888config SYS_SUPPORTS_HUGETLBFS
889 bool
890 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
891 default y
892
854config IRQ_CPU 893config IRQ_CPU
855 bool 894 bool
856 895
@@ -1055,6 +1094,7 @@ config CPU_MIPS64_R1
1055 select CPU_SUPPORTS_32BIT_KERNEL 1094 select CPU_SUPPORTS_32BIT_KERNEL
1056 select CPU_SUPPORTS_64BIT_KERNEL 1095 select CPU_SUPPORTS_64BIT_KERNEL
1057 select CPU_SUPPORTS_HIGHMEM 1096 select CPU_SUPPORTS_HIGHMEM
1097 select CPU_SUPPORTS_HUGEPAGES
1058 help 1098 help
1059 Choose this option to build a kernel for release 1 or later of the 1099 Choose this option to build a kernel for release 1 or later of the
1060 MIPS64 architecture. Many modern embedded systems with a 64-bit 1100 MIPS64 architecture. Many modern embedded systems with a 64-bit
@@ -1074,6 +1114,7 @@ config CPU_MIPS64_R2
1074 select CPU_SUPPORTS_32BIT_KERNEL 1114 select CPU_SUPPORTS_32BIT_KERNEL
1075 select CPU_SUPPORTS_64BIT_KERNEL 1115 select CPU_SUPPORTS_64BIT_KERNEL
1076 select CPU_SUPPORTS_HIGHMEM 1116 select CPU_SUPPORTS_HIGHMEM
1117 select CPU_SUPPORTS_HUGEPAGES
1077 help 1118 help
1078 Choose this option to build a kernel for release 2 or later of the 1119 Choose this option to build a kernel for release 2 or later of the
1079 MIPS64 architecture. Many modern embedded systems with a 64-bit 1120 MIPS64 architecture. Many modern embedded systems with a 64-bit
@@ -1160,6 +1201,7 @@ config CPU_R5500
1160 select CPU_HAS_LLSC 1201 select CPU_HAS_LLSC
1161 select CPU_SUPPORTS_32BIT_KERNEL 1202 select CPU_SUPPORTS_32BIT_KERNEL
1162 select CPU_SUPPORTS_64BIT_KERNEL 1203 select CPU_SUPPORTS_64BIT_KERNEL
1204 select CPU_SUPPORTS_HUGEPAGES
1163 help 1205 help
1164 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV 1206 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1165 instruction set. 1207 instruction set.
@@ -1245,6 +1287,7 @@ config CPU_CAVIUM_OCTEON
1245 select WEAK_ORDERING 1287 select WEAK_ORDERING
1246 select WEAK_REORDERING_BEYOND_LLSC 1288 select WEAK_REORDERING_BEYOND_LLSC
1247 select CPU_SUPPORTS_HIGHMEM 1289 select CPU_SUPPORTS_HIGHMEM
1290 select CPU_SUPPORTS_HUGEPAGES
1248 help 1291 help
1249 The Cavium Octeon processor is a highly integrated chip containing 1292 The Cavium Octeon processor is a highly integrated chip containing
1250 many ethernet hardware widgets for networking tasks. The processor 1293 many ethernet hardware widgets for networking tasks. The processor
@@ -1364,6 +1407,8 @@ config CPU_SUPPORTS_32BIT_KERNEL
1364 bool 1407 bool
1365config CPU_SUPPORTS_64BIT_KERNEL 1408config CPU_SUPPORTS_64BIT_KERNEL
1366 bool 1409 bool
1410config CPU_SUPPORTS_HUGEPAGES
1411 bool
1367 1412
1368# 1413#
1369# Set to y for ptrace access to watch registers. 1414# Set to y for ptrace access to watch registers.
@@ -1611,7 +1656,7 @@ config MIPS_APSP_KSPD
1611config MIPS_CMP 1656config MIPS_CMP
1612 bool "MIPS CMP framework support" 1657 bool "MIPS CMP framework support"
1613 depends on SYS_SUPPORTS_MIPS_CMP 1658 depends on SYS_SUPPORTS_MIPS_CMP
1614 select SYNC_R4K if BROKEN 1659 select SYNC_R4K
1615 select SYS_SUPPORTS_SMP 1660 select SYS_SUPPORTS_SMP
1616 select SYS_SUPPORTS_SCHED_SMT if SMP 1661 select SYS_SUPPORTS_SCHED_SMT if SMP
1617 select WEAK_ORDERING 1662 select WEAK_ORDERING
@@ -2121,9 +2166,13 @@ endmenu
2121 2166
2122menu "Power management options" 2167menu "Power management options"
2123 2168
2169config ARCH_HIBERNATION_POSSIBLE
2170 def_bool y
2171 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2172
2124config ARCH_SUSPEND_POSSIBLE 2173config ARCH_SUSPEND_POSSIBLE
2125 def_bool y 2174 def_bool y
2126 depends on !SMP 2175 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
2127 2176
2128source "kernel/power/Kconfig" 2177source "kernel/power/Kconfig"
2129 2178