X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fmmc%2Fhi6220_dw_mmc.c;h=b0d063c6987ee34129f3f1698d1ecfae05eaf1ba;hb=1221ce459d04a428f8880f58581f671b736c3c27;hp=731458c18c5630a382e533ae38f169ea713c5211;hpb=447da58b576db418080867183f31a6957ccbbd7a;p=u-boot diff --git a/drivers/mmc/hi6220_dw_mmc.c b/drivers/mmc/hi6220_dw_mmc.c index 731458c18c..b0d063c698 100644 --- a/drivers/mmc/hi6220_dw_mmc.c +++ b/drivers/mmc/hi6220_dw_mmc.c @@ -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;