summaryrefslogtreecommitdiff
path: root/include/asm-m68knommu/cacheflush.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2008-02-01 07:38:24 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-02-01 10:00:01 (GMT)
commitb7dcf7fe7c3060db38fc625efffad5965a5c6d8a (patch)
tree5d72dc3cd8cc062e7dfdeb8750da524f1b570f34 /include/asm-m68knommu/cacheflush.h
parent9f69ba86d66297189916ceae401fe0944a207714 (diff)
downloadlinux-fsl-qoriq-b7dcf7fe7c3060db38fc625efffad5965a5c6d8a.tar.xz
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/cacheflush.h')
-rw-r--r--include/asm-m68knommu/cacheflush.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68knommu/cacheflush.h b/include/asm-m68knommu/cacheflush.h
index 163dcb1..29bc0aa 100644
--- a/include/asm-m68knommu/cacheflush.h
+++ b/include/asm-m68knommu/cacheflush.h
@@ -53,7 +53,7 @@ static inline void __flush_cache_all(void)
#endif /* CONFIG_M5407 */
#if defined(CONFIG_M527x) || defined(CONFIG_M528x)
__asm__ __volatile__ (
- "movel #0x81400100, %%d0\n\t"
+ "movel #0x81000200, %%d0\n\t"
"movec %%d0, %%CACR\n\t"
"nop\n\t"
: : : "d0" );