projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
riscv: align mtvec on a 4-byte boundary
[oweals/u-boot.git]
/
common
/
log.c
diff --git
a/common/log.c
b/common/log.c
index 59869cd29dabba5375e5897f96a0f46a53f29ebb..ec14644516c14d70bcd4d94438a42653f2cd4cc5 100644
(file)
--- a/
common/log.c
+++ b/
common/log.c
@@
-315,7
+315,8
@@
int log_init(void)
drv++;
}
gd->flags |= GD_FLG_LOG_READY;
- gd->default_log_level = LOGL_INFO;
+ if (!gd->default_log_level)
+ gd->default_log_level = LOGL_INFO;
gd->log_fmt = LOGF_DEFAULT;
return 0;