[U-Boot] [PATCH] mmc: atmel_sdhci: Enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD
Yang, Wenyou
Wenyou.Yang at Microchip.com
Thu May 11 00:15:09 UTC 2017
Hi Jaehoon,
On 2017/5/10 19:43, Jaehoon Chung wrote:
> 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()?
Yes, it does.
Thank you for pointing out.
>
> 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);
>>
>>
Best Regards,
Wenyou Yang
More information about the U-Boot
mailing list