浏览代码

Convert to mac-address in ethernet nodes.

Jon Loeliger 19 年之前
父节点
当前提交
709d3073e7
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      cpu/mpc86xx/cpu.c

+ 4 - 4
cpu/mpc86xx/cpu.c

@@ -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