cmd_fdt: Print the control fdt in terms of virtual memory
authorJoe Hershberger <joe.hershberger@ni.com>
Thu, 5 Feb 2015 03:56:54 +0000 (21:56 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 18 Feb 2015 03:19:16 +0000 (20:19 -0700)
commitc71a0164d9b23e624552fb614bcb426a11119b57
tree0f79ba6f6c4b5a45c239bca3cd531bf3154175d0
parent90fbee3e4051badff770a0ee1b1ca21cb808d634
cmd_fdt: Print the control fdt in terms of virtual memory

If you want to inspect the control device tree using the fdt command,
the "fdt address -c" command previously unhelpfully printed the phys
memory address of the device tree. That address could not then be used
to set the fdt address for inspection. Changed the resulting print to
one that can be copied directly to the 'fdt address <addr>' command.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
common/cmd_fdt.c