From: Zhang Yi <yix.x.zhang@gmail.com>
To: cjb@laptop.org
Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
Zhang Yi <yix.x.zhang@gmail.com>
Subject: [PATCH] Add eMMC 5.0 support
Date: Wed, 19 Feb 2014 21:47:57 +0800 [thread overview]
Message-ID: <1392817677-4755-1-git-send-email-yix.x.zhang@gmail.com> (raw)
Current code will exist when read eMMC 5.0, add support for it
Signed-off-by: Zhang Yi <yix.x.zhang@gmail.com>
---
mmc_cmds.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mmc_cmds.c b/mmc_cmds.c
index b8afa74..5edf42b 100644
--- a/mmc_cmds.c
+++ b/mmc_cmds.c
@@ -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;
--
1.7.9.5
next reply other threads:[~2014-02-19 17:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-19 13:47 Zhang Yi [this message]
2014-02-20 2:12 ` Jaehoon Chung
2014-02-21 2:16 ` 张毅
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1392817677-4755-1-git-send-email-yix.x.zhang@gmail.com \
--to=yix.x.zhang@gmail.com \
--cc=cjb@laptop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®