]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: sunxi: Extend DM_RESET selection to SPL
authorSamuel Holland <samuel@sholland.org>
Sat, 11 Sep 2021 19:45:31 +0000 (14:45 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 25 Oct 2021 13:54:06 +0000 (14:54 +0100)
The sunxi clock driver exposes a reset controller, so it selects the
reset controller framework. Ensure that dependency is also satisfied
when building the driver for the SPL.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/clk/sunxi/Kconfig

index f89c7ffd42ae31e4eddd116fe7c5f8f125ab755b..f19908113e110349c3d117989de4523147eca907 100644 (file)
@@ -2,6 +2,7 @@ config CLK_SUNXI
        bool "Clock support for Allwinner SoCs"
        depends on CLK && ARCH_SUNXI
        select DM_RESET
+       select SPL_DM_RESET if SPL_CLK
        default y
        help
          This enables support for common clock driver API on Allwinner