projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc8620
)
[ARM] avoid mis-detecting some V7 cores in the decompressor
author
Brian Swetland
<swetland@google.com>
Tue, 27 Jan 2009 01:15:49 +0000
(17:15 -0800)
committer
Arve Hjønnevåg
<arve@android.com>
Thu, 4 Feb 2010 04:48:13 +0000
(20:48 -0800)
This allows kernel decompress to happen nearly instantly instead
of taking over 20 seconds.
Signed-off-by: Brian Swetland <swetland@google.com>
arch/arm/boot/compressed/head.S
patch
|
blob
|
history
diff --git
a/arch/arm/boot/compressed/head.S
b/arch/arm/boot/compressed/head.S
index 2a998920dfc0aef43956520ff449e6b158badee2..b5d44a0696243de1fe6354beef5775569bd624fd 100644
(file)
--- a/
arch/arm/boot/compressed/head.S
+++ b/
arch/arm/boot/compressed/head.S
@@
-620,6
+620,8
@@
proc_types:
@ b __arm6_mmu_cache_off
@ b __armv3_mmu_cache_flush
+#if !defined(CONFIG_CPU_V7)
+ /* This collides with some V7 IDs, preventing correct detection */
.word 0x00000000 @ old ARM ID
.word 0x0000f000
mov pc, lr
@@
-628,6
+630,7
@@
proc_types:
THUMB( nop )
mov pc, lr
THUMB( nop )
+#endif
.word 0x41007000 @ ARM7/710
.word 0xfff8fe00