summaryrefslogtreecommitdiff
path: root/common/image.c
diff options
context:
space:
mode:
authorRick Chen <rick@andestech.com>2018-03-13 13:37:29 +0800
committerAndes <uboot@andestech.com>2018-03-30 13:13:29 +0800
commit86aa65a0cd220bdd88e19ab4e03f313e4ee0ffed (patch)
tree3567a5bc7b94efa269ed4ecce86d80637af56375 /common/image.c
parent22b7e6fbd3f9ecd936900ed47b5616f9d8127296 (diff)
tools: mkimage: Support RISC-V arch
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>
Diffstat (limited to 'common/image.c')
-rw-r--r--common/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c
index f5278a0df4..e1c50eb25d 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, "", "", },
};