hw/arm/raspi: Use AddressSpace when using arm_boot::write_secondary_boot
commit0f0736933fb578ad6928ba45d939b30c3113bab2
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 19 Oct 2019 23:47:09 +0000 (20 01:47 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 25 Oct 2019 12:09:27 +0000 (25 13:09 +0100)
treea7cb107c303cfff816579f2c33ed3aafe5748523
parent5e5e9ed672c8c8536c0af43e2131e069bf6e245c
hw/arm/raspi: Use AddressSpace when using arm_boot::write_secondary_boot

write_secondary_boot() is used in SMP configurations where the
CPU address space might not be the main System Bus.
The rom_add_blob_fixed_as() function allow us to specify an
address space. Use it to write each boot blob in the corresponding
CPU address space.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20191019234715.25750-11-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/raspi.c