summaryrefslogtreecommitdiff
path: root/drivers/mmc/zynq_sdhci.c
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2014-01-22 09:17:09 +0100
committerPantelis Antoniou <panto@antoniou-consulting.com>2014-02-07 17:47:19 +0200
commitf9ec45d1d9d83db9a6539f78d51ff257373f3c4f (patch)
tree985d79088e53af265e8dd19667c3e0f9d0601bc3 /drivers/mmc/zynq_sdhci.c
parentd3e016cc28684cd32d826a9414a0e89ccf80861a (diff)
downloadu-boot-imx-f9ec45d1d9d83db9a6539f78d51ff257373f3c4f.zip
u-boot-imx-f9ec45d1d9d83db9a6539f78d51ff257373f3c4f.tar.gz
u-boot-imx-f9ec45d1d9d83db9a6539f78d51ff257373f3c4f.tar.bz2
mmc: Enabled quirk SDHCI_QUIRK_BROKEN_R1B
As per the below commit "mmc: sdhci: add the quirk for broken r1b response" (sha1: 3a6383207be3f71b39004e64464a6e99290b16fa) need to add quirk SDHCI_QUIRK_BROKEN_R1B, when the response type is R1b. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'drivers/mmc/zynq_sdhci.c')
-rw-r--r--drivers/mmc/zynq_sdhci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c
index 610bef5..72a272f 100644
--- a/drivers/mmc/zynq_sdhci.c
+++ b/drivers/mmc/zynq_sdhci.c
@@ -23,7 +23,8 @@ int zynq_sdhci_init(u32 regbase)
host->name = "zynq_sdhci";
host->ioaddr = (void *)regbase;
- host->quirks = SDHCI_QUIRK_NO_CD | SDHCI_QUIRK_WAIT_SEND_CMD;
+ host->quirks = SDHCI_QUIRK_NO_CD | SDHCI_QUIRK_WAIT_SEND_CMD |
+ SDHCI_QUIRK_BROKEN_R1B;
host->version = sdhci_readw(host, SDHCI_HOST_VERSION);
host->host_caps = MMC_MODE_HC;