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

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Aug 24 17:24:55 CEST 2020


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 at 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 at 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:
>
>



More information about the U-Boot mailing list