From: TsiChungLiew Date: Wed, 15 Aug 2007 23:46:11 +0000 (-0500) Subject: ColdFire: MCF5329 update cache X-Git-Tag: v2008.10-rc1~874^2~40^2~2^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f52e78304dcc0ac459c0ea1fa5be275c7d1642cf;p=platform%2Fkernel%2Fu-boot.git ColdFire: MCF5329 update cache Signed-off-by: TsiChungLiew --- diff --git a/cpu/mcf532x/start.S b/cpu/mcf532x/start.S index ac44aaa..5cc1c87 100644 --- 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 */