Commit c3ce6a4a authored by Punit Agrawal's avatar Punit Agrawal Committed by Stephen Boyd

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: default avatarPunit Agrawal <punit1.agrawal@toshiba.co.jp>
Link: https://lore.kernel.org/r/20210322061754.1065367-2-punit1.agrawal@toshiba.co.jpAcked-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent a38fd874
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment