summaryrefslogtreecommitdiff
path: root/plat/common
diff options
context:
space:
mode:
authorRoberto Vargas <roberto.vargas@arm.com>2018-02-12 12:36:17 +0000
committerRoberto Vargas <roberto.vargas@arm.com>2018-02-28 17:18:46 +0000
commit7fabe1a89903cab4919304faa085ee6eaaec5c9d (patch)
tree140db3931433edf3ac1724eef7db426614afa42a /plat/common
parent9fb8af33c40f21becde99fc15db73b1f4d82059c (diff)
Fix MISRA rule 8.4 in common code
Rule 8.4: A compatible declaration shall be visible when an object or function with external linkage is defined. Change-Id: I26e042cb251a6f9590afa1340fdac73e42f23979 Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'plat/common')
-rw-r--r--plat/common/plat_bl_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/common/plat_bl_common.c b/plat/common/plat_bl_common.c
index 502bb540..b471a7e7 100644
--- a/plat/common/plat_bl_common.c
+++ b/plat/common/plat_bl_common.c
@@ -36,6 +36,7 @@ void bl2_plat_preload_setup(void)
{
}
+#if LOAD_IMAGE_V2
int bl2_plat_handle_pre_image_load(unsigned int image_id)
{
return 0;
@@ -45,6 +46,7 @@ int bl2_plat_handle_post_image_load(unsigned int image_id)
{
return 0;
}
+#endif
int plat_try_next_boot_source(void)
{