diff options
author | Heiko Schocher <hs@denx.de> | 2017-06-21 06:22:41 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-23 10:38:08 -0400 |
commit | 5353953372b4d673d9fcc7d616ae9fe747dd14ae (patch) | |
tree | 733a07f5958e027f3368177844aba8f365005780 /cmd/bdinfo.c | |
parent | 0f546eaf003d5770d1bc6f7a88262b87eda59bb6 (diff) |
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/bdinfo.c')
-rw-r--r-- | cmd/bdinfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 48dba209360..45baa2e46a8 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; } |