summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8360emds/mpc8360emds.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2007-11-27 14:17:29 -0600
committerKim Phillips <kim.phillips@freescale.com>2008-01-08 09:55:40 -0600
commitc16e44fa835fb9eec982d919863a04e2f78e5ce7 (patch)
tree25dd8dc16e3b096173d64e88aa9d257a951075fb /board/freescale/mpc8360emds/mpc8360emds.c
parent921d4b19ad1be704df58725485d9292dc0414adf (diff)
downloadu-boot-imx-c16e44fa835fb9eec982d919863a04e2f78e5ce7.zip
u-boot-imx-c16e44fa835fb9eec982d919863a04e2f78e5ce7.tar.gz
u-boot-imx-c16e44fa835fb9eec982d919863a04e2f78e5ce7.tar.bz2
mpc83xx: fix remaining fdt_find_node_by_path references
rename to fdt_path_offset Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'board/freescale/mpc8360emds/mpc8360emds.c')
-rw-r--r--board/freescale/mpc8360emds/mpc8360emds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mpc8360emds/mpc8360emds.c b/board/freescale/mpc8360emds/mpc8360emds.c
index ff9a85c..4a368b0 100644
--- a/board/freescale/mpc8360emds/mpc8360emds.c
+++ b/board/freescale/mpc8360emds/mpc8360emds.c
@@ -329,7 +329,7 @@ void ft_board_setup(void *blob, bd_t *bd)
void *prop;
/* fixup UCC 1 if using rgmii-id mode */
- nodeoffset = fdt_find_node_by_path(blob, "/" OF_QE "/ucc@2000");
+ nodeoffset = fdt_path_offset(blob, "/" OF_QE "/ucc@2000");
if (nodeoffset >= 0) {
prop = fdt_getprop(blob, nodeoffset,
"phy-connection-type", 0);
@@ -339,7 +339,7 @@ void ft_board_setup(void *blob, bd_t *bd)
}
/* fixup UCC 2 if using rgmii-id mode */
- nodeoffset = fdt_find_node_by_path(blob, "/" OF_QE "/ucc@3000");
+ nodeoffset = fdt_path_offset(blob, "/" OF_QE "/ucc@3000");
if (nodeoffset >= 0) {
prop = fdt_getprop(blob, nodeoffset,
"phy-connection-type", 0);