]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bdinfo: show multi_dtb_fit
authorHeiko Schocher <hs@denx.de>
Sat, 9 Nov 2019 03:56:10 +0000 (04:56 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jan 2020 16:13:26 +0000 (11:13 -0500)
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>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/bdinfo.c

index abd9151432ed945e161a50ac54107cad1b0232f9..d6a7175b37956e53c3270c714af6c97a3354bab2 100644 (file)
@@ -348,6 +348,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);