diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-02-27 21:51:47 -0600 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2008-02-29 13:15:55 +0100 |
commit | 4ed6552f715983bfc7d212c1199a1f796f1144ad (patch) | |
tree | 9588ceff4adbabc534b5621ff3c6e2f8a3c7aa6e /include/image.h | |
parent | 4648c2e7a173b0d7f17bef4adaa0623090c9e904 (diff) | |
download | bootable_bootloader_goldelico_gta04-4ed6552f715983bfc7d212c1199a1f796f1144ad.zip bootable_bootloader_goldelico_gta04-4ed6552f715983bfc7d212c1199a1f796f1144ad.tar.gz bootable_bootloader_goldelico_gta04-4ed6552f715983bfc7d212c1199a1f796f1144ad.tar.bz2 |
[new uImage] Introduce lmb from linux kernel for memory mgmt of boot images
Introduce the LMB lib used on PPC in the kernel as a clean way to manage
the memory spaces used by various boot images and structures. This code
will allow us to simplify the code in bootm and its support functions.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/image.h')
-rw-r--r-- | include/image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h index 025ec0f..cb4acd8 100644 --- a/include/image.h +++ b/include/image.h @@ -37,6 +37,7 @@ #include <command.h> #ifndef USE_HOSTCC +#include <lmb.h> #include <linux/string.h> #include <asm/u-boot.h> @@ -203,6 +204,7 @@ typedef struct bootm_headers { char *fit_uname_fdt; /* FDT blob node unit name */ #endif int verify; /* getenv("verify")[0] != 'n' */ + struct lmb *lmb; /* for memory mgmt */ #endif } bootm_headers_t; |