mmc: set rca to 1 for MMC cards
authorStephen Warren <swarren@nvidia.com>
Thu, 30 Jan 2014 23:11:12 +0000 (16:11 -0700)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Fri, 7 Feb 2014 15:34:06 +0000 (17:34 +0200)
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>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
drivers/mmc/mmc.c

index c6a1c23fbf1cdf268d79bf1da3a7a3ed80dd220c..7efc2bedbe1188821926ed98f9e599a319f3e39d 100644 (file)
@@ -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;
 }