On Wednesday, August 10, 2011 09:08:33 AM Marek Vasut wrote:
> The mmc_send_status() function sets cmd.arg = 0. That's incorrect, so fix
> it.

Missed Andy, adding to CC. Sorry Andy.

btw this fixes my CMD13 issue.
> 
> Signed-off-by: Marek Vasut <marek.va...@gmail.com>
> ---
>  drivers/mmc/mmc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
> index cbd7567..c9ff023 100644
> --- a/drivers/mmc/mmc.c
> +++ b/drivers/mmc/mmc.c
> @@ -115,7 +115,7 @@ int mmc_send_status(struct mmc *mmc, int timeout)
> 
>       cmd.cmdidx = MMC_CMD_SEND_STATUS;
>       cmd.resp_type = MMC_RSP_R1;
> -     cmd.cmdarg = 0;
> +     cmd.cmdarg = mmc->rca << 16;
>       cmd.flags = 0;
> 
>       do {
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to