summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/common.c
diff options
context:
space:
mode:
authorPrashant Gaikwad <pgaikwad@nvidia.com>2011-08-03 14:41:14 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:48:27 -0800
commitf2bb55c0297b19f1bd08e3c6d84dd044b8a72f77 (patch)
tree68c777007024ba0333fd8bf0cca57119b077b18c /arch/arm/mach-tegra/common.c
parent2ca5fbd4f6bb8b0c9ca2b7e71736891b5e0e91b0 (diff)
arm: tegra: pm: Relocate lp0 vector
LP0 vector is allocated by BL and address is shared to kernel. For platform with memory less than 1GB it was allocated in the overlapping region of carveout memory. Because of it during AVP operation it gets corrupted, which prevents resume. Relocate AVP vector to some other location where overlapping will not occur. Bug 827199 Reviewed-on: http://git-master/r/42113 (cherry picked from commit 9a3993d39599d1637d7c04218e6a634f914e9f91) Original-Change-Id: If862f6ff61a316c478806b7dc3deff70a2861410 Reviewed-on: http://git-master/r/44716 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R085bc615567c70b7ff3b0ba1aee375fb29a72bfd
Diffstat (limited to 'arch/arm/mach-tegra/common.c')
-rw-r--r--arch/arm/mach-tegra/common.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index b94e2b6f4794..77ad2c23aaf1 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -523,13 +523,6 @@ void __init tegra_reserve(unsigned long carveout_size, unsigned long fb_size,
platform_get_resource_byname(&tegra_smmu_device,
IORESOURCE_MEM, "smmu");
#endif
- if (tegra_lp0_vec_size)
- if (memblock_reserve(tegra_lp0_vec_start, tegra_lp0_vec_size)) {
- pr_err("Failed to reserve lp0_vec %08lx@%08lx\n",
- tegra_lp0_vec_size, tegra_lp0_vec_start);
- tegra_lp0_vec_start = 0;
- tegra_lp0_vec_size = 0;
- }
if (carveout_size) {
tegra_carveout_start = memblock_end_of_DRAM() - carveout_size;