summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-11-15 11:20:09 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-15 11:54:03 +0100
commit94b5d9036ef1fe90812dc47fa64816f5f9c1690e (patch)
treef0a2dd5548f68c8e9b6f811eed7886d47222ddde /drivers/net
parente6e88fe65cdea3aff95fa2dd9fc41611003d669b (diff)
downloadbarebox-94b5d9036ef1fe90812dc47fa64816f5f9c1690e.tar.gz
barebox-94b5d9036ef1fe90812dc47fa64816f5f9c1690e.tar.xz
filetype: mvebu: Fix kwbimage v1 detection
The kwbimage detection calculates a checksum over the first 31 bytes of the image. This is correct for the v0 image format, but for the v1 image format the checksum in the image also covers the extenstion headers. These might not be completely present in the initial buffer provided to file_detect_type(), so just drop the checksum calculation for v1 images. Fixes: bf8b6d46db ("kwbimage_v0: add support to detect and boot a mvebu v0 image") Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions