summaryrefslogtreecommitdiff
path: root/bl2
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2018-02-06 05:12:28 +0000
committerGitHub <noreply@github.com>2018-02-06 05:12:28 +0000
commit9fd2f13bd608832260300640970f73c62357c684 (patch)
tree149d13158075ab08cccff2710ee8bedd0406d2c1 /bl2
parent10787b0519afce1e887a935789b2d624849856a9 (diff)
parent8951b058fce077dab7afcd86c532ec0fc0200352 (diff)
Merge pull request #1224 from masahir0y/gzip
Support GZIP-compressed images for faster loading and verification
Diffstat (limited to 'bl2')
-rw-r--r--bl2/bl2_image_load_v2.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/bl2/bl2_image_load_v2.c b/bl2/bl2_image_load_v2.c
index 6517703d..ebbad45e 100644
--- a/bl2/bl2_image_load_v2.c
+++ b/bl2/bl2_image_load_v2.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -54,6 +54,12 @@ entry_point_info_t *bl2_load_images(void)
}
}
+ err = bl2_plat_handle_pre_image_load(bl2_node_info->image_id);
+ if (err) {
+ ERROR("BL2: Failure in pre image load handling (%i)\n", err);
+ plat_error_handler(err);
+ }
+
if (!(bl2_node_info->image_info->h.attr & IMAGE_ATTRIB_SKIP_LOADING)) {
INFO("BL2: Loading image id %d\n", bl2_node_info->image_id);
err = load_auth_image(bl2_node_info->image_id,