Skip to content
Snippets Groups Projects
Commit b3125088 authored by Wenyou Yang's avatar Wenyou Yang Committed by Jaehoon Chung
Browse files

mmc: atmel_sdhci: Enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD


To fix the timeout of sending the write command, enable the quirk
SDHCI_QUIRK_WAIT_SEND_CMD.

Signed-off-by: default avatarWenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 792f0054
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ int atmel_sdhci_init(void *regbase, u32 id) ...@@ -28,7 +28,7 @@ int atmel_sdhci_init(void *regbase, u32 id)
host->name = "atmel_sdhci"; host->name = "atmel_sdhci";
host->ioaddr = regbase; host->ioaddr = regbase;
host->quirks = 0; host->quirks = SDHCI_QUIRK_WAIT_SEND_CMD;
max_clk = at91_get_periph_generated_clk(id); max_clk = at91_get_periph_generated_clk(id);
if (!max_clk) { if (!max_clk) {
printf("%s: Failed to get the proper clock\n", __func__); printf("%s: Failed to get the proper clock\n", __func__);
...@@ -74,7 +74,7 @@ static int atmel_sdhci_probe(struct udevice *dev) ...@@ -74,7 +74,7 @@ static int atmel_sdhci_probe(struct udevice *dev)
host->name = dev->name; host->name = dev->name;
host->ioaddr = (void *)dev_get_addr(dev); 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), host->bus_width = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev),
"bus-width", 4); "bus-width", 4);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment