summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2023-03-02 04:08:15 +0100
committerSimon Glass <[email protected]>2023-03-08 11:40:57 -0800
commit45d20f55a178bd00f631460909881176fb12b37d (patch)
treeb6b65a4fbae62388c72f4168e4ebf1a988008ab3 /scripts
parent56915fa4ccc7d995f832723b62ed403bd9a4cf44 (diff)
cmd: fdt: Fix handling of empty properties for fdt get addr and fdt get size
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions