log: Add a Kconfig option to set the default log level
authorSimon Glass <sjg@chromium.org>
Sun, 17 Feb 2019 03:24:35 +0000 (20:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 20 Feb 2019 07:21:44 +0000 (15:21 +0800)
commitf0b05c95e3906fc25989e245b421dc5ec6becd72
tree1c6ea36437008f7fcf26e1da41c6526d8fda56db
parent6fc7e93896e980d8eebf9cff46501f495a1fc361
log: Add a Kconfig option to set the default log level

At present the default log level is set to LOGL_INFO on start-up. Allow
this to be controlled from Kconfig.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/Kconfig
common/log.c