summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@bidouilliste.com>2017-01-05 06:40:21 +0100
committerTom Rini <trini@konsulko.com>2017-01-20 15:37:58 -0500
commitd3e8f63026fa37dc09dcfd803df81e5452f87df9 (patch)
tree809b6a2f91f30e8d1b54d8a156c3aaf7baabffd5 /common
parent6215bd4c1fd6bce95072ad123cf1e4af94ab44e2 (diff)
downloadu-boot-imx-d3e8f63026fa37dc09dcfd803df81e5452f87df9.zip
u-boot-imx-d3e8f63026fa37dc09dcfd803df81e5452f87df9.tar.gz
u-boot-imx-d3e8f63026fa37dc09dcfd803df81e5452f87df9.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions