]> git.baikalelectronics.ru Git - uboot.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)
commitc377ee52f50200c5422f16fb27f73477a7a8141d
treee2054e1f677fbac4ca6a1828392a617d889617fa
parent9ad21457d4843c2c98bb1e8c19293db266225988
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