]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/image.h
spl: Add an option to load a FIT containing U-Boot
[people/ms/u-boot.git] / include / image.h
index 0605280c2096a38c417c5639057c88d51c79a034..f9ee5649c547107f0c5c668cd6440bb93105005d 100644 (file)
@@ -780,7 +780,6 @@ int bootz_setup(ulong image, ulong *start, ulong *end);
 /*******************************************************************/
 /* New uImage format specific code (prefixed with fit_) */
 /*******************************************************************/
-#if IMAGE_ENABLE_FIT
 
 #define FIT_IMAGES_PATH                "/images"
 #define FIT_CONFS_PATH         "/configurations"
@@ -813,6 +812,7 @@ int bootz_setup(ulong image, ulong *start, ulong *end);
 
 #define FIT_MAX_HASH_LEN       HASH_MAX_DIGEST_SIZE
 
+#if IMAGE_ENABLE_FIT
 /* cmdline argument format parsing */
 int fit_parse_conf(const char *spec, ulong addr_curr,
                ulong *addr, const char **conf_name);