Fix MISRA rule 8.4 in common code
[project/bcm63xx/atf.git] / plat / common / plat_bl_common.c
index 502bb540508c3de934e0330135c97a22cffb0012..b471a7e7b5600f1e87dce32426b0c74a486cf0c0 100644 (file)
@@ -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)
 {