aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/include/mach
diff options
context:
space:
mode:
authorruchika kharwar <ruchika@ti.com>2012-02-01 16:19:31 -0600
committerZiyann <jaraidaniel@gmail.com>2014-10-01 12:56:21 +0200
commita1f6101730b8195973581a352308d49adfd6f5d4 (patch)
treea14285d6c309f870c5808d71eda98d9bd0cb39d8 /arch/arm/mach-omap2/include/mach
parentab388fd61281d24ab61ba7513aedcc20b98418e2 (diff)
downloadkernel_samsung_tuna-a1f6101730b8195973581a352308d49adfd6f5d4.zip
kernel_samsung_tuna-a1f6101730b8195973581a352308d49adfd6f5d4.tar.gz
kernel_samsung_tuna-a1f6101730b8195973581a352308d49adfd6f5d4.tar.bz2
OMAP4: ERRATA: ARM: Fix ARM Errata 751472
Errata 751472: This Errata workaround requires bit 11 to be set in the CP15 diagnostic control register. This patch takes care of this errata fix for GP devices at CPU init time and at the cpu_resume stage. Change-Id: I3a8d2b825ac59719233275a77c5fbf5175b35bcb Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/include/mach')
-rw-r--r--arch/arm/mach-omap2/include/mach/omap4-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/include/mach/omap4-common.h b/arch/arm/mach-omap2/include/mach/omap4-common.h
index 594efad..9d884f3 100644
--- a/arch/arm/mach-omap2/include/mach/omap4-common.h
+++ b/arch/arm/mach-omap2/include/mach/omap4-common.h
@@ -159,6 +159,10 @@ static inline unsigned int omap4_get_diagctrl0_errata_flags(void)
if ((arm_rev >= 0x10) && (arm_rev <= 0x22))
ret |= (1 << 4);
#endif
+#ifdef CONFIG_OMAP4_ARM_ERRATA_751472
+ if (arm_rev < 0x30) /* ARM revision less that r3p0 */
+ ret |= (1 << 11);
+#endif
return ret;
}