diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2012-04-20 11:58:16 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2012-04-23 14:18:55 +0900 |
commit | 9a41237c258904f3f71a5aec0147d85ffb57d5b6 (patch) | |
tree | 532f8640536558814a6a06d5a24862d99474f552 /include | |
parent | f7b93e8d0ff5d9bb3d9581f7348218b1a94f9e5c (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 'include')
0 files changed, 0 insertions, 0 deletions