diff options
Diffstat (limited to 'arch/powerpc/boot/cuboot-85xx.c')
-rw-r--r-- | arch/powerpc/boot/cuboot-85xx.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/boot/cuboot-85xx.c b/arch/powerpc/boot/cuboot-85xx.c index 345dcbecef0f..6776a1a29f13 100644 --- a/arch/powerpc/boot/cuboot-85xx.c +++ b/arch/powerpc/boot/cuboot-85xx.c | |||
@@ -24,8 +24,9 @@ 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 | bd.bi_enet2addr); | 28 | dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); |
29 | dt_fixup_mac_address_by_alias("ethernet2", bd.bi_enet2addr); | ||
29 | dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 8, bd.bi_busfreq); | 30 | dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 8, bd.bi_busfreq); |
30 | 31 | ||
31 | /* Unfortunately, the specific model number is encoded in the | 32 | /* Unfortunately, the specific model number is encoded in the |
@@ -53,7 +54,7 @@ void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
53 | unsigned long r6, unsigned long r7) | 54 | unsigned long r6, unsigned long r7) |
54 | { | 55 | { |
55 | CUBOOT_INIT(); | 56 | CUBOOT_INIT(); |
56 | ft_init(_dtb_start, _dtb_end - _dtb_start, 32); | 57 | fdt_init(_dtb_start); |
57 | serial_console_init(); | 58 | serial_console_init(); |
58 | platform_ops.fixups = platform_fixups; | 59 | platform_ops.fixups = platform_fixups; |
59 | } | 60 | } |