diff options
| author | Jamin Lin <jamin_lin@aspeedtech.com> | 2025-04-24 15:51:31 +0800 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-05-05 09:38:55 +0200 |
| commit | ee447054404ed8bbdea0eece888da354afe38d97 (patch) | |
| tree | bdb130616b9b36f92bed3c4afd35d437c4275943 /include/hw/arm/aspeed.h | |
| parent | 2e143da2fbd92d9c3ae2d7a315efca5c6af24e69 (diff) | |
| download | focaccia-qemu-ee447054404ed8bbdea0eece888da354afe38d97.tar.gz focaccia-qemu-ee447054404ed8bbdea0eece888da354afe38d97.zip | |
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>
Diffstat (limited to 'include/hw/arm/aspeed.h')
| -rw-r--r-- | include/hw/arm/aspeed.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/aspeed.h b/include/hw/arm/aspeed.h index 9cae45a1c9..973277bea6 100644 --- a/include/hw/arm/aspeed.h +++ b/include/hw/arm/aspeed.h @@ -40,6 +40,7 @@ struct AspeedMachineClass { void (*i2c_init)(AspeedMachineState *bmc); uint32_t uart_default; bool sdhci_wp_inverted; + bool vbootrom; }; |