All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add eMMC 5.0 support
@ 2014-02-19 13:47 Zhang Yi
  2014-02-20  2:12 ` Jaehoon Chung
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang Yi @ 2014-02-19 13:47 UTC (permalink / raw)
  To: cjb; +Cc: linux-mmc, linux-kernel, Zhang Yi

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add eMMC 5.0 support
  2014-02-19 13:47 [PATCH] Add eMMC 5.0 support Zhang Yi
@ 2014-02-20  2:12 ` Jaehoon Chung
  2014-02-21  2:16   ` 张毅
  0 siblings, 1 reply; 3+ messages in thread
From: Jaehoon Chung @ 2014-02-20  2:12 UTC (permalink / raw)
  To: Zhang Yi, cjb; +Cc: linux-mmc, linux-kernel

Hi,

You can refer to this.

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

Best Regards,
Jaehoon Chung

On 02/19/2014 10:47 PM, Zhang Yi wrote:
> 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;
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add eMMC 5.0 support
  2014-02-20  2:12 ` Jaehoon Chung
@ 2014-02-21  2:16   ` 张毅
  0 siblings, 0 replies; 3+ messages in thread
From: 张毅 @ 2014-02-21  2:16 UTC (permalink / raw)
  To: Jaehoon Chung; +Cc: Chris Ball, linux-mmc, linux-kernel

Oh, I missed this mail, thanks

2014-02-20 10:12 GMT+08:00 Jaehoon Chung <jh80.chung@samsung.com>:
> Hi,
>
> You can refer to this.
>
> http://comments.gmane.org/gmane.linux.kernel.mmc/23838
>
> Best Regards,
> Jaehoon Chung
>
> On 02/19/2014 10:47 PM, Zhang Yi wrote:
>> 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;
>>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-21  2:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-19 13:47 [PATCH] Add eMMC 5.0 support Zhang Yi
2014-02-20  2:12 ` Jaehoon Chung
2014-02-21  2:16   ` 张毅

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.