mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
ARM: mx5: Enable L2 cache
Enable L2 cache for improving the system performance. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
parent
723ec69a6b
commit
4867b634b7
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue