SPM: Fix link error with SPMLOG_ERRMSG
In particular, the error is:
ld: platform/ext/target/arm/mps3/an547/target_cfg.c:223:
undefined reference to `SPMLOG_ERRMSG'
And this happens because the macro SMPLOG_ERRMSG is not defined, so
it is assumed to be an externally linked function, and the linker is
unable to find it.
This patch fixes the problem.
Change-Id: Ie7115bc3e6f14e84bd21d9ec9f674cd043a0a4ba
Signed-off-by: Jimmy Brisson <jimmy.brisson@linaro.org>
diff --git a/secure_fw/spm/include/utilities.h b/secure_fw/spm/include/utilities.h
index 1a21a8a..f527071 100644
--- a/secure_fw/spm/include/utilities.h
+++ b/secure_fw/spm/include/utilities.h
@@ -9,6 +9,7 @@
#include <stdbool.h>
#include <stdio.h>
+#include "tfm_spm_log.h"
/*
* CPU spin here.