]> git.sur5r.net Git - u-boot/commit
spl_mmc: allow to load raw image
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 16 Mar 2016 03:10:00 +0000 (12:10 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 23 Mar 2016 16:36:55 +0000 (01:36 +0900)
commit4976f4827546154bb296dd0fb33b2cdff94be0c1
tree6989073da84ef05ebbdb3e92eeb68c152a6cad47
parent73b5b27b7a8a01cf0527ecba5419ef5a44caf27d
spl_mmc: allow to load raw image

The function spl_parse_image_header() falls back to a raw image
if the U-Boot header is missing and CONFIG_SPL_PANIC_ON_RAW_IMAGE
is undefined.  While, mmc_load_image_raw_sector() only accepts a
U-Boot legacy image or an FIT image, preventing us from loading a
raw image.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl_mmc.c