]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Rework image header parse to allow abort on raw image and os boot
authorPaul Kocialkowski <contact@paulk.fr>
Wed, 24 Aug 2016 18:04:42 +0000 (20:04 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 6 Sep 2016 17:41:38 +0000 (13:41 -0400)
commit85a3772973a3cab5322f2c385a5c827260c3bc8b
tree6e714bf86f18ac5031b303a1356fe9a7db7fa804
parent7302fbb31d1ba8b208ae5e400028c692167c7072
spl: Rework image header parse to allow abort on raw image and os boot

This reworks spl_set_header_raw_uboot to allow having both os boot
(which comes with a valid header) and aborting when no valid header is
found (thus excluding raw u-boot.bin images).

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl.c