mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[MIPS] VR41xx: Set VR41_CONF_BP only for PrId 0x0c80.
Signed-off-by: Yoichi Yuasa <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
parent
f72af3cf06
commit
4e8ab36182
2 changed files with 4 additions and 1 deletions
|
|
@ -868,7 +868,9 @@ static void __init probe_pcache(void)
|
|||
if (c->processor_id == 0x0c80U || c->processor_id == 0x0c81U ||
|
||||
c->processor_id == 0x0c82U) {
|
||||
config &= ~0x00000030U;
|
||||
config |= 0x00410000U;
|
||||
config |= 0x00400000U;
|
||||
if (c->processor_id == 0x0c80U)
|
||||
config |= VR41_CONF_BP;
|
||||
write_c0_config(config);
|
||||
}
|
||||
icache_size = 1 << (10 + ((config & CONF_IC) >> 9));
|
||||
|
|
|
|||
Loading…
Reference in a new issue