diff mbox series

[v2,4/4] bdinfo: fu540: print fdt base address for debugging

Message ID 1580234527-29280-5-git-send-email-sagar.kadam@sifive.com
State New
Headers show
Series Fix currently available support for flash on HiFive Unleashed | expand

Commit Message

Sagar Shrikant Kadam Jan. 28, 2020, 6:02 p.m. UTC
Add fdt->gd info to bdinfo so that it is useful for debugging
and easily use it with fdt util.

Signed-off-by: Sagar Shrikant Kadam <sagar.kadam at sifive.com>
---
 cmd/bdinfo.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index d6a7175..96892b3 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -433,6 +433,7 @@  int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	print_bi_dram(bd);
 	print_num("relocaddr", gd->relocaddr);
 	print_num("reloc off", gd->reloc_off);
+	print_num("fdt_blob", (ulong)gd->fdt_blob);
 	print_eth_ip_addr();
 	print_baudrate();