diff options
author | Reinhard Pfau | 2015-11-29 15:52:14 +0100 |
---|---|---|
committer | Luka Perkov | 2015-11-29 16:02:44 +0100 |
commit | 76b391cdee022b2fe2ad5627ec8ee7ebab046c1c (patch) | |
tree | cb8bbb4d57f0055b3bfaeb2f62226e0e97e2acd0 /configs | |
parent | a8840dced0745165073b3d7163ee42404da09bdc (diff) |
tools/kwbimage: fix size computations for v1 images
Fix computation of haeder size and binary header size.
Size of opt header and some 32bit values were not taken into account. This could
result in invalid boot images (due to the wrong binary header size, the image could
claim to have another extension header after the binary extension although there
is none).
Use "uint32_t" instead of "unsigned int" for header size computation.
Signed-off-by: Reinhard Pfau <reinhard.pfau@gdsys.cc>
Reviewed-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions