Commit a6013411 authored by Michal Simek's avatar Michal Simek

microblaze: Invalidate dcache before enabling it

We found that on write-trough kernel is necessary to do that invalidation.
One WB is possible to use invalidation too.
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 6339204e
...@@ -54,6 +54,7 @@ void __init setup_arch(char **cmdline_p) ...@@ -54,6 +54,7 @@ void __init setup_arch(char **cmdline_p)
microblaze_cache_init(); microblaze_cache_init();
invalidate_dcache();
enable_dcache(); enable_dcache();
invalidate_icache(); invalidate_icache();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment