u-boot/arch/arm/cpu/tegra-common
Stephen Warren aeb3fcb359 ARM: tegra: Use mem size from MC rather than ODMDATA
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.

Future work potentially required:
* Clip the memory size to architectural limits; U-Boot probably doesn't
  and won't support either LPAE or Tegra's "swiss cheese" memory layout,
  at least one of which would be required for >2GB RAM.
* Subtract out any carveout required by firmware on future SoCs.

Based-on-work-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2014-08-18 16:57:03 -07:00
..
ap.c ARM: tegra: Disable VPR 2014-08-18 16:57:02 -07:00
board.c ARM: tegra: Use mem size from MC rather than ODMDATA 2014-08-18 16:57:03 -07:00
cache.c ARM: tegra: add common (shared) CPU files 2014-02-03 09:46:46 -07:00
clock.c ARM: tegra: don't exceed AVP limits when configuring PLLP 2014-02-03 09:46:45 -07:00
lowlevel_init.S Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile ARM: tegra: Disable VPR 2014-08-18 16:57:02 -07:00
pinmux-common.c ARM: tegra: add function to enable input clamping on tristate 2014-05-13 10:41:31 -07:00
sys_info.c Move CONFIG_DISPLAY_CPUINFO to Makefile 2014-02-19 11:10:05 -05:00
vpr.c ARM: tegra: Disable VPR 2014-08-18 16:57:02 -07:00