]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
binman: Print a debug message when binman selects a node
authorSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2021 20:57:16 +0000 (13:57 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2021 21:25:42 +0000 (14:25 -0700)
Add some debugging to indicate which node the binman library is looking
at.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/binman.c

index f415df30545254bd59f871ab89bb5b039a7128c0..6040ec89241f94fa58165e16d56313e923914c4e 100644 (file)
@@ -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;
 }