platform: msm_shared: Add support for lpae
Add support for lpae mapping and scm apis to check if mapping of tz and
hypervisor memory is allowed
Change-Id: Ibdb838b0ca82aaedc49990617468dbf9773c4ad5
diff --git a/platform/msm_shared/include/scm.h b/platform/msm_shared/include/scm.h
index 2cdca66..95f4f46 100644
--- a/platform/msm_shared/include/scm.h
+++ b/platform/msm_shared/include/scm.h
@@ -235,6 +235,7 @@
#define SVC_MEMORY_PROTECTION 0x0C
#define TZ_SVC_CRYPTO 0x0A
#define SCM_SVC_INFO 0x06
+#define TZ_SVC_DLOAD_MODE 0x3
/*Service specific command IDs */
#define ERR_FATAL_ENABLE 0x0
@@ -461,4 +462,5 @@
bool is_scm_armv8_support();
int scm_dload_mode(int mode);
+int scm_device_enter_dload();
#endif