]> git.sur5r.net Git - u-boot/commitdiff
tools: mkimage: Support RISC-V arch
authorRick Chen <rick@andestech.com>
Tue, 13 Mar 2018 05:37:29 +0000 (13:37 +0800)
committerAndes <uboot@andestech.com>
Fri, 30 Mar 2018 05:13:29 +0000 (13:13 +0800)
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

index f5278a0df4512320ef92294be615aa20c181e89a..e1c50eb25d0e5e2814c200a3e8c025ac17cf756b 100644 (file)
@@ -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,                     "",             "",             },
 };