From: Tom Rini Date: Tue, 30 Jul 2013 09:26:06 -0400 Subject: [U-Boot] spl_mmc.c: Detect missing kernel image in RAW MMC In-Reply-To: <1372444981-21305-1-git-send-email-trini@ti.com> References: <1372444981-21305-1-git-send-email-trini@ti.com> Message-ID: <20130730132606.GL5104@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Peter Korsgaard 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: