diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-08-15 13:24:39 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-26 21:37:54 (GMT) |
commit | 54f9c86691309b2f919f567f9255b8bcad2c7651 (patch) | |
tree | 80d5b034600494cdbbbac4a3fba2a78487e052cd /common/image.c | |
parent | 06a09918f3903450313e2047a9cc258bf5872f46 (diff) | |
download | u-boot-54f9c86691309b2f919f567f9255b8bcad2c7651.tar.xz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c index 18d667d..55c4cce 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: |