[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>
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 @@
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;