RISCV: image: Add booti support
authorAtish Patra <atish.patra@wdc.com>
Tue, 7 May 2019 00:49:39 +0000 (17:49 -0700)
committerAndes <uboot@andestech.com>
Thu, 9 May 2019 08:47:52 +0000 (16:47 +0800)
commit3cedc97479ff44cdc00485de7517a833e3dfb630
treea460c445d08d1a89c85fd49904efeaa8e8e5a765
parentd8fc1ef2f0b4b759181fe5fa3c5c64af538cef85
RISCV: image: Add booti support

This patch adds booti support for RISC-V Linux kernel. The existing
bootm method will also continue to work as it is.

It depends on the following kernel patch which adds the header to the
flat Image. Gzip compressed Image (Image.gz) support is not enabled with
this patch.

https://patchwork.kernel.org/patch/10925543/

Tested on HiFive Unleashed and QEMU.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Tested-by: Karsten Merker <merker@debian.org>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
arch/riscv/lib/Makefile
arch/riscv/lib/image.c [new file with mode: 0644]
cmd/Kconfig
cmd/booti.c