From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 15 Jul 2004 09:55:03 +0200 Subject: [U-Boot-Users] Q about automatic dram size detection in sdram_init() In-Reply-To: Your message of "Thu, 15 Jul 2004 09:30:23 +0200." <001501c46a3d$9705b720$0212000a@PCSTEFAN> Message-ID: <20040715075508.AAFB5C109F@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <001501c46a3d$9705b720$0212000a@PCSTEFAN> you wrote: > > The code works fine on all different memory configutations. This is > because of the mirroring of the written values. For example on a system > with 64MByte SDRAM a write to "ADDR_64MB" will mirror to one of the > smaller addresses and the current test will fail! So this is perfectly > OK. If you have a 64MB system, I'd expect that a write to ADDR_64MB succeeds? Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Quantum Mechanics is God's version of "Trust me."