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_m68k | |
parent | 54f9c86691309b2f919f567f9255b8bcad2c7651 (diff) | |
download | u-boot-imx-e906cfae08e8cc2447f59b1bc4c22ab9c3c286d2.zip u-boot-imx-e906cfae08e8cc2447f59b1bc4c22ab9c3c286d2.tar.gz u-boot-imx-e906cfae08e8cc2447f59b1bc4c22ab9c3c286d2.tar.bz2 |
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_m68k')
-rw-r--r-- | lib_m68k/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_m68k/bootm.c b/lib_m68k/bootm.c index 241721d..1c3b9c9 100644 --- a/lib_m68k/bootm.c +++ b/lib_m68k/bootm.c @@ -58,7 +58,7 @@ void do_bootm_linux(cmd_tbl_t * cmdtp, int flag, ulong bootmap_base; bd_t *kbd; void (*kernel) (bd_t *, ulong, ulong, ulong, ulong); - struct lmb *lmb = images->lmb; + struct lmb *lmb = &images->lmb; bootmap_base = getenv_bootm_low(); |