]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert to mac-address in ethernet nodes.
authorJon Loeliger <jdl@freescale.com>
Thu, 3 Aug 2006 21:17:56 +0000 (16:17 -0500)
committerJon Loeliger <jdl@freescale.com>
Wed, 9 Aug 2006 14:00:30 +0000 (09:00 -0500)
cpu/mpc86xx/cpu.c

index fc77d9949fefe6bf1dee974d53c574d8a7bbaaad..0e82e74fa34d18150748dc31d2d2d57943a67668 100644 (file)
@@ -276,22 +276,22 @@ void ft_cpu_setup(void *blob, bd_t *bd)
                *p = cpu_to_be32(clock);
 
 #if defined(CONFIG_MPC86XX_TSEC1)
-       p = ft_get_prop(blob, "/" OF_SOC "/ethernet@24000/address", &len);
+       p = ft_get_prop(blob, "/" OF_SOC "/ethernet@24000/mac-address", &len);
        memcpy(p, bd->bi_enetaddr, 6);
 #endif
 
 #if defined(CONFIG_MPC86XX_TSEC2)
-       p = ft_get_prop(blob, "/" OF_SOC "/ethernet@25000/address", &len);
+       p = ft_get_prop(blob, "/" OF_SOC "/ethernet@25000/mac-address", &len);
        memcpy(p, bd->bi_enet1addr, 6);
 #endif
 
 #if defined(CONFIG_MPC86XX_TSEC3)
-       p = ft_get_prop(blob, "/" OF_SOC "/ethernet@26000/address", &len);
+       p = ft_get_prop(blob, "/" OF_SOC "/ethernet@26000/mac-address", &len);
        memcpy(p, bd->bi_enet2addr, 6);
 #endif
 
 #if defined(CONFIG_MPC86XX_TSEC4)
-       p = ft_get_prop(blob, "/" OF_SOC "/ethernet@27000/address", &len);
+       p = ft_get_prop(blob, "/" OF_SOC "/ethernet@27000/mac-address", &len);
         memcpy(p, bd->bi_enet3addr, 6);
 #endif