diff options
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx')
| -rw-r--r-- | arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 | ||||
| -rw-r--r-- | arch/powerpc/cpu/mpc85xx/start.S | 1 | 
2 files changed, 2 insertions, 1 deletions
| diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c index d5b17de7c..4067f0537 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)); diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S index 87168e202..e413e4ae9 100644 --- a/arch/powerpc/cpu/mpc85xx/start.S +++ b/arch/powerpc/cpu/mpc85xx/start.S @@ -735,6 +735,7 @@ enable_l2_cluster_l2:  	and.	r1, r0, r4  	bne	1b  	lis	r4, (L2CSR0_L2E|L2CSR0_L2PE)@h +	ori	r4, r4, (L2CSR0_L2REP_MODE)@l  	sync  	stw	r4, 0(r3)	/* enable L2 */  delete_ccsr_l2_tlb: |