[PATCH 6/7] powerpc: Add the old invalidate_icache_all function
Tom Rini
trini at konsulko.com
Wed Jun 19 23:27:58 CEST 2024
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 at konsulko.com>
---
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 130318d745aa..a9cd7b8d30ac 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");
+}
--
2.34.1
More information about the U-Boot
mailing list