Core: Remove unnecessary functions

- Do not call tfm_spm_hal_setup_isolation_hw() if TFM_LVL != 1.
- Do not call tfm_nspm_configure_clients() in IPC model.

Change-Id: I55cfcbd3954fd44d501ed2e992bc2c16d7926726
Signed-off-by: Edison Ai <edison.ai@arm.com>
diff --git a/platform/include/tfm_spm_hal.h b/platform/include/tfm_spm_hal.h
index b6820f5..38f22ff 100644
--- a/platform/include/tfm_spm_hal.h
+++ b/platform/include/tfm_spm_hal.h
@@ -76,6 +76,7 @@
  */
 enum tfm_plat_err_t tfm_spm_hal_init_isolation_hw(void);
 
+#if TFM_LVL != 1
 /**
  * \brief This function initialises the HW used for isolation, and sets the
  *        default configuration for them.
@@ -84,6 +85,7 @@
  * \return Returns values as specified by the \ref tfm_plat_err_t
  */
 enum tfm_plat_err_t tfm_spm_hal_setup_isolation_hw(void);
+#endif
 
 /**
  * \brief Configure peripherals for a partition based on the platfotm data from