[U-Boot] [PATCH 06/15] sandbox: Add a flag to set the default log level

sjg at google.com sjg at google.com
Tue Oct 9 23:51:44 UTC 2018


It is useful to be able to set the default log level from the command line
when running sandbox. Add a new -L command-line flag for this. The log
level is set using the enum log_level_t in log.h. At present a number must
be specified, e.g. -L7 for debug.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/sandbox/cpu/start.c         | 13 +++++++++++++
 arch/sandbox/include/asm/state.h |  1 +
 common/log.c                     |  3 ++-
 3 files changed, 16 insertions(+), 1 deletion(-)

Applied to u-boot-dm


More information about the U-Boot mailing list