commit | 60075ead7d64c29d430e1f6f78d5285e0553acdf | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Jun 08 18:04:22 2020 +0200 |
committer | Simon Glass <sjg@chromium.org> | Thu Jul 09 18:57:22 2020 -0600 |
tree | 1b37e8f20cc9768c0b44f58e4a4562aeb7116ffe | |
parent | fff251ede939787d8b4cbde25931da33e65b6513 [diff] |
log: uclass_get_name() depends on CONFIG_SPL_DM If CONFIG_SPL_DM=n and CONFIG_SPL_LOG=y a build error occurs: ld.bfd: common/built-in.o: in function `log_get_cat_name': common/log.c:48: undefined reference to `uclass_get_name' make[1]: *** [scripts/Makefile.spl:422: spl/u-boot-spl] Error 1 Call uclass_get_name() only if DM is enabled. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>