From 7daccaeebd44a0e4ad4a24884ae819787a953116 Mon Sep 17 00:00:00 2001 From: Liu Yibin <yibin_liu@c-sky.com> Date: Mon, 13 Jan 2020 11:20:56 +0800 Subject: 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> --- platform/thead/c910/platform.c | 1 - 1 file changed, 1 deletion(-) (limited to 'platform') diff --git a/platform/thead/c910/platform.c b/platform/thead/c910/platform.c index 1ad3e49..83cfc9d 100644 --- a/platform/thead/c910/platform.c +++ b/platform/thead/c910/platform.c @@ -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); } -- cgit v1.2.3