[msm7630] Initialize CCPR register for L1/L2 cache coherency policy
Change-Id: I8921c3fd59c5e26d7dbc81d0fca6d6d17b5b3135
diff --git a/platform/msm7x30/arch_init.S b/platform/msm7x30/arch_init.S
index 8933bb1..e0a0053 100644
--- a/platform/msm7x30/arch_init.S
+++ b/platform/msm7x30/arch_init.S
@@ -416,6 +416,12 @@
DSB
ISB
+ //; Setup CCPR - Cache Coherency Policy Register
+ //; setup CCPR[L1ISHP, L2ISHP] both to 0b00 (no forcing)
+ //; setup CCPR[L1OSHP, L2OSHP] both to 0b10 (force non-cacheable)
+ MOVW r2, #0x88
+ MCR p15, 0, r2, c10, c4, 2
+
//;-------------------------------------------------------------------
//; There are a number of registers that must be set prior to enabling
//; the MMU. The DCAR is one of these registers. We are setting