[U-Boot] [PATCH 02/12] nxp: ls1088a: fix fsl-mc search path

Mian Yousaf Kaukab ykaukab at suse.de
Tue Jan 29 15:38:31 UTC 2019


Path for fsl-mc node in kernel device-tree is /soc/fsl-mc whereas
in u-boot it is /fsl-mc.

Fix the incorrect search path to fix following error:
fdt_fixup_board_enet: ERROR: fsl-mc node not found in device tree (error -1)

Signed-off-by: Mian Yousaf Kaukab <ykaukab at suse.de>
---
 board/freescale/ls1088a/ls1088a.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c
index 6a33958207..c46febdc92 100644
--- a/board/freescale/ls1088a/ls1088a.c
+++ b/board/freescale/ls1088a/ls1088a.c
@@ -655,7 +655,7 @@ void fdt_fixup_board_enet(void *fdt)
 	offset = fdt_path_offset(fdt, "/fsl-mc");
 
 	if (offset < 0)
-		offset = fdt_path_offset(fdt, "/fsl,dprc at 0");
+		offset = fdt_path_offset(fdt, "/soc/fsl-mc");
 
 	if (offset < 0) {
 		printf("%s: ERROR: fsl-mc node not found in device tree (error %d)\n",
-- 
2.11.0



More information about the U-Boot mailing list