]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] add Feroceon support to compressed/head.S
authorNicolas Pitre <nico@cam.org>
Wed, 31 Oct 2007 19:31:48 +0000 (15:31 -0400)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:03:40 +0000 (15:03 +0000)
The cache replacement policy on the Feroceon core doesn't guarantee
that reading through a linear chunk of memory flushes the entire cache.
This is however what the default method for ARMv5TE cores does.

Although the Feroceon is an ARMv5TE core, it implements the same
cache handling instructions as the ARMv5TEJ cores, and must use it for
proper cache flush.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/boot/compressed/head.S

index 2073bf0805234a49e1a2b34d9b625311561ce63c..3c2c8f2a1dc4f4e6a4da9dc0bd50b4b4447d42c4 100644 (file)
@@ -623,6 +623,12 @@ proc_types:
                b       __armv4_mmu_cache_off
                b       __armv4_mmu_cache_flush
 
+               .word   0x56055310              @ Feroceon
+               .word   0xfffffff0
+               b       __armv4_mmu_cache_on
+               b       __armv4_mmu_cache_off
+               b       __armv5tej_mmu_cache_flush
+
                @ These match on the architecture ID
 
                .word   0x00020000              @ ARMv4T