]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/rockchip_sdhci.c
rockchip: sdhci: Convert to livetree
[people/ms/u-boot.git] / drivers / mmc / rockchip_sdhci.c
index f31d329c81da7e7ad4e9269ae7203d5fc62284c6..346a42c664a8b3e77eb5539e0b37370283c21569 100644 (file)
@@ -9,7 +9,6 @@
 #include <common.h>
 #include <dm.h>
 #include <dt-structs.h>
-#include <fdtdec.h>
 #include <libfdt.h>
 #include <malloc.h>
 #include <mapmem.h>
@@ -82,7 +81,7 @@ static int arasan_sdhci_ofdata_to_platdata(struct udevice *dev)
        struct sdhci_host *host = dev_get_priv(dev);
 
        host->name = dev->name;
-       host->ioaddr = devfdt_get_addr_ptr(dev);
+       host->ioaddr = dev_read_addr_ptr(dev);
 #endif
 
        return 0;