From: Paul Ruhland Date: Tue, 12 Oct 2004 19:08:38 -0400 Subject: [U-Boot-Users] [PATCH] lpd7a40x register defs, include consolidation In-Reply-To: <20041011174545.5CB0AC1430@atlas.denx.de> References: <20041011174545.5CB0AC1430@atlas.denx.de> Message-ID: <200410121908.38797.pruhland@rochester.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.