Skip to content
Snippets Groups Projects
Commit c416faf8 authored by James Yang's avatar James Yang Committed by Andy Fleming
Browse files

Enable L2 cache parity/ECC error checking

parent 9cefbd64
No related branches found
No related tags found
No related merge requests found
...@@ -337,7 +337,7 @@ int enable_cluster_l2(void) ...@@ -337,7 +337,7 @@ int enable_cluster_l2(void)
while ((in_be32(&l2cache->l2csr0) while ((in_be32(&l2cache->l2csr0)
& (L2CSR0_L2FI|L2CSR0_L2LFC)) != 0) & (L2CSR0_L2FI|L2CSR0_L2LFC)) != 0)
; ;
out_be32(&l2cache->l2csr0, L2CSR0_L2E); out_be32(&l2cache->l2csr0, L2CSR0_L2E|L2CSR0_L2PE);
} }
i++; i++;
} while (!(cluster & TP_CLUSTER_EOC)); } while (!(cluster & TP_CLUSTER_EOC));
......
...@@ -734,7 +734,7 @@ enable_l2_cluster_l2: ...@@ -734,7 +734,7 @@ enable_l2_cluster_l2:
isync isync
and. r1, r0, r4 and. r1, r0, r4
bne 1b bne 1b
lis r4, L2CSR0_L2E@h lis r4, (L2CSR0_L2E|L2CSR0_L2PE)@h
sync sync
stw r4, 0(r3) /* enable L2 */ stw r4, 0(r3) /* enable L2 */
delete_ccsr_l2_tlb: delete_ccsr_l2_tlb:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment