summaryrefslogtreecommitdiff
path: root/lib_sparc
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-15 08:24:40 -0500
committerWolfgang Denk <wd@denx.de>2008-08-26 23:38:48 +0200
commite906cfae08e8cc2447f59b1bc4c22ab9c3c286d2 (patch)
tree8417e544ba93769e760e6e562e67afe4e5805a82 /lib_sparc
parent54f9c86691309b2f919f567f9255b8bcad2c7651 (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.c2
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) {