aboutsummaryrefslogtreecommitdiff
path: root/board/thead/light-c910/spl.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/thead/light-c910/spl.c')
-rw-r--r--board/thead/light-c910/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/thead/light-c910/spl.c b/board/thead/light-c910/spl.c
index 32a16a1b..43a0de34 100644
--- a/board/thead/light-c910/spl.c
+++ b/board/thead/light-c910/spl.c
@@ -306,7 +306,7 @@ void cpu_performance_enable(void)
csr_write(CSR_MCCR2, 0xe2490009);
csr_write(CSR_MHCR, 0x117f); // clear bit7 to disable indirect brantch prediction
csr_write(CSR_MXSTATUS, 0x638000);
- csr_write(CSR_MHINT, 0x6e30c | (1<<22)); // set bit22 to close fence broadcast
+ csr_write(CSR_MHINT, 0x6e30c | (1<<21) | (1<<22)); // set bit21 & bit 22 to close tlb & fence broadcast
}
static int bl1_img_have_head(unsigned long img_src_addr)