Hi Bohdan,
Regarding Musca-B1 specific implementation,
@Mark Horvath may help give the details.
Regarding the duplicated reset() in tfm_core_panic(), your understanding is correct.
I will add the missing comment. Thanks a lot for pointing it out.
Best regards,
Hu Ziji
From: Bohdan.Hunko--- via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Friday, January 28, 2022 10:08 PM
To: tf-m@lists.trustedfirmware.org
Cc: Roman.Mazurak@infineon.com; Nazar.Chornenkyy@infineon.com
Subject: [TF-M] Custom implementation of of tfm_hal_system_reset
Hi everyone,
I have a few questions related to TF-M code:
Custom implementations tend to also disable and clean IRQ and call mpc_revert_non_secure_to_secure_cfg();
Is there any benefits of doing that??? If so then what those benefits are?
Regards,
Bohdan Hunko
Cypress Semiconductor Ukraine
Engineer
CSUKR CSS ICW SW FW
Mobile: +38099 50 19 714
Bohdan.Hunko@infineon.com