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.pa...@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.g...@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:
>
>

Reply via email to