]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/dw_mmc.c
pci: Set PCI_COMMAND_IO bit for VGA device
[u-boot] / drivers / mmc / dw_mmc.c
index 1117fedefeb19a6fac62e8792db1b0c96136c4ff..26d34ae5ccc4d0349b27e1dda3128dfbfb84ebf9 100644 (file)
@@ -10,6 +10,7 @@
 #include <common.h>
 #include <errno.h>
 #include <malloc.h>
+#include <memalign.h>
 #include <mmc.h>
 #include <dwmmc.h>
 #include <asm-generic/errno.h>
@@ -213,7 +214,7 @@ static int dwmci_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
 
        if (data) {
                start = get_timer(0);
-               timeout = 1000;
+               timeout = 240000;
                for (;;) {
                        mask = dwmci_readl(host, DWMCI_RINTSTS);
                        /* Error during data transfer. */