From: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Date: Wed, 28 Jun 2017 23:44:07 +0000 (+0200)
Subject: spl: dm: Kconfig: SPL_CLK depends on SPL_DM
X-Git-Tag: v2025.01-rc5-pxa1908~6047^2~75
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/git-logo.png?a=commitdiff_plain;h=f0776a551764bdb010a6fefd053c3aa88f1cf6bb;p=u-boot.git

spl: dm: Kconfig: SPL_CLK depends on SPL_DM

SPL_CLK should also depend on SPL_DM (and not just on CLK).
Add the additional dependency.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
---

diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 60bd706fa2..b4a4877575 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -12,7 +12,7 @@ config CLK
 
 config SPL_CLK
 	bool "Enable clock support in SPL"
-	depends on CLK
+	depends on CLK && SPL_DM
 	help
 	  The clock subsystem adds a small amount of overhead to the image.
 	  If this is acceptable and you have a need to use clock drivers in