]> git.sur5r.net Git - u-boot/blobdiff - include/fsl_esdhc.h
rockchip: rk3036: enable rockusb support on rk3036 based device
[u-boot] / include / fsl_esdhc.h
index c6f46664c7f21d23cbdf5b72db527841fc04f797..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,7 +177,8 @@ struct fsl_esdhc_cfg {
        phys_addr_t esdhc_base;
        u32     sdhc_clk;
        u8      max_bus_width;
-       u8      wp_enable;
+       int     wp_enable;
+       int     vs18_enable; /* Use 1.8V if set to 1 */
        struct mmc_config cfg;
 };