Arch: Apply hardware re-entrant detection feature
For architecture v8.1 afterwards, hardware re-entrant detection is
provided. Enable this feature on Armv8.1-M later.
Change-Id: Ifde71dc248ebfd8038e6c9f04e0edfbe80644b1d
Signed-off-by: Summer Qin <summer.qin@arm.com>
diff --git a/secure_fw/spm/cmsis_psa/main.c b/secure_fw/spm/cmsis_psa/main.c
index e0a4de2..c820a46 100644
--- a/secure_fw/spm/cmsis_psa/main.c
+++ b/secure_fw/spm/cmsis_psa/main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2020, Arm Limited. All rights reserved.
+ * Copyright (c) 2017-2021, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -72,8 +72,8 @@
return TFM_ERROR_GENERIC;
}
- /* Configures architecture-specific coprocessors */
- tfm_arch_configure_coprocessors();
+ /* Configures architecture */
+ tfm_arch_config_extensions();
SPMLOG_INFMSG("\033[1;34m[Sec Thread] Secure image initializing!\033[0m\r\n");