Skip to contentSkip to conversation

cmd: Update dependencies on CMD_IRQ

PATCH In review Tom Rini 1 participant 2 messages Sep 25, 2025 – Oct 9, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 cmd: Update dependencies on CMD_IRQ

For CMD_IRQ to function, we need enable/disable_interrupt functions as well as do_irqinfo functions to be defined. Only NIOS2, PowerPC and X86 implement the latter, so correct dependencies to be opt-in not out-out here.

---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/Kconfig +1 -1
index c457cc8e5c42..5e5252ef1347 100644
@@ -2997,7 +2997,7 @@ config CMD_EVENT
 
 config CMD_IRQ
 	bool "irq - Show information about interrupts"
-	depends on !ARM && !MIPS && !RISCV && !SH
+	depends on NIOS2 || PPC || X86
 	help
 	  This enables two commands:
 
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 6 lines · Tom Rini

For CMD_IRQ to function, we need enable/disable_interrupt functions as well as do_irqinfo functions to be defined. Only NIOS2, PowerPC and X86 implement the latter, so correct dependencies to be opt-in not out-out here.

Applied to u-boot/master, thanks!

[1/1] cmd: Update dependencies on CMD_IRQ

      commit: 9d42a06019178ccd0fff37864ff09c2335c68308
Signature · 1 line
Tom