[MIPS] vr41xx: Replace magic number for P4K bit with symbol.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
1058ecda9b
commit
2874fe5533
@@ -862,7 +862,7 @@ static void __init probe_pcache(void)
|
||||
break;
|
||||
|
||||
case CPU_VR4133:
|
||||
write_c0_config(config & ~CONF_EB);
|
||||
write_c0_config(config & ~VR41_CONF_P4K);
|
||||
case CPU_VR4131:
|
||||
/* Workaround for cache instruction bug of VR4131 */
|
||||
if (c->processor_id == 0x0c80U || c->processor_id == 0x0c81U ||
|
||||
|
Reference in New Issue
Block a user