summaryrefslogtreecommitdiff
path: root/bl1
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2015-12-14 18:24:48 +0000
committerdanh-arm <dan.handley@arm.com>2015-12-14 18:24:48 +0000
commit8e4f829179bf265e067c5e6151f044fdbdd298af (patch)
tree69deacd0065e99b74ad9b5ef79b122ea0f1ac89b /bl1
parent31d5e7f56ea66d2b540fcb25fb27b930dfc45221 (diff)
parent03131c85ada8a0956f91bb2fc6851666e3996797 (diff)
Merge pull request #468 from danh-arm/dh/fwu-tweaks
FWU: Fix secure memory check in image auth
Diffstat (limited to 'bl1')
-rw-r--r--bl1/bl1_fwu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bl1/bl1_fwu.c b/bl1/bl1_fwu.c
index f8b414e3..05759212 100644
--- a/bl1/bl1_fwu.c
+++ b/bl1/bl1_fwu.c
@@ -298,7 +298,8 @@ static int bl1_fwu_image_auth(unsigned int image_id,
* Image is in RESET state.
* Check the parameters and authenticate the source image in place.
*/
- if (bl1_plat_mem_check(image_src, image_size, flags)) {
+ if (bl1_plat_mem_check(image_src, image_size, \
+ image_desc->ep_info.h.attr)) {
WARN("BL1-FWU: Authentication arguments source/size not mapped\n");
return -ENOMEM;
}