From: Wenyou Yang Date: Fri, 17 Nov 2017 06:46:43 +0000 (+0800) Subject: clk: at91: Kconfig: fix the dependency of AT91_UTMI X-Git-Tag: v2018.01-rc1~44 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9e0eb01239a3d6d191ed62e9261232f792c42cdf;p=oweals%2Fu-boot.git clk: at91: Kconfig: fix the dependency of AT91_UTMI What the AT91_UTMI depends on SPL_DM isn't right. AT91_UTMI is not only used in SPL, also in other place, even if SPL_DM isn't enabled. Signed-off-by: Wenyou Yang --- diff --git a/drivers/clk/at91/Kconfig b/drivers/clk/at91/Kconfig index c6c57618c1..fd56f200b9 100644 --- a/drivers/clk/at91/Kconfig +++ b/drivers/clk/at91/Kconfig @@ -14,11 +14,11 @@ config CLK_AT91 config AT91_UTMI bool "Support UTMI PLL Clock" - depends on CLK_AT91 && SPL_DM + depends on CLK_AT91 select REGMAP - select SPL_REGMAP + select SPL_REGMAP if SPL_DM select SYSCON - select SPL_SYSCON + select SPL_SYSCON if SPL_DM help This option is used to enable the AT91 UTMI PLL clock driver. It is the clock provider of USB, and UPLLCK is the