]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/m68k/lib/cache.c
m68k: cache: add an empty stub functions for invalidate/flush dcache
[karo-tx-uboot.git] / arch / m68k / lib / cache.c
index 21daf3d1d0f65115145ccd1cff0f4192624a1d84..ace791beb18eda19d08be051c1f2cd8adcf387cc 100644 (file)
@@ -132,3 +132,12 @@ void dcache_invalid(void)
        __asm__ __volatile__("movec %0, %%cacr"::"r"(temp));
 #endif
 }
+
+__weak void invalidate_dcache_range(unsigned long start, unsigned long stop)
+{
+       /* An empty stub, real implementation should be in platform code */
+}
+__weak void flush_dcache_range(unsigned long start, unsigned long stop)
+{
+       /* An empty stub, real implementation should be in platform code */
+}