]> git.dujemihanovic.xyz Git - u-boot.git/commit
image: Avoid -ENODATA in host tools
authorSimon Glass <sjg@chromium.org>
Wed, 24 Feb 2021 13:50:32 +0000 (08:50 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 17 Mar 2021 16:50:19 +0000 (12:50 -0400)
commit29cbc4babf0a971986cccd73986908d1b8f07bda
tree13a3ae87570b7be5b8f0d1ba02ba159d1ec0a1d1
parent30e76b755b2a52e74bf916716a83deaf775664bb
image: Avoid -ENODATA in host tools

Unfortunately -ENODATA is not available in OpenBSD. Use -EBADMSG
instead, to indicate a missing timestamp.

Fixes: c5819701a3d image: Adjust the workings of fit_check_format()
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
common/image-fit.c
include/image.h