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

Michal Simek
2018-07-23T13:55:11Z

Better use depends on instead of select.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
---

Changes in v2: None

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 81e88ea77c17..eae5d80cc71b 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -428,7 +428,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