diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-08-15 08:24:40 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-26 23:38:48 +0200 |
commit | e906cfae08e8cc2447f59b1bc4c22ab9c3c286d2 (patch) | |
tree | 8417e544ba93769e760e6e562e67afe4e5805a82 /lib_ppc | |
parent | 54f9c86691309b2f919f567f9255b8bcad2c7651 (diff) | |
download | u-boot-e906cfae08e8cc2447f59b1bc4c22ab9c3c286d2.tar.gz u-boot-e906cfae08e8cc2447f59b1bc4c22ab9c3c286d2.tar.xz u-boot-e906cfae08e8cc2447f59b1bc4c22ab9c3c286d2.zip |
bootm: move lmb into the bootm_headers_t structure
To allow for persistent state between future bootm subcommands we
need the lmb to exist in a global state.
Moving it into the bootm_headers_t allows us to do that.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'lib_ppc')
-rw-r--r-- | lib_ppc/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index a3e632f12f..b86169a93b 100644 --- a/lib_ppc/bootm.c +++ b/lib_ppc/bootm.c @@ -73,7 +73,7 @@ do_bootm_linux(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[], ulong r7, ulong r8, ulong r9); int ret; ulong of_size = images->ft_len; - struct lmb *lmb = images->lmb; + struct lmb *lmb = &images->lmb; #if defined(CONFIG_OF_LIBFDT) char *of_flat_tree = images->ft_addr; |