aboutsummaryrefslogtreecommitdiff
path: root/include/bl_common.h
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2014-02-04 11:43:57 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2014-03-04 21:40:03 +0000
commit6728f8bbe3f9e8c977cb869c8c3cf54ef4676489 (patch)
treec6d2e58493cd4efd5f3d2818bb8f87b88fd7811f /include/bl_common.h
parentb2388490302d41038a5dd9a16d7f6d554c828bd3 (diff)
bl_common: add image_size()ryan-issue-42-v2
Fixes ARM-software/tf-issues#42 Some callers of load_image() may need to get the size of the image before/after loading it. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'include/bl_common.h')
-rw-r--r--include/bl_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bl_common.h b/include/bl_common.h
index aad3d22..81c6b41 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,