diff mbox series

[U-Boot] Kconfig: Make ZYNQMP_FIRMWARE depend on ARCH_ZYNQMP

Message ID 20191104232124.17816-1-aford173@gmail.com
State New
Delegated to: Michal Simek
Headers show
Series [U-Boot] Kconfig: Make ZYNQMP_FIRMWARE depend on ARCH_ZYNQMP | expand

Commit Message

Adam Ford Nov. 4, 2019, 11:21 p.m. UTC
There is a menu option to enable ZYNQMP_FIRMWARE even when
ARCH_ZYNQMP is not enabled.

This makes ZYNQMP_FIRMWARE depend on ARCH_ZYNQMP to help
quiet unrelated options in menuconfig.

Signed-off-by: Adam Ford <aford173@gmail.com>
diff mbox series

Patch

diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
index b70a206355..a6227aa62d 100644
--- a/drivers/firmware/Kconfig
+++ b/drivers/firmware/Kconfig
@@ -30,6 +30,7 @@  config TI_SCI_PROTOCOL
 config ZYNQMP_FIRMWARE
 	bool "ZynqMP Firmware interface"
 	select FIRMWARE
+	depends on ARCH_ZYNQMP
 	help
 	  Firmware interface driver is used by different
 	  drivers to communicate with the firmware for