提交 407c1da0 编写于 作者: M Michal Simek

microblaze: Move cache function to cache.c

It is better to have init cache handling on one place.
Signed-off-by: NMichal Simek <monstr@monstr.eu>
上级 77753790
......@@ -532,4 +532,9 @@ void microblaze_cache_init(void)
}
}
}
invalidate_dcache();
enable_dcache();
invalidate_icache();
enable_icache();
}
......@@ -57,12 +57,6 @@ void __init setup_arch(char **cmdline_p)
microblaze_cache_init();
invalidate_dcache();
enable_dcache();
invalidate_icache();
enable_icache();
setup_memory();
xilinx_pci_init();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册