[U-Boot] api: storage: Test all block device in dev_stor_get

Tom Rini trini at konsulko.com
Sat Jan 21 04:37:36 CET 2017


On Thu, Jan 05, 2017 at 06:40:21AM +0100, Emmanuel Vadot wrote:

> In a config with one MMC at device id '1' and no MMC at device id '0'
> (a BeagleBone Black with no sd inserted for example), the current code
> will first test to access the MMC 0 (sd port), seeing that no device is
> present it will simply return that no more device are present for this
> class.
> This patch fixes this by testing all devices for each class.
> 
> Signed-off-by: Emmanuel Vadot <manu at bidouilliste.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: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170120/f6d6b235/attachment.sig>


More information about the U-Boot mailing list