commit | 1530e8adefdcefbacf7da6cb717194e100318bc8 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@ti.com> | Fri Jun 28 14:43:01 2013 -0400 |
committer | Tom Rini <trini@ti.com> | Fri Jul 26 16:39:10 2013 -0400 |
tree | 819affbbcf26cb4657003c9d880f31deec82ff83 | |
parent | 248b4ce9f8f890012d74c885a1496bcc0d01802d [diff] |
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: Tom Rini <trini@ti.com> Reviewed-by: Peter Korsgaard <jacmet@sunsite.dk>