]> git.sur5r.net Git - u-boot/blobdiff - include/fsl_esdhc.h
board: common: vid: Add support for LTC3882 voltage regulator chip
[u-boot] / include / fsl_esdhc.h
index 78c67c880a609c9bcbd78889ce1340200809b598..de1f5e7d9f5d1155ca1def0977caadfe7f2c2868 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 XFERTYP_DMAEN          0x00000001
 
 #define CINS_TIMEOUT           1000
-#define PIO_TIMEOUT            100000
+#define PIO_TIMEOUT            500
 
 #define DSADDR         0x2e004
 
@@ -177,6 +177,8 @@ struct fsl_esdhc_cfg {
        phys_addr_t esdhc_base;
        u32     sdhc_clk;
        u8      max_bus_width;
+       int     wp_enable;
+       int     vs18_enable; /* Use 1.8V if set to 1 */
        struct mmc_config cfg;
 };