summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/ddrphy_utils.c
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2023-03-23 20:57:53 +0100
committerStefan Roese <sr@denx.de>2023-03-24 13:13:41 +0100
commit2b7852c2aadf946405e933ee067c4c36f15393d1 (patch)
treeef90557b4a1eaf125c8b1a7295ee3b124a5b4694 /drivers/ddr/imx/phy/ddrphy_utils.c
parent848d9a5eaaf82d8394b6fab1bda6dd3eb7c5ce45 (diff)
tools: kwboot: Fix inserting UART data checksum without -B option
Commit 7665ed2fa04e ("tools: kwboot: Fix parsing UART image without data checksum") added fixup code to insert place for data checksum if UART image does not have it. Together with option -B (change baudrate), kwboot calculates this checksum. Without option -B, it inserts only place for checksum but does not calculate it. This commit fix above logic and calculate data checksum also when kwboot is used without -B option. Fixes: 7665ed2fa04e ("tools: kwboot: Fix parsing UART image without data checksum") Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_utils.c')
0 files changed, 0 insertions, 0 deletions