[U-Boot] Subject: [PATCH] Fix for bug in memory sizing code

Gerlando Falauto gerlando.falauto at keymile.com
Fri Sep 21 13:15:59 CEST 2012


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<Iwo.Mergler at netcommwireless.com>
>
> Applied to u-boot/master, thanks!
>
>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot



More information about the U-Boot mailing list