diff options
-rw-r--r-- | arch/m68k/include/asm/cacheflush_no.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/cacheflush_no.h b/arch/m68k/include/asm/cacheflush_no.h index 87e5dc0413b4..c65f00a94553 100644 --- a/arch/m68k/include/asm/cacheflush_no.h +++ b/arch/m68k/include/asm/cacheflush_no.h | |||
@@ -51,13 +51,20 @@ static inline void __flush_cache_all(void) | |||
51 | "movec %%d0,%%CACR\n\t" | 51 | "movec %%d0,%%CACR\n\t" |
52 | : : : "d0", "a0" ); | 52 | : : : "d0", "a0" ); |
53 | #endif /* CONFIG_M5407 */ | 53 | #endif /* CONFIG_M5407 */ |
54 | #if defined(CONFIG_M527x) || defined(CONFIG_M528x) | 54 | #if defined(CONFIG_M523x) || defined(CONFIG_M527x) |
55 | __asm__ __volatile__ ( | ||
56 | "movel #0x81400100, %%d0\n\t" | ||
57 | "movec %%d0, %%CACR\n\t" | ||
58 | "nop\n\t" | ||
59 | : : : "d0" ); | ||
60 | #endif /* CONFIG_M523x || CONFIG_M527x */ | ||
61 | #if defined(CONFIG_M528x) | ||
55 | __asm__ __volatile__ ( | 62 | __asm__ __volatile__ ( |
56 | "movel #0x81000200, %%d0\n\t" | 63 | "movel #0x81000200, %%d0\n\t" |
57 | "movec %%d0, %%CACR\n\t" | 64 | "movec %%d0, %%CACR\n\t" |
58 | "nop\n\t" | 65 | "nop\n\t" |
59 | : : : "d0" ); | 66 | : : : "d0" ); |
60 | #endif /* CONFIG_M527x || CONFIG_M528x */ | 67 | #endif /* CONFIG_M528x */ |
61 | #if defined(CONFIG_M5206) || defined(CONFIG_M5206e) || defined(CONFIG_M5272) | 68 | #if defined(CONFIG_M5206) || defined(CONFIG_M5206e) || defined(CONFIG_M5272) |
62 | __asm__ __volatile__ ( | 69 | __asm__ __volatile__ ( |
63 | "movel #0x81000100, %%d0\n\t" | 70 | "movel #0x81000100, %%d0\n\t" |