diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-06-14 07:40:53 -0400 |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2009-06-21 15:00:58 -0400 |
commit | 1388eefd5a5e6aaa3cb04070bfc2b944c1d24b82 (patch) | |
tree | 3af02c2da18bc0b8640f177e5636b0775c34e21f /drivers/mmc/host/sdhci.h | |
parent | 6882a8c071d609f4c088bee41e79572c7cfc1790 (diff) |
sdhci: Add SDHCI_QUIRK_NO_MULTIBLOCK quirk
Add quirk to show the controller cannot do multi-block IO.
This is mainly for the Samsung SDHCI controller that currently
cannot manage to do multi-block PIO without timing out.
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index 2de08349c3ca..84d149096f0e 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h | |||
@@ -226,6 +226,8 @@ struct sdhci_host { | |||
226 | #define SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET (1<<19) | 226 | #define SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET (1<<19) |
227 | /* Controller has to be forced to use block size of 2048 bytes */ | 227 | /* Controller has to be forced to use block size of 2048 bytes */ |
228 | #define SDHCI_QUIRK_FORCE_BLK_SZ_2048 (1<<20) | 228 | #define SDHCI_QUIRK_FORCE_BLK_SZ_2048 (1<<20) |
229 | /* Controller cannot do multi-block transfers */ | ||
230 | #define SDHCI_QUIRK_NO_MULTIBLOCK (1<<21) | ||
229 | 231 | ||
230 | int irq; /* Device IRQ */ | 232 | int irq; /* Device IRQ */ |
231 | void __iomem * ioaddr; /* Mapped address */ | 233 | void __iomem * ioaddr; /* Mapped address */ |