Linux 3.2.102
[pandora-kernel.git] / arch / arm / boot / compressed / head.S
index c2effc9..8c57359 100644 (file)
@@ -10,6 +10,7 @@
  */
 #include <linux/linkage.h>
 
+       .arch   armv7-a
 /*
  * Debugging stuff
  *
@@ -273,7 +274,7 @@ restart:    adr     r0, LC0
                add     r0, r0, #0x100
                mov     r1, r6
                sub     r2, sp, r6
-               blne    atags_to_fdt
+               bleq    atags_to_fdt
 
                ldmfd   sp!, {r0-r3, ip, lr}
                sub     sp, sp, #0x10000
@@ -648,6 +649,7 @@ __armv7_mmu_cache_on:
                mcrne   p15, 0, r0, c8, c7, 0   @ flush I,D TLBs
 #endif
                mrc     p15, 0, r0, c1, c0, 0   @ read control reg
+               bic     r0, r0, #1 << 28        @ clear SCTLR.TRE
                orr     r0, r0, #0x5000         @ I-cache enable, RR cache replacement
                orr     r0, r0, #0x003c         @ write buffer
 #ifdef CONFIG_MMU