Browse Source

cmd: CONFIG_CMD_LOG select CONFIG_LOG

CONFIG_CMD_LOG without CONFIG_LOG leads to a build error:
‘gd_t {aka volatile struct global_data}’ has no member named
‘default_log_level’

So CMD_LOG should select LOG.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Heinrich Schuchardt 6 years ago
parent
commit
83a1f933d1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cmd/Kconfig

+ 1 - 0
cmd/Kconfig

@@ -1660,6 +1660,7 @@ config CMD_KGDB
 
 
 config CMD_LOG
 config CMD_LOG
 	bool "log - Generation, control and access to logging"
 	bool "log - Generation, control and access to logging"
+	select LOG
 	help
 	help
 	  This provides access to logging features. It allows the output of
 	  This provides access to logging features. It allows the output of
 	  log data to be controlled to a limited extent (setting up the default
 	  log data to be controlled to a limited extent (setting up the default