summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-09-29 16:01:13 +0530
committerVineet Gupta <vgupta@synopsys.com>2015-10-17 17:48:24 +0530
commitc583ee4fb013bcf3501b9f10c252ea44cf7c657a (patch)
treefe8ad9217789b0e818402970c001dd7b96e99363 /arch
parent5c35ee642a1d1341b225808b53fc69df2245b87e (diff)
ARC: mm: MMU v1..v3 only selectable for ARCompact ISA based cores
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index 5912006391ed..f50ff986ed60 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -282,6 +282,8 @@ choice
default ARC_MMU_V2 if ARC_CPU_750D
default ARC_MMU_V4 if ARC_CPU_HS
+if ISA_ARCOMPACT
+
config ARC_MMU_V1
bool "MMU v1"
help
@@ -301,6 +303,8 @@ config ARC_MMU_V3
Variable Page size (1k-16k), var JTLB size 128 x (2 or 4)
Shared Address Spaces (SASID)
+endif
+
config ARC_MMU_V4
bool "MMU v4"
depends on ISA_ARCV2