summaryrefslogtreecommitdiff
path: root/drivers/ddr/altera/sdram_agilex.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-03-02 04:08:15 +0100
committerSimon Glass <sjg@chromium.org>2023-03-09 08:50:46 -0800
commit0655b9e6210221a60657a4865163ef2f1da4bbf7 (patch)
tree9fe07ede39c949e27182b5053660ae2d6cc17747 /drivers/ddr/altera/sdram_agilex.c
parent78e20a7f4e8b544e4d949ae3199ae979a6fe7b6c (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 <marek.vasut+renesas@mailbox.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/altera/sdram_agilex.c')
0 files changed, 0 insertions, 0 deletions