summaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/axp/ddr3_sdram.c
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2024-03-22 16:27:15 +0530
committerTom Rini <trini@konsulko.com>2024-05-24 13:40:03 -0600
commitd99127a69ebf65cd35c33896ea6f4b45b77b8c82 (patch)
treef94e93424fe0d9c2f005b47eca0f1e30c8d228fb /drivers/ddr/marvell/axp/ddr3_sdram.c
parentf4cac999821764de726978549406614b6726c8fa (diff)
tools: mkfwumdata: fix the size parameter to the fwrite call
The fwrite call returns the number of bytes transferred as part of the write only when the size parameter is 1. Pass the size parameter to the library call as 1 so that the correct number of bytes transferred are returned. Fixes: fdd56bfd3ad ("tools: Add mkfwumdata tool for FWU metadata image") Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Tested-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/ddr/marvell/axp/ddr3_sdram.c')
0 files changed, 0 insertions, 0 deletions