Skip to contentSkip to conversation

bdinfo: show multi_dtb_fit

PATCH New Heiko Schocher 3 participants 3 messages Nov 9, 2019 – Jan 8, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bdinfo: show multi_dtb_fit

if MULTI_DTB_FIT is enabled it is helpful to display the value of gd->multi_dtb_fit in bdinfo.

---
travis build:
https://travis-ci.org/hsdenx/u-boot-test/builds/609100901

 cmd/bdinfo.c | 3 +++
 1 file changed, 3 insertions(+)
cmd/bdinfo.c +3 -0
index ae6006f85f..e12c96b767 100644
@@ -347,6 +347,9 @@ static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc,
 #if CONFIG_VAL(SYS_MALLOC_F_LEN)
 	printf("Early malloc usage: %lx / %x\n", gd->malloc_ptr,
 	       CONFIG_VAL(SYS_MALLOC_F_LEN));
+#endif
+#if CONFIG_IS_ENABLED(MULTI_DTB_FIT)
+	print_num("multi_dtb_fit", (ulong)gd->multi_dtb_fit);
 #endif
 	if (gd->fdt_blob)
 		print_num("fdt_blob", (ulong)gd->fdt_blob);
Signature · 1 line
2.21.0
#2 lore raw

PATCH 1/1 bdinfo: show multi_dtb_fit

In reply to Heiko Schocher
Quoted 5 lines · Heiko Schocher

if MULTI_DTB_FIT is enabled it is helpful to display the value of gd->multi_dtb_fit in bdinfo.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200108/fa8b7e93/attachment.sig>