[U-Boot] [PATCH] ARM: tegra: Use mem size from MC rather than ODMDATA

Tom Rini trini at ti.com
Thu Jul 3 13:01:21 CEST 2014


On Thu, Jul 03, 2014 at 09:45:52AM +0200, Wolfgang Denk wrote:
> Dear Stephen,
> 
> In message <53B47F6F.1090405 at wwwdotorg.org> you wrote:
> >
> > > Is there a specific reason for not using get_ram_size()?
> > 
> > Since we know the exact RAM size, we may as well simply use it directly
> > rather than "probing" for it.
> 
> You _think_ you know the size, but you can never be sure that all this
> RAM is actually present and working.  There has been many discussions
> before why using get_ram_size() makes a lot of sense even in fixed
> size RAM configurations.

Right which is why the flow in this case is:
1) Read the place that "knows"
2) Pass that size to get_ram_size(), use returned value as what we
really know the size to be.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140703/bfd2be1d/attachment.pgp>


More information about the U-Boot mailing list