Platform: Change the HAL prototype to report status

Change the return type of tfm_spm_hal_configure_default_isolation() from
"void" to "enum tfm_plat_err_t" to report errors to caller.

Change-Id: Iadfd82e546a5141f0db1624358f09111fd7530c1
Signed-off-by: Edison Ai <edison.ai@arm.com>
diff --git a/secure_fw/spm/spm_api_ipc.c b/secure_fw/spm/spm_api_ipc.c
index 19f1d9a..b88d4a8 100644
--- a/secure_fw/spm/spm_api_ipc.c
+++ b/secure_fw/spm/spm_api_ipc.c
@@ -542,7 +542,10 @@
         platform_data_p = partition->platform_data_list;
         if (platform_data_p != NULL) {
             while ((*platform_data_p) != NULL) {
-                tfm_spm_hal_configure_default_isolation(i, *platform_data_p);
+                if (tfm_spm_hal_configure_default_isolation(i,
+                            *platform_data_p) != TFM_PLAT_ERR_SUCCESS) {
+                    tfm_core_panic();
+                }
                 ++platform_data_p;
             }
         }