SPM: Remove secure_utilities.h
- Move the enum of excution number into spm_api.h
- Move the 'tfm_is_one_bit_set' declaration and 'ERROR_MSG' macro into
tfm_utils.h
- Remove the secure_utilities.h and change the include accordingly.
- Remove 'tfm_core.h'.
Change-Id: I312e1d6c18d31e630b853494107a20ec0acdb2fb
Signed-off-by: Summer Qin <summer.qin@arm.com>
diff --git a/secure_fw/spm/include/tfm_utils.h b/secure_fw/spm/include/tfm_utils.h
index 4354eda..f191ff6 100644
--- a/secure_fw/spm/include/tfm_utils.h
+++ b/secure_fw/spm/include/tfm_utils.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2019, Arm Limited. All rights reserved.
+ * Copyright (c) 2018-2020, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -7,6 +7,7 @@
#ifndef __TFM_UTILS_H__
#define __TFM_UTILS_H__
+#include <stdbool.h>
#include <stdio.h>
/*
@@ -32,4 +33,8 @@
#define TFM_GET_CONTAINER_PTR(ptr, type, member) \
(type *)((unsigned long)(ptr) - offsetof(type, member))
+#define ERROR_MSG(msg)
+
+bool tfm_is_one_bit_set(uint32_t n);
+
#endif /* __TFM_UTILS_H__ */