提交 70524883 编写于 作者: M Michal Simek

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: NMichal Simek <monstr@monstr.eu>
上级 9769b73f
......@@ -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;"
:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册