summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/irammap.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-08-20 16:19:15 -0600
committerStephen Warren <swarren@nvidia.com>2013-09-17 13:44:22 -0600
commitfddb770dbe468876ea6562e21f817813baa15082 (patch)
tree4fa86b10675ff495b69882994bc9fd6156d44e74 /arch/arm/mach-tegra/irammap.h
parent6ae894166c249398da16fe8dc5ab6112f996203b (diff)
ARM: tegra: move resume vector define to irammap.h
irammap.h's purpose is to define the layout/usage of IRAM. As such, TEGRA_IRAM_CODE_AREA should have been added there rather than iomap.h. Move the define, and rename it something more descriptive. Cc: Joseph Lo <josephl@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/irammap.h')
-rw-r--r--arch/arm/mach-tegra/irammap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/irammap.h b/arch/arm/mach-tegra/irammap.h
index 501952a8434..e32e1742c9a 100644
--- a/arch/arm/mach-tegra/irammap.h
+++ b/arch/arm/mach-tegra/irammap.h
@@ -23,4 +23,10 @@
#define TEGRA_IRAM_RESET_HANDLER_OFFSET 0
#define TEGRA_IRAM_RESET_HANDLER_SIZE SZ_1K
+/*
+ * This area is used for LPx resume vector, only while LPx power state is
+ * active. At other times, the AVP may use this area for arbitrary purposes
+ */
+#define TEGRA_IRAM_LPx_RESUME_AREA (TEGRA_IRAM_BASE + SZ_4K)
+
#endif