projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7171977
)
ColdFire: MCF5329 update cache
author
TsiChungLiew
<Tsi-Chung.Liew@freescale.com>
Wed, 15 Aug 2007 23:46:11 +0000
(18:46 -0500)
committer
John Rigby
<jrigby@freescale.com>
Thu, 16 Aug 2007 23:43:20 +0000
(17:43 -0600)
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
cpu/mcf532x/start.S
patch
|
blob
|
history
diff --git
a/cpu/mcf532x/start.S
b/cpu/mcf532x/start.S
index
ac44aaa
..
5cc1c87
100644
(file)
--- a/
cpu/mcf532x/start.S
+++ b/
cpu/mcf532x/start.S
@@
-268,7
+268,7
@@
_int_handler:
icache_enable:
move.l #0x01000000, %d0 /* Invalidate cache cmd */
movec %d0, %CACR /* Invalidate cache */
- move.l #(CFG_SDRAM_BASE + 0xc000
), %d0 /* Setup cache mask */
+ move.l #(CFG_SDRAM_BASE + 0xc000
+ ((CFG_SDRAM_SIZE & 0x1fe0) << 11)), %d0
movec %d0, %ACR0 /* Enable cache */
move.l #0x80000200, %d0 /* Setup cache mask */