aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bohan <mbohan@quicinc.com>2009-12-15 19:30:24 -0800
committerMichael Bohan <mbohan@quicinc.com>2009-12-15 19:58:26 -0800
commit19012bc0a8cca035c18c9937d6e6469d8cd2c665 (patch)
treecd713dd1c33ae93a4f916660059aabe6cf1b45f1
parent6cc1e3d6d92fa1f7e632557b4125d18c04c7d852 (diff)
downloadlk-19012bc0a8cca035c18c9937d6e6469d8cd2c665.tar.gz
Bootloader/lk: Don't disable L1 Data Cache on msm7x30
This was fixed on eclair-ohd, but never pulled over to lk.
-rw-r--r--platform/msm7x30/arch_init.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/platform/msm7x30/arch_init.S b/platform/msm7x30/arch_init.S
index 38557915..83969d43 100644
--- a/platform/msm7x30/arch_init.S
+++ b/platform/msm7x30/arch_init.S
@@ -525,14 +525,6 @@ SYSI2:
.word 0xe3003037 // hardcoded MOVW instruction due to lack of compiler support
// MOVT r3, #0x000C
.word 0xe340300c // hardcoded MOVW instruction due to lack of compiler support
- //; read the version_id to determine if d-cache should be disabled
- LDR r2, = 0xa8e00270 //;Read HW_REVISION_NUMBER, HWIO_HW_REVISION_NUMBER_ADDR
- LDR r2,[r2]
- AND r2,r2,#0xf0000000 //;hw_revision mask off bits 28-31
- //;if HW_revision is 1.0 or older, (revision==0)
- CMP r2,#0
- //; Disable d-cache on older QSD8650 (Rev 1.0) silicon
- orreq r3, r3, #0x4000 //;disable dcache
MCR p15, 0, r3, c1, c0, 1 //; WCP15_ACTLR r3
//;End of error and control setting