fdt: allow fdtdec_get_addr_size_*() to translate addresses
[oweals/u-boot.git] / drivers / net / cpsw.c
index 774b021e356e430251a26d1a068b45608869a7d1..8a2f88a0955d63e4f450ad4be734a934de9e91db 100644 (file)
@@ -1146,7 +1146,8 @@ static const struct eth_ops cpsw_eth_ops = {
 
 static inline fdt_addr_t cpsw_get_addr_by_node(const void *fdt, int node)
 {
-       return fdtdec_get_addr_size_auto_noparent(fdt, node, "reg", 0, NULL);
+       return fdtdec_get_addr_size_auto_noparent(fdt, node, "reg", 0, NULL,
+                                                 false);
 }
 
 static int cpsw_eth_ofdata_to_platdata(struct udevice *dev)