diff options
author | Tejas Patel <tejas.patel@xilinx.com> | 2020-02-26 01:04:20 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-03-09 14:58:24 +0100 |
commit | 4b9cbf5084e2ed72181a544b48bdcea91463061b (patch) | |
tree | 93a3234227c6097de7a41b72fef2f9a97f28e570 | |
parent | include: linux: firmware: Correct config dependency of zynqmp_eemi_ops (diff) | |
download | linux-4b9cbf5084e2ed72181a544b48bdcea91463061b.tar.xz linux-4b9cbf5084e2ed72181a544b48bdcea91463061b.zip |
arm64: zynqmp: Make zynqmp_firmware driver optional
Make zynqmp_firmware driver as optional to disable it, if user don't
want to use default zynqmp firmware interface.
Signed-off-by: Tejas Patel <tejas.patel@xilinx.com>
Signed-off-by: Jolly Shah <jolly.shah@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | arch/arm64/Kconfig.platforms | 1 | ||||
-rw-r--r-- | drivers/firmware/xilinx/Kconfig | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index b2b504ea6fd6..563c93d56c56 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -301,7 +301,6 @@ config ARCH_ZX config ARCH_ZYNQMP bool "Xilinx ZynqMP Family" - select ZYNQMP_FIRMWARE help This enables support for Xilinx ZynqMP Family diff --git a/drivers/firmware/xilinx/Kconfig b/drivers/firmware/xilinx/Kconfig index bd33bbf70daf..9a9bd190888e 100644 --- a/drivers/firmware/xilinx/Kconfig +++ b/drivers/firmware/xilinx/Kconfig @@ -6,6 +6,8 @@ menu "Zynq MPSoC Firmware Drivers" config ZYNQMP_FIRMWARE bool "Enable Xilinx Zynq MPSoC firmware interface" + depends on ARCH_ZYNQMP + default y if ARCH_ZYNQMP select MFD_CORE help Firmware interface driver is used by different |