qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] hw/arm/virt: Drop #size-cells and #address-cells from gp


From: Richard Henderson
Subject: Re: [PATCH 2/2] hw/arm/virt: Drop #size-cells and #address-cells from gpio-keys dtb node
Date: Fri, 13 May 2022 08:36:09 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 5/13/22 06:13, Peter Maydell wrote:
The virt board generates a gpio-keys node in the dtb, but it
incorrectly gives this node #size-cells and #address-cells
properties. If you dump the dtb with 'machine dumpdtb=file.dtb'
and run it through dtc, dtc will warn about this:

Warning (avoid_unnecessary_addr_size):/gpio-keys: unnecessary #address-cells/#size-cells without 
"ranges" or child "reg" property

Remove the bogus properties.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  hw/arm/virt.c | 2 --
  1 file changed, 2 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]