summaryrefslogtreecommitdiff
path: root/lib/binman.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-01-21 13:57:16 -0700
committerSimon Glass <sjg@chromium.org>2021-01-30 14:25:42 -0700
commit5e6c9029cdeae72eeeb4e05caa4ce3d48e2e86fb (patch)
treebb2d6dba5ab43ba502b2cc217d74d56898642785 /lib/binman.c
parent3306eeca892fe90f55a229526cb966b0ecfc189b (diff)
binman: Print a debug message when binman selects a node
Add some debugging to indicate which node the binman library is looking at. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/binman.c')
-rw-r--r--lib/binman.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/binman.c b/lib/binman.c
index f415df3054..6040ec8924 100644
--- a/lib/binman.c
+++ b/lib/binman.c
@@ -145,6 +145,8 @@ int binman_init(void)
if (ret)
return log_msg_ret("node", -ENOENT);
binman_set_rom_offset(ROM_OFFSET_NONE);
+ log_debug("binman: Selected image node '%s'\n",
+ ofnode_get_name(binman->image));
return 0;
}