Prechádzať zdrojové kódy

[new uImage] Fix definition of common bootm_headers_t fields

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>
Marian Balakowicz 17 rokov pred
rodič
commit
1ec73761d2
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      include/image.h

+ 2 - 1
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;
 
 /*