aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/Kconfig28
1 files changed, 27 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 50d854ce7f59..731446473f21 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1455,6 +1455,26 @@ config CPU_XLP
1455 Netlogic Microsystems XLP processors. 1455 Netlogic Microsystems XLP processors.
1456endchoice 1456endchoice
1457 1457
1458config CPU_MIPS32_3_5_FEATURES
1459 bool "MIPS32 Release 3.5 Features"
1460 depends on SYS_HAS_CPU_MIPS32_R3_5
1461 depends on CPU_MIPS32_R2
1462 help
1463 Choose this option to build a kernel for release 2 or later of the
1464 MIPS32 architecture including features from the 3.5 release such as
1465 support for Enhanced Virtual Addressing (EVA).
1466
1467config CPU_MIPS32_3_5_EVA
1468 bool "Enhanced Virtual Addressing (EVA)"
1469 depends on CPU_MIPS32_3_5_FEATURES
1470 select EVA
1471 default y
1472 help
1473 Choose this option if you want to enable the Enhanced Virtual
1474 Addressing (EVA) on your MIPS32 core (such as proAptiv).
1475 One of its primary benefits is an increase in the maximum size
1476 of lowmem (up to 3GB). If unsure, say 'N' here.
1477
1458if CPU_LOONGSON2F 1478if CPU_LOONGSON2F
1459config CPU_NOP_WORKAROUNDS 1479config CPU_NOP_WORKAROUNDS
1460 bool 1480 bool
@@ -1548,6 +1568,9 @@ config SYS_HAS_CPU_MIPS32_R1
1548config SYS_HAS_CPU_MIPS32_R2 1568config SYS_HAS_CPU_MIPS32_R2
1549 bool 1569 bool
1550 1570
1571config SYS_HAS_CPU_MIPS32_R3_5
1572 bool
1573
1551config SYS_HAS_CPU_MIPS64_R1 1574config SYS_HAS_CPU_MIPS64_R1
1552 bool 1575 bool
1553 1576
@@ -1664,6 +1687,9 @@ config CPU_MIPSR2
1664 bool 1687 bool
1665 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON 1688 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
1666 1689
1690config EVA
1691 bool
1692
1667config SYS_SUPPORTS_32BIT_KERNEL 1693config SYS_SUPPORTS_32BIT_KERNEL
1668 bool 1694 bool
1669config SYS_SUPPORTS_64BIT_KERNEL 1695config SYS_SUPPORTS_64BIT_KERNEL
@@ -2149,7 +2175,7 @@ config CPU_R4400_WORKAROUNDS
2149# 2175#
2150config HIGHMEM 2176config HIGHMEM
2151 bool "High Memory Support" 2177 bool "High Memory Support"
2152 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM 2178 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA
2153 2179
2154config CPU_SUPPORTS_HIGHMEM 2180config CPU_SUPPORTS_HIGHMEM
2155 bool 2181 bool