aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini2024-06-19 15:27:58 -0600
committerTom Rini2024-07-03 14:42:01 -0600
commit280e54656f3e1a356baca02dc264d9d9407bf0a9 (patch)
tree032565c16e6dee5429f15e5cac641884dd4eb5b2 /arch
parent34a0c164a5368099351fe63e86543ed0f6d394b7 (diff)
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 <trini@konsulko.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/lib/cache.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/lib/cache.c b/arch/powerpc/lib/cache.c
index 130318d745a..a9cd7b8d30a 100644
--- a/arch/powerpc/lib/cache.c
+++ b/arch/powerpc/lib/cache.c
@@ -5,6 +5,7 @@
*/
#include <cpu_func.h>
+#include <stdio.h>
#include <asm/cache.h>
#include <watchdog.h>
@@ -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");
+}