platform: msm8996: Add support for LPAE
Update the MMU table to add support for LPAE mapping. Modify the
addresses used for lk, scratch, rpmb buffer to be aligned to 2mb
boundary.
Change-Id: Ieffd04d35102a8622da5509647ed80a4d61ff6ad
diff --git a/project/msm8996.mk b/project/msm8996.mk
index 1eaf598..d69fe19 100644
--- a/project/msm8996.mk
+++ b/project/msm8996.mk
@@ -22,6 +22,7 @@
ENABLE_RPMB_SUPPORT := 1
ENABLE_GLINK_SUPPORT := 1
ENABLE_PWM_SUPPORT := true
+ENABLE_LPAE_SUPPORT := 1
DEFINES +=VIRTIO=1
@@ -80,6 +81,10 @@
DEFINES += WDOG_SUPPORT=1
endif
+ifeq ($(ENABLE_LPAE_SUPPORT),1)
+DEFINES += LPAE=1
+endif
+
CFLAGS += -Werror
#SCM call before entering DLOAD mode