bdk: hwinit: refactor MBIST WAR & add description

The biggest take here is that the split approach of having it in Bootrom and
Bootloader is that it's only for boot. Any later powerdown must rerun the WAR
for that particular power domain.
This commit is contained in:
CTCaer
2025-08-27 15:13:56 +03:00
committed by NaGa
parent 393d135105
commit b52f5edce6
3 changed files with 94 additions and 78 deletions

View File

@@ -115,7 +115,7 @@ void ccplex_boot_cpu0(u32 entry, bool lock)
}
// Tighten up the security aperture.
// MC(MC_TZ_SECURITY_CTRL) = 1;
// MC(MC_TZ_SECURITY_CTRL) = TZ_SEC_CTRL_CPU_STRICT_TZ_APERTURE_CHECK;
// Clear MSELECT reset.
CLOCK(CLK_RST_CONTROLLER_RST_DEV_V_CLR) = BIT(CLK_V_MSELECT);