From 9b8cf9247f1ba85b520f93cae0bb421feb12e76f Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Mon, 11 May 2020 13:30:16 +0800 Subject: MLK-23969 imx: Update SCFW API message type according to latest SCFW The SCFW commit 3e500fb26979 ("SCF-621: Change pad width in sc_rm_is_pad_owned() RPC.") changes pad width in sc_rm_is_pad_owned() RPC, update it accordingly. Signed-off-by: Anson Huang Reviewed-by: Jacky Bai --- plat/imx/common/include/sci/sci_rpc.h | 2 +- plat/imx/common/sci/svc/rm/rm_rpc_clnt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plat/imx/common/include/sci/sci_rpc.h b/plat/imx/common/include/sci/sci_rpc.h index b742a8bc..ee046344 100755 --- a/plat/imx/common/include/sci/sci_rpc.h +++ b/plat/imx/common/include/sci/sci_rpc.h @@ -21,7 +21,7 @@ /* Defines */ #define SCFW_API_VERSION_MAJOR 1U -#define SCFW_API_VERSION_MINOR 16U +#define SCFW_API_VERSION_MINOR 21U #define SC_RPC_VERSION 1U diff --git a/plat/imx/common/sci/svc/rm/rm_rpc_clnt.c b/plat/imx/common/sci/svc/rm/rm_rpc_clnt.c index 2a464737..9cb9ff16 100644 --- a/plat/imx/common/sci/svc/rm/rm_rpc_clnt.c +++ b/plat/imx/common/sci/svc/rm/rm_rpc_clnt.c @@ -717,7 +717,7 @@ sc_bool_t sc_rm_is_pad_owned(sc_ipc_t ipc, sc_pad_t pad) RPC_SVC(&msg) = U8(SC_RPC_SVC_RM); RPC_FUNC(&msg) = U8(RM_FUNC_IS_PAD_OWNED); - RPC_U8(&msg, 0U) = U8(pad); + RPC_U16(&msg, 0U) = U16(pad); sc_call_rpc(ipc, &msg, SC_FALSE); -- cgit v1.2.3