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

Adam Ford aford173 at gmail.com
Mon Nov 4 23:21:24 UTC 2019

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 at gmail.com>

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
 	bool "ZynqMP Firmware interface"
 	select FIRMWARE
+	depends on ARCH_ZYNQMP
 	  Firmware interface driver is used by different
 	  drivers to communicate with the firmware for

More information about the U-Boot mailing list