diff --git a/common/bl_common.c b/common/bl_common.c index 6b979f6..af51c07 100644 --- a/common/bl_common.c +++ b/common/bl_common.c @@ -184,7 +184,7 @@ #endif /* LOAD_IMAGE_V2 */ /* Generic function to return the size of an image */ -size_t image_size(unsigned int image_id) +size_t get_image_size(unsigned int image_id) { uintptr_t dev_handle; uintptr_t image_handle; diff --git a/include/common/bl_common.h b/include/common/bl_common.h index c7c7487..f64e6ae 100644 --- a/include/common/bl_common.h +++ b/include/common/bl_common.h @@ -207,7 +207,7 @@ /******************************************************************************* * Function & variable prototypes ******************************************************************************/ -size_t image_size(unsigned int image_id); +size_t get_image_size(unsigned int image_id); int is_mem_free(uintptr_t free_base, size_t free_size, uintptr_t addr, size_t size);