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)
committerHarshada Kale <hkale@nvidia.com>
Wed, 24 Jul 2013 13:01:56 +0000 (06:01 -0700)
commitb98e0795b726ca4c148e1089d64574aa5586e053
treeaf45db9ca5e91fbf290c408844a33532d97501ff
parentdff57ab9fba624e009ddc4763dd371c8835561ab
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
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
Tested-by: Venkata (Muni) Anda <vanda@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
arch/arm/mach-tegra/board-pluto-memory.c