diff options
author | Ken Liu <ken.liu@arm.com> | 2019-12-27 16:31:24 +0800 |
---|---|---|
committer | Ken Liu <ken.liu@arm.com> | 2019-12-30 11:35:04 +0800 |
commit | f250b8b63b5a4fdd256db138498ffb858d2e060c (patch) | |
tree | 83e6ac66f1d8616e7170fc4eab68f7af354036a0 /app | |
parent | 90fdba2224a79d73264a93c059b2660c2fb90e80 (diff) | |
download | trusted-firmware-m-f250b8b63b5a4fdd256db138498ffb858d2e060c.tar.gz |
Core: Refine 'logging' and 'assert' symbols
* Define a generic (non-core) TFM_ASSERT.
* Define core dedicated TFM_CORE_ASSERT.
* Remove redundant LOG_MSG defination in 'tfm_integ_test.h'.
Change-Id: I05437550844b29b2bc660a70566b48ccc3d5bca4
Signed-off-by: Ken Liu <ken.liu@arm.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/tfm_integ_test.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/tfm_integ_test.h b/app/tfm_integ_test.h index 236e9ef2d8..1c867a6f36 100644 --- a/app/tfm_integ_test.h +++ b/app/tfm_integ_test.h @@ -7,7 +7,6 @@ #include <stdio.h> #include <cmsis_compiler.h> -#include "log/tfm_log_raw.h" #ifndef __TFM_INTEG_TEST_H__ #define __TFM_INTEG_TEST_H__ @@ -42,18 +41,6 @@ void test_app(void *argument); */ void execute_ns_interactive_tests(void); -/** - * \brief Logging function - * - */ -__attribute__((always_inline)) __STATIC_INLINE void LOG_MSG(const char *MSG) -{ - /* if IPSR is non-zero, exception is active. NOT banked S/NS */ - if (!__get_IPSR()) { - tfm_log_printf("\t\033[1;32m[Non-Sec] %s\033[0m\r\n", MSG); - } -} - #ifdef __cplusplus } #endif |