summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2019-11-09 04:56:10 +0100
committerTom Rini <trini@konsulko.com>2020-01-07 11:13:26 -0500
commit8ad0c66437a3c5bafbbaddffd58436ba6763837d (patch)
tree97b0e3379be35d996216afa5ef128d722e5e705c
parent4ad4edfe77fce829c54d9a804e037923e7474451 (diff)
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. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--cmd/bdinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index abd9151432..d6a7175b37 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -349,6 +349,9 @@ static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc,
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);