提交 a6013411 编写于 作者: M 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: NMichal Simek <monstr@monstr.eu>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册