[U-Boot] [PATCH] powerpc: add support for the Freescale P1022DS reference board

Scott Wood
2010-05-27T20:10:40Z

On 05/27/2010 03:00 PM, Wolfgang Denk wrote:
> Dear Timur Tabi,
>
> In message<4BFECDF7.4070405@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