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:51 +0100
committerStefan Roese <sr@denx.de>2023-03-24 13:13:14 +0100
commit12e79fbfffa2323679059898414e76caeffa3364 (patch)
treeec999e5b38fcbd5821fa492caa2a2988d3906227 /drivers/ddr/imx/phy/ddrphy_utils.c
parente6900565b58d7d7ceac6364baf6e001a65761598 (diff)
tools: kwbimage: Fix invalid UART kwbimage v1 headersz
Armada 385 BootROM ignores low 7 bits of headersz when parsing kwbimage header of UART type, which effectively means that headersz is rounded down to multiply of 128 bytes. For all other image types BootROM reads and use all bits of headersz. Therefore fill into UART type of kwbimage v1 headersz aligned to 128 bytes. Fixes: 2b0980c24027 ("tools: kwbimage: Fill the real header size into the main header") 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