mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-02-27 18:01:45 +00:00
platform: generic: eyeq7h: enable ECC on L1 cache
Signed-off-by: Vladimir Kondratiev <vladimir.kondratiev@mobileye.com> Link: https://lore.kernel.org/r/20260223-for-upstream-eyeq7h-v3-23-621d004d1a21@mobileye.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
committed by
Anup Patel
parent
f07be546e5
commit
8d1c21b387
@@ -436,6 +436,8 @@ static int eyeq7h_nascent_init(void)
|
||||
/* Per hart set up */
|
||||
/* Enable AMO and RDTIME illegal instruction exceptions. */
|
||||
csr_set(CSR_MIPSCONFIG6, (1<<2)|(1<<1));
|
||||
/* enable ECC for L1 I/D and FTLB */
|
||||
csr_set(CSR_MIPSERRCTL, MIPSERRCTL_PE);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user