MIPS: Hook Cavium OCTEON cache init into cache.c
Follow precedent of other boards, and hook-up the CPU specific cache init. Signed-off-by: Tomaso Paoletti <tpaoletti@caviumnetworks.com> Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:

committed by
Ralf Baechle

parent
0dd4781bca
commit
47d979eca3
@@ -182,6 +182,12 @@ void __devinit cpu_cache_init(void)
|
||||
tx39_cache_init();
|
||||
}
|
||||
|
||||
if (cpu_has_octeon_cache) {
|
||||
extern void __weak octeon_cache_init(void);
|
||||
|
||||
octeon_cache_init();
|
||||
}
|
||||
|
||||
setup_protection_map();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user