]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/fsl_esdhc.h
OMAP3: Add SMSC9221 device tree for omap devices connected on GPMC.
[people/ms/u-boot.git] / include / fsl_esdhc.h
index fa760a57fb8ddfbe3a76c01f991bbb33af9abdef..e15d3aeaec5e8b48a926fb6e080f4f0fee3e072d 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef  __FSL_ESDHC_H__
 #define        __FSL_ESDHC_H__
 
-#include <asm/errno.h>
+#include <linux/errno.h>
 #include <asm/byteorder.h>
 
 /* needed for the mmc_cfg definition */
 #define SYSCTL_RSTC            0x02000000
 #define SYSCTL_RSTD            0x04000000
 
+#define VENDORSPEC_CKEN                0x00004000
+#define VENDORSPEC_PEREN       0x00002000
+#define VENDORSPEC_HCKEN       0x00001000
+#define VENDORSPEC_IPGEN       0x00000800
+#define VENDORSPEC_INIT                0x20007809
+
 #define IRQSTAT                        0x0002e030
 #define IRQSTAT_DMAE           (0x10000000)
 #define IRQSTAT_AC12E          (0x01000000)
@@ -171,6 +177,7 @@ struct fsl_esdhc_cfg {
        phys_addr_t esdhc_base;
        u32     sdhc_clk;
        u8      max_bus_width;
+       u8      wp_enable;
        struct mmc_config cfg;
 };