]> git.baikalelectronics.ru Git - uboot.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)
commit7a472cb3b17d7e70bf47f7ed350f3b5162b7e24c
tree57e5bbe8b481fcc8ae1f52fb33725cc54607f64a
parentbd4a8e230b86451ec30dcadfb167056cb8d0db0e
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