projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9769b73
)
microblaze: Support system with WB cache
author
Michal Simek
<monstr@monstr.eu>
Fri, 16 Apr 2010 09:59:29 +0000
(11:59 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Fri, 16 Apr 2010 10:16:02 +0000
(12:16 +0200)
WB cache use different instruction that WT cache but the major code
is that same. That means that wdc.flush on system with WT cache
do the same thing as before.
You need newer toolchain with wdc.flush support.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/lib/cache.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/lib/cache.c
b/arch/microblaze/lib/cache.c
index
4b2e8e3
..
9b6b60f
100644
(file)
--- a/
arch/microblaze/lib/cache.c
+++ b/
arch/microblaze/lib/cache.c
@@
-34,7
+34,7
@@
void flush_cache (ulong addr, ulong size)
#endif
"nop;"
#ifdef CONFIG_DCACHE
- "wdc %0, r0;"
+ "wdc
.flush
%0, r0;"
#endif
"nop;"
: