diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2006-07-04 09:59:41 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-07-13 16:26:06 -0400 |
commit | 4e8ab3618273b8c5f87a46f82902fbd4138f97f4 (patch) | |
tree | d933b46da299af716840a186bfcfd7ab0f4c754b /arch | |
parent | f72af3cf06370cedbe387364d447223e5252a000 (diff) |
[MIPS] VR41xx: Set VR41_CONF_BP only for PrId 0x0c80.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/mm/c-r4k.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index ed35ee57b388..256b6611e718 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c | |||
@@ -868,7 +868,9 @@ static void __init probe_pcache(void) | |||
868 | if (c->processor_id == 0x0c80U || c->processor_id == 0x0c81U || | 868 | if (c->processor_id == 0x0c80U || c->processor_id == 0x0c81U || |
869 | c->processor_id == 0x0c82U) { | 869 | c->processor_id == 0x0c82U) { |
870 | config &= ~0x00000030U; | 870 | config &= ~0x00000030U; |
871 | config |= 0x00410000U; | 871 | config |= 0x00400000U; |
872 | if (c->processor_id == 0x0c80U) | ||
873 | config |= VR41_CONF_BP; | ||
872 | write_c0_config(config); | 874 | write_c0_config(config); |
873 | } | 875 | } |
874 | icache_size = 1 << (10 + ((config & CONF_IC) >> 9)); | 876 | icache_size = 1 << (10 + ((config & CONF_IC) >> 9)); |