fix(esp_security): Power up MPI memory registers when enabling MPI

Co-authored-by: Li HongXi <lihongxi@espressif.com>
This commit is contained in:
harshal.patil
2025-06-27 15:15:26 +05:30
co-authored by Li HongXi
parent 33d8c05d95
commit a7af364112
5 changed files with 10 additions and 16 deletions
@@ -80,7 +80,10 @@ void esp_crypto_mpi_enable_periph_clk(bool enable)
MPI_RCC_ATOMIC() {
mpi_ll_enable_bus_clock(enable);
if (enable) {
mpi_ll_power_up();
mpi_ll_reset_register();
} else {
mpi_ll_power_down();
}
}
}