arm64: zynqmp: Add missing ZYNQMP_FIRMWARE dependencies
authorAlgapally Santosh Sagar <santoshsagar.algapally@amd.com>
Wed, 1 Feb 2023 09:55:53 +0000 (02:55 -0700)
committerMichal Simek <michal.simek@amd.com>
Thu, 9 Mar 2023 12:14:59 +0000 (13:14 +0100)
commit6d87b1572f854435a68f868624f91673c91985e1
treeba31f0777394aaa8e8173c103110216a7e1a14de
parent70ed05ce6c051e55e126e67e72ab20409134c953
arm64: zynqmp: Add missing ZYNQMP_FIRMWARE dependencies

There are missing Kconfig dependencies in the code which is using
firmware interface.
The commit 71efd45a5fc7 ("arm64: zynqmp: Change firmware dependency")
add option to also disable ZYNQMP_FIRMWARE. But not all Kconfig
dependencies were properly described and also sdhci and gem drivers
didn't protect the code properly.
So, add the missing ZYNQMP_FIRMWARE dependencies.

Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230201095553.11219-1-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
board/xilinx/zynqmp/Kconfig
drivers/clk/Kconfig
drivers/fpga/Kconfig
drivers/mmc/zynq_sdhci.c
drivers/net/zynq_gem.c