Skip to content
Snippets Groups Projects
Commit e4c444b3 authored by Tom Rini's avatar Tom Rini
Browse files

spl_mmc.c: Detect missing kernel image in RAW MMC


Currently, we assume that if we can read from MMC correctly, we have
found a valid image.  This is not the case as an empty area will read
just fine.  Add a check for a valid IH_MAGIC.

Signed-off-by: default avatarTom Rini <trini@ti.com>
Reviewed-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 3864cb21
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