[U-Boot] [PATCH 1/2] common: Log should depends on DM not be selected by DM

Michal Simek michal.simek at xilinx.com
Fri Jul 20 12:05:06 UTC 2018


Better use depends on instead of select.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

I found this in connection to setup imply CMD_DM and it seems to not
standard that it is selecting DM which is not used anywhere else.

---
 common/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/Kconfig b/common/Kconfig
index 4c7a1a9af865..cb17911e1681 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -424,7 +424,7 @@ menu "Logging"
 
 config LOG
 	bool "Enable logging support"
-	select DM
+	depends on 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
-- 
1.9.1



More information about the U-Boot mailing list