commit | 792e42355083a7d57c156b45ce6701243989c495 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Fri Sep 24 23:06:58 2021 +0200 |
committer | Stefan Roese <sr@denx.de> | Fri Oct 01 11:07:13 2021 +0200 |
tree | a484cc7a3e408bc638f0bb618778b26d4c49ca56 | |
parent | 550c93085aac67e88486355121e71678c41c38e1 [diff] |
tools: kwboot: Patch source address in image header Some image types have source address in non-bytes unit; for example for SATA images, it is in 512 B units. We need to multiply by unit size when patching image type to UART. Signed-off-by: Pali Rohár <pali@kernel.org> [ refactored ] Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>