summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci.h
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@nxp.com>2017-05-11 16:08:08 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit58d23ce76adc15b04cd61012bd7e0b397aa40e4d (patch)
treee663b1fc31c6a5fc7a1d8c3243505f99e3f23280 /drivers/mmc/host/sdhci.h
parentabb3293ce692bb0b589f7c81e3de1456b65e40d0 (diff)
MLK-14884 mmc: sdhci: make DDR50 tuning optionally
DDR50 tuning is optinally defined in sd 3.0 spec. Per IC guys suggestion, it internally already uses a fixed optimized timing and normally does not require tuning. Make it optionally and platform can claim SDHCI_DDR50_NEEDS_TUNING support if it wants tuning. Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r--drivers/mmc/host/sdhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index 02e73394ca9e..d9bddd02699b 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -452,6 +452,7 @@ struct sdhci_host {
#define SDHCI_REQ_USE_DMA (1<<2) /* Use DMA for this req. */
#define SDHCI_DEVICE_DEAD (1<<3) /* Device unresponsive */
#define SDHCI_SDR50_NEEDS_TUNING (1<<4) /* SDR50 needs tuning */
+#define SDHCI_DDR50_NEEDS_TUNING (1<<5) /* DDR50 needs tuning */
#define SDHCI_AUTO_CMD12 (1<<6) /* Auto CMD12 support */
#define SDHCI_AUTO_CMD23 (1<<7) /* Auto CMD23 support */
#define SDHCI_PV_ENABLED (1<<8) /* Preset value enabled */