forked from Mirrors/opensbi
		
	platform: thead/c910: Don't enable L2 cache in warm boot
Since all harts share the same L2 cache now, there's no need to Enable L2 cache in warm boot. Signed-off-by: Liu Yibin <yibin_liu@c-sky.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
		@@ -48,7 +48,6 @@ static int c910_early_init(bool cold_boot)
 | 
			
		||||
 | 
			
		||||
		csr_write(CSR_MCOR, c910_regs.mcor);
 | 
			
		||||
		csr_write(CSR_MHCR, c910_regs.mhcr);
 | 
			
		||||
		csr_write(CSR_MCCR2, c910_regs.mccr2);
 | 
			
		||||
		csr_write(CSR_MHINT, c910_regs.mhint);
 | 
			
		||||
		csr_write(CSR_MXSTATUS, c910_regs.mxstatus);
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user