From: Stephen Warren Date: Thu, 30 Jan 2014 23:11:12 +0000 (-0700) Subject: mmc: set rca to 1 for MMC cards X-Git-Tag: v2014.04-rc1~79^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=def816a2ba87c2a3507536e8cb226f0f85bdae2c;p=u-boot mmc: set rca to 1 for MMC cards 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 Acked-by: Jaehoon Chung Signed-off-by: Pantelis Antoniou --- diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index c6a1c23fbf..7efc2bedbe 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; }