Skip to content
Commit 9203c738 authored by Pierre Bourdon's avatar Pierre Bourdon Committed by Stefan Roese
Browse files

tools: kwbimage: Fix checksum calculation for v1 images



Recent changes caused fields in the image main header to be modified
after the header checksum had already been computed. Move the checksum
computation to once again be the last operation performed on the header.

Fixes: 2b0980c2 ("tools: kwbimage: Fill the real header size into the main header")

Signed-off-by: default avatarPierre Bourdon <delroth@gmail.com>
Reviewed-by: default avatarPali Rohár <pali@kernel.org>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
parent b3f84a93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment