mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 06:16:46 +07:00
microblaze: Move cache function to cache.c
It is better to have init cache handling on one place. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
7775379057
commit
407c1da07d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user