
On Mon, Oct 14, 2013 at 7:16 PM, Lei Wen leiwen@marvell.com wrote:
Hi Vadim,
The quirk is standing for some workaround for those host that has some limitation that it cannot directly be applied with standard sdhci.c code, so that we add one quirk for it, which let it could use the sdhci.c.
Like the quirk as SDHCI_QUIRK_32BIT_DMA_ADDR, it indicate that some host has dma engine limitation that it must start from address with alignement. So if sdhci find caller set this quirk, it would follow corresponding workaround for it.
There is no formal description for it as I could see.
All right, that's what I figured :). Thank you for the explanation,
--vb
Thanks, Lei
-----Original Message----- From: vbendeb@gmail.com [mailto:vbendeb@gmail.com] On Behalf Of Vadim Bendebury Sent: Tuesday, October 15, 2013 10:09 AM To: Lei Wen Cc: Prafulla Wadaskar; afleming@gmail.com; Rob Herring; u- boot@lists.denx.de; Yu Tang; Prabhanjan Sarnaik; Ashish Karkare; Andy Fleming Subject: Re: [U-Boot] [PATCH V2 0/2] add sdhci generic framework
Hello Lei,
I am looking into adding eMMC support for some intel SDHCI controllers based on this common SDHCI driver submission.
One thing which is not quite clear is the quirks - can you (or somebody else on this list) please shed some light on what the quirks are. Is there some kind of formal description/definition of various defined quirks and their processing.
Thank you in advance,
--vb
On Wed, Jun 29, 2011 at 12:50 AM, Lei Wen leiwen@marvell.com wrote:
V1: add sdhci generic framework and with marvell sdhci implementation
V2: rename the previous file name from sdhci-mv to mv_sdhci
Lei Wen (2): MMC: add sdhci generic framework MMC: add marvell sdhci driver
drivers/mmc/Makefile | 2 + drivers/mmc/mv_sdhci.c | 21 +++ drivers/mmc/sdhci.c | 433
++++++++++++++++++++++++++++++++++++++++++++++++
include/sdhci.h | 325 ++++++++++++++++++++++++++++++++++++ 4 files changed, 781 insertions(+), 0 deletions(-) create mode 100644 drivers/mmc/mv_sdhci.c create mode 100644 drivers/mmc/sdhci.c create mode 100644 include/sdhci.h
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot