]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/aspeed: Add support for loading vbootrom image via "-bios"
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 24 Apr 2025 07:51:31 +0000 (15:51 +0800)
committerCédric Le Goater <clg@redhat.com>
Mon, 5 May 2025 07:38:55 +0000 (09:38 +0200)
commitee447054404ed8bbdea0eece888da354afe38d97
treebdb130616b9b36f92bed3c4afd35d437c4275943
parent2e143da2fbd92d9c3ae2d7a315efca5c6af24e69
hw/arm/aspeed: Add support for loading vbootrom image via "-bios"

Introduce "aspeed_load_vbootrom()" to support loading a virtual boot ROM image
into the vbootrom memory region, using the "-bios" command-line option.

Introduce a new "vbootrom" field in the AspeedMachineClass to indicate whether
a machine supports the virtual boot ROM region.

Set this field to true by default for the AST2700-A0 and AST2700-A1 EVB
machines.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Nabih Estefan <nabihestefan@google.com>
Tested-by: Nabih Estefan <nabihestefan@google.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250424075135.3715128-4-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/arm/aspeed.c
include/hw/arm/aspeed.h