powerpc/44x: 44x TLB doesn't need "Guarded" set for all pages
[deliverable/linux.git] / arch / powerpc / kernel / head_44x.S
index f3a1ea9d7fe44d8e45371d3f9b91863277fa4756..bd4fe9e7278b935f90521c248d80d84222d6e62b 100644 (file)
@@ -68,6 +68,17 @@ _ENTRY(_start);
        mr      r27,r7
        li      r24,0           /* CPU number */
 
+/*
+ * In case the firmware didn't do it, we apply some workarounds
+ * that are good for all 440 core variants here
+ */
+       mfspr   r3,SPRN_CCR0
+       rlwinm  r3,r3,0,0,27    /* disable icache prefetch */
+       isync
+       mtspr   SPRN_CCR0,r3
+       isync
+       sync
+
 /*
  * Set up the initial MMU state
  *
This page took 0.025395 seconds and 5 git commands to generate.