]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit4edcbf3952bc8fa7f976ad981d531f956fe7b88d
treea460c445d08d1a89c85fd49904efeaa8e8e5a765
parent88172adce7791af14b2c7804241624351fc09334
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