From e906cfae08e8cc2447f59b1bc4c22ab9c3c286d2 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Fri, 15 Aug 2008 08:24:40 -0500 Subject: 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 --- lib_sparc/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib_sparc') diff --git a/lib_sparc/bootm.c b/lib_sparc/bootm.c index 71d34baad..aac05e4b2 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) { -- cgit v1.2.3