From: Kim Phillips Date: Wed, 1 Nov 2006 06:07:25 +0000 (-0600) Subject: mpc83xx: change ft code to modify local-mac-address property X-Git-Tag: U-Boot-1_2_0~17^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=48041365b3420589ad464ebc7752e0053538b729;p=u-boot 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. --- diff --git a/cpu/mpc83xx/cpu.c b/cpu/mpc83xx/cpu.c index 1de337b33c..3d8ca772c6 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 }