]> 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 f833fe32cee566b662775b3eb1d9d227a6736391..1b0234a90cb1eefcc7533f630491e8a68098292a 100644 (file)
@@ -1560,13 +1560,13 @@ 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);
        if (noffset < 0) {
                debug("*  %s: no '%s' in config\n", prop_name, prop_name);
-               return -ENOLINK;
+               return -ENOENT;
        }
 
        return noffset;