]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv8/cache_v8.c
ARM: cache: implement a default weak flush_cache() function
[karo-tx-uboot.git] / arch / arm / cpu / armv8 / cache_v8.c
index cd160c4b633b94ef33efc2221bd1411497a9bac2..835f6a6525ea08e8c3a1473d78fa7dbf1428c681 100644 (file)
@@ -253,11 +253,3 @@ void __weak enable_caches(void)
        icache_enable();
        dcache_enable();
 }
-
-/*
- * Flush range from all levels of d-cache/unified-cache
- */
-void flush_cache(unsigned long start, unsigned long size)
-{
-       flush_dcache_range(start, start + size);
-}