summaryrefslogtreecommitdiffstats
path: root/common/image.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-15 08:24:39 -0500
committerWolfgang Denk <wd@denx.de>2008-08-26 23:37:54 +0200
commit54f9c86691309b2f919f567f9255b8bcad2c7651 (patch)
tree80d5b034600494cdbbbac4a3fba2a78487e052cd /common/image.c
parent06a09918f3903450313e2047a9cc258bf5872f46 (diff)
downloadtalos-obmc-uboot-54f9c86691309b2f919f567f9255b8bcad2c7651.tar.gz
talos-obmc-uboot-54f9c86691309b2f919f567f9255b8bcad2c7651.zip
bootm: Set working fdt address as part of the bootm flow
Set the fdt working address so "fdt FOO" commands can be used as part of the bootm flow. Also set an the environment variable "fdtaddr" with the value. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'common/image.c')
-rw-r--r--common/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c
index 18d667de89..55c4ccec8b 100644
--- a/common/image.c
+++ b/common/image.c
@@ -1245,6 +1245,7 @@ int boot_relocate_fdt (struct lmb *lmb, ulong bootmap_base,
*of_size = of_len;
}
+ set_working_fdt_addr(*of_flat_tree);
return 0;
error:
OpenPOWER on IntegriCloud