[U-Boot] [PATCH V2 0/2] add sdhci generic framework

Vadim Bendebury vbendeb at chromium.org
Tue Oct 15 06:54:09 CEST 2013


On Mon, Oct 14, 2013 at 7:16 PM, Lei Wen <leiwen at 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 at gmail.com [mailto:vbendeb at gmail.com] On Behalf Of Vadim
>> Bendebury
>> Sent: Tuesday, October 15, 2013 10:09 AM
>> To: Lei Wen
>> Cc: Prafulla Wadaskar; afleming at gmail.com; Rob Herring; u-
>> boot at 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 at 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 at lists.denx.de
>> > http://lists.denx.de/mailman/listinfo/u-boot
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list