diff options
Diffstat (limited to 'arch/powerpc/boot/cuboot-83xx.c')
-rw-r--r-- | arch/powerpc/boot/cuboot-83xx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/boot/cuboot-83xx.c b/arch/powerpc/boot/cuboot-83xx.c index a0505509abcc..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 |
@@ -52,7 +53,7 @@ void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
52 | unsigned long r6, unsigned long r7) | 53 | unsigned long r6, unsigned long r7) |
53 | { | 54 | { |
54 | CUBOOT_INIT(); | 55 | CUBOOT_INIT(); |
55 | ft_init(_dtb_start, _dtb_end - _dtb_start, 32); | 56 | fdt_init(_dtb_start); |
56 | serial_console_init(); | 57 | serial_console_init(); |
57 | platform_ops.fixups = platform_fixups; | 58 | platform_ops.fixups = platform_fixups; |
58 | } | 59 | } |