On 05/27/2010 03:00 PM, Wolfgang Denk wrote:
> Dear Timur Tabi,
>
> In message<4bfecdf7.4070...@freescale.com>  you wrote:
>>
>> What if the mapping is too big?  Isn't the whole point of get_ram_size()
>> that there is less RAM than we say there is?  That is, if there's only 1GB
>> of RAM, and we do this:
>
> get_ram_size() will also detect a number of hardware problems list
> stuck / swapped / mirrored address lines etc. (actually a pretty
> large percentage of the real world hardware problems).

How about splitting out the testing bit into something that will just 
test a specified range, and report any errors, rather than quietly 
pretend you have less RAM if the test fails?

-Scott
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to