summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Sweeny <scott.sweeny@timesys.com>2009-04-29 14:54:40 -0400
committerScott Sweeny <scott.sweeny@timesys.com>2009-04-29 14:54:40 -0400
commitc8b2db6b7dead3d9aa65758603153a61cd9c40b8 (patch)
tree5fde765278ad16dceccc38122c537978d7c1c04e
parent6e14db6227efbd45c766096a6043b6ca52f1950e (diff)
L2 is enabled out of reset, disable it
This patch originally from LogicPD OMAP35x Release 1.5.0 Original Patch Name: u-boot-1.1.4-omap3430-lv-som-03.patch
-rw-r--r--cpu/omap3/start.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpu/omap3/start.S b/cpu/omap3/start.S
index 5137a04b58..69364bb7fe 100644
--- a/cpu/omap3/start.S
+++ b/cpu/omap3/start.S
@@ -104,6 +104,12 @@ FIQ_STACK_START:
*/
reset:
+#if 1
+ /* L2 is enabled out of reset, disable it */
+ mrc p15, 0, r0, c1, c0, 1 /* Fetch Aux Control reg... */
+ bic r0, r0, #2
+ mcr p15, 0, r0, c1, c0, 1 /* Set Aux Control reg... */
+#endif
/*
* set the cpu to SVC32 mode
*/