From: Jackey Shen <jackey.shen@amd.com>
To: Jaehoon Chung <jh80.chung@samsung.com>
Cc: "linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
'Chris Ball' <cjb@laptop.org>
Subject: Re: [PATCH] mmc-utils: add the revision for eMMC5.0
Date: Wed, 4 Dec 2013 16:02:38 +0800 [thread overview]
Message-ID: <20131204080238.GA2764@ubuntu.amd.com> (raw)
In-Reply-To: <529E775B.5000308@samsung.com>
On Wed, Dec 04, 2013 at 09:29:15AM +0900, Jaehoon Chung wrote:
> To know whether eMMC card is version5.0 or not, add the check point.
>
> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Jackey Shen <Jackey.Shen@amd.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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2013-12-04 8:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-04 0:29 [PATCH] mmc-utils: add the revision for eMMC5.0 Jaehoon Chung
2013-12-04 8:02 ` Jackey Shen [this message]
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=20131204080238.GA2764@ubuntu.amd.com \
--to=jackey.shen@amd.com \
--cc=cjb@laptop.org \
--cc=jh80.chung@samsung.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.