From: Wolfgang Denk Date: Sat, 12 May 2012 23:22:41 +0200 Subject: [U-Boot] [PATCH] mx28evk: Scan only first 512 MB of DRAM to avoid memory wraparound In-Reply-To: <1336838852-14235-1-git-send-email-festevam@gmail.com> References: <1336838852-14235-1-git-send-email-festevam@gmail.com> Message-ID: <20120512212241.A48AE200049@gemini.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 Dear Fabio Estevam, In message <1336838852-14235-1-git-send-email-festevam@gmail.com> you wrote: > From: Fabio Estevam > > Scan only first 512 MB of DRAM to avoid memory wraparound. > > This fixes mx28evk boot and it follows the same idea of commit > 19a2066b57 (M28: Scan only first 512 MB of DRAM to avoid memory wraparound) Actually I think this should not be needed. Such wrap-arounds are supposed to be detected by get_ram_size(), which should result in properly sized RAM mappings. Why is this failing here? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de He'd heard her use that sweet, innocent tone of voice before. It meant that, pretty soon, there was going to be trouble. - Terry Pratchett, _Truckers_