diff options
author | Eric Auger <eric.auger@redhat.com> | 2018-06-29 15:11:01 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-06-29 15:11:01 +0100 |
commit | e2eb3d29d711d510a51b5483fe818650325a7d3a (patch) | |
tree | 8f52b949c68e9002fafc49ace8013406437f8a93 /ui | |
parent | bb2a33486fa33fc9e8bc557c54a485ed373845c9 (diff) | |
download | qemu-e2eb3d29d711d510a51b5483fe818650325a7d3a.zip qemu-e2eb3d29d711d510a51b5483fe818650325a7d3a.tar.gz qemu-e2eb3d29d711d510a51b5483fe818650325a7d3a.tar.bz2 |
hw/arm/virt: Silence dtc /memory warning
When running dtc on the guest /proc/device-tree we get the
following warning: Warning (unit_address_vs_reg): Node /memory
has a reg or ranges property, but no unit name".
Let's fix that by adding the unit address to the node name. We also
don't create the /memory node anymore in create_fdt(). We directly
create it in load_dtb. /chosen still needs to be created in create_fdt
as the uart needs it. In case the user provided his own dtb, we nop
all memory nodes found in root and create new one(s).
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Message-id: 1530044492-24921-4-git-send-email-eric.auger@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions