diff options
author | Mario Schuknecht <mario.schuknecht@dresearch-fe.de> | 2014-09-30 17:04:42 +0200 |
---|---|---|
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | 2014-10-03 17:26:50 +0300 |
commit | 786a27b7ec9efd1ebf50008050e3cff9ce458198 (patch) | |
tree | 855509aef2abd6f1ff9ad02caa2af88f9fadb1b1 /fs/cramfs | |
parent | bcd06989b860c691f5afbd1c03d1b0d9e9970cdc (diff) | |
download | u-boot-imx-786a27b7ec9efd1ebf50008050e3cff9ce458198.zip u-boot-imx-786a27b7ec9efd1ebf50008050e3cff9ce458198.tar.gz u-boot-imx-786a27b7ec9efd1ebf50008050e3cff9ce458198.tar.bz2 |
mmc: Fix mmc bus width
After setting the bus width, the extended CSD register is read. Some selected
fields are compared with previously read extended CSD register fields. In this
comparison the EXT_CSD_ERASE_GROUP_DEF field is compared. But this field is
previously written under certain circumstances. And then the comparison fails.
Only compare read-only fields. Therefore compare field EXT_CSD_HC_WP_GRP_SIZE
instead of field EXT_CSD_ERASE_GROUP_DEF.
Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'fs/cramfs')
0 files changed, 0 insertions, 0 deletions