diff options
author | Brian Swetland <swetland@google.com> | 2009-01-26 17:15:49 -0800 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2013-04-29 14:42:23 -0700 |
commit | c5cdcff39e3d1b9aec5162a1a6e6da3a7ebce473 (patch) | |
tree | 97edf6ff00ad5b1c98c386b25831a59998e3336f /arch | |
parent | ff6111d360e52923b090e10a6292bd532877761d (diff) |
[ARM] avoid mis-detecting some V7 cores in the decompressor
This allows kernel decompress to happen nearly instantly instead
of taking over 20 seconds.
Signed-off-by: Brian Swetland <swetland@google.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/compressed/head.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S index fe4d9c3ad76..a2361900db1 100644 --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S @@ -805,6 +805,8 @@ call_cache_fn: adr r12, proc_types .align 2 .type proc_types,#object proc_types: +#if !defined(CONFIG_CPU_V7) + /* This collides with some V7 IDs, preventing correct detection */ .word 0x00000000 @ old ARM ID .word 0x0000f000 mov pc, lr @@ -813,6 +815,7 @@ proc_types: THUMB( nop ) mov pc, lr THUMB( nop ) +#endif .word 0x41007000 @ ARM7/710 .word 0xfff8fe00 |