[PATCH 1/3] PPC440EP SoC and Bamboo board support
Wade Farnsworth
wfarnsworth at mvista.com
Wed Mar 16 08:38:46 EST 2005
On Tue, 2005-03-15 at 13:58, Jason McMullan wrote:
> I think your setup for BAMBOO_PCIL0_PTM1MS is actually incorrect.
> According to the AMCC 440EP docs, BAMBOO_PCIL0_PTM1MS is a mask,
> so the correct code should look more like:
>
> memory_size = 0xffffffff - (memory_size - 1);
> PCI_WRITEL(memory_size | 1, BAMBOO_PCIL0_PTM1MS);
>
> (assuming 'memory_size' is a power of 2)
Jason,
I think you're right. Your way is much more concise too.
Thanks,
Wade Farnsworth
More information about the Linuxppc-embedded
mailing list