aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/cuboot-83xx.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-01-15 10:33:56 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-01-23 20:32:47 -0500
commit3e6f4394ab3ae4480593d5f2612a0d92fd39bf07 (patch)
tree7f0bfa24c419fe1cfbe79a19dcf35535ae9e2eb6 /arch/powerpc/boot/cuboot-83xx.c
parentad160681c8caa0a73e6abd3ac606cd857608f94a (diff)
[POWERPC] bootwrapper: convert cuboot-8{3,5}xx to dt_fixup_mac_address_by_alias
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/cuboot-83xx.c')
-rw-r--r--arch/powerpc/boot/cuboot-83xx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/boot/cuboot-83xx.c b/arch/powerpc/boot/cuboot-83xx.c
index acd860ed7393..61af1c1e8255 100644
--- a/arch/powerpc/boot/cuboot-83xx.c
+++ b/arch/powerpc/boot/cuboot-83xx.c
@@ -24,7 +24,8 @@ static void platform_fixups(void)
24 void *soc; 24 void *soc;
25 25
26 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); 26 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize);
27 dt_fixup_mac_addresses(bd.bi_enetaddr, bd.bi_enet1addr); 27 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr);
28 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr);
28 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq); 29 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq);
29 30
30 /* Unfortunately, the specific model number is encoded in the 31 /* Unfortunately, the specific model number is encoded in the