[PATCH] PPC440EPx SDRAM width

Stefan Roese sr at denx.de
Fri Apr 24 00:05:22 EST 2009


On Thursday 23 April 2009, Josh Boyer wrote:
> On Thu, Apr 23, 2009 at 09:36:12AM -0400, Steven A. Falco wrote:
> >There is an error in the way ibm4xx_denali_fixup_memsize calculates
> >memory size.  When testing the DDR_REDUC bit, the polarity is
> >backwards.  A "1" implies 32-bit wide memory while a "0" implies
> >64-bit wide memory.
> >
> >For a 32-bit wide system, this bug causes twice the memory to be
> >reported, leading to boot failure.
> >
> >Signed-off-by: Steven A. Falco <sfalco at harris.com>
>
> So we had a previous patch for this, and a very long discussion on what the
> right solution was.  Either we never came to a resolution, or I have just
> forgotten what it was.
>
> Stefan, Valentine, do either of you remember?

Not really, sorry. Must be longer than 2 weeks ago, so it's already flushed 
from my cache. :)

> IIRC, it wasn't something 
> that effected Sequoia or Rainier, but it could (and obviously does) effect
> custom boards.  I don't remember what we agreed on for the proper fix.

It would effect all 32-bit wide 440EPx/GRx boards using the boot wrapper. I 
never used the wrapper on those platforms though. Sorry, I don't remember the 
outcome of the discussion either.

Thanks,
Stefan



More information about the Linuxppc-dev mailing list