bdinfo: Show information about fdt blob via bdinfo
authorMichal Simek <michal.simek@xilinx.com>
Tue, 27 Jan 2015 14:41:08 +0000 (15:41 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 9 Feb 2015 14:13:05 +0000 (15:13 +0100)
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>
common/cmd_bdinfo.c

index 4c51059c1ba44b0d3fe3356bc03622ae2606a6d5..e9eab232f961bb873a019fde8580a06fe4236b80 100644 (file)
@@ -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;
 }