mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 20:18:54 -04:00
mpc83xx: fix remaining fdt_find_node_by_path references
rename to fdt_path_offset Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
This commit is contained in:
parent
921d4b19ad
commit
c16e44fa83
@ -329,7 +329,7 @@ void ft_board_setup(void *blob, bd_t *bd)
|
|||||||
void *prop;
|
void *prop;
|
||||||
|
|
||||||
/* fixup UCC 1 if using rgmii-id mode */
|
/* 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) {
|
if (nodeoffset >= 0) {
|
||||||
prop = fdt_getprop(blob, nodeoffset,
|
prop = fdt_getprop(blob, nodeoffset,
|
||||||
"phy-connection-type", 0);
|
"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 */
|
/* 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) {
|
if (nodeoffset >= 0) {
|
||||||
prop = fdt_getprop(blob, nodeoffset,
|
prop = fdt_getprop(blob, nodeoffset,
|
||||||
"phy-connection-type", 0);
|
"phy-connection-type", 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user