[U-Boot] api: storage: Fix enumeration of storage devices

Tom Rini trini at konsulko.com
Thu Dec 27 15:47:39 UTC 2018


On Tue, Dec 18, 2018 at 08:03:49PM +0200, Cristian Ciocaltea wrote:

> dev_stor_get() is not able to find the next available device in the current
> storage group when the previous enumerated device belongs to a different
> group or class (e.g. network).
> 
> The root cause is the device group iterator not being reset after an
> unsuccessful search for the last returned device so that the following
> search for the next available device will start from beginning.
> 
> The issue has been identified by loading and booting GRUB in a QEMU
> vexpress-a9 environment.
> 
> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea at iquestgroup.com>

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: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181227/95b0f09b/attachment.sig>


More information about the U-Boot mailing list