Skip to content
Snippets Groups Projects
Commit 70524883 authored by Michal Simek's avatar Michal Simek
Browse files

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: default avatarMichal Simek <monstr@monstr.eu>
parent 9769b73f
No related branches found
No related tags found
No related merge requests found
......@@ -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;"
:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment