On 05/27/2010 02:07 PM, Timur Tabi wrote: > Scott Wood wrote: > >> Passing the actual, known size of RAM (why guess when we know?) as "maxsize" >> should eliminate the machine check problem[1] -- you'd just be using it as a >> not particularly exhaustive memory tester. I don't see why it should be >> mandatory. > > The purpose of get_ram_size() is to verify the "known size of RAM". That > is, once you think you know how much RAM there is, you ask get_ram_size() to > verify that claim.
It would still (sort of) verify that you don't have less than you claim. Attempting to experimentally determine whether you have more than you claim is dangerous. -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot