mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
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>
This commit is contained in:
committed by
Wolfgang Denk
parent
54f9c86691
commit
e906cfae08
@@ -229,7 +229,9 @@ typedef struct bootm_headers {
|
||||
ulong ft_len; /* length of flat device tree */
|
||||
|
||||
int verify; /* getenv("verify")[0] != 'n' */
|
||||
struct lmb *lmb; /* for memory mgmt */
|
||||
#ifndef USE_HOSTCC
|
||||
struct lmb lmb; /* for memory mgmt */
|
||||
#endif
|
||||
} bootm_headers_t;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user