Skip to contentSkip to conversation

log: CONFIG_LOG should select CONFIG_DM

PATCH New Heinrich Schuchardt 3 participants 3 messages Apr 19, 2018 – Apr 28, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'

---
 common/Kconfig | 1 +
 1 file changed, 1 insertion(+)
common/Kconfig +1 -0
index 03eeeb2402..4c7a1a9af8 100644
@@ -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
Signature · 1 line
2.15.1
#2 lore raw

PATCH 1/1 log: CONFIG_LOG should select CONFIG_DM

In reply to Heinrich Schuchardt
Quoted 5 lines · Heinrich Schuchardt

Compling with CONFIG_LOG and without CONFIG_DM results in common/log.c:47: undefined reference to `uclass_get_name'

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180428/10a1a96d/attachment.sig>