diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2016-04-11 15:24:50 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-11 20:48:27 -0400 |
commit | 811906aebcb81c14c1a836a5ae97f49f1cc9b7ec (patch) | |
tree | 7fbb7e251783b028025a88f32706c60b6f1c1448 /arch/arc/lib/cpu.c | |
parent | df120142f36b6ff8b12187b8860269763b2b3203 (diff) | |
download | u-boot-imx-811906aebcb81c14c1a836a5ae97f49f1cc9b7ec.zip u-boot-imx-811906aebcb81c14c1a836a5ae97f49f1cc9b7ec.tar.gz u-boot-imx-811906aebcb81c14c1a836a5ae97f49f1cc9b7ec.tar.bz2 |
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>
Diffstat (limited to 'arch/arc/lib/cpu.c')
0 files changed, 0 insertions, 0 deletions