From: Punit Agrawal Date: Mon, 22 Mar 2021 06:17:53 +0000 (+0900) Subject: clk: zynqmp: Enable the driver if ZYNQMP_FIRMWARE is selected X-Git-Tag: v5.13-rc1~105^2~1^4~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3ce6a4a812b8426ee0c7877cbd0b413841e770f;p=thirdparty%2Flinux.git clk: zynqmp: Enable the driver if ZYNQMP_FIRMWARE is selected When booting the kernel on zynqmp based platforms such as Ultra96v2, peripheral drivers such as that for the sdcard depend on the presence of clocks. Enable the clock driver if it's dependencies are compiled to avoid building an unbootable kernel. Signed-off-by: Punit Agrawal Link: https://lore.kernel.org/r/20210322061754.1065367-2-punit1.agrawal@toshiba.co.jp Acked-by: Michal Simek Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/zynqmp/Kconfig b/drivers/clk/zynqmp/Kconfig index 17086059be8b2..14e4f5c555258 100644 --- a/drivers/clk/zynqmp/Kconfig +++ b/drivers/clk/zynqmp/Kconfig @@ -4,6 +4,7 @@ config COMMON_CLK_ZYNQMP bool "Support for Xilinx ZynqMP Ultrascale+ clock controllers" depends on ARCH_ZYNQMP || COMPILE_TEST depends on ZYNQMP_FIRMWARE + default ZYNQMP_FIRMWARE help Support for the Zynqmp Ultrascale clock controller. It has a dependency on the PMU firmware.