summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2013-11-22 20:34:38 +0800
committerDong Aisheng <b29396@freescale.com>2013-11-22 21:16:18 +0800
commit8712548b26f9f447131ce081daa6e4e418e8e27c (patch)
tree5a4733c00869a5781b19b6b9808f3eb10fde45f3 /include
parente15728d9b51ea5d1b2914c0b6af058cc33d59af6 (diff)
ENGR00289406-1 mmc: sdhci: add quirk for get max timeout counter
The max timeout counter of some SoCs like i.MX6 uSDHC may not be standard, add SDHCI_QUIRK2_NOSTD_TIMEOUT_COUNTER quirk to get the correct max timeout counter from platform specific code. Then we can calculate the correct max_discard_to value. Signed-off-by: Dong Aisheng <b29396@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmc/sdhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h
index a74518009099..2e3a1c941eee 100644
--- a/include/linux/mmc/sdhci.h
+++ b/include/linux/mmc/sdhci.h
@@ -96,6 +96,7 @@ struct sdhci_host {
#define SDHCI_QUIRK2_NO_1_8_V (1<<2)
#define SDHCI_QUIRK2_PRESET_VALUE_BROKEN (1<<3)
#define SDHCI_QUIRK2_CARD_ON_NEEDS_BUS_ON (1<<4)
+#define SDHCI_QUIRK2_NOSTD_TIMEOUT_COUNTER (1<<5)
int irq; /* Device IRQ */
void __iomem *ioaddr; /* Mapped address */