[PATCH 1/4] PowerPC 440EPx: Sequoia bootwrapper
Valentine Barshak
vbarshak at ru.mvista.com
Wed Aug 29 22:13:08 EST 2007
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 <vbarshak at ru.mvista.com>
> [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.
More information about the Linuxppc-dev
mailing list