[U-Boot] [PATCH] mmc: atmel_sdhci: Enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD
Jaehoon Chung
jh80.chung at samsung.com
Wed May 10 11:43:29 UTC 2017
Hi Wenyou,
On 05/10/2017 10:19 AM, Wenyou Yang wrote:
> To fix the timeout of sending the write command, enable the quirk
> SDHCI_QUIRK_WAIT_SEND_CMD.
This patch is for fixing timeout error, doesn't need to set quirk into atmel_sdhci_init()?
Best Regards,
Jaehoon Chung
>
> Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
> ---
>
> drivers/mmc/atmel_sdhci.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/atmel_sdhci.c b/drivers/mmc/atmel_sdhci.c
> index 852255782f..25f4559f24 100644
> --- a/drivers/mmc/atmel_sdhci.c
> +++ b/drivers/mmc/atmel_sdhci.c
> @@ -74,7 +74,7 @@ static int atmel_sdhci_probe(struct udevice *dev)
> host->name = dev->name;
> host->ioaddr = (void *)dev_get_addr(dev);
>
> - host->quirks = 0;
> + host->quirks = SDHCI_QUIRK_WAIT_SEND_CMD;
> host->bus_width = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev),
> "bus-width", 4);
>
>
More information about the U-Boot
mailing list