log: Fix up Kconfig log level names

The log level numbers in the Kconfig are not actually correct. Fix them
and also add a missing space in the header-file comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Simon Glass 2019-02-16 20:24:34 -07:00 committed by Bin Meng
parent 97f9830849
commit 6fc7e93896
2 changed files with 38 additions and 30 deletions

View file

@ -14,7 +14,7 @@
/** Log levels supported, ranging from most to least important */
enum log_level_t {
LOGL_EMERG = 0, /*U-Boot is unstable */
LOGL_EMERG = 0, /* U-Boot is unstable */
LOGL_ALERT, /* Action must be taken immediately */
LOGL_CRIT, /* Critical conditions */
LOGL_ERR, /* Error that prevents something from working */