diff options
author | Wolfgang Denk <wd@denx.de> | 2007-11-23 00:55:23 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-11-23 00:55:23 +0100 |
commit | cfa4c9d8996d5949f615553c220a06c9fe6395cc (patch) | |
tree | ab2c14b55f4381aec657c6aed279bd57c43f64b8 /cpu/mpc83xx/pci.c | |
parent | 98e2867cc85409b919f862e6c16026461ec955df (diff) | |
parent | 9162352817579840d7802da6d85872b3ca003c97 (diff) |
Merge branch 'testing' of git://www.denx.de/git/u-boot-fdt
Diffstat (limited to 'cpu/mpc83xx/pci.c')
-rw-r--r-- | cpu/mpc83xx/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc83xx/pci.c b/cpu/mpc83xx/pci.c index 5675afe9710..0defb0ec890 100644 --- a/cpu/mpc83xx/pci.c +++ b/cpu/mpc83xx/pci.c @@ -179,7 +179,7 @@ void ft_pci_setup(void *blob, bd_t *bd) if (pci_num_buses < 1) return; - 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(pci_hose[0].first_busno); tmp[1] = cpu_to_be32(pci_hose[0].last_busno); @@ -194,7 +194,7 @@ void ft_pci_setup(void *blob, bd_t *bd) if (pci_num_buses < 2) return; - nodeoffset = fdt_find_node_by_path(blob, "/" OF_SOC "/pci@8600"); + nodeoffset = fdt_path_offset(blob, "/" OF_SOC "/pci@8600"); if (nodeoffset >= 0) { tmp[0] = cpu_to_be32(pci_hose[0].first_busno); tmp[1] = cpu_to_be32(pci_hose[0].last_busno); |