diff options
author | Kumar Gala | 2008-08-15 08:24:40 -0500 |
---|---|---|
committer | Wolfgang Denk | 2008-08-26 23:38:48 +0200 |
commit | e906cfae08e8cc2447f59b1bc4c22ab9c3c286d2 (patch) | |
tree | 8417e544ba93769e760e6e562e67afe4e5805a82 /lib_sparc | |
parent | 54f9c86691309b2f919f567f9255b8bcad2c7651 (diff) |
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_sparc')
-rw-r--r-- | lib_sparc/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_sparc/bootm.c b/lib_sparc/bootm.c index 71d34baaddf..aac05e4b264 100644 --- a/lib_sparc/bootm.c +++ b/lib_sparc/bootm.c @@ -93,7 +93,7 @@ void do_bootm_linux(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[], unsigned int data, len, checksum; unsigned int initrd_addr, kernend; void (*kernel) (struct linux_romvec *, void *); - struct lmb *lmb = images->lmb; + struct lmb *lmb = &images->lmb; int ret; if (images->legacy_hdr_valid) { |