David Gibson wrote: > On Tue, Aug 28, 2007 at 08:56:10PM +0400, Valentine Barshak wrote: >> Bootwrapper code for AMCC PPC440EPx Sequoia. >> >> Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> > [snip] >> +static void sequoia_fixups(void) >> +{ >> + unsigned long sysclk = 33333333; >> + >> + ibm440ep_fixup_clocks(sysclk, 11059200); >> + ibm4xx_fixup_ebc_ranges("/plb/opb/ebc"); >> + ibm4xx_denali_fixup_memsize(); >> + dt_fixup_mac_addresses(sequoia_mac0, sequoia_mac1); >> +} >> + >> +static void sequoia_init(void *mac0, void *mac1) > > No need to separate this function out, just drop it into > platform_init(). Also no need for the seqouia_mac* variables - they > were in ebony to handle the cuboot vs. openbios variants. For > sequoia, you can just pull the values straight from the bd_t in > sequoia_fixups() >
OK, Thanks, Valentine. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev