]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/lib/cache.c
omap4: clock init support for omap4460
[u-boot] / arch / arm / lib / cache.c
index dc3242c90d8d17d7529e277dd0552f76971dcc5d..92b61a26531a6d922eb40a2e24e437b6f8b36681 100644 (file)
@@ -42,3 +42,14 @@ void  __flush_cache(unsigned long start, unsigned long size)
 }
 void  flush_cache(unsigned long start, unsigned long size)
        __attribute__((weak, alias("__flush_cache")));
+
+/*
+ * Default implementation:
+ * do a range flush for the entire range
+ */
+void   __flush_dcache_all(void)
+{
+       flush_cache(0, ~0);
+}
+void   flush_dcache_all(void)
+       __attribute__((weak, alias("__flush_dcache_all")));