commit | ca25e065fc168d18dffdcec18aa0d9a5b503113e | [log] [tgz] |
---|---|---|
author | Diego Santa Cruz <Diego.SantaCruz@spinetix.com> | Tue Dec 23 10:50:28 2014 +0100 |
committer | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | Mon Jan 19 17:04:48 2015 +0200 |
tree | 34f4b537c8170fee11fa5a191d0d69d267139d8e | |
parent | a7a7599d33bd60ae0f6dbf5cf31c9de78c60aa25 [diff] |
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>