summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-05-11 13:30:16 +0800
committerAnson Huang <Anson.Huang@nxp.com>2020-05-11 14:05:53 +0800
commit9c55c5b58c5560a084758bdd2b0d19efeac303fe (patch)
tree95ad760eb34d7a9d4af0ffe38fdf1fee854e3069
parentfc2a8af0d9aa43097869ce62e0aa54872afa286e (diff)
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 <Anson.Huang@nxp.com> Reviewed-by: Jacky Bai <ping.bai@nxp.com> (cherry picked from commit 9b8cf9247f1ba85b520f93cae0bb421feb12e76f)
-rwxr-xr-xplat/imx/common/include/sci/sci_rpc.h2
-rw-r--r--plat/imx/common/sci/svc/rm/rm_rpc_clnt.c2
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);