microblaze: Support for WB cache
Microblaze version 7.20.d is the first MB version which can be run on MMU linux. Please do not used previous version because they contain HW bug. Based on WB support was necessary to redesign whole cache design. Microblaze versions from 7.20.a don't need to disable IRQ and cache before working with them that's why there are special structures for it. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
c8983a5c6e
commit
2ee2ff875a
4 changed files with 600 additions and 294 deletions
|
@ -52,11 +52,12 @@ void __init setup_arch(char **cmdline_p)
|
|||
/* irq_early_init(); */
|
||||
setup_cpuinfo();
|
||||
|
||||
__invalidate_icache_all();
|
||||
__enable_icache();
|
||||
microblaze_cache_init();
|
||||
|
||||
__invalidate_dcache_all();
|
||||
__enable_dcache();
|
||||
enable_dcache();
|
||||
|
||||
invalidate_icache();
|
||||
enable_icache();
|
||||
|
||||
setup_memory();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue