diff options
author | Reinhard Pfau <reinhard.pfau@gdsys.cc> | 2015-11-29 15:52:14 +0100 |
---|---|---|
committer | Luka Perkov <luka.perkov@sartura.hr> | 2015-11-29 16:02:44 +0100 |
commit | 76b391cdee022b2fe2ad5627ec8ee7ebab046c1c (patch) | |
tree | cb8bbb4d57f0055b3bfaeb2f62226e0e97e2acd0 /board/sbc8548/Makefile | |
parent | a8840dced0745165073b3d7163ee42404da09bdc (diff) | |
download | u-boot-imx-76b391cdee022b2fe2ad5627ec8ee7ebab046c1c.zip u-boot-imx-76b391cdee022b2fe2ad5627ec8ee7ebab046c1c.tar.gz u-boot-imx-76b391cdee022b2fe2ad5627ec8ee7ebab046c1c.tar.bz2 |
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 'board/sbc8548/Makefile')
0 files changed, 0 insertions, 0 deletions