>-----Original Message----- >From: Tonyliu [mailto:bo....@windriver.com] ><snip> >> Thanks, the missing clock-frequency was part of my problem. The rest was >> solved by adding some more quirks to the esdhc-driver >> (SDHCI_QUIRK_FORCE_1_BIT_DATA and >SDHCI_QUIRK_RESET_AFTER_REQUEST). Why it >> is necessary to force 1-bit data transfers I am a bit unsure about, since >> the mpc8308 reference manual clearly states that 4-bit >transfers are >> supported. >> >Actually, I did use 4-bit mode. You can try another 2 quicks: > >+ if (of_get_property(np, "sdhci,auto-cmd12", NULL)) >+ host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12; >+ >+ if (of_get_property(np, "sdhci,broken-timeout", NULL)) >+ host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; >+ >
SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 worked (with my other quirks disabled), thanks! -- Maria _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev