ARM: tegra: pluto: memory: add table for 2GB memory
authorDeepak Nibade <dnibade@nvidia.com>
Tue, 23 Jul 2013 13:50:32 +0000 (18:50 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:33:38 +0000 (13:33 -0700)
commit1ad7cd6a1e54dc963a719551a99700eef1d71435
treeecd0afab53b05dd05315f9d0e82a999aa45311f1
parenta01f078d253c8b99a0131dd336ead84d5093cbf1
ARM: tegra: pluto: memory: add table for 2GB memory

- Use API memblock_phys_mem_size() to get memory size
- Based on memory size, select tables at runtime
  for 1GB or 2GB memory for board AP40

Bug 1327872

Change-Id: I89d5ac405e0c4b96d1dedca0740ad429a7551ff6
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/252421
(cherry picked from commit b98e0795b726ca4c148e1089d64574aa5586e053)
Reviewed-on: http://git-master/r/253254
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
arch/arm/mach-tegra/board-pluto-memory.c