diff options
author | Simon Glass <sjg@chromium.org> | 2017-12-04 13:48:28 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-12-07 15:17:00 -0500 |
commit | af1bc0cf46c49c5ddb13b8c75bad31a05a137eba (patch) | |
tree | 509cfc24a022569f4783f6680e47f4cfef64b501 /common/log.c | |
parent | ef11ed8239bf02b347e7fb9fc6d980aec0c7810a (diff) |
log: Plumb logging into the init sequence
Set up logging both before and after relocation.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common/log.c')
-rw-r--r-- | common/log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/log.c b/common/log.c index 8f36c79c26..45e46dd520 100644 --- a/common/log.c +++ b/common/log.c @@ -238,6 +238,7 @@ int log_init(void) (struct list_head *)&gd->log_head); drv++; } + gd->flags |= GD_FLG_LOG_READY; gd->default_log_level = LOGL_INFO; return 0; |