Skip to contentSkip to conversation

Add eMMC 5.0 support

PATCH In review Zhang Yi 2 participants 3 messages Feb 19, 2014 – Feb 21, 2014 MMC, SD and SDIO

lore
Share & tools
lore

Zhang Yi

author
#0 lore raw

PATCH 1/1 Add eMMC 5.0 support

Current code will exist when read eMMC 5.0, add support for it

---
 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
#1 lore raw

Hi,

You can refer to this.

http://comments.gmane.org/gmane.linux.kernel.mmc/23838

Best Regards,
Jaehoon Chung

Quoted 22 lines · Zhang Yi

Current code will exist when read eMMC 5.0, add support for it

---
 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;
author
#2 lore raw

Oh, I missed this mail, thanks

2014-02-20 10:12 GMT+08:00 Jaehoon Chung <[email protected]>:

Quoted 33 lines

Hi,

You can refer to this.

http://comments.gmane.org/gmane.linux.kernel.mmc/23838

Best Regards,
Jaehoon Chung

Quoted 22 lines · Zhang Yi

Current code will exist when read eMMC 5.0, add support for it

---
 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;