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_ppc/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib_ppc') 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; -- cgit