From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerlando Falauto Date: Fri, 21 Sep 2012 13:15:59 +0200 Subject: [U-Boot] Subject: [PATCH] Fix for bug in memory sizing code In-Reply-To: <20120918190629.GM19861@bill-the-cat> References: <6871BC8982B258468985EE735D2C57524E269AFBC9@ntcex01.corp.netcomm.com.au> <20120918190629.GM19861@bill-the-cat> Message-ID: <505C4C6F.9040905@keymile.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, this patch actually breaks the mpc83xx board I am currently working on, leading to a detected size of 2 GiB (as opposed to the actual size of 128 MiB). I tried reviewing it and couldn't really figure out why, as it seems legitimate, and I currently don't have a chance to check it on other boards. But I just tripled checked it and I am sure it's the root cause of my AAAAAAAAAAAARGGGGGGGGGGGHHHHHHHHHHHHHHHH! :-) Anyone ever tried it? Thanks, Gerlando On 09/18/2012 09:06 PM, Tom Rini wrote: > On Sun, Sep 09, 2012 at 08:16:58PM -0000, Iwo Mergler wrote: > >> The original memory sizing code in get_ram_size clobbers the word >> at the base address, but forgets to restore it. >> >> Signed-off-by: Iwo Mergler > > Applied to u-boot/master, thanks! > > > > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot