aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/include/mach/omap4-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/include/mach/omap4-common.h')
-rw-r--r--[-rwxr-xr-x]arch/arm/mach-omap2/include/mach/omap4-common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/include/mach/omap4-common.h b/arch/arm/mach-omap2/include/mach/omap4-common.h
index 791424d..a8f7501 100755..100644
--- a/arch/arm/mach-omap2/include/mach/omap4-common.h
+++ b/arch/arm/mach-omap2/include/mach/omap4-common.h
@@ -172,9 +172,7 @@ extern u32 omap_get_arm_rev(void);
static inline unsigned int omap4_get_diagctrl0_errata_flags(void)
{
unsigned int ret = 0;
-#if defined(CONFIG_OMAP4_ARM_ERRATA_742230) || defined(CONFIG_OMAP4_ARM_ERRATA_751472) || defined(CONFIG_OMAP4_ARM_ERRATA_743622)
u32 arm_rev = omap_get_arm_rev();
-#endif
#ifdef CONFIG_OMAP4_ARM_ERRATA_742230
if ((arm_rev >= 0x10) && (arm_rev <= 0x22))
ret |= (1 << 4);