]> git.dujemihanovic.xyz Git - u-boot.git/commit
qemu: Add a bootmeth for qfw
authorSimon Glass <sjg@chromium.org>
Sat, 28 Jan 2023 22:00:25 +0000 (15:00 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 6 Feb 2023 18:04:53 +0000 (13:04 -0500)
commit9c6d57dc7e836c67aef95bc49ba6e7fe714b09d4
tree5e26050314dd2b9a3446ff6ba762caedf38d3825
parentdd4bd9ad861a15525a77879eb0098ab846286cb2
qemu: Add a bootmeth for qfw

This supports reading a kernel and ramdisk from qfw, then loading it with
either the booti or bootz commands.

For now this uses the existing booti and bootz commands, rather than
trying to call that functionality directly (e.g. do_bootm_states()). It
does not require the HUSH parser though, which helps a little with size.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/Makefile
boot/bootflow.c
boot/bootmeth_qfw.c [new file with mode: 0644]