summaryrefslogtreecommitdiff
path: root/plat/common
diff options
context:
space:
mode:
authorDan Handley <dan.handley@arm.com>2015-12-15 14:28:24 +0000
committerDan Handley <dan.handley@arm.com>2015-12-15 14:33:25 +0000
commit1f37b9442fa47af519eabd2f5b67fdaeb1ddfa64 (patch)
tree3c7cd89f7896fe305eb42048783c343c18b0db4e /plat/common
parent8e4f829179bf265e067c5e6151f044fdbdd298af (diff)
FWU: Pass client cookie to FWU_SMC_UPDATE_DONE
The current FWU_SMC_UPDATE_DONE implementation incorrectly passes an unused framework cookie through to the 1st argument in the platform function `bl1_plat_fwu_done`. The intent is to allow the SMC caller to pass a cookie through to this function. This patch fixes FWU_SMC_UPDATE_DONE to pass x1 from the caller through to `bl1_plat_fwu_done`. The argument names are updated for clarity. Upstream platforms currently do not use this argument so no impact is expected. Change-Id: I107f4b51eb03e7394f66d9a534ffab1cbc09a9b2
Diffstat (limited to 'plat/common')
-rw-r--r--plat/common/plat_bl1_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/common/plat_bl1_common.c b/plat/common/plat_bl1_common.c
index aee9440a..e637aaf0 100644
--- a/plat/common/plat_bl1_common.c
+++ b/plat/common/plat_bl1_common.c
@@ -69,7 +69,7 @@ image_desc_t *bl1_plat_get_image_desc(unsigned int image_id)
return &bl2_img_desc;
}
-__dead2 void bl1_plat_fwu_done(void *cookie, void *rsvd_ptr)
+__dead2 void bl1_plat_fwu_done(void *client_cookie, void *reserved)
{
while (1)
wfi();