[U-Boot] spl_mmc.c: Detect missing kernel image in RAW MMC

Tom Rini trini at ti.com
Tue Jul 30 15:26:06 CEST 2013


On Fri, Jun 28, 2013 at 02:43:01PM -0400, Tom Rini wrote:

> 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 at ti.com>
> Reviewed-by: Peter Korsgaard <jacmet at sunsite.dk>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130730/ad1184c5/attachment.pgp>


More information about the U-Boot mailing list