diff options
Diffstat (limited to 'include/asm-m68knommu/cacheflush.h')
-rw-r--r-- | include/asm-m68knommu/cacheflush.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/include/asm-m68knommu/cacheflush.h b/include/asm-m68knommu/cacheflush.h index 49925e91e89c..c3aadf3b0d88 100644 --- a/include/asm-m68knommu/cacheflush.h +++ b/include/asm-m68knommu/cacheflush.h | |||
@@ -57,13 +57,13 @@ static inline void __flush_cache_all(void) | |||
57 | "nop\n\t" | 57 | "nop\n\t" |
58 | : : : "d0" ); | 58 | : : : "d0" ); |
59 | #endif /* CONFIG_M527x || CONFIG_M528x */ | 59 | #endif /* CONFIG_M527x || CONFIG_M528x */ |
60 | #ifdef CONFIG_M5272 | 60 | #if defined(CONFIG_M5206) || defined(CONFIG_M5206e) || defined(CONFIG_M5272) |
61 | __asm__ __volatile__ ( | 61 | __asm__ __volatile__ ( |
62 | "movel #0x01000000, %%d0\n\t" | 62 | "movel #0x81000100, %%d0\n\t" |
63 | "movec %%d0, %%CACR\n\t" | 63 | "movec %%d0, %%CACR\n\t" |
64 | "nop\n\t" | 64 | "nop\n\t" |
65 | : : : "d0" ); | 65 | : : : "d0" ); |
66 | #endif /* CONFIG_M5272 */ | 66 | #endif /* CONFIG_M5206 || CONFIG_M5206e || CONFIG_M5272 */ |
67 | #ifdef CONFIG_M5249 | 67 | #ifdef CONFIG_M5249 |
68 | __asm__ __volatile__ ( | 68 | __asm__ __volatile__ ( |
69 | "movel #0xa1000200, %%d0\n\t" | 69 | "movel #0xa1000200, %%d0\n\t" |
@@ -71,6 +71,13 @@ static inline void __flush_cache_all(void) | |||
71 | "nop\n\t" | 71 | "nop\n\t" |
72 | : : : "d0" ); | 72 | : : : "d0" ); |
73 | #endif /* CONFIG_M5249 */ | 73 | #endif /* CONFIG_M5249 */ |
74 | #ifdef CONFIG_M532x | ||
75 | __asm__ __volatile__ ( | ||
76 | "movel #0x81000200, %%d0\n\t" | ||
77 | "movec %%d0, %%CACR\n\t" | ||
78 | "nop\n\t" | ||
79 | : : : "d0" ); | ||
80 | #endif /* CONFIG_M532x */ | ||
74 | } | 81 | } |
75 | 82 | ||
76 | #endif /* _M68KNOMMU_CACHEFLUSH_H */ | 83 | #endif /* _M68KNOMMU_CACHEFLUSH_H */ |