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 <trini@konsulko.com>
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;