From: Heiko Schocher <hs@denx.de>
Date: Wed, 21 Jun 2017 04:22:41 +0000 (+0200)
Subject: bdinfo: print fdt_blob
X-Git-Tag: v2025.01-rc5-pxa1908~6512
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=5353953372b4d673d9fcc7d616ae9fe747dd14ae;p=u-boot.git

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>
---

diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 48dba20936..45baa2e46a 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;
 }