summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/mips/bootblock.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/mips/bootblock.S b/src/arch/mips/bootblock.S
index 8899fe0a97..ed31b24cfa 100644
--- a/src/arch/mips/bootblock.S
+++ b/src/arch/mips/bootblock.S
@@ -36,6 +36,16 @@ _start:
bne $t0, $t1, 1b
addi $t0, $t0, 4
+ /*
+ * Disable caches for now, proper cache management is coming soon.
+ * http://crosbug.com/p/34127
+ */
+ mfc0 $t0, $16
+ li $t1, -8
+ and $t0, $t0, $t1
+ ori $t0, $t0, 2
+ mtc0 $t0, $16
+
/* Run main */
b main