projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
723ec69
)
ARM: mx5: Enable L2 cache
author
Fabio Estevam
<fabio.estevam@freescale.com>
Mon, 30 Sep 2013 16:16:52 +0000
(13:16 -0300)
committer
Stefano Babic
<sbabic@denx.de>
Thu, 31 Oct 2013 16:54:03 +0000
(17:54 +0100)
Enable L2 cache for improving the system performance.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/armv7/mx5/lowlevel_init.S
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/mx5/lowlevel_init.S
b/arch/arm/cpu/armv7/mx5/lowlevel_init.S
index 25fadf64875e3aadcb20cedc41ea379e2b0b1244..97077fd367ce846fdce7d426e1fc6e67b927d056 100644
(file)
--- a/
arch/arm/cpu/armv7/mx5/lowlevel_init.S
+++ b/
arch/arm/cpu/armv7/mx5/lowlevel_init.S
@@
-45,6
+45,12
@@
#endif
mcr 15, 1, r0, c9, c0, 2
+
+ /* enable L2 cache */
+ mrc 15, 0, r0, c1, c0, 1
+ orr r0, r0, #2
+ mcr 15, 0, r0, c1, c0, 1
+
.endm /* init_l2cc */
/* AIPS setup - Only setup MPROTx registers.