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

2014-07-31 Thread Stephen Warren
On 07/02/2014 02:12 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com 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

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

2014-07-24 Thread Stephen Warren
On 07/03/2014 05:01 AM, Tom Rini wrote: On Thu, Jul 03, 2014 at 09:45:52AM +0200, Wolfgang Denk wrote: Dear Stephen, In message 53b47f6f.1090...@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

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

2014-07-03 Thread Wolfgang Denk
Dear Stephen, In message 53b47f6f.1090...@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

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

2014-07-03 Thread Tom Rini
On Thu, Jul 03, 2014 at 09:45:52AM +0200, Wolfgang Denk wrote: Dear Stephen, In message 53b47f6f.1090...@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

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

2014-07-02 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com 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

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

2014-07-02 Thread Wolfgang Denk
Dear Stephen Warren, In message 1404331950-4916-1-git-send-email-swar...@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

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

2014-07-02 Thread Stephen Warren
On 07/02/2014 03:18 PM, Wolfgang Denk wrote: Dear Stephen Warren, In message 1404331950-4916-1-git-send-email-swar...@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