summaryrefslogtreecommitdiff
path: root/drivers/clk/at91
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@microchip.com>2017-11-17 14:46:43 +0800
committerTom Rini <trini@konsulko.com>2017-11-29 22:30:50 -0500
commit9e0eb01239a3d6d191ed62e9261232f792c42cdf (patch)
tree39b9a8218cd9c45aca7d5bcca8e00e0d2e637a55 /drivers/clk/at91
parentc729fb258a49943a1a63b3b466f5db02fab6c336 (diff)
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 <wenyou.yang@microchip.com>
Diffstat (limited to 'drivers/clk/at91')
-rw-r--r--drivers/clk/at91/Kconfig6
1 files changed, 3 insertions, 3 deletions
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