Skip to contentSkip to conversation

tools: mkimage: Support RISC-V arch

PATCH New Andes 1 participant 1 message Mar 13, 2018

lore
Share & tools
lore

Andes

author
#0 lore raw

PATCH 3/4 tools: mkimage: Support RISC-V arch

From: Rick Chen <[email protected]>

Add riscv uimage arch to support riscv-linux booting. It can Convert riscv-linux to image which can be booted by bootm command.

---
 common/image.c | 1 +
 1 file changed, 1 insertion(+)
common/image.c +1 -0
index 14be3ca..8de3441 100644
@@ -86,6 +86,7 @@ static const table_entry_t uimage_arch[] = {
 	{	IH_ARCH_ARC,		"arc",		"ARC",		},
 	{	IH_ARCH_X86_64,		"x86_64",	"AMD x86_64",	},
 	{	IH_ARCH_XTENSA,		"xtensa",	"Xtensa",	},
+	{	IH_ARCH_RISCV,		"riscv",	"RISC-V",	},
 	{	-1,			"",		"",		},
 };
 
Signature · 1 line
2.7.4