diff options
author | Pali Rohár <pali@kernel.org> | 2021-09-24 23:06:58 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-10-01 11:07:13 +0200 |
commit | 792e42355083a7d57c156b45ce6701243989c495 (patch) | |
tree | a484cc7a3e408bc638f0bb618778b26d4c49ca56 /lib/zlib/inftrees.c | |
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>
Diffstat (limited to 'lib/zlib/inftrees.c')
0 files changed, 0 insertions, 0 deletions