diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-01-30 23:11:12 (GMT) |
---|---|---|
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | 2014-02-07 15:34:06 (GMT) |
commit | def816a2ba87c2a3507536e8cb226f0f85bdae2c (patch) | |
tree | 09ccfdaf2fbbdde830624887ab2b2f9bbf8863e9 | |
parent | dbf3de2dd26cae37d16b00b348828c883b658cc5 (diff) | |
download | u-boot-def816a2ba87c2a3507536e8cb226f0f85bdae2c.tar.xz |
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 <swarren@nvidia.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
-rw-r--r-- | 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 c6a1c23..7efc2be 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; } |