===================================================================
@@ -85,8 +85,6 @@
#define SDHCI_QUIRK_NO_HISPD_BIT
(1<<29)
/* Controller treats ADMA descriptors with length 0000h incorrectly */
#define SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC (1<<30)
+/* Controller share 8 bits data pins */
+#define SDHCI_QUIRK_SHARE_DATA_PINS
(1<<31)
int irq; /* Device IRQ */
void __iomem *ioaddr; /* Mapped address */
===================================================================
@@ -222,8 +222,6 @@
void (*platform_send_init_74_clocks)(struct sdhci_host *host,
u8 power_mode);
unsigned int (*get_ro)(struct sdhci_host *host);
+ void (*shared_data_bus)(struct
sdhci_host *host,
+
int acquire);
};
#ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS
===================================================================
@@ -1124,9 +1124,6 @@
host = mmc_priv(mmc);
+ if (host->quirks & SDHCI_QUIRK_SHARE_DATA_PINS)
+ host->ops->shared_data_bus(host, 1);
+
spin_lock_irqsave(&host->lock, flags);
WARN_ON(host->mrq != NULL);
@@ -1381,9 +1378,6 @@
spin_unlock_irqrestore(&host->lock, flags);