Skip to content

Commit 1466bc6

Browse files
committed
boot/fit: print name of config node not found
Show name of configuration node which was not found. current state gives no hint if fit image is wrong or the requested name. Could not find configuration node load of <NULL> failed After this patch we see name like this: Could not find configuration node '#ov-test' load of <NULL> failed Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
1 parent 6654257 commit 1466bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/image-fit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2109,7 +2109,7 @@ int fit_image_load(struct bootm_headers *images, ulong addr,
21092109
if (ret < 0 && ret != -EINVAL)
21102110
ret = fit_conf_get_node(fit, fit_uname_config);
21112111
if (ret < 0) {
2112-
puts("Could not find configuration node\n");
2112+
printf("Could not find configuration node '%s'\n", fit_uname_config);
21132113
bootstage_error(bootstage_id +
21142114
BOOTSTAGE_SUB_NO_UNIT_NAME);
21152115
return -ENOENT;

0 commit comments

Comments
 (0)