From: Tom Rini Date: Mon, 11 Apr 2016 22:31:00 -0400 Subject: [U-Boot] spl: mmc: raw: Try to load u-boot if Linux image is not found In-Reply-To: <1460368490-16632-1-git-send-email-lokeshvutla@ti.com> References: <1460368490-16632-1-git-send-email-lokeshvutla@ti.com> Message-ID: <20160412023100.GX13577@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 Mon, Apr 11, 2016 at 03:24:50PM +0530, Lokesh Vutla wrote: > 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: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: