bootm: introduce bootm_get_os_size
ARM do_bootm_linux is not only called with uImages but also with
raw images, so we can't use uimage_get_size() here. Introduce
bootm_get_os_size() which handles the different image types.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d378e4a commit 8fc6ac8419cec57a3f5ab36e70fe64da244413f6
@Sascha Hauer Sascha Hauer authored on 14 Jan 2016
Showing 3 changed files
View
arch/arm/lib/bootm.c
View
common/bootm.c
View
include/boot.h