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:
Liu Yibin
2020-01-13 11:20:56 +08:00
committed by Anup Patel
parent 6ffe1bed09
commit 7daccaeebd

View File

@@ -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);
}