[U-Boot] [PATCH] mmc: Enabled quirk SDHCI_QUIRK_BROKEN_R1B

Pantelis Antoniou pantelis.antoniou at gmail.com
Fri Feb 7 16:45:27 CET 2014


Hi Michal,


On Jan 22, 2014, at 10:17 AM, Michal Simek wrote:

> From: Siva Durga Prasad Paladugu <siva.durga.paladugu at xilinx.com>
> 
> 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 at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> Acked-by: Jagannadha Sutradharudu Teki <jaganna at xilinx.com>
> ---
> 
> drivers/mmc/zynq_sdhci.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> 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;
> --
> 1.8.2.3

Applied, Thanks.

Signed-off-by: Pantelis Antoniou <panto at antoniou-consulting.com>



More information about the U-Boot mailing list