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

Per the fit_conf_get_node() API doc, it returns configuration node
offset when found (>=0).

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