Enable L2 cache parity/ECC error checking

Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
James Yang 2013-03-25 07:39:58 +00:00 committed by Andy Fleming
parent 9cefbd64b2
commit c416faf84f
2 changed files with 2 additions and 2 deletions

View File

@ -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);
out_be32(&l2cache->l2csr0, L2CSR0_L2E|L2CSR0_L2PE);
}
i++;
} while (!(cluster & TP_CLUSTER_EOC));

View File

@ -734,7 +734,7 @@ enable_l2_cluster_l2:
isync
and. r1, r0, r4
bne 1b
lis r4, L2CSR0_L2E@h
lis r4, (L2CSR0_L2E|L2CSR0_L2PE)@h
sync
stw r4, 0(r3) /* enable L2 */
delete_ccsr_l2_tlb: