Re: [PATCH 12/13] sdhci: Add quirk for controllers with max. block size up to 4096 bytes

2009-03-08 Thread Pierre Ossman
On Wed, 4 Mar 2009 20:47:44 +0300 Anton Vorontsov wrote: > > I'll get rid of this particular patch, and put some BLOCK_SIZE > magic into the writew accessor (to clean the DMA bits) instead. > > Though, I'll prepare another patch to force blksz to 2048, since > eSDHC specifies "3" in the blksz c

Re: [PATCH 12/13] sdhci: Add quirk for controllers with max. block size up to 4096 bytes

2009-03-04 Thread Anton Vorontsov
On Sat, Feb 21, 2009 at 04:58:44PM +0100, Pierre Ossman wrote: > On Fri, 13 Feb 2009 17:47:39 +0300 > Anton Vorontsov wrote: > > > @@ -831,7 +832,12 @@ static void sdhci_prepare_data(struct sdhci_host > > *host, struct mmc_data *data) > > sdhci_set_transfer_irqs(host); > > > > /* We do

Re: [PATCH 12/13] sdhci: Add quirk for controllers with max. block size up to 4096 bytes

2009-02-21 Thread Pierre Ossman
On Fri, 13 Feb 2009 17:47:39 +0300 Anton Vorontsov wrote: > @@ -831,7 +832,12 @@ static void sdhci_prepare_data(struct sdhci_host *host, > struct mmc_data *data) > sdhci_set_transfer_irqs(host); > > /* We do not handle DMA boundaries, so set it to max (512 KiB) */ > - sdhci_wri

[PATCH 12/13] sdhci: Add quirk for controllers with max. block size up to 4096 bytes

2009-02-20 Thread Anton Vorontsov
FSL eSDHC controllers can support maximum block size up to 4096 bytes. The MBL (Maximum Block Length) field in the capabilities register extended by one bit, and bits 13:15 in the block size register reserved. Signed-off-by: Anton Vorontsov --- drivers/mmc/host/sdhci.c | 28 +++

[PATCH 12/13] sdhci: Add quirk for controllers with max. block size up to 4096 bytes

2009-02-13 Thread Anton Vorontsov
FSL eSDHC controllers can support maximum block size up to 4096 bytes. The MBL (Maximum Block Length) field in the capabilities register extended by one bit, and bits 13:15 in the block size register reserved. Signed-off-by: Anton Vorontsov --- drivers/mmc/host/sdhci.c | 28 +++