]> git.sur5r.net Git - u-boot/blobdiff - common/boot_fit.c
image: Add TI PMMC image type
[u-boot] / common / boot_fit.c
index 51440a6e6f32ae27793904219367ea825a39ccd9..0a723150b5883f32301cf87ab2ccfede2949db35 100644 (file)
@@ -25,7 +25,7 @@ int fdt_offset(void *fit)
        images = fdt_path_offset(fit, FIT_IMAGES_PATH);
        if (images < 0) {
                debug("%s: Cannot find /images node: %d\n", __func__, images);
-               return FDT_ERROR;
+               return -EINVAL;
        }
 
        fdt_name = fdt_getprop(fit, node, FIT_FDT_PROP, &fdt_len);