Home
last modified time | relevance | path

Searched hist:"811906 aebcb81c14c1a836a5ae97f49f1cc9b7ec" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/common/spl/
H A Dspl_mmc.c811906aebcb81c14c1a836a5ae97f49f1cc9b7ec Mon Apr 11 09:54:50 UTC 2016 Lokesh Vutla <lokeshvutla@ti.com> 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>