[U-Boot-Users] [PATCH 19/20] [new uImage] Fix definition of common bootm_headers_t fields

Bartlomiej Sieka tur at semihalf.com
Wed Mar 12 21:12:25 CET 2008


From: Marian Balakowicz <m8 at semihalf.com>

verify, autostart and lmb fields are used regardless of CONFIG_FIT
setting, move their definitions to common section.

Signed-off-by: Marian Balakowicz <m8 at semihalf.com>
---

 include/image.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/image.h b/include/image.h
index 0109560..fbd8c30 100644
--- a/include/image.h
+++ b/include/image.h
@@ -221,10 +221,11 @@ typedef struct bootm_headers {
 	const char	*fit_uname_fdt;	/* FDT blob subimage node unit name */
 	int		fit_noffset_fdt;/* FDT blob subimage node offset */
 #endif
+#endif
+
 	int		verify;		/* getenv("verify")[0] != 'n' */
 	int		autostart;	/* getenv("autostart")[0] != 'n' */
 	struct lmb	*lmb;		/* for memory mgmt */
-#endif
 } bootm_headers_t;
 
 /*





More information about the U-Boot mailing list