Loading arch/mips/mm/c-r4k.c +3 −1 Original line number Original line Diff line number Diff line Loading @@ -868,7 +868,9 @@ static void __init probe_pcache(void) if (c->processor_id == 0x0c80U || c->processor_id == 0x0c81U || if (c->processor_id == 0x0c80U || c->processor_id == 0x0c81U || c->processor_id == 0x0c82U) { c->processor_id == 0x0c82U) { config &= ~0x00000030U; config &= ~0x00000030U; config |= 0x00410000U; config |= 0x00400000U; if (c->processor_id == 0x0c80U) config |= VR41_CONF_BP; write_c0_config(config); write_c0_config(config); } } icache_size = 1 << (10 + ((config & CONF_IC) >> 9)); icache_size = 1 << (10 + ((config & CONF_IC) >> 9)); Loading include/asm-mips/mipsregs.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -470,6 +470,7 @@ /* Bits specific to the VR41xx. */ /* Bits specific to the VR41xx. */ #define VR41_CONF_CS (_ULCAST_(1) << 12) #define VR41_CONF_CS (_ULCAST_(1) << 12) #define VR41_CONF_BP (_ULCAST_(1) << 16) #define VR41_CONF_M16 (_ULCAST_(1) << 20) #define VR41_CONF_M16 (_ULCAST_(1) << 20) #define VR41_CONF_AD (_ULCAST_(1) << 23) #define VR41_CONF_AD (_ULCAST_(1) << 23) Loading Loading
arch/mips/mm/c-r4k.c +3 −1 Original line number Original line Diff line number Diff line Loading @@ -868,7 +868,9 @@ static void __init probe_pcache(void) if (c->processor_id == 0x0c80U || c->processor_id == 0x0c81U || if (c->processor_id == 0x0c80U || c->processor_id == 0x0c81U || c->processor_id == 0x0c82U) { c->processor_id == 0x0c82U) { config &= ~0x00000030U; config &= ~0x00000030U; config |= 0x00410000U; config |= 0x00400000U; if (c->processor_id == 0x0c80U) config |= VR41_CONF_BP; write_c0_config(config); write_c0_config(config); } } icache_size = 1 << (10 + ((config & CONF_IC) >> 9)); icache_size = 1 << (10 + ((config & CONF_IC) >> 9)); Loading
include/asm-mips/mipsregs.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -470,6 +470,7 @@ /* Bits specific to the VR41xx. */ /* Bits specific to the VR41xx. */ #define VR41_CONF_CS (_ULCAST_(1) << 12) #define VR41_CONF_CS (_ULCAST_(1) << 12) #define VR41_CONF_BP (_ULCAST_(1) << 16) #define VR41_CONF_M16 (_ULCAST_(1) << 20) #define VR41_CONF_M16 (_ULCAST_(1) << 20) #define VR41_CONF_AD (_ULCAST_(1) << 23) #define VR41_CONF_AD (_ULCAST_(1) << 23) Loading