From patchwork Wed Feb 19 05:19:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 236547 List-Id: U-Boot discussion From: hs at denx.de (Heiko Schocher) Date: Wed, 19 Feb 2020 06:19:03 +0100 Subject: [PATCH] bdinfo: Show information about fdt blob via bdinfo Message-ID: <20200219051903.1276724-1-hs@denx.de> PowerPC target supports OF booting, so print the fdt address and size in bdinfo. Signed-off-by: Heiko Schocher Reviewed-by: Simon Glass --- Travis build: https://travis-ci.org/hsdenx/u-boot-test/builds/651885430 cmd/bdinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index d6a7175b37..42b0f49b1a 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -208,6 +208,9 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) print_baudrate(); print_num("relocaddr", gd->relocaddr); board_detail(); + print_num("fdt_blob", (ulong)gd->fdt_blob); + print_num("new_fdt", (ulong)gd->new_fdt); + print_num("fdt_size", (ulong)gd->fdt_size); return 0; }