]> git.proxmox.com Git - mirror_qemu.git/commit
aspeed: Use the boot_rom region of the fby35 machine
authorCédric Le Goater <clg@kaod.org>
Wed, 7 Jun 2023 04:39:34 +0000 (06:39 +0200)
committerCédric Le Goater <clg@kaod.org>
Thu, 15 Jun 2023 16:35:58 +0000 (18:35 +0200)
commitebd643ebd2540cd54a6742eaf2e3e4864cf6dd48
tree9d566ba68a1caad223d329368dc03fb36dcec036
parent262259eab15d04900b78b91e307bb8470438a011
aspeed: Use the boot_rom region of the fby35 machine

This change completes commits 5aa281d757 ("aspeed: Introduce a
spi_boot region under the SoC") and 8b744a6a47 ("aspeed: Add a
boot_rom overlap region in the SoC spi_boot container") which
introduced a spi_boot container at the SoC level to map the boot rom
region as an overlap.

It also fixes a Coverity report (CID 1508061) for a memory leak
warning when the QEMU process exits by using an bmc_boot_rom
MemoryRegion available at the machine level.

Cc: Peter Delevoryas <peter@pjd.dev>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/fby35.c