]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/image-fit.c
dm: core: Allow device_bind() to used without CONFIG_OF_CONTROL
[karo-tx-uboot.git] / common / image-fit.c
index c61be651334a0240cf81607f6624b0d770ef6fb7..255c4cac9cafa328d33cd382e524207c1728c7cc 100644 (file)
@@ -1656,7 +1656,7 @@ int fit_image_load(bootm_headers_t *images, ulong addr,
                        bootstage_error(bootstage_id + BOOTSTAGE_SUB_LOAD);
                        return -EBADF;
                }
-       } else {
+       } else if (load_op != FIT_LOAD_OPTIONAL_NON_ZERO || load) {
                ulong image_start, image_end;
                ulong load_end;
                void *dst;