[PATCH 1/2] boot: continue in fit_find_config_node()
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Sun Feb 9 12:52:16 CET 2025
If a single configuration node lacks a description, this does not rule out
that another node with a description matches. Anyway we have the default
configuration as a fallback.
So continue if a description is missing.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
boot/common_fit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/common_fit.c b/boot/common_fit.c
index a2f9b8d83c3..4c134e0e86f 100644
--- a/boot/common_fit.c
+++ b/boot/common_fit.c
@@ -57,7 +57,7 @@ int fit_find_config_node(const void *fdt)
printf("%s: Missing FDT description in DTB\n",
__func__);
#endif
- return -EINVAL;
+ continue;
}
if (dflt_conf_name) {
--
2.47.1
More information about the U-Boot
mailing list