diff mbox

[1/3] cmds/read_extcsd: allow mmc 5.0

Message ID 1425561565-24806-2-git-send-email-bigeasy@linutronix.de (mailing list archive)
State New, archived
Headers show

Commit Message

Sebastian Andrzej Siewior March 5, 2015, 1:19 p.m. UTC
Have here a mmc 5.0 card

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 mmc_cmds.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/mmc_cmds.c b/mmc_cmds.c
index cea943f63241..3b35a932378d 100644
--- a/mmc_cmds.c
+++ b/mmc_cmds.c
@@ -726,6 +726,9 @@  int do_read_extcsd(int nargs, char **argv)
 	ext_csd_rev = ext_csd[192];
 
 	switch (ext_csd_rev) {
+	case 7:
+		str = "5.0";
+		break;
 	case 6:
 		str = "4.5";
 		break;