projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df571c4
)
omap2: Fix ARM processor check for 24xx
author
Tony Lindgren
<tony@atomide.com>
Wed, 21 Apr 2010 22:27:25 +0000
(15:27 -0700)
committer
Tony Lindgren
<tony@atomide.com>
Fri, 23 Apr 2010 22:35:11 +0000
(15:35 -0700)
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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/include/mach/entry-macro.S
b/arch/arm/mach-omap2/include/mach/entry-macro.S
index ff25c7e4e6062e51e9a3a51087fbb6b5b5fdee35..50fd749166433f7ebadfa492a4ea136718660e7e 100644
(file)
--- 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, #0x000
6
0000 @ is v6?
+ cmp \tmp, #0x000
7
0000 @ 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