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

Wolfgang Denk wd at denx.de
Wed Jul 2 23:18:21 CEST 2014


Dear Stephen Warren,

In message <1404331950-4916-1-git-send-email-swarren at wwwdotorg.org> you wrote:
> 
> In at least Tegra124, the Tegra memory controller (MC) has a register
> that controls the memory size. Read this to determine the memory size
> rather than requiring this to be redundantly encoded into the ODMDATA.
> This way, changes to the BCT (i.e. MC configuration) automatically
> updated SW's view of the memory size, without requiring manual changes
> to the ODMDATA.

Is there a specific reason for not using get_ram_size()?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Microsoft Compatibility:
     your old Windows 3.11 application crash exactly as the new ones.


More information about the U-Boot mailing list