Commit dfb9d730 authored by Ryan QIAN's avatar Ryan QIAN Committed by Jason Liu

ENGR00234519 mmc: support eMMC v4.5 memory cards

Bypass eMMC version checking, so that eMMC v4.5 can work on current kernel as
eMMC v4.4 cards, no specific v4.5 feature supported. Only basic read/write
operations are supported, also ddr mode is supported.
Acked-by: default avatarDong Aisheng <>
Signed-off-by: default avatarRyan QIAN <>
parent f4ee80c9
......@@ -259,7 +259,8 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
card->ext_csd.rev = ext_csd[EXT_CSD_REV];
if (card->ext_csd.rev > 5) {
/* workaround: support emmc 4.5 cards to work at emmc 4.4 mode */
if (card->ext_csd.rev > 6) {
printk(KERN_ERR "%s: unrecognised EXT_CSD revision %d\n",
mmc_hostname(card->host), card->ext_csd.rev);
err = -EINVAL;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment