commit | a2cd076b7f5ad3017fc8a2b22687cd58d02e85db | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Sat Jan 21 13:59:20 2023 +0100 |
committer | Stefan Roese <sr@denx.de> | Wed Mar 01 06:39:17 2023 +0100 |
tree | c89557d0f220aa0e2dc681e77d762129a19c3aea | |
parent | d4aa2104327fd8b6d46f7c51de1e35f5ec702c93 [diff] |
cmd: mvebu/bubt: Fix parsing SATA kwbimage Despite the official specification, Marvell BootROM does not interpret srcaddr from SATA image as number of sectors the beginning of the hard drive, but as number of sectors relative to the main header. Reject invalid and accept valid SATA images. Fixes: 5a0653493307 ("cmd: mvebu/bubt: Check for A38x image data checksum") Signed-off-by: Pali Rohár <pali@kernel.org>