]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/hi6220_dw_mmc.c
Merge git://git.denx.de/u-boot-tegra
[u-boot] / drivers / mmc / hi6220_dw_mmc.c
index 731458c18c5630a382e533ae38f169ea713c5211..fdaf1e40bce6a45b7935c1bec9e5c91db15d3e20 100644 (file)
@@ -8,7 +8,7 @@
 #include <common.h>
 #include <dwmmc.h>
 #include <malloc.h>
-#include <asm-generic/errno.h>
+#include <linux/errno.h>
 
 #define        DWMMC_MAX_CH_NUM                4
 
@@ -48,7 +48,7 @@ int hi6220_dwmci_add_port(int index, u32 regbase, int bus_width)
                return -ENOMEM;
        }
 
-       host->ioaddr = (void *)regbase;
+       host->ioaddr = (void *)(ulong)regbase;
        host->buswidth = bus_width;
        host->bus_hz = MMC0_DEFAULT_FREQ;