summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/cm3xxx.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2013-10-11 19:15:34 +0300
committerPaul Walmsley <paul@pwsan.com>2013-10-19 10:11:52 -0600
commitc6a2d839d0dba8a06f55c7b06f8ce33bdbe4aea3 (patch)
tree29e69f442137dc6e16cb6f9a083b5b3846a7632f /arch/arm/mach-omap2/cm3xxx.h
parent7a90da2ad3fdd44a6230c0e2c0a374a5cda1711c (diff)
downloadlinux-c6a2d839d0dba8a06f55c7b06f8ce33bdbe4aea3.tar.bz2
ARM: OMAP3: CM/control: move CM scratchpad save to CM driver
OMAP3 PM code for off-mode currently saves the scratchpad contents for CM registers within OMAP control module driver. However, as we are separating CM code into its own driver, this must be moved also. This patch adds a new API for saving the CM scratchpad contents and uses this from the high level scratchpad save function. Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm3xxx.h')
-rw-r--r--arch/arm/mach-omap2/cm3xxx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/cm3xxx.h b/arch/arm/mach-omap2/cm3xxx.h
index e8e146f4a43f..8224c91b4d7a 100644
--- a/arch/arm/mach-omap2/cm3xxx.h
+++ b/arch/arm/mach-omap2/cm3xxx.h
@@ -83,6 +83,7 @@ extern int omap3xxx_cm_split_idlest_reg(void __iomem *idlest_reg,
extern void omap3_cm_save_context(void);
extern void omap3_cm_restore_context(void);
+extern void omap3_cm_save_scratchpad_contents(u32 *ptr);
extern int __init omap3xxx_cm_init(void);