[PATCH 0/2] hw/arm/virt: fix dtb nits spotted by dtc

Peter Maydell posted 2 patches 1 year, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220513131316.4081539-1-peter.maydell@linaro.org
Maintainers: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
[PATCH 0/2] hw/arm/virt: fix dtb nits spotted by dtc
Posted by Peter Maydell 1 year, 10 months ago
If you dump the DTB generated by the virt board using
  -machine dumpdtb=file.dtb
and then decompile it with
  dtc -I dtb -O dts -o file.dts file.dtb
dtc will complain about some harmless but wrong constructs
in the dtb:

Warning (unique_unit_address): /flash@0: duplicate unit-address (also used in node /secflash@0)
Warning (avoid_unnecessary_addr_size): /gpio-keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

This series fixes those nits.

thanks
-- PMM

Peter Maydell (2):
  hw/arm/virt: Fix incorrect non-secure flash dtb node name
  hw/arm/virt: Drop #size-cells and #address-cells from gpio-keys dtb
    node

 hw/arm/virt.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

-- 
2.25.1