mmc: core: Detect eMMC v4.5 ext_csd entries
The eMMC v4.5 Spec is released now: EXT_CSD_REV Extended CSD Revision 255-7 Reserved 6 Revision 1.6 (for MMC v4.5) 5 Revision 1.5 (for MMV v4.41) ... Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
committed by
Chris Ball
parent
d5a5bd1c3f
commit
38ca285044
@@ -259,7 +259,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
card->ext_csd.rev = ext_csd[EXT_CSD_REV];
|
card->ext_csd.rev = ext_csd[EXT_CSD_REV];
|
||||||
if (card->ext_csd.rev > 5) {
|
if (card->ext_csd.rev > 6) {
|
||||||
printk(KERN_ERR "%s: unrecognised EXT_CSD revision %d\n",
|
printk(KERN_ERR "%s: unrecognised EXT_CSD revision %d\n",
|
||||||
mmc_hostname(card->host), card->ext_csd.rev);
|
mmc_hostname(card->host), card->ext_csd.rev);
|
||||||
err = -EINVAL;
|
err = -EINVAL;
|
||||||
|
|||||||
Reference in New Issue
Block a user