summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mci/mci-core.c6
-rw-r--r--include/mci.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c
index b6ef506540..07911d43d7 100644
--- a/drivers/mci/mci-core.c
+++ b/drivers/mci/mci-core.c
@@ -770,6 +770,12 @@ static void mci_correct_version_from_ext_csd(struct mci *mci)
case 6:
mci->version = MMC_VERSION_4_5;
break;
+ case 7:
+ mci->version = MMC_VERSION_5_0;
+ break;
+ case 8:
+ mci->version = MMC_VERSION_5_1;
+ break;
}
}
}
diff --git a/include/mci.h b/include/mci.h
index eb942e62b8..bc7d9c95b2 100644
--- a/include/mci.h
+++ b/include/mci.h
@@ -54,6 +54,8 @@
#define MMC_VERSION_4_3 (MMC_VERSION_MMC | 0x430)
#define MMC_VERSION_4_41 (MMC_VERSION_MMC | 0x441)
#define MMC_VERSION_4_5 (MMC_VERSION_MMC | 0x450)
+#define MMC_VERSION_5_0 (MMC_VERSION_MMC | 0x500)
+#define MMC_VERSION_5_1 (MMC_VERSION_MMC | 0x510)
#define MMC_CAP_SPI (1 << 0)
#define MMC_CAP_4_BIT_DATA (1 << 1)