Fix device tree for mgsuvd board.
Rename the "scc" node in "ethernet" for the mgsuvd board. Signed-off-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
2e721094a7
commit
79eac2bfb5
|
@ -193,7 +193,7 @@ void ft_blob_update(void *blob, bd_t *bd)
|
||||||
"err:%s\n", fdt_strerror(nodeoffset));
|
"err:%s\n", fdt_strerror(nodeoffset));
|
||||||
}
|
}
|
||||||
/* MAC Adresse */
|
/* MAC Adresse */
|
||||||
nodeoffset = fdt_path_offset (blob, "/soc866/cpm/scc");
|
nodeoffset = fdt_path_offset (blob, "/soc866/cpm/ethernet");
|
||||||
if (nodeoffset >= 0) {
|
if (nodeoffset >= 0) {
|
||||||
ret = fdt_setprop(blob, nodeoffset, "mac-address", bd->bi_enetaddr,
|
ret = fdt_setprop(blob, nodeoffset, "mac-address", bd->bi_enetaddr,
|
||||||
sizeof(uchar) * 6);
|
sizeof(uchar) * 6);
|
||||||
|
|
Loading…
Reference in New Issue