
From: Simon Glass <sjg@chromium.org> This matching happens silently at present, which can lead one to wonder if U-Boot has been built without the feature. Add a few basic messages. Signed-off-by: Simon Glass <sjg@chromium.org> --- boot/image-fit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/boot/image-fit.c b/boot/image-fit.c index e3e935850a0..d0221c3c64b 100644 --- a/boot/image-fit.c +++ b/boot/image-fit.c @@ -1726,6 +1726,7 @@ int fit_conf_find_compat(const void *fit, const void *fdt) /* * Loop over the configurations in the FIT image. */ + printf("Looking for best match..."); for (noffset = fdt_next_node(fit, confs_noffset, &ndepth); (noffset >= 0) && (ndepth > 0); noffset = fdt_next_node(fit, noffset, &ndepth)) { @@ -1795,9 +1796,10 @@ int fit_conf_find_compat(const void *fit, const void *fdt) } } if (!best_match_offset) { - debug("No match found.\n"); + printf("no match found\n"); return -ENOENT; } + printf("found\n"); return best_match_offset; } -- 2.43.0