diff options
| author | Pali Rohár <[email protected]> | 2023-01-21 13:59:20 +0100 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2023-03-01 06:39:17 +0100 |
| commit | a2cd076b7f5ad3017fc8a2b22687cd58d02e85db (patch) | |
| tree | c89557d0f220aa0e2dc681e77d762129a19c3aea /arch | |
| 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 <[email protected]>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
