summaryrefslogtreecommitdiffstats
path: root/arch/mips/philips/pnx8550/stb810/board_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/philips/pnx8550/stb810/board_setup.c')
-rw-r--r--arch/mips/philips/pnx8550/stb810/board_setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/philips/pnx8550/stb810/board_setup.c b/arch/mips/philips/pnx8550/stb810/board_setup.c
index 345d71e53cf2..d461d7a62365 100644
--- a/arch/mips/philips/pnx8550/stb810/board_setup.c
+++ b/arch/mips/philips/pnx8550/stb810/board_setup.c
@@ -39,8 +39,8 @@ void __init board_setup(void)
/* clear all three cache coherency fields */
config0 &= ~(0x7 | (7<<25) | (7<<28));
- config0 |= (CONF_CM_DEFAULT | (CONF_CM_DEFAULT<<25) |
- (CONF_CM_DEFAULT<<28));
+ config0 |= (_page_cachable_default >> _CACHE_SHIFT) |
+ (CONF_CM_DEFAULT << 25) | (CONF_CM_DEFAULT << 28);
write_c0_config(config0);
configpr = read_c0_config7();
OpenPOWER on IntegriCloud