summaryrefslogtreecommitdiff
path: root/util/bin-to-hex.c
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2012-04-20 11:58:16 +0200
committerSimon Horman <horms@verge.net.au>2012-04-23 14:18:55 +0900
commit9a41237c258904f3f71a5aec0147d85ffb57d5b6 (patch)
tree532f8640536558814a6a06d5a24862d99474f552 /util/bin-to-hex.c
parentf7b93e8d0ff5d9bb3d9581f7348218b1a94f9e5c (diff)
kexec-tools: Fix CRC calculation for padded uImage
Instead of calulating the CRC on the whole file just calculate the CRC on the actual uImage length as given by the uImage header. This fixes loading padded uImages, for example from a mtd partition. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Diffstat (limited to 'util/bin-to-hex.c')
0 files changed, 0 insertions, 0 deletions