commit | ee3da92d85aea4dad6d6d7c82b23407b85547325 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Mon Jan 09 01:35:13 2023 +0100 |
committer | Stefan Roese <sr@denx.de> | Wed Mar 01 06:39:17 2023 +0100 |
tree | ad547b5044069a79b3bb8e4b346489673409825e | |
parent | 226abde8677537de55905d88973eef1a71b4d3e0 [diff] |
tools: kwbimage: Fix generating of kwbimage v0 header checksum Checksum for v0 image must be generated after filling all fields in the main header. Otherwise it would be invalid. Exactly same problem for v1 images was already fixed in the past in commit 9203c73895ab ("tools: kwbimage: Fix checksum calculation for v1 images"). Fixes: 5c61710c9880 ("tools: kwbimage: Properly set srcaddr in kwbimage v0") Signed-off-by: Pali Rohár <pali@kernel.org>