summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorReinhard Pfau <reinhard.pfau@gdsys.cc>2015-11-29 14:52:14 (GMT)
committerLuka Perkov <luka.perkov@sartura.hr>2015-11-29 15:02:44 (GMT)
commit76b391cdee022b2fe2ad5627ec8ee7ebab046c1c (patch)
treecb8bbb4d57f0055b3bfaeb2f62226e0e97e2acd0 /board
parenta8840dced0745165073b3d7163ee42404da09bdc (diff)
downloadu-boot-fsl-qoriq-76b391cdee022b2fe2ad5627ec8ee7ebab046c1c.tar.xz
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')
0 files changed, 0 insertions, 0 deletions