[PATCH 11/11] binman: Print a debug message when binman selects a node

Simon Glass sjg at chromium.org
Thu Jan 21 21:57:16 CET 2021


Add some debugging to indicate which node the binman library is looking
at.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 lib/binman.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/binman.c b/lib/binman.c
index f415df30545..6040ec89241 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;
 }
-- 
2.30.0.280.ga3ce27912f-goog



More information about the U-Boot mailing list