log: CONFIG_LOG should select CONFIG_DM
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'
Signed-off-by Heinrich Schuchardt <[email protected]>
--- common/Kconfig | 1 + 1 file changed, 1 insertion(+)
common/Kconfig +1 -0
@@ -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
PATCH 1/1 log: CONFIG_LOG should select CONFIG_DM
Quoted 7 lines · Heinrich Schuchardt
Compling with
CONFIG_LOGand withoutCONFIG_DMresults incommon/log.c:47: undefined reference to `uclass_get_name'Signed-off-by Heinrich Schuchardt <[email protected]>--- common/Kconfig | 1 + 1 file changed, 1 insertion(+)
Reviewed-by Simon Glass <[email protected]>
Or should we solve this with an #ifdef?
PATCH 1/1 log: CONFIG_LOG should select CONFIG_DM
In reply to Heinrich SchuchardtQuoted 5 lines · Heinrich Schuchardt
Compling with
CONFIG_LOGand withoutCONFIG_DMresults incommon/log.c:47: undefined reference to `uclass_get_name'Signed-off-by Heinrich Schuchardt <[email protected]>Reviewed-by Simon Glass <[email protected]>
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>