]> git.baikalelectronics.ru Git - uboot.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)
commitbae2f45d335363f039a2f95a1cf8a85f1fcf3a78
tree13a3ae87570b7be5b8f0d1ba02ba159d1ec0a1d1
parentcacaab90f1ba0511d6b21cef77736a55ef1a3b63
image: Avoid -ENODATA in host tools

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

Fixes: b0daf64a047 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