[U-Boot] bdinfo: show multi_dtb_fit
diff mbox series

Message ID 20191109035610.3682632-1-hs@denx.de
State New
Delegated to: Tom Rini
Headers show
Series
  • [U-Boot] bdinfo: show multi_dtb_fit
Related show

Commit Message

Heiko Schocher Nov. 9, 2019, 3:56 a.m. UTC
if MULTI_DTB_FIT is enabled it is helpful to display
the value of gd->multi_dtb_fit in bdinfo.

Signed-off-by: Heiko Schocher <hs@denx.de>

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

 cmd/bdinfo.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Simon Glass Dec. 10, 2019, 12:39 p.m. UTC | #1
On Fri, 8 Nov 2019 at 20:56, Heiko Schocher <hs@denx.de> wrote:
>
> if MULTI_DTB_FIT is enabled it is helpful to display
> the value of gd->multi_dtb_fit in bdinfo.
>
> Signed-off-by: Heiko Schocher <hs@denx.de>
>
> ---
> travis build:
> https://travis-ci.org/hsdenx/u-boot-test/builds/609100901
>
>  cmd/bdinfo.c | 3 +++
>  1 file changed, 3 insertions(+)
>

Reviewed-by: Simon Glass <sjg@chromium.org>

Patch
diff mbox series

diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index ae6006f85f..e12c96b767 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -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);