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