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.

Signed-off-by: Tom Rini <[email protected]>
---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index c457cc8e5c42..5e5252ef1347 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -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:
 
-- 
2.43.0

Reply via email to