[PATCH 1/3 v2] sdhci: Add auto CMD12 support for eSDHC driver

Zang Roy-R61911 r61911 at freescale.com
Wed Aug 4 12:57:00 EST 2010


 

> -----Original Message-----
> From: Andrew Morton [mailto:akpm at linux-foundation.org] 
> Sent: Wednesday, August 04, 2010 7:44 AM
> To: Zang Roy-R61911
> Cc: linux-mmc at vger.kernel.org; linuxppc-dev at ozlabs.org
> Subject: Re: [PATCH 1/3 v2] sdhci: Add auto CMD12 support for 
> eSDHC driver
> 
> On Tue, 3 Aug 2010 11:11:10 +0800
> Roy Zang <tie-fei.zang at freescale.com> wrote:
> 
> > --- a/drivers/mmc/host/sdhci.h
> > +++ b/drivers/mmc/host/sdhci.h
> > @@ -240,6 +240,8 @@ struct sdhci_host {
> >  #define SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN		(1<<25)
> >  /* Controller cannot support End Attribute in NOP ADMA 
> descriptor */
> >  #define SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC		(1<<26)
> > +/* Controller uses Auto CMD12 command to stop the transfer */
> > +#define SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12		(1<<27)
> 
> This becomes 1<<29 in my tree.
It also works.
> 
> We're about to run out.  
:-(
>What happens then?
Rewrite the code to extend some bits, I suppose.
Roy



More information about the Linuxppc-dev mailing list