summaryrefslogtreecommitdiff
path: root/plat/common
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-02-01 16:46:18 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-02-02 00:19:04 +0900
commit11f001cb7f26e9c50e688038ebdc9627ea5c4300 (patch)
treeddb896c0935e8d5bb178e414ad1557795475481e /plat/common
parentba68ef557bfa63c5a44c1f78acaccf1fb5e171f2 (diff)
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 'plat/common')
-rw-r--r--plat/common/platform_helpers_default.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/plat/common/platform_helpers_default.c b/plat/common/platform_helpers_default.c
index 597a5850..ce1a7317 100644
--- a/plat/common/platform_helpers_default.c
+++ b/plat/common/platform_helpers_default.c
@@ -12,6 +12,8 @@
*/
#pragma weak plat_error_handler
+#pragma weak bl1_plat_handle_pre_image_load
+#pragma weak bl1_plat_handle_post_image_load
#pragma weak bl2_plat_preload_setup
#pragma weak bl2_plat_handle_pre_image_load
#pragma weak bl2_plat_handle_post_image_load
@@ -23,6 +25,16 @@ void __dead2 plat_error_handler(int err)
wfi();
}
+int bl1_plat_handle_pre_image_load(void)
+{
+ return 0;
+}
+
+int bl1_plat_handle_post_image_load(void)
+{
+ return 0;
+}
+
void bl2_plat_preload_setup(void)
{
}