summaryrefslogtreecommitdiff
path: root/cpu/mpc83xx
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2006-11-01 00:07:25 -0600
committerKim Phillips <kim.phillips@freescale.com>2006-11-03 19:42:22 -0600
commit48041365b3420589ad464ebc7752e0053538b729 (patch)
treedb0bde34f88fad0e0fdf82aec8b449af71a799fa /cpu/mpc83xx
parent9ca880a250870a7d55754291b5591d2b5fe89b54 (diff)
downloadu-boot-imx-48041365b3420589ad464ebc7752e0053538b729.zip
u-boot-imx-48041365b3420589ad464ebc7752e0053538b729.tar.gz
u-boot-imx-48041365b3420589ad464ebc7752e0053538b729.tar.bz2
mpc83xx: change ft code to modify local-mac-address property
Update 83xx OF code to update local-mac-address properties for ethernet instead of the obsolete 'address' property.
Diffstat (limited to 'cpu/mpc83xx')
-rw-r--r--cpu/mpc83xx/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc83xx/cpu.c b/cpu/mpc83xx/cpu.c
index 1de337b..3d8ca77 100644
--- a/cpu/mpc83xx/cpu.c
+++ b/cpu/mpc83xx/cpu.c
@@ -297,12 +297,12 @@ ft_cpu_setup(void *blob, bd_t *bd)
*p = cpu_to_be32(clock);
#ifdef CONFIG_MPC83XX_TSEC1
- p = ft_get_prop(blob, "/" OF_SOC "/ethernet@24000/address", &len);
+ p = ft_get_prop(blob, "/" OF_SOC "/ethernet@24000/local-mac-address", &len);
memcpy(p, bd->bi_enetaddr, 6);
#endif
#ifdef CONFIG_MPC83XX_TSEC2
- p = ft_get_prop(blob, "/" OF_SOC "/ethernet@25000/address", &len);
+ p = ft_get_prop(blob, "/" OF_SOC "/ethernet@25000/local-mac-address", &len);
memcpy(p, bd->bi_enet1addr, 6);
#endif
}