summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/sip.c
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2019-10-26 16:24:03 +0200
committerStefano Babic <sbabic@denx.de>2019-11-03 17:04:16 +0100
commit264977d1c2f12c8b7bcb125405a66bb05332d3c5 (patch)
tree3b4b9c0e2054d82164950b37cec3e7dd725bd9d3 /arch/arm/mach-imx/sip.c
parent6dcc6cebcf1a0d2ab2b8dde5936556b58807f77d (diff)
mach-imx: Adding new argument for SIP call interface
Need to pass total 5 arguments for SIP HAB call on i.MX8MQ, so update the interface to add new argument. Signed-off-by: Ye Li <ye.li@nxp.com> [agust: fixed imx8m-power-domain build] Signed-off-by: Anatolij Gustschin <agust@denx.de> Reviewed-by: Patrick Wildt <patrick@blueri.se> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/mach-imx/sip.c')
-rw-r--r--arch/arm/mach-imx/sip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/sip.c b/arch/arm/mach-imx/sip.c
index 968e7cf3097..fca520c671b 100644
--- a/arch/arm/mach-imx/sip.c
+++ b/arch/arm/mach-imx/sip.c
@@ -7,7 +7,8 @@
#include <asm/arch/sys_proto.h>
unsigned long call_imx_sip(unsigned long id, unsigned long reg0,
- unsigned long reg1, unsigned long reg2)
+ unsigned long reg1, unsigned long reg2,
+ unsigned long reg3)
{
struct pt_regs regs;
@@ -15,6 +16,7 @@ unsigned long call_imx_sip(unsigned long id, unsigned long reg0,
regs.regs[1] = reg0;
regs.regs[2] = reg1;
regs.regs[3] = reg2;
+ regs.regs[4] = reg3;
smc_call(&regs);