treewide: convert devfdt_get_addr() to dev_read_addr()
[platform/kernel/u-boot.git] / drivers / dma / ti-edma3.c
index 7e11b13..13ab967 100644 (file)
@@ -8,6 +8,7 @@
  * Author: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
  */
 
+#include <asm/cache.h>
 #include <asm/io.h>
 #include <common.h>
 #include <dm.h>
@@ -545,7 +546,7 @@ static int ti_edma3_ofdata_to_platdata(struct udevice *dev)
 {
        struct ti_edma3_priv *priv = dev_get_priv(dev);
 
-       priv->base = devfdt_get_addr(dev);
+       priv->base = dev_read_addr(dev);
 
        return 0;
 }