]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
clk: at91: Kconfig: fix the dependency of AT91_UTMI
authorWenyou Yang <wenyou.yang@microchip.com>
Fri, 17 Nov 2017 06:46:43 +0000 (14:46 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 30 Nov 2017 03:30:50 +0000 (22:30 -0500)
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>
drivers/clk/at91/Kconfig

index c6c57618c149a2fc514d687c64ea76805688eb30..fd56f200b9f46da6a82f65f83ab9b6617ac5f256 100644 (file)
@@ -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