Skip to content
Commit a2cd076b authored by This contributor prefers not to receive mails's avatar This contributor prefers not to receive mails Committed by Stefan Roese
Browse files

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: 5a065349 ("cmd: mvebu/bubt: Check for A38x image data checksum")
Signed-off-by: default avatarPali Rohár <pali@kernel.org>
parent d4aa2104
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment