]> git.sur5r.net Git - u-boot/commitdiff
spl: dm: Kconfig: SPL_CLK depends on SPL_DM
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 28 Jun 2017 23:44:07 +0000 (01:44 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:20 +0000 (17:12 +0200)
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>
drivers/clk/Kconfig

index 60bd706fa2bdb5edf3b3918c1d810a22e13ade17..b4a4877575c5e294dc32ecb30bba0fe76246c677 100644 (file)
@@ -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