Skip to contentSkip to conversation

firmware: xilinx: Tighten dependencies for ZYNQMP_FIRMWARE

PATCH Applied Tom Rini 2 participants 2 messages Jul 2, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 firmware: xilinx: Tighten dependencies for ZYNQMP_FIRMWARE

The ZYNQMP_FIRMWARE code cannot build without platform specific headers being available. Express that requirement in Kconfig as well.

---
Cc: Michal Simek <[email protected]>

---
 drivers/firmware/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/firmware/Kconfig +1 -0
index 8789b1ea1415..a094e6c3afef 100644
@@ -29,6 +29,7 @@ config TI_SCI_PROTOCOL
 
 config ZYNQMP_FIRMWARE
 	bool "ZynqMP Firmware interface"
+	depends on ARCH_ZYNQMP || ARCH_VERSAL || ARCH_VERSAL_NET || ARCH_VERSAL2
 	select FIRMWARE
 	help
 	  Firmware interface driver is used by different
Signature · 1 line
2.43.0
Applied
#1 lore raw
Quoted 15 lines · Tom Rini

The ZYNQMP_FIRMWARE code cannot build without platform specific headers being available. Express that requirement in Kconfig as well.

---
Cc: Michal Simek <[email protected]>

---
  drivers/firmware/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/firmware/Kconfig +0 -0
index 8789b1ea1415..a094e6c3afef 100644

drivers/firmware/Kconfig config TI_SCI_PROTOCOL · line 35

Quoted 7 lines
drivers/firmware/Kconfig +1 -0
@@ -29,6 +29,7 @@ config TI_SCI_PROTOCOL
 
  config ZYNQMP_FIRMWARE
  	bool "ZynqMP Firmware interface"
+	depends on ARCH_ZYNQMP || ARCH_VERSAL || ARCH_VERSAL_NET || ARCH_VERSAL2
  	select FIRMWARE
  	help
  	  Firmware interface driver is used by different

Applied.
M