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.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/plat/imx/common/sip_svc.c b/plat/imx/common/sip_svc.c
index 9432c12e..02728556 100644
--- a/plat/imx/common/sip_svc.c
+++ b/plat/imx/common/sip_svc.c
@@ -1,6 +1,6 @@
/*
* Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
- * Copyright 2017 NXP
+ * Copyright 2017-2018 NXP
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -90,12 +90,14 @@ 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_GPC:
- SMC_RET1(handle, imx_gpc_handler(smc_fid, x1, x2, x3));
- break;
case FSL_SIP_DDR_DVFS:
SMC_RET1(handle, lpddr4_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;
case FSL_SIP_SRC:
SMC_RET1(handle, imx_src_handler(smc_fid, x1, x2, x3));
break;