summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-09-29 12:31:13 +0200
committerVineet Gupta <vgupta@synopsys.com>2015-10-17 14:18:24 +0200
commitc583ee4fb013bcf3501b9f10c252ea44cf7c657a (patch)
treefe8ad9217789b0e818402970c001dd7b96e99363 /arch/arc
parentARC: make write_aux_reg safer against macro substitution (diff)
downloadlinux-c583ee4fb013bcf3501b9f10c252ea44cf7c657a.tar.xz
linux-c583ee4fb013bcf3501b9f10c252ea44cf7c657a.zip
ARC: mm: MMU v1..v3 only selectable for ARCompact ISA based cores
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-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