]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/sdhci.h
usb: ulpi: Add omap-ulpi-view port support
[karo-tx-uboot.git] / include / sdhci.h
index 6d52ce9f754442992c64328dc1b93451c06082b6..800f9d9c0733b9af0deaf45c3bd03c7ffbc8dac4 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)
+
+/* to make gcc happy */
+struct sdhci_host;
 
 /*
  * Host SDMA buffer boundary. Valid values from 4K to 512K in powers of 2.
@@ -236,6 +242,7 @@ struct sdhci_host {
        unsigned int quirks;
        unsigned int version;
        unsigned int clock;
+       struct mmc *mmc;
        const struct sdhci_ops *ops;
 };