summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/include/mach/omap-secure.h
diff options
context:
space:
mode:
authorSantosh Shilimkar2011-01-08 22:29:09 +0100
committerKevin Hilman2011-12-08 20:29:01 +0100
commit5e94c6e33e7c4726ef09f46c267e9ca232c5148a (patch)
treeea13686167925b0a3f9e67ae02817cbb6986e0fc /arch/arm/mach-omap2/include/mach/omap-secure.h
parentARM: OMAP4: PM: Add WakeupGen and secure GIC low power support (diff)
downloadkernel-qcow2-linux-5e94c6e33e7c4726ef09f46c267e9ca232c5148a.tar.gz
kernel-qcow2-linux-5e94c6e33e7c4726ef09f46c267e9ca232c5148a.tar.xz
kernel-qcow2-linux-5e94c6e33e7c4726ef09f46c267e9ca232c5148a.zip
ARM: OMAP4: PM: Add L2X0 cache lowpower support
When MPUSS hits off-mode, L2 cache is lost. This patch adds L2X0 necessary maintenance operations and context restoration in the low power code. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Jean Pihet <j-pihet@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-by: Vishwanath BS <vishwanath.bs@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/include/mach/omap-secure.h')
-rw-r--r--arch/arm/mach-omap2/include/mach/omap-secure.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/include/mach/omap-secure.h b/arch/arm/mach-omap2/include/mach/omap-secure.h
index 5f0763dd5664..c90a43589abe 100644
--- a/arch/arm/mach-omap2/include/mach/omap-secure.h
+++ b/arch/arm/mach-omap2/include/mach/omap-secure.h
@@ -37,8 +37,13 @@
/* Secure Monitor mode APIs */
#define OMAP4_MON_SCU_PWR_INDEX 0x108
+#define OMAP4_MON_L2X0_DBG_CTRL_INDEX 0x100
+#define OMAP4_MON_L2X0_CTRL_INDEX 0x102
+#define OMAP4_MON_L2X0_AUXCTRL_INDEX 0x109
+#define OMAP4_MON_L2X0_PREFETCH_INDEX 0x113
/* Secure PPA(Primary Protected Application) APIs */
+#define OMAP4_PPA_L2_POR_INDEX 0x23
#define OMAP4_PPA_CPU_ACTRL_SMP_INDEX 0x25
#ifndef __ASSEMBLER__