summaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu/mcfcache.h
diff options
context:
space:
mode:
authorGreg Ungerer2008-02-01 08:38:24 +0100
committerLinus Torvalds2008-02-01 11:00:01 +0100
commitb7dcf7fe7c3060db38fc625efffad5965a5c6d8a (patch)
tree5d72dc3cd8cc062e7dfdeb8750da524f1b570f34 /include/asm-m68knommu/mcfcache.h
parentm68knommu: use container_of in mcf.c (diff)
downloadkernel-qcow2-linux-b7dcf7fe7c3060db38fc625efffad5965a5c6d8a.tar.gz
kernel-qcow2-linux-b7dcf7fe7c3060db38fc625efffad5965a5c6d8a.tar.xz
kernel-qcow2-linux-b7dcf7fe7c3060db38fc625efffad5965a5c6d8a.zip
m68knommu: fix 528x ColdFire cache settings
Fix problems with the 528x ColdFire CPU cache setup. Do not cache the flash region (if present), and make the runtime settings consistent with the init setting. Problems pointed out by Bernd Buttner <b.buettner@mkc-gmbh.de> Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-m68knommu/mcfcache.h')
-rw-r--r--include/asm-m68knommu/mcfcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68knommu/mcfcache.h b/include/asm-m68knommu/mcfcache.h
index 7b61a8a529f5..c042634fadaa 100644
--- a/include/asm-m68knommu/mcfcache.h
+++ b/include/asm-m68knommu/mcfcache.h
@@ -60,7 +60,7 @@
nop
movel #0x0000c020, %d0 /* Set SDRAM cached only */
movec %d0, %ACR0
- movel #0xff00c000, %d0 /* Cache Flash also */
+ movel #0x00000000, %d0 /* No other regions cached */
movec %d0, %ACR1
movel #0x80000200, %d0 /* Setup cache mask */
movec %d0, %CACR /* Enable cache */