diff options
| author | Tom Rini <[email protected]> | 2016-09-19 10:43:12 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2016-09-19 10:43:12 -0400 |
| commit | 44e3dd14028545fa534cea38f0116f7a75f42b5d (patch) | |
| tree | eb5ffbb899f3a68cf948a4a1e9b9f6a7a822ba84 | |
| parent | 6baa904ad2374464de2c926387ae916a3e6b8cbd (diff) | |
Revert "image-fit: switch ENOLINK to ENOENT"
As while I want to support OpenBSD hosts, this change broke FIT images
as in the image checking code we care about ENOLINK and on further
review we need to think about what to change ENOLINK to so we can be
sure to handle the different cases here.
This reverts commit bac17b78daceeba1af2e1d8cd204ee460c71c93a.
Signed-off-by: Tom Rini <[email protected]>
| -rw-r--r-- | common/image-fit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-fit.c b/common/image-fit.c index 9ce68f1c21d..f833fe32cee 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1566,7 +1566,7 @@ int fit_get_node_from_config(bootm_headers_t *images, const char *prop_name, 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 -ENOENT; + return -ENOLINK; } return noffset; |
