Skip to content

Commit

Permalink
preloader: disable pal log
Browse files Browse the repository at this point in the history
Signed-off-by: svoboda18 <dev.svoboda18@gmail.com>
  • Loading branch information
svoboda18 committed Apr 29, 2024
1 parent 63b7db2 commit ed63ff8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions platform/mt6580/default.mak
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ MTK_LOADER_BACKUP := yes
# LOG_LEVEL_INFO (3)
# LOG_LEVEL_DEBUG (4)
# Any log messages with levels less than and equal to this will be printed.
CFG_LOG_LEVEL :=3
CFG_LOG_LEVEL :=5
###################################################################
# image loading options
###################################################################
Expand Down Expand Up @@ -147,5 +147,5 @@ CFG_MBLOCK_LIB := 2

# partition common driver support
CFG_PARTITION_COMMON := 1
CFG_LOG_STORE_SUPPORT :=1
C_OPTION += -DLOG_STORE_SUPPORT
CFG_LOG_STORE_SUPPORT :=0
#C_OPTION += -DLOG_STORE_SUPPORT
6 changes: 3 additions & 3 deletions platform/pal/inc/pal_log.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
#define LOG_LEVEL_INFO (3)
#define LOG_LEVEL_DEBUG (4)

#define BUILD_ERR_LOG (1)
#define BUILD_WARN_LOG (1)
#define BUILD_INFO_LOG (1)
#define BUILD_ERR_LOG (0)
#define BUILD_WARN_LOG (0)
#define BUILD_INFO_LOG (0)
#define BUILD_DEBUG_LOG (0)

/* macros */
Expand Down
2 changes: 1 addition & 1 deletion platform/pal/pal_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <pal_typedefs.h>
#include <pal_log.h>

static uint32_t g_log_level = LOG_LEVEL_WARNING;
static uint32_t g_log_level = 5;

uint32_t get_log_level(void)
{
Expand Down

0 comments on commit ed63ff8

Please sign in to comment.