]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fdt: Tell the FDT library where the device tree is
authorGabe Black <gabeblack@chromium.org>
Thu, 25 Oct 2012 16:31:08 +0000 (16:31 +0000)
committerGerald Van Baren <gvb@unssw.com>
Tue, 13 Nov 2012 04:14:57 +0000 (23:14 -0500)
commit3b73459ea3421e9f8c6c8c62e1d3fe458ca5bc56
tree715faf0c00cd2a1ab047b5f9a73d7631f3c5f56b
parent224b72e639e87040a1845cf9795b45417e064bba
fdt: Tell the FDT library where the device tree is

This change adds a call to set_working_fdt_addr near the end of u-boot
initialization which tells the fdt command/library where the device tree is.
This makes it possible to use the fdt command to look at the active device tree
since otherwise there would be no way to know what address it was at to set
things up manually.

Signed-off-by: Gabe Black <gabeblack@google.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
common/main.c