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

Marek Vasut marek.vasut at mailbox.org
Thu Mar 9 00:09:22 CET 2023


On 3/8/23 23:17, Simon Glass wrote:
> 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.
> 
> Regards,
> Simon
> 
> Applied to u-boot-dm/next, thanks!

Shouldn't this be applied to current release, since those are fixes ?
(or at least the first 10 or so are, the rest are tests for those fixes obv)


More information about the U-Boot mailing list