fix(hal): Clear reset on parent crpyto lock while resetting a crypto peripheral

This commit is contained in:
harshal.patil
2024-04-04 14:28:17 +05:30
parent e0cb43b9ab
commit 5ba9b53667
8 changed files with 25 additions and 9 deletions

View File

@@ -92,6 +92,9 @@ static inline void ecdsa_ll_reset_register(void)
{
HP_SYS_CLKRST.hp_rst_en2.reg_rst_en_ecdsa = 1;
HP_SYS_CLKRST.hp_rst_en2.reg_rst_en_ecdsa = 0;
// Clear reset on parent crypto, otherwise ECDSA is held in reset
HP_SYS_CLKRST.hp_rst_en2.reg_rst_en_crypto = 0;
}
/**