commit | 9dee77fd2227a89548cfbf9c50c4a6fa2d476ca0 | [log] [tgz] |
---|---|---|
author | Lokesh Vutla <lokeshvutla@ti.com> | Mon Apr 11 15:24:50 2016 +0530 |
committer | Tom Rini <trini@konsulko.com> | Mon Apr 11 20:48:27 2016 -0400 |
tree | 7fbb7e251783b028025a88f32706c60b6f1c1448 | |
parent | ba3bf9b171542e65257a926a7bf352c92d83d246 [diff] |
spl: mmc: raw: Try to load u-boot if Linux image is not found 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@ti.com>