aboutsummaryrefslogtreecommitdiff
path: root/platform/include
diff options
context:
space:
mode:
authorEdison Ai <edison.ai@arm.com>2019-12-23 10:17:22 +0800
committerEdison Ai <edison.ai@arm.com>2020-01-02 09:43:07 +0800
commit5525ef3fd976130ea105d77cff4f334dc42a8aea (patch)
tree67cfb4c1a5fe298275ac018acca65638fbd441d3 /platform/include
parent1d96c13652c23eda8d71695ca32d65bd8badf9a9 (diff)
downloadtrusted-firmware-m-5525ef3fd976130ea105d77cff4f334dc42a8aea.tar.gz
Platform: Add system reset hal function in SPM
Add tfm_spm_hal_system_reset() function which is used by SPM to reset the system. All platforms have the same implementation except for Musca-B1. Change-Id: I1fe34d9026b9ec35bf981ea9fc6b5a92d391ed58 Signed-off-by: Edison Ai <edison.ai@arm.com>
Diffstat (limited to 'platform/include')
-rw-r--r--platform/include/tfm_spm_hal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/include/tfm_spm_hal.h b/platform/include/tfm_spm_hal.h
index 14a4a279dc..1bc2626cad 100644
--- a/platform/include/tfm_spm_hal.h
+++ b/platform/include/tfm_spm_hal.h
@@ -160,6 +160,11 @@ enum tfm_plat_err_t tfm_spm_hal_enable_fault_handlers(void);
enum tfm_plat_err_t tfm_spm_hal_system_reset_cfg(void);
/**
+ * \brief System reset
+ */
+void tfm_spm_hal_system_reset(void);
+
+/**
* \brief Configures all external interrupts to target the
* NS state, apart for the ones associated to secure
* peripherals (plus MPC and PPC)