build: Print the full TF-M version on boot
Unify the version extraction with documentation.
Print the boot TF-M version with tag and SHA, provieded by git describe
in a form: <TAG>+<SHA>
Signed-off-by: Anton Komlev <anton.komlev@arm.com>
Change-Id: I64b6202e231a98860973f7cb2ba8d5e3eeffb34f
diff --git a/secure_fw/spm/cmsis_func/main.c b/secure_fw/spm/cmsis_func/main.c
index b08a0d4..c5fa6b5 100644
--- a/secure_fw/spm/cmsis_func/main.c
+++ b/secure_fw/spm/cmsis_func/main.c
@@ -183,7 +183,7 @@
FIH_LABEL_CRITICAL_POINT();
/* Print the TF-M version */
- SPMLOG_INFMSG("\033[1;34mBooting TFM v"VERSION_FULLSTR"\033[0m\r\n");
+ SPMLOG_INFMSG("\033[1;34mBooting TF-M "VERSION_FULLSTR"\033[0m\r\n");
spm_err = tfm_spm_db_init();
if (spm_err != SPM_ERR_OK) {