[U-Boot] spl: mmc: raw: Try to load u-boot if Linux image is not found

Tom Rini trini at konsulko.com
Tue Apr 12 04:31:00 CEST 2016


On Mon, Apr 11, 2016 at 03:24:50PM +0530, Lokesh Vutla wrote:

> If CONFIG_SPL_OS_BOOT is enabled and Linux image is not flashed at
> RAW_MODE_KERNEL_SECTOR in MMC, spl still assumes that Linux is
> available and tries to boot it and hangs. In order to avoid this,
> adding a check to verify if parsed image header is of type IH_OS_LINUX.
> If it fails then fall back to load u-boot image.
> 
> Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160411/cc12c6fa/attachment.sig>


More information about the U-Boot mailing list