[U-Boot] [PATCH 26/30] bdinfo: riscv: print fdt_blob address

Lukas Auer lukas.auer at aisec.fraunhofer.de
Fri Oct 19 22:07:39 UTC 2018


Print the address of the u-boot device tree.

Signed-off-by: Lukas Auer <lukas.auer at aisec.fraunhofer.de>
---

 cmd/bdinfo.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 60b438766d..a9692f7662 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -430,6 +430,8 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	print_num("reloc off", gd->reloc_off);
 	print_eth_ip_addr();
 	print_baudrate();
+	if (gd->fdt_blob)
+		print_num("fdt_blob", (ulong)gd->fdt_blob);
 
 	return 0;
 }
-- 
2.17.2



More information about the U-Boot mailing list