From: Michal Simek Date: Fri, 16 Apr 2010 09:59:29 +0000 (+0200) Subject: microblaze: Support system with WB cache X-Git-Tag: v2010.06-rc1~82^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=70524883b0424277e5b3ff3768c0c5628b5fce44;p=u-boot 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 --- 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;" :