diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2014-02-04 11:43:57 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-03-05 16:21:14 +0000 |
commit | ee9ad7856c21835c0ad080d1e04d90e8c3535a4c (patch) | |
tree | 377402375729e41e710bb94203bb90afce01f6b9 /include | |
parent | 48e2ca7967b8569cd8028b2ed7d1897a396c7b4a (diff) |
bl_common: add image_size()
Fixes ARM-software/tf-issues#42
Some callers of load_image() may need to get the size of the image
before/after loading it.
Change-Id: I8dc067b69fc711433651a560ba5a8c3519445857
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/bl_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bl_common.h b/include/bl_common.h index 8139282b..ba6dc110 100644 --- a/include/bl_common.h +++ b/include/bl_common.h @@ -133,6 +133,7 @@ extern void init_bl2_mem_layout(meminfo *, extern void init_bl31_mem_layout(const meminfo *, meminfo *, unsigned int) __attribute__((weak)); +extern unsigned long image_size(const char *); extern unsigned long load_image(meminfo *, const char *, unsigned int, unsigned long); extern void __dead2 run_image(unsigned long entrypoint, unsigned long spsr, |