[PATCH] cmd: irq: disable CMD_IRQ for riscv arch

For RISC-V arch, no need for CMD_IRQ so disable the same.
Signed-off-by: Pragnesh Patel pragnesh.patel@sifive.com --- cmd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig index 9ad511aa17..9709666261 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2217,7 +2217,7 @@ config CMD_DIAG
config CMD_IRQ bool "irq - Show information about interrupts" - depends on !ARM && !MIPS && !SH + depends on !ARM && !MIPS && !RISCV && !SH help This enables two commands:

On 24.08.20 17:08, Pragnesh Patel wrote:
For RISC-V arch, no need for CMD_IRQ so disable the same.
Signed-off-by: Pragnesh Patel pragnesh.patel@sifive.com
This avoids possible misconfiguration leading to
riscv64-linux-gnu-ld.bfd: cmd/built-in.o:(.u_boot_list_2_cmd_2_irqinfo+0x18): undefined reference to `do_irqinfo' make: *** [Makefile:1753: u-boot] Error 1
Reviewed-by: Heinrich Schuchardt xypron.glpk@gmx.de
cmd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig index 9ad511aa17..9709666261 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2217,7 +2217,7 @@ config CMD_DIAG
config CMD_IRQ bool "irq - Show information about interrupts"
- depends on !ARM && !MIPS && !SH
- depends on !ARM && !MIPS && !RISCV && !SH help This enables two commands:

On Mon, Aug 24, 2020 at 11:09 PM Pragnesh Patel pragnesh.patel@sifive.com wrote:
For RISC-V arch, no need for CMD_IRQ so disable the same.
Signed-off-by: Pragnesh Patel pragnesh.patel@sifive.com
cmd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Bin Meng bin.meng@windriver.com
participants (3)
-
Bin Meng
-
Heinrich Schuchardt
-
Pragnesh Patel