From 6912c9c2f9f1fc4d62ba33c41a07d137ab04d743 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 19 Jun 2024 15:27:56 -0600 Subject: [PATCH] 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 --- arch/sh/cpu/sh4/cache.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 #include +#include #include #include #include @@ -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; -- 2.39.5