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>
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h
index 69a2957..e2f1cfd 100644
--- a/include/plat/common/platform.h
+++ b/include/plat/common/platform.h
@@ -155,6 +155,15 @@
*/
__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