diff options
author | Emmanuel Vadot <manu@bidouilliste.com> | 2017-01-05 05:40:21 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-20 20:37:58 (GMT) |
commit | d3e8f63026fa37dc09dcfd803df81e5452f87df9 (patch) | |
tree | 809b6a2f91f30e8d1b54d8a156c3aaf7baabffd5 /common/image.c | |
parent | 6215bd4c1fd6bce95072ad123cf1e4af94ab44e2 (diff) | |
download | u-boot-fsl-qoriq-d3e8f63026fa37dc09dcfd803df81e5452f87df9.tar.xz |
api: storage: Test all block device in dev_stor_get
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@bidouilliste.com>
Diffstat (limited to 'common/image.c')
0 files changed, 0 insertions, 0 deletions