summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-04-16 11:59:29 +0200
committerMichal Simek <monstr@monstr.eu>2010-04-16 12:16:02 +0200
commit70524883b0424277e5b3ff3768c0c5628b5fce44 (patch)
treee09ec77d9127f5e6b4fb91c9ff082ffcea152ba4 /arch/microblaze
parent9769b73f60fc0fb8de7ab16ff6300eae56505020 (diff)
downloadblackbird-obmc-uboot-70524883b0424277e5b3ff3768c0c5628b5fce44.tar.gz
blackbird-obmc-uboot-70524883b0424277e5b3ff3768c0c5628b5fce44.zip
microblaze: Support system with WB cache
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>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/lib/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/lib/cache.c b/arch/microblaze/lib/cache.c
index 4b2e8e3790..9b6b60f73c 100644
--- 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;"
:
OpenPOWER on IntegriCloud