diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-01-30 16:11:12 -0700 |
---|---|---|
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | 2014-02-07 17:34:06 +0200 |
commit | def816a2ba87c2a3507536e8cb226f0f85bdae2c (patch) | |
tree | 09ccfdaf2fbbdde830624887ab2b2f9bbf8863e9 /drivers/mmc/mmc.c | |
parent | dbf3de2dd26cae37d16b00b348828c883b658cc5 (diff) | |
download | u-boot-imx-def816a2ba87c2a3507536e8cb226f0f85bdae2c.zip u-boot-imx-def816a2ba87c2a3507536e8cb226f0f85bdae2c.tar.gz u-boot-imx-def816a2ba87c2a3507536e8cb226f0f85bdae2c.tar.bz2 |
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>
Diffstat (limited to 'drivers/mmc/mmc.c')
-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; } |