log: CONFIG_LOG should select CONFIG_DM

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>
This commit is contained in:
Heinrich Schuchardt 2018-04-19 21:59:04 +02:00 committed by Tom Rini
parent 1eb2e71edd
commit 9adc78d278

View file

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