]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sh: Add the old invalidate_icache_all function
authorTom Rini <trini@konsulko.com>
Wed, 19 Jun 2024 21:27:56 +0000 (15:27 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 3 Jul 2024 20:42:01 +0000 (14:42 -0600)
Add the old invalidate_icache_all function that prints a warning that
was previously found in cmd/cache.c

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/sh/cpu/sh4/cache.c

index f0cb39d6a923e3c4b0119026c6840ac10259d73c..d3c480e79ed2b1da00449af6038a7162ba34fd80 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <command.h>
 #include <cpu_func.h>
+#include <stdio.h>
 #include <asm/cache.h>
 #include <asm/io.h>
 #include <asm/processor.h>
@@ -100,6 +101,11 @@ void icache_disable(void)
        cache_control(CACHE_DISABLE);
 }
 
+void invalidate_icache_all(void)
+{
+       puts("No arch specific invalidate_icache_all available!\n");
+}
+
 int icache_status(void)
 {
        return 0;