aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.h
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2010-12-20 15:05:05 -0500
committerKevin Hilman <khilman@deeprootsystems.com>2010-12-21 17:45:49 -0500
commit8cdfd83473d9b408b924b5d32777ac3fddd251ff (patch)
tree766f42a95cb146424dc4276d0c9ee1dbf29ded28 /arch/arm/mach-omap2/pm.h
parent9d93b8a2c8c78972f0a3d15a820288dbb3968bf2 (diff)
OMAP3: pm: introduce errata handling
Introduce errata handling for OMAP3. This patch introduces errata variable and stub for initialization which will be filled up by follow-on patches. Signed-off-by: Nishanth Menon <nm@ti.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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h
index 0d75bfd1fdbe..0348fd717f61 100644
--- a/arch/arm/mach-omap2/pm.h
+++ b/arch/arm/mach-omap2/pm.h
@@ -85,4 +85,11 @@ extern unsigned int save_secure_ram_context_sz;
85extern unsigned int omap24xx_cpu_suspend_sz; 85extern unsigned int omap24xx_cpu_suspend_sz;
86extern unsigned int omap34xx_cpu_suspend_sz; 86extern unsigned int omap34xx_cpu_suspend_sz;
87 87
88#if defined(CONFIG_PM) && defined(CONFIG_ARCH_OMAP3)
89extern u16 pm34xx_errata;
90#define IS_PM34XX_ERRATUM(id) (pm34xx_errata & (id))
91#else
92#define IS_PM34XX_ERRATUM(id) 0
93#endif /* defined(CONFIG_PM) && defined(CONFIG_ARCH_OMAP3) */
94
88#endif 95#endif