summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu/mpc85xx/cpu_init.c
diff options
context:
space:
mode:
authorJames Yang <James.Yang@freescale.com>2013-03-25 07:40:03 +0000
committerAndy Fleming <afleming@freescale.com>2013-05-24 16:54:10 -0500
commit9cd95ac74a4283c642bb78ad70b46509575b521c (patch)
tree001f43efb91cfb6d2d61aa153440c0b6b531730d /arch/powerpc/cpu/mpc85xx/cpu_init.c
parentc79fd50382e1d4ec85d3fb15a71d0fd48ac29295 (diff)
downloadtalos-obmc-uboot-9cd95ac74a4283c642bb78ad70b46509575b521c.tar.gz
talos-obmc-uboot-9cd95ac74a4283c642bb78ad70b46509575b521c.zip
Add e6500 L2 replacement policy selection
This is compile-time config. Signed-off-by: James Yang <James.Yang@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/cpu_init.c')
-rw-r--r--arch/powerpc/cpu/mpc85xx/cpu_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c
index d5b17de7c6..4067f05375 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c
@@ -337,7 +337,7 @@ int enable_cluster_l2(void)
while ((in_be32(&l2cache->l2csr0)
& (L2CSR0_L2FI|L2CSR0_L2LFC)) != 0)
;
- out_be32(&l2cache->l2csr0, L2CSR0_L2E|L2CSR0_L2PE);
+ out_be32(&l2cache->l2csr0, L2CSR0_L2E|L2CSR0_L2PE|L2CSR0_L2REP_MODE);
}
i++;
} while (!(cluster & TP_CLUSTER_EOC));
OpenPOWER on IntegriCloud