1 From 96de11ad11db226423d364a75cc82c6118a18a1f Mon Sep 17 00:00:00 2001
2 From: Kurt Mahan <kmahan@freescale.com>
3 Date: Tue, 4 Dec 2007 00:04:21 -0700
4 Subject: [PATCH] Enable Cache Store Buffer.
6 LTIBName: m5445x-enable-cache-store
7 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
9 arch/m68k/coldfire/config.c | 2 ++
10 include/asm-m68k/cfcache.h | 1 +
11 2 files changed, 3 insertions(+), 0 deletions(-)
13 --- a/arch/m68k/coldfire/config.c
14 +++ b/arch/m68k/coldfire/config.c
16 #include <asm/machdep.h>
17 #include <asm/coldfire.h>
18 #include <asm/cfcache.h>
19 +#include <asm/cacheflush.h>
20 #include <asm/bootinfo.h>
22 #include <asm/cfmmu.h>
23 @@ -165,6 +166,7 @@ asmlinkage void __init cf_early_init(voi
24 + sizeof(record->data[0]) + sizeof(record->data[1]);
26 /* Invalidate caches via CACR */
28 cacr_set(CACHE_DISABLE_MODE);
30 /* Turn on caches via CACR, enable EUSP */
31 --- a/include/asm-m68k/cfcache.h
32 +++ b/include/asm-m68k/cfcache.h
34 #define CACHE_INITIAL_MODE (CF_CACR_DEC+ \
40 /* cache disabled for testing */