omap2: Fix ARM processor check for 24xx

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Tuesday, April 27, 2010 - 9:59 am

Gitweb:     http://git.kernel.org/linus/67d24820c2f8e4df26e2ce6c7463db3f9d187f1f
Commit:     67d24820c2f8e4df26e2ce6c7463db3f9d187f1f
Parent:     df571c4ab32da9bc05a7db98516fc06ef3cdc5d1
Author:     Tony Lindgren <tony@atomide.com>
AuthorDate: Wed Apr 21 15:27:25 2010 -0700
Committer:  Tony Lindgren <tony@atomide.com>
CommitDate: Fri Apr 23 15:35:11 2010 -0700

    omap2: Fix ARM processor check for 24xx
    
    The value to check is 7 for V6 instead. The code has been
    working as it falls through to 24xx code if the other checks
    fail.
    
    Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/mach-omap2/include/mach/entry-macro.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/include/mach/entry-macro.S b/arch/arm/mach-omap2/include/mach/entry-macro.S
index ff25c7e..50fd749 100644
--- a/arch/arm/mach-omap2/include/mach/entry-macro.S
+++ b/arch/arm/mach-omap2/include/mach/entry-macro.S
@@ -52,7 +52,7 @@ omap_irq_base:	.word	0
 
 		mrc	p15, 0, \tmp, c0, c0, 0	@ get processor revision
 		and	\tmp, \tmp, #0x000f0000	@ only check architecture
-		cmp	\tmp, #0x00060000	@ is v6?
+		cmp	\tmp, #0x00070000	@ is v6?
 		beq	2400f			@ found v6 so it's omap24xx
 		mrc	p15, 0, \tmp, c0, c0, 0	@ get processor revision
 		and	\tmp, \tmp, #0x000000f0	@ check cortex 8 or 9
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
omap2: Fix ARM processor check for 24xx, Linux Kernel Mailing ..., (Tue Apr 27, 9:59 am)