[U-Boot-Users] [PATCH] lpd7a40x register defs, include consolidation

Paul Ruhland pruhland at rochester.rr.com
Wed Oct 13 01:08:38 CEST 2004


On Sunday 10 October 2004 17:51, you wrote:
> I don't understand. You tell me, that there is no SDRAM populated  on
> one  of  the  banks,  resulting  in a smaller total RAM size, and you
> hesitate to show this information to the user?

> Why skip them? What's wrong that a bank that is not  populated  shows
> up with a zero size?

Its not that the ram is unpopulated...it doesn't exist.  There is really only 
one 'physical' bank of ram (2 16bit chips) on the card engine.  Due to the 
way the LH7A40X SoCs address the ram the layout is not contiguous.  You can 
use a register bit to turn on 'rom look-alike' mode which enables a flat 
addressing scheme but its still limited to 32MB.

So with 32MB there is only one bank while for 64MB there are two banks (using 
the config option above).  Without using the config option you have 8 banks 
of 4MB each for 32MB.  I've only added support for the former.

I just didn't want to show memory that is not there and never will be 
(disregarding the guy with the soldering iron of course).

Also, I was using the 'make xxx_config' to adjust TEXT_BASE so u-boot could be 
loaded at the top of ram regardless of the configuration. 

If there is a way to accomplish these things without the makefile trickery I'm 
certainly open to suggestions.  Otherwise I'll just remove it and configure 
all variants with the max possible banks.




More information about the U-Boot mailing list