summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2023-01-21 13:45:36 +0100
committerStefan Roese <[email protected]>2023-03-01 06:39:17 +0100
commite1c4ed57d5190e3064ae10ae3a87cdc75d2786fc (patch)
tree8f8d16327944cf5afe5e15bb0a3291a08663404b /scripts/const_structs.checkpatch
parent954c94aaccf825d0142b3a36ff65f46721f4c733 (diff)
tools: kwboot: 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. To parse SATA kwbimage in the same way as Marvell BootROM, it is needed to interpret srcaddr as relative offset to the main header. This change fixes loading of SATA images via kwboot over UART. Fixes: 792e42355083 ("tools: kwboot: Patch source address in image header") Signed-off-by: Pali Rohár <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions