[U-Boot-Users] [PATCH] Fix: update MAC-adress for mgsuvd board.

Heiko Schocher hs at denx.de
Thu Feb 21 18:31:15 CET 2008


Hello,

Rename the "scc" node in "ethernet" for the mgsuvd board.

Signed-off-by: Heiko Schocher <hs at denx.de>
---
 board/mgsuvd/mgsuvd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/mgsuvd/mgsuvd.c b/board/mgsuvd/mgsuvd.c
index dd7d823..9fd164b 100644
--- a/board/mgsuvd/mgsuvd.c
+++ b/board/mgsuvd/mgsuvd.c
@@ -193,7 +193,7 @@ void ft_blob_update(void *blob, bd_t *bd)
 		"err:%s\n", fdt_strerror(nodeoffset));
 	}
 	/* MAC Adresse */
-	nodeoffset = fdt_path_offset (blob, "/soc866/cpm/scc");
+	nodeoffset = fdt_path_offset (blob, "/soc866/cpm/ethernet");
 	if (nodeoffset >= 0) {
 		ret = fdt_setprop(blob, nodeoffset, "mac-address", bd->bi_enetaddr,
 					sizeof(uchar) * 6);
-- 
1.5.4.2

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany




More information about the U-Boot mailing list