Merge pull request #468 from danh-arm/dh/fwu-tweaks

FWU: Fix secure memory check in image auth
This commit is contained in:
danh-arm 2015-12-14 18:24:48 +00:00
commit 8e4f829179
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}