]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: mkimage: Call verify_header after writing image to disk
authorPali Rohár <pali@kernel.org>
Fri, 14 Jan 2022 17:34:43 +0000 (18:34 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 6 Apr 2022 13:21:49 +0000 (09:21 -0400)
commitd3b1ca21e253547599a28002c1ea51348cb75c72
tree57e5bbe8b481fcc8ae1f52fb33725cc54607f64a
parent3548903fc8eafa469f57e3dd11cf0046f2034699
tools: mkimage: Call verify_header after writing image to disk

If image backend provides verify_header callback then call it after writing
image to disk. This ensures that written image is correct.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/mkimage.c