diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-02-01 16:46:18 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-02-02 00:19:04 +0900 |
commit | 11f001cb7f26e9c50e688038ebdc9627ea5c4300 (patch) | |
tree | ddb896c0935e8d5bb178e414ad1557795475481e /include/plat/common | |
parent | ba68ef557bfa63c5a44c1f78acaccf1fb5e171f2 (diff) | |
download | trusted-firmware-a-11f001cb7f26e9c50e688038ebdc9627ea5c4300.tar.gz |
bl1: add bl1_plat_handle_{pre,post}_image_load()
Just like bl2_, add pre/post image load handlers for BL1. No argument
is needed since BL2 is the only image loaded by BL1.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/plat/common')
-rw-r--r-- | include/plat/common/platform.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h index 69a2957afd..e2f1cfdc37 100644 --- a/include/plat/common/platform.h +++ b/include/plat/common/platform.h @@ -155,6 +155,15 @@ struct image_desc *bl1_plat_get_image_desc(unsigned int image_id); */ __dead2 void bl1_plat_fwu_done(void *client_cookie, void *reserved); +#if LOAD_IMAGE_V2 +/* + * This function can be used by the platforms to update/use image + * information for BL2. + */ +int bl1_plat_handle_pre_image_load(void); +int bl1_plat_handle_post_image_load(void); + +#endif /* LOAD_IMAGE_V2 */ /******************************************************************************* * Mandatory BL2 functions |