projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ca880a
)
mpc83xx: change ft code to modify local-mac-address property
author
Kim Phillips
<kim.phillips@freescale.com>
Wed, 1 Nov 2006 06:07:25 +0000
(
00:07
-0600)
committer
Kim Phillips
<kim.phillips@freescale.com>
Sat, 4 Nov 2006 01:42:22 +0000
(19:42 -0600)
Update 83xx OF code to update local-mac-address properties
for ethernet instead of the obsolete 'address' property.
cpu/mpc83xx/cpu.c
patch
|
blob
|
history
diff --git
a/cpu/mpc83xx/cpu.c
b/cpu/mpc83xx/cpu.c
index 1de337b33c66a9bd22a018388819ab8193b5379a..3d8ca772c613933327b7ce0ae28267ba02e5e947 100644
(file)
--- 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
}