]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/image-fit.c
ARM: tegra: pull Tegra124 SoC DT from Linux v4.7
[karo-tx-uboot.git] / common / image-fit.c
index 9ce68f1c21d4408611877fbe7fe88a64de7939c0..1b0234a90cb1eefcc7533f630491e8a68098292a 100644 (file)
@@ -1560,7 +1560,7 @@ int fit_get_node_from_config(bootm_headers_t *images, const char *prop_name,
        cfg_noffset = fit_conf_get_node(fit_hdr, images->fit_uname_cfg);
        if (cfg_noffset < 0) {
                debug("*  %s: no such config\n", prop_name);
-               return -ENOENT;
+               return -EINVAL;
        }
 
        noffset = fit_conf_get_prop_node(fit_hdr, cfg_noffset, prop_name);