* [PATCH] Detect the mmc v4.5
@ 2011-07-26 8:12 Kyungmin Park
2011-07-28 22:32 ` Chris Ball
0 siblings, 1 reply; 2+ messages in thread
From: Kyungmin Park @ 2011-07-26 8:12 UTC (permalink / raw)
To: linux-mmc, Chris Ball; +Cc: jh80.chung
From: Kyungmin Park <kyungmin.park@samsung.com>
As eMMC v4.5 Spec is released, prepare the eMMC v4.5
EXT_CSD_REV Extended CSD Revision
255-7 Reserved
6 Revision 1.6 (for MMC v4.5)
5 Revision 1.5 (for MMV v4.41)
...
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index aa7d1d7..5700b1c 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -259,7 +259,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
}
card->ext_csd.rev = ext_csd[EXT_CSD_REV];
- if (card->ext_csd.rev > 5) {
+ if (card->ext_csd.rev > 6) {
printk(KERN_ERR "%s: unrecognised EXT_CSD revision %d\n",
mmc_hostname(card->host), card->ext_csd.rev);
err = -EINVAL;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Detect the mmc v4.5
2011-07-26 8:12 [PATCH] Detect the mmc v4.5 Kyungmin Park
@ 2011-07-28 22:32 ` Chris Ball
0 siblings, 0 replies; 2+ messages in thread
From: Chris Ball @ 2011-07-28 22:32 UTC (permalink / raw)
To: Kyungmin Park; +Cc: linux-mmc, jh80.chung
Hi Kyungmin,
On Tue, Jul 26 2011, Kyungmin Park wrote:
> From: Kyungmin Park <kyungmin.park@samsung.com>
>
> As eMMC v4.5 Spec is released, prepare the eMMC v4.5
>
> EXT_CSD_REV Extended CSD Revision
> 255-7 Reserved
> 6 Revision 1.6 (for MMC v4.5)
> 5 Revision 1.5 (for MMV v4.41)
> ...
>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
> index aa7d1d7..5700b1c 100644
> --- a/drivers/mmc/core/mmc.c
> +++ b/drivers/mmc/core/mmc.c
> @@ -259,7 +259,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
> }
>
> card->ext_csd.rev = ext_csd[EXT_CSD_REV];
> - if (card->ext_csd.rev > 5) {
> + if (card->ext_csd.rev > 6) {
> printk(KERN_ERR "%s: unrecognised EXT_CSD revision %d\n",
> mmc_hostname(card->host), card->ext_csd.rev);
> err = -EINVAL;
Pushed to mmc-next for 3.1, thanks.
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-28 22:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-26 8:12 [PATCH] Detect the mmc v4.5 Kyungmin Park
2011-07-28 22:32 ` Chris Ball
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox