]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/mpc832xemds/pci.c
Update libfdt from device tree compiler (dtc)
[u-boot] / board / freescale / mpc832xemds / pci.c
index 6bc35c70f2d4fff16c663021e53d1303a7310d81..7818a2e1ee9c709d7c486f76a93949766dc81755 100644 (file)
@@ -269,7 +269,7 @@ ft_pci_setup(void *blob, bd_t *bd)
        int err;
        int tmp[2];
 
-       nodeoffset = fdt_find_node_by_path(blob, "/" OF_SOC "/pci@8500");
+       nodeoffset = fdt_path_offset(blob, "/" OF_SOC "/pci@8500");
        if (nodeoffset >= 0) {
                tmp[0] = cpu_to_be32(hose[0].first_busno);
                tmp[1] = cpu_to_be32(hose[0].last_busno);