Skip to contentSkip to conversation

mmc-utils: add the revision for eMMC5.0

PATCH In review Jaehoon Chung 2 participants 2 messages Dec 4, 2013 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc-utils: add the revision for eMMC5.0

To know whether eMMC card is version5.0 or not, add the check point.

---
 mmc_cmds.c |    3 +++
 1 file changed, 3 insertions(+)
mmc_cmds.c +3 -0
index b8afa74..5edf42b 100644
@@ -722,6 +722,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;
Signature · 1 line
1.7.9.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Jaehoon Chung

To know whether eMMC card is version5.0 or not, add the check point.

Quoted 25 lines
---
 mmc_cmds.c |    3 +++
 1 file changed, 3 insertions(+)
mmc_cmds.c +3 -0
index b8afa74..5edf42b 100644
@@ -722,6 +722,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;
Signature · 5 lines
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html