]> git.baikalelectronics.ru Git - kernel.git/commit
clk: zynqmp: Enable the driver if ZYNQMP_FIRMWARE is selected
authorPunit Agrawal <punit1.agrawal@toshiba.co.jp>
Mon, 22 Mar 2021 06:17:53 +0000 (15:17 +0900)
committerStephen Boyd <sboyd@kernel.org>
Thu, 8 Apr 2021 00:26:09 +0000 (17:26 -0700)
commit39875526365bd4a4ed8c34246732c7f25fd33ca6
tree6bc3dd5f0cd7ffa2cd4021f4b18d1773d797cb66
parent1b8bd930b05ba1f659bccfc6ef406e93916f57ed
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 <punit1.agrawal@toshiba.co.jp>
Link: https://lore.kernel.org/r/20210322061754.1065367-2-punit1.agrawal@toshiba.co.jp
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/zynqmp/Kconfig