diff mbox series

[U-Boot,3/4] tools: mkimage: Support RISC-V arch

Message ID 20180313080113.6027-1-uboot@andestech.com
State Accepted
Commit 86aa65a0cd220bdd88e19ab4e03f313e4ee0ffed
Delegated to: Andes
Headers show
Series [U-Boot,1/4] riscv: bootm: Support to boot riscv-linux | expand

Commit Message

Andes March 13, 2018, 8:01 a.m. UTC
From: Rick Chen <rick@andestech.com>

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

Signed-off-by: Rick Chen <rick@andestech.com>
Signed-off-by: Rick Chen <rickchen36@gmail.com>
---
 common/image.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/common/image.c b/common/image.c
index 14be3ca..8de3441 100644
--- a/common/image.c
+++ b/common/image.c
@@ -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,			"",		"",		},
 };