Skip to contentSkip to conversation

cmd: irq: disable CMD_IRQ for riscv arch

PATCH New Pragnesh Patel 4 participants 4 messages Aug 24, 2020 – Aug 25, 2020 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmd: irq: disable CMD_IRQ for riscv arch

For RISC-V arch, no need for CMD_IRQ so disable the same.

---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/Kconfig +1 -1
index 9ad511aa17..9709666261 100644
@@ -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:
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 cmd: irq: disable CMD_IRQ for riscv arch

Quoted 3 lines · Pragnesh Patel

For RISC-V arch, no need for CMD_IRQ so disable the same.

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

Quoted 18 lines
---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/Kconfig +1 -1
index 9ad511aa17..9709666261 100644
@@ -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:
 

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

PATCH 1/1 cmd: irq: disable CMD_IRQ for riscv arch

Quoted 6 lines

From: Pragnesh Patel [mailto:pragnesh.patel at sifive.com]
Sent: Monday, August 24, 2020 11:09 PM
To: u-boot at lists.denx.de; atish.patra at wdc.com; bmeng.cn at gmail.com; anup.patel at wdc.com; sagar.kadam at sifive.com; Rick Jian-Zhi Chen(???)
Cc: paul.walmsley at sifive.com; Pragnesh Patel; Simon Glass; Heinrich Schuchardt; Sam Protsenko; Miquel Raynal; Patrick Delaunay; Ramon Fried; Joel Johnson; AKASHI Takahiro
Subject: [PATCH] cmd: irq: disable CMD_IRQ for riscv arch

Quoted 6 lines

For RISC-V arch, no need for CMD_IRQ so disable the same.

---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)