summaryrefslogtreecommitdiff
path: root/arch/sparc/lib/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/lib/cache.c')
-rw-r--r--arch/sparc/lib/cache.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/sparc/lib/cache.c b/arch/sparc/lib/cache.c
deleted file mode 100644
index fd17467f70..0000000000
--- a/arch/sparc/lib/cache.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Sparc cache library
- *
- * (C) Copyright 2007
- * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
- *
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#include <common.h>
-#include <asm/processor.h>
-
-void flush_cache(ulong start_addr, ulong size)
-{
- /* Flush All Cache */
- sparc_dcache_flush_all();
- sparc_icache_flush_all();
-}