[U-Boot] mmc: sdhci: Add a quirk to add delay during completion of sdhci_send_cmd

Jagan Teki jagannadh.teki at gmail.com
Sat Apr 6 12:15:43 CEST 2013


Hi,

I saw that you have been added the SDHCI_QUIRK_WAIT_SEND_CMD on below commit
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=13243f2eafc4292917178051fe1bb5aab2774dca

I need few quires regarding the QUIRK delay.
1. Why the delay is 1000
+       if (host->quirks & SDHCI_QUIRK_WAIT_SEND_CMD)
+               udelay(1000);
+
2. is this delay specific to s5p_sdhci  controller?
3. I have an issue "Controller never released inhibit bit(s)"
   but when I enable this quirk on my driver with udelay(10000), it's working.

Could you please help me.

Thanks,
Jagan.


More information about the U-Boot mailing list