diff --git a/bsp/artinchip/sys/d13x/include/core_rv32.h b/bsp/artinchip/sys/d13x/include/core_rv32.h index 8394b3be..042524a2 100644 --- a/bsp/artinchip/sys/d13x/include/core_rv32.h +++ b/bsp/artinchip/sys/d13x/include/core_rv32.h @@ -1051,11 +1051,11 @@ __STATIC_INLINE void csi_dcache_enable (void) __DCACHE_IALL(); /* invalidate all dcache */ cache |= (CACHE_MHCR_DE_Msk | CACHE_MHCR_WB_Msk | CACHE_MHCR_WA_Msk | CACHE_MHCR_RS_Msk | CACHE_MHCR_BPE_Msk | CACHE_MHCR_L0BTB_Msk); /* enable all Cache */ __set_MHCR(cache); - mhint = __get_MHINT(); - mhint &= ~(MHINT_DPLD_Msk | MHINT_AMR_Msk | MHINT_PREF_N_Msk); - mhint |= (1<