aboutsummaryrefslogtreecommitdiff
path: root/fwu
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2018-12-13 16:02:41 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2019-01-03 10:51:21 +0100
commit1779506e5be07e4e136d35b75d2672680067fdb6 (patch)
tree36783422ce62b29e98899d0c14ab99993536caa0 /fwu
parent485cee0e136763febc859b8eddd5c54520987725 (diff)
downloadtf-a-tests-1779506e5be07e4e136d35b75d2672680067fdb6.tar.gz
Rename SMC first argument
'fid' (short for 'function ID') makes for a more explicit name. Change-Id: I41d90c39979162142b0377a68f4be90dc31de253 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Diffstat (limited to 'fwu')
-rw-r--r--fwu/ns_bl2u/ns_bl2u_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fwu/ns_bl2u/ns_bl2u_main.c b/fwu/ns_bl2u/ns_bl2u_main.c
index babcf93e..5b1373f6 100644
--- a/fwu/ns_bl2u/ns_bl2u_main.c
+++ b/fwu/ns_bl2u/ns_bl2u_main.c
@@ -52,7 +52,7 @@ void ns_bl2u_main(void)
/* Call FWU_SMC_UPDATE_DONE to indicate image update done. */
INFO("NS_BL2U: Calling FWU_SMC_UPDATE_DONE\n");
- fwu_params.arg0 = FWU_SMC_UPDATE_DONE;
+ fwu_params.fid = FWU_SMC_UPDATE_DONE;
fwu_result = tftf_smc(&fwu_params);
ERROR("NS_BL2U: Unexpected return from FWU process (%d)\n",
(int)fwu_result.ret0);