diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2006-11-01 00:07:25 -0600 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2006-11-03 19:42:22 -0600 |
commit | 48041365b3420589ad464ebc7752e0053538b729 (patch) | |
tree | db0bde34f88fad0e0fdf82aec8b449af71a799fa /cpu | |
parent | 9ca880a250870a7d55754291b5591d2b5fe89b54 (diff) | |
download | bootable_bootloader_goldelico_gta04-48041365b3420589ad464ebc7752e0053538b729.zip bootable_bootloader_goldelico_gta04-48041365b3420589ad464ebc7752e0053538b729.tar.gz bootable_bootloader_goldelico_gta04-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')
-rw-r--r-- | cpu/mpc83xx/cpu.c | 4 |
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 } |