diff options
Diffstat (limited to 'arch/powerpc/boot/cuboot-warp.c')
| -rw-r--r-- | arch/powerpc/boot/cuboot-warp.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/powerpc/boot/cuboot-warp.c b/arch/powerpc/boot/cuboot-warp.c index 3db93e85e9e..806df693fea 100644 --- a/arch/powerpc/boot/cuboot-warp.c +++ b/arch/powerpc/boot/cuboot-warp.c @@ -10,6 +10,7 @@ #include "ops.h" #include "4xx.h" #include "cuboot.h" +#include "stdio.h" #define TARGET_4xx #define TARGET_44x @@ -19,15 +20,12 @@ static bd_t bd; static void warp_fixups(void) { - unsigned long sysclk = 66000000; - - ibm440ep_fixup_clocks(sysclk, 11059200, 50000000); + ibm440ep_fixup_clocks(66000000, 11059200, 50000000); ibm4xx_sdram_fixup_memsize(); ibm4xx_fixup_ebc_ranges("/plb/opb/ebc"); - dt_fixup_mac_addresses(&bd.bi_enetaddr); + dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); } - void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7) { |
