]> git.sur5r.net Git - u-boot/commitdiff
mmc: Enabled quirk SDHCI_QUIRK_BROKEN_R1B
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Wed, 22 Jan 2014 08:17:09 +0000 (09:17 +0100)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Fri, 7 Feb 2014 15:47:19 +0000 (17:47 +0200)
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>
drivers/mmc/zynq_sdhci.c

index 610bef5cbaeff45c37f70031017fba83b5accb14..72a272f2ba0ee0c63d674b11c28881b477b1ebd7 100644 (file)
@@ -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;