Skip to content
Snippets Groups Projects
Commit 811906ae authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Tom Rini
Browse files

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: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent df120142
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment