[new uImage] Fix definition of common bootm_headers_t fields
authorMarian Balakowicz <m8@semihalf.com>
Wed, 12 Mar 2008 09:35:52 +0000 (10:35 +0100)
committerMarian Balakowicz <m8@semihalf.com>
Wed, 12 Mar 2008 09:35:52 +0000 (10:35 +0100)
verify, autostart and lmb fields are used regardless of CONFIG_FIT
setting, move their definitions to common section.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
include/image.h

index 01095608a474c4a4a4e65642f3ea5058d28ddade..fbd8c304e4b4840771381ca2a1a3b3de53e61a89 100644 (file)
@@ -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;
 
 /*