]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/sdhci.h
vision2: Remove unused SOBJS
[karo-tx-uboot.git] / include / sdhci.h
index e84d2dc2366b935b6b0efced8d7287330b8cfa7b..9d371832436f4fcd65677d79c9510a2b00a49ee5 100644 (file)
@@ -27,6 +27,8 @@
 #define __SDHCI_HW_H
 
 #include <asm/io.h>
+#include <mmc.h>
+
 /*
  * Controller registers
  */
  * quirks
  */
 #define SDHCI_QUIRK_32BIT_DMA_ADDR     (1 << 0)
+#define SDHCI_QUIRK_REG32_RW           (1 << 1)
+#define SDHCI_QUIRK_BROKEN_R1B         (1 << 2)
+#define SDHCI_QUIRK_NO_HISPD_BIT       (1 << 3)
+#define SDHCI_QUIRK_BROKEN_VOLTAGE     (1 << 4)
 
 /* to make gcc happy */
 struct sdhci_host;
@@ -237,9 +243,14 @@ struct sdhci_host {
        char *name;
        void *ioaddr;
        unsigned int quirks;
+       unsigned int host_caps;
        unsigned int version;
        unsigned int clock;
+       struct mmc *mmc;
        const struct sdhci_ops *ops;
+
+       void (*set_control_reg)(struct sdhci_host *host);
+       uint    voltages;
 };
 
 #ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS