summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-01-27 15:41:08 +0100
committerMichal Simek <michal.simek@xilinx.com>2015-02-09 15:13:05 +0100
commitde86765bc4854e7961c8d0b0bd4646e90dedf864 (patch)
treeb84a30c2341b73a90dbbd9167c5bf5634723faaf /common
parent7c4dd542551dc146b6e3da0c1b519d95dd124d6c (diff)
downloadu-boot-imx-de86765bc4854e7961c8d0b0bd4646e90dedf864.zip
u-boot-imx-de86765bc4854e7961c8d0b0bd4646e90dedf864.tar.gz
u-boot-imx-de86765bc4854e7961c8d0b0bd4646e90dedf864.tar.bz2
bdinfo: Show information about fdt blob via bdinfo
Microblaze target supports both OF and !OF cases and from log is not clear which version is running. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_bdinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index 4c51059..e9eab23 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -204,6 +204,9 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
printf("baudrate = %u bps\n", gd->baudrate);
print_num("relocaddr", gd->relocaddr);
print_num("reloc off", gd->reloc_off);
+ 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;
}