diff options
author | Shannon Zhao <shannon.zhao@linaro.org> | 2015-09-24 01:29:37 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-09-24 01:29:37 +0100 |
commit | cd37aaf876717a75d7af3a7465e8706cc4e13661 (patch) | |
tree | 622faf9a81743aec7219901223f4b324c09286c3 /hw/input | |
parent | b92ad3949bc9cacd1652b4e07e7f6003b9e512af (diff) | |
download | qemu-cd37aaf876717a75d7af3a7465e8706cc4e13661.zip qemu-cd37aaf876717a75d7af3a7465e8706cc4e13661.tar.gz qemu-cd37aaf876717a75d7af3a7465e8706cc4e13661.tar.bz2 |
hw/arm/virt-acpi-build: Fix wrong size of flash in ACPI table
While virt machine creates two flash devices with total size 0x08000000,
the ACPI table generation code was wrongly using this total size as the
size of each flash device, so it would overlap other MMIO spaces.
Make each device entry in the table half the total; this brings the
ACPI table into line with the code which generates the device tree
and which creates the flash devices themselves.
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Wei Huang <wei@redhat.com>
Tested-by: Graeme Gregory <graeme.gregory@linaro.org>
Message-id: 1442455041-6596-1-git-send-email-shannon.zhao@linaro.org
[PMM: edited commit message]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/input')
0 files changed, 0 insertions, 0 deletions