summaryrefslogtreecommitdiff
path: root/plat/imx/common
diff options
context:
space:
mode:
Diffstat (limited to 'plat/imx/common')
-rw-r--r--plat/imx/common/imx_sip_svc.c4
-rw-r--r--plat/imx/common/include/imx_sip_svc.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/plat/imx/common/imx_sip_svc.c b/plat/imx/common/imx_sip_svc.c
index 74b59e83..2fad4740 100644
--- a/plat/imx/common/imx_sip_svc.c
+++ b/plat/imx/common/imx_sip_svc.c
@@ -34,7 +34,7 @@ static uintptr_t imx_sip_handler(unsigned int smc_fid,
SMC_RET1(handle, imx_gpc_handler(smc_fid, x1, x2, x3));
break;
case IMX_SIP_SRC:
- SMC_RET1(handle, imx_src_handler(smc_fid, x1, x2, x3));
+ SMC_RET1(handle, imx_src_handler(smc_fid, x1, x2, x3, handle));
break;
case IMX_SIP_DDR_DVFS:
return dram_dvfs_handler(smc_fid, handle, x1, x2, x3);
@@ -52,7 +52,7 @@ static uintptr_t imx_sip_handler(unsigned int smc_fid,
SMC_RET1(handle, imx_gpc_handler(smc_fid, x1, x2, x3));
break;
case IMX_SIP_SRC:
- SMC_RET1(handle, imx_src_handler(smc_fid, x1, x2, x3));
+ SMC_RET1(handle, imx_src_handler(smc_fid, x1, x2, x3, handle));
break;
case IMX_SIP_HAB:
SMC_RET1(handle, imx_hab_handler(smc_fid, x1, x2, x3, x4));
diff --git a/plat/imx/common/include/imx_sip_svc.h b/plat/imx/common/include/imx_sip_svc.h
index 64a01c14..92bde837 100644
--- a/plat/imx/common/include/imx_sip_svc.h
+++ b/plat/imx/common/include/imx_sip_svc.h
@@ -29,6 +29,7 @@
#define IMX_SIP_SRC 0xc2000005
#define IMX_SIP_SRC_M4_START 0x00
#define IMX_SIP_SRC_M4_STARTED 0x01
+#define IMX_SIP_SRC_M4_STOP 0x02
#define IMX_SIP_GET_SOC_INFO 0xC2000006
@@ -66,7 +67,7 @@ int imx_soc_info_handler(uint32_t smc_fid, u_register_t x1,
int imx_gpc_handler(uint32_t smc_fid, u_register_t x1,
u_register_t x2, u_register_t x3);
int imx_src_handler(uint32_t smc_fid, u_register_t x1,
- u_register_t x2, u_register_t x3);
+ u_register_t x2, u_register_t x3, void *handle);
int dram_dvfs_handler(uint32_t smc_fid, void *handle,
u_register_t x1, u_register_t x2, u_register_t x3);
@@ -82,7 +83,7 @@ int dram_dvfs_handler(uint32_t smc_fid, void *handle,
int imx_gpc_handler(uint32_t smc_fid, u_register_t x1,
u_register_t x2, u_register_t x3);
int imx_src_handler(uint32_t smc_fid, u_register_t x1,
- u_register_t x2, u_register_t x3);
+ u_register_t x2, u_register_t x3, void *handle);
int imx_hab_handler(uint32_t smc_fid, u_register_t x1,
u_register_t x2, u_register_t x3, u_register_t x4);
#endif