HAL: Migrate the FIH HAL to TFM HAL for IPC model
This patch moves the tfm_spm_hal version HAL for FIH to tfm_hal.
Change-Id: I4fcc733148da6a799095b16713e1b29c9eb02667
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
diff --git a/secure_fw/spm/cmsis_psa/main.c b/secure_fw/spm/cmsis_psa/main.c
index 46fef6f..34959cb 100644
--- a/secure_fw/spm/cmsis_psa/main.c
+++ b/secure_fw/spm/cmsis_psa/main.c
@@ -61,8 +61,8 @@
#endif /* TFM_FIH_PROFILE_ON */
#ifdef TFM_FIH_PROFILE_ON
- FIH_CALL(tfm_spm_hal_verify_isolation_hw, fih_rc);
- if (fih_not_eq(fih_rc, fih_int_encode(TFM_PLAT_ERR_SUCCESS))) {
+ FIH_CALL(tfm_hal_verify_static_boundaries, fih_rc);
+ if (fih_not_eq(fih_rc, fih_int_encode(TFM_HAL_SUCCESS))) {
tfm_core_panic();
}
#endif