ARC: mm: MMU v1..v3 only selectable for ARCompact ISA based cores
authorVineet Gupta <vgupta@synopsys.com>
Tue, 29 Sep 2015 10:31:13 +0000 (16:01 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Sat, 17 Oct 2015 12:18:24 +0000 (17:48 +0530)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/Kconfig

index 5912006391ed45eeb802eb39ff077d1fa7a94355..f50ff986ed60d03d51cc3f42bd752305cf0a9048 100644 (file)
@@ -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