[PATCH v2 02/32] cmd: fdt: Fix handling of empty properties for fdt get addr and fdt get size

Simon Glass sjg at chromium.org
Mon Mar 6 18:53:06 CET 2023

Hi Marek,

On Wed, 1 Mar 2023 at 20:09, Marek Vasut
<marek.vasut+renesas at mailbox.org> wrote:
> It is perfectly valid to request an address or size of FDT property
> without value, the only special case if requesting of the value of
> FDT property without value. Invert the test such, that properties
> without value still set the variable from 'fdt get addr/size' to
> address of the property or size of the property, where the later
> is 0.
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
> Cc: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> ---
> V2: Add RB from Simon

BTW 'patman status' can collect review tags and add them to your
commits automatically.


More information about the U-Boot mailing list