[U-Boot] api_storage: Fix non-first storage device enumeration

Tom Rini trini at konsulko.com
Tue Sep 15 23:34:30 CEST 2015


On Mon, Sep 14, 2015 at 12:21:34PM +0200, Andreas Färber wrote:

> When enabling CONFIG_API and chain-loading GRUB2 on jetson-tk1, only the
> eMMC would show up as (hd0), but not the SD card, leading to GRUB not
> finding its configuration and modules, falling back to a rescue shell.
> 
> This is because enum_ended would get set for !more after returning a
> cookie for the first MMC device in group 3.
> 
> Fix this by properly setting the "more" argument also in the case of the
> first storage device of a group.
> 
> Signed-off-by: Andreas Färber <afaerber at suse.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150915/9f72d62d/attachment.sig>


More information about the U-Boot mailing list