summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2017-06-21 04:22:41 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-23 14:38:08 (GMT)
commit5353953372b4d673d9fcc7d616ae9fe747dd14ae (patch)
tree733a07f5958e027f3368177844aba8f365005780 /cmd
parent0f546eaf003d5770d1bc6f7a88262b87eda59bb6 (diff)
downloadu-boot-5353953372b4d673d9fcc7d616ae9fe747dd14ae.tar.xz
bdinfo: print fdt_blob
for debugging it is handy to know the fdt_blob address. So print it in bdinfo. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bdinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 48dba20..45baa2e 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -375,6 +375,8 @@ static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc,
printf("Early malloc usage: %lx / %x\n", gd->malloc_ptr,
CONFIG_SYS_MALLOC_F_LEN);
#endif
+ if (gd->fdt_blob)
+ printf("fdt_blob = %p\n", gd->fdt_blob);
return 0;
}