qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] hw/arm/virt: fix dtb nits spotted by dtc
@ 2022-05-13 13:13 Peter Maydell
  2022-05-13 13:13 ` [PATCH 1/2] hw/arm/virt: Fix incorrect non-secure flash dtb node name Peter Maydell
  2022-05-13 13:13 ` [PATCH 2/2] hw/arm/virt: Drop #size-cells and #address-cells from gpio-keys dtb node Peter Maydell
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Maydell @ 2022-05-13 13:13 UTC (permalink / raw)
  To: qemu-arm, qemu-devel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-13 15:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-13 13:13 [PATCH 0/2] hw/arm/virt: fix dtb nits spotted by dtc Peter Maydell
2022-05-13 13:13 ` [PATCH 1/2] hw/arm/virt: Fix incorrect non-secure flash dtb node name Peter Maydell
2022-05-13 15:35   ` Richard Henderson
2022-05-13 13:13 ` [PATCH 2/2] hw/arm/virt: Drop #size-cells and #address-cells from gpio-keys dtb node Peter Maydell
2022-05-13 15:36   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).