git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34a0c16
)
powerpc: Add the old invalidate_icache_all function
author
Tom Rini
<trini@konsulko.com>
Wed, 19 Jun 2024 21:27:58 +0000
(15:27 -0600)
committer
Tom Rini
<trini@konsulko.com>
Wed, 3 Jul 2024 20:42:01 +0000
(14:42 -0600)
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>
arch/powerpc/lib/cache.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/lib/cache.c
b/arch/powerpc/lib/cache.c
index
130318d
..
a9cd7b8
100644
(file)
--- 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");
+}