diff options
author | Diego Santa Cruz <Diego.SantaCruz@spinetix.com> | 2014-12-23 09:50:28 (GMT) |
---|---|---|
committer | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | 2015-01-19 15:04:48 (GMT) |
commit | 9cf199ebcff13f8d98b31ab48e3bcce37ed8925d (patch) | |
tree | 34f4b537c8170fee11fa5a191d0d69d267139d8e /include/mmc.h | |
parent | 8a0cf4901021b09c283f172d4d29d0d05721b0ba (diff) | |
download | u-boot-9cf199ebcff13f8d98b31ab48e3bcce37ed8925d.tar.xz |
mmc: the ext_csd data may be used during init even if reading failed
The mmc_startup() function uses the ext_csd data even if reading it
from the mmc device failed. This bug was introduced in commit
bc897b1d4d86597311430dbe7b3e6c807c8c53e5. We now bail out if
reading it fails, this should not be a problem as ext_csd was
introduced in MMC 4.0 and this code is conditional on MMC >= 4.0.
Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Diffstat (limited to 'include/mmc.h')
0 files changed, 0 insertions, 0 deletions