diff options
author | Tero Kristo <tero.kristo@nokia.com> | 2008-10-13 06:15:00 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-11-11 17:42:25 -0500 |
commit | 27d59a4a2def42307349079f2e3538d96934c379 (patch) | |
tree | d581f0960d280dbe0f8c8ee03e111cadbfcf59db /arch/arm/mach-omap2/pm.h | |
parent | f2d1185824fd3ed631f3164daeff59d0b4e55d79 (diff) |
OMAP3 PM: off-mode support for HS/EMU devices
For HS/EMU devices, some additional resources need to be
saved/restored for off-mode support. Namely, saving the secure RAM
and a pointer to it in the scratchpad.
Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm.h')
-rw-r--r-- | arch/arm/mach-omap2/pm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h index 85b6face5392..45cafac716d1 100644 --- a/arch/arm/mach-omap2/pm.h +++ b/arch/arm/mach-omap2/pm.h | |||
@@ -13,6 +13,8 @@ | |||
13 | 13 | ||
14 | #include <plat/powerdomain.h> | 14 | #include <plat/powerdomain.h> |
15 | 15 | ||
16 | extern void *omap3_secure_ram_storage; | ||
17 | |||
16 | extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm); | 18 | extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm); |
17 | extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state); | 19 | extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state); |
18 | 20 | ||
@@ -36,6 +38,7 @@ extern void omap24xx_cpu_suspend(u32 dll_ctrl, void __iomem *sdrc_dlla_ctrl, | |||
36 | void __iomem *sdrc_power); | 38 | void __iomem *sdrc_power); |
37 | extern void omap34xx_cpu_suspend(u32 *addr, int save_state); | 39 | extern void omap34xx_cpu_suspend(u32 *addr, int save_state); |
38 | extern void save_secure_ram_context(u32 *addr); | 40 | extern void save_secure_ram_context(u32 *addr); |
41 | extern void omap3_save_scratchpad_contents(void); | ||
39 | 42 | ||
40 | extern unsigned int omap24xx_idle_loop_suspend_sz; | 43 | extern unsigned int omap24xx_idle_loop_suspend_sz; |
41 | extern unsigned int omap34xx_suspend_sz; | 44 | extern unsigned int omap34xx_suspend_sz; |