Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c583ee4f authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: mm: MMU v1..v3 only selectable for ARCompact ISA based cores

parent 5c35ee64
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -282,6 +282,8 @@ choice
	default ARC_MMU_V2 if ARC_CPU_750D
	default ARC_MMU_V2 if ARC_CPU_750D
	default ARC_MMU_V4 if ARC_CPU_HS
	default ARC_MMU_V4 if ARC_CPU_HS


if ISA_ARCOMPACT

config ARC_MMU_V1
config ARC_MMU_V1
	bool "MMU v1"
	bool "MMU v1"
	help
	help
@@ -301,6 +303,8 @@ config ARC_MMU_V3
	  Variable Page size (1k-16k), var JTLB size 128 x (2 or 4)
	  Variable Page size (1k-16k), var JTLB size 128 x (2 or 4)
	  Shared Address Spaces (SASID)
	  Shared Address Spaces (SASID)


endif

config ARC_MMU_V4
config ARC_MMU_V4
	bool "MMU v4"
	bool "MMU v4"
	depends on ISA_ARCV2
	depends on ISA_ARCV2