summaryrefslogtreecommitdiff
path: root/plat/imx/common/sip_svc.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/imx/common/sip_svc.c')
-rw-r--r--plat/imx/common/sip_svc.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/plat/imx/common/sip_svc.c b/plat/imx/common/sip_svc.c
index b8f918e9..db14773e 100644
--- a/plat/imx/common/sip_svc.c
+++ b/plat/imx/common/sip_svc.c
@@ -116,17 +116,10 @@ uintptr_t imx_svc_smc_handler(uint32_t smc_fid,
{
NOTICE("smc_fid is %x\n", smc_fid);
switch (smc_fid) {
-#ifdef PLAT_IMX8M
- case FSL_SIP_DDR_DVFS:
- SMC_RET1(handle, lpddr4_dvfs_handler(smc_fid, x1, x2, x3));
- break;
-#endif
-#if defined(PLAT_IMX8MM)
+#if defined(PLAT_IMX8M) || defined(PLAT_IMX8MM)
case FSL_SIP_DDR_DVFS:
SMC_RET1(handle, dram_dvfs_handler(smc_fid, x1, x2, x3));
break;
-#endif
-#if defined(PLAT_IMX8M) || defined(PLAT_IMX8MM)
case FSL_SIP_GPC:
SMC_RET1(handle, imx_gpc_handler(smc_fid, x1, x2, x3));
break;