]> git.sur5r.net Git - u-boot/commitdiff
log: CONFIG_LOG should select CONFIG_DM
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 19 Apr 2018 19:59:04 +0000 (21:59 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 28 Apr 2018 14:42:35 +0000 (10:42 -0400)
Compling with CONFIG_LOG and without CONFIG_DM results in
common/log.c:47: undefined reference to `uclass_get_name'

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/Kconfig

index 03eeeb2402571b2c9ea9c63652530a8adb2fea28..4c7a1a9af865055a9aa9ac87c735f5de7ac0bdc3 100644 (file)
@@ -424,6 +424,7 @@ menu "Logging"
 
 config LOG
        bool "Enable logging support"
+       select DM
        help
          This enables support for logging of status and debug messages. These
          can be displayed on the console, recorded in a memory buffer, or