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, 13 May 2021 01:49:17 +0000 (09:49 +0800)
Refine trusty logs output to make it more
simple.

Test: boots.

Change-Id: Id94fc245206c5f78e0dbcb0baf5db6475c9f744d
Signed-off-by: Ji Luo <ji.luo@nxp.com>
(cherry picked from commit a50b4fca22111fe7b85b5584ff317db55d664c50)
(cherry picked from commit c17f0cb30c23ed6dab7312cec88707cb355e91a3)

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)