MA-15715-1 Refine trusty logs
authorJi Luo <ji.luo@nxp.com>
Thu, 24 Oct 2019 06:06:41 +0000 (14:06 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 24 Oct 2019 11:47:33 +0000 (19:47 +0800)
Refine trusty logs output to make it more
simple.

Test: boots.

Change-Id: Id94fc245206c5f78e0dbcb0baf5db6475c9f744d
Signed-off-by: Ji Luo <ji.luo@nxp.com>
include/trusty/util.h

index 72b960e..fff81c1 100644 (file)
@@ -75,8 +75,7 @@ const char* trusty_basename(const char* str);
  */
 #define trusty_info(message, ...)             \
   do {                                        \
-    trusty_printf(trusty_basename(__FILE__)); \
-    trusty_printf(": INFO ");                 \
+    trusty_printf("INFO ");                 \
     trusty_printf(message, ##__VA_ARGS__);    \
   } while(0)