public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jaehoon Chung <jh80.chung@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mmc: set rca to 1 for MMC cards
Date: Tue, 04 Feb 2014 10:04:36 +0900	[thread overview]
Message-ID: <52F03CA4.2070404@samsung.com> (raw)
In-Reply-To: <1391123472-11099-1-git-send-email-swarren@wwwdotorg.org>

Acked-by: Jaehoon Chung <jh80.chung@samsung.com>

On 01/31/2014 08:11 AM, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> U-Boot currently sets MMC cards' RCA register to 0. This value is
> reserved according to the specification. Use a value of 1 instead, just
> like the Linux kernel.
> 
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
>  drivers/mmc/mmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
> index c6a1c23fbf1c..7efc2bedbe11 100644
> --- a/drivers/mmc/mmc.c
> +++ b/drivers/mmc/mmc.c
> @@ -430,7 +430,7 @@ int mmc_complete_op_cond(struct mmc *mmc)
>  	mmc->ocr = cmd.response[0];
>  
>  	mmc->high_capacity = ((mmc->ocr & OCR_HCS) == OCR_HCS);
> -	mmc->rca = 0;
> +	mmc->rca = 1;
>  
>  	return 0;
>  }
> 

  reply	other threads:[~2014-02-04  1:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-30 23:11 [U-Boot] [PATCH] mmc: set rca to 1 for MMC cards Stephen Warren
2014-02-04  1:04 ` Jaehoon Chung [this message]
2014-02-07 15:32 ` Pantelis Antoniou

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=52F03CA4.2070404@samsung.com \
    --to=jh80.chung@samsung.com \
    --cc=u-boot@lists.denx.de \
    /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