]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: fdt: Correct checking of configuration node
authorBin Meng <bmeng@tinylab.org>
Mon, 1 May 2023 03:35:25 +0000 (11:35 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 31 May 2023 21:23:01 +0000 (17:23 -0400)
commit33c63cea5ee13da6cc7c62443b1f953f74828302
treeebc51325bbdf9dd96edfe68a06f0c0a00cf33948
parentc52bd0362dc3830013de290d02ea69181a0ab8e6
cmd: fdt: Correct checking of configuration node

fit_conf_get_node() returns a negative value on error.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/fdt.c