Skip to contentSkip to conversation

clk: at91: Kconfig: fix the dependency of AT91_UTMI

PATCH In review Wenyou Yang 2 participants 2 messages Nov 17, 2017 – Nov 30, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

 drivers/clk/at91/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/clk/at91/Kconfig +3 -3
index c6c57618c1..fd56f200b9 100644
@@ -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
Signature · 1 line
2.13.0
#1 lore raw
Quoted 4 lines · Wenyou Yang

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171130/f6ca2068/attachment.sig>