From 280e54656f3e1a356baca02dc264d9d9407bf0a9 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 19 Jun 2024 15:27:58 -0600 Subject: [PATCH] powerpc: 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/powerpc/lib/cache.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/powerpc/lib/cache.c b/arch/powerpc/lib/cache.c index 130318d745..a9cd7b8d30 100644 --- a/arch/powerpc/lib/cache.c +++ b/arch/powerpc/lib/cache.c @@ -5,6 +5,7 @@ */ #include +#include #include #include @@ -52,3 +53,8 @@ void flush_dcache_all(void) { flush_dcache_range(0, ~0); } + +void invalidate_icache_all(void) +{ + puts("No arch specific invalidate_icache_all available!\n"); +} -- 2.39.5