]> git.proxmox.com Git - mirror_qemu.git/commit
aspeed: Add a boot_rom overlap region in the SoC spi_boot container
authorCédric Le Goater <clg@kaod.org>
Thu, 2 Mar 2023 12:57:50 +0000 (13:57 +0100)
committerCédric Le Goater <clg@kaod.org>
Thu, 2 Mar 2023 12:57:50 +0000 (13:57 +0100)
commit8b744a6a473015a24d528f480b99faf95da50775
treeb969da4fc31231cff9c537345d21faa1c9e1fb8c
parent5aa281d757960ea79190bcfb25294e2499de165e
aspeed: Add a boot_rom overlap region in the SoC spi_boot container

To avoid the SPI transactions fetching instructions from the FMC CE0
flash device and speed up boot, a ROM can be created if a drive is
available.

Reverse the logic to allow a machine to boot without a drive, using a
block device instead :

    -blockdev node-name=fmc0,driver=file,filename=/path/to/flash.img \
    -device mx66u51235f,bus=ssi.0,drive=fmc0

Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/aspeed.c