From af1bc0cf46c49c5ddb13b8c75bad31a05a137eba Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 4 Dec 2017 13:48:28 -0700 Subject: log: Plumb logging into the init sequence Set up logging both before and after relocation. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- common/log.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common/log.c') diff --git a/common/log.c b/common/log.c index 8f36c79c268..45e46dd5209 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; -- cgit v1.2.3