bl_common: add image_size()
authorRyan Harkin <ryan.harkin@linaro.org>
Tue, 4 Feb 2014 11:43:57 +0000 (11:43 +0000)
committerDan Handley <dan.handley@arm.com>
Wed, 5 Mar 2014 16:21:14 +0000 (16:21 +0000)
commitee9ad7856c21835c0ad080d1e04d90e8c3535a4c
tree377402375729e41e710bb94203bb90afce01f6b9
parent48e2ca7967b8569cd8028b2ed7d1897a396c7b4a
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>
common/bl_common.c
include/bl_common.h