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 3c0cf27 commit 0bb6e4c533211e70a4481c8d9128fd74aaa38c66
@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