summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-06-19 15:27:56 -0600
committerTom Rini <trini@konsulko.com>2024-07-03 14:42:01 -0600
commit6912c9c2f9f1fc4d62ba33c41a07d137ab04d743 (patch)
treed3537019f1298d969dc7d8a13bd20df01604dddd
parentbe9f4ff58567420e470f2f0eccda41347747c8f5 (diff)
downloadu-boot-6912c9c2f9f1fc4d62ba33c41a07d137ab04d743.tar.gz
u-boot-6912c9c2f9f1fc4d62ba33c41a07d137ab04d743.tar.bz2
u-boot-6912c9c2f9f1fc4d62ba33c41a07d137ab04d743.zip
sh: Add the old invalidate_icache_all function
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>
-rw-r--r--arch/sh/cpu/sh4/cache.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sh/cpu/sh4/cache.c b/arch/sh/cpu/sh4/cache.c
index f0cb39d6a9..d3c480e79e 100644
--- a/arch/sh/cpu/sh4/cache.c
+++ b/arch/sh/cpu/sh4/cache.c
@@ -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;