diff options
author | Marcel Ziswiler <marcel@ziswiler.com> | 2009-09-11 07:50:33 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-09-15 23:01:15 +0200 |
commit | 3ca55bce9c8bf00df06a20487fafc16fa2f8084b (patch) | |
tree | e075859e66a0c54649db40adae3d60265352a223 /board/muas3001/muas3001.c | |
parent | 1c20e4a9fbc531e2149ae061e8583f5fad82f163 (diff) |
mpc8260: remove Ethernet node fixup to use generic FDT code.
Remove Ethernet node fixup from mgcoge and muas3001 boards and modify its
configs for the common mpc8260 code to use generic Ethernet fixup.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@noser.com>
Tested-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/muas3001/muas3001.c')
-rw-r--r-- | board/muas3001/muas3001.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/board/muas3001/muas3001.c b/board/muas3001/muas3001.c index bf4ccb6e19..36caed813d 100644 --- a/board/muas3001/muas3001.c +++ b/board/muas3001/muas3001.c @@ -342,21 +342,6 @@ void ft_blob_update (void *blob, bd_t *bd) printf ("ft_blob_update(): cannot find /localbus node " "err:%s\n", fdt_strerror (nodeoffset)); } - /* MAC Adresse */ - nodeoffset = fdt_path_offset (blob, "/soc/cpm/ethernet"); - if (nodeoffset >= 0) { - uchar ethaddr[6]; - eth_getenv_enetaddr("ethaddr", ethaddr); - ret = fdt_setprop (blob, nodeoffset, "mac-address", ethaddr, - sizeof (uchar) * 6); - if (ret < 0) - printf ("ft_blob_update): cannot set /soc/cpm/ethernet/mac-address " - "property err:%s\n", fdt_strerror (ret)); - } else { - /* memory node is required in dts */ - printf ("ft_blob_update(): cannot find /soc/cpm/ethernet node " - "err:%s\n", fdt_strerror (nodeoffset)); - } /* baudrate */ nodeoffset = fdt_path_offset (blob, "/soc/cpm/serial"); |