summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/helper.c
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2023-11-04 16:37:43 -0400
committerTom Rini <trini@konsulko.com>2023-11-16 12:43:48 -0500
commit57d3da6fee1d4d8691a74d9b7bb5b7bc0d4e4e63 (patch)
tree90c228d2d71b95eec6b4cbdd1db57c07bb923fa9 /drivers/ddr/imx/phy/helper.c
parentcdc0434ac06ad5cc0cb8361dcd5d4ab72a8db0c7 (diff)
spl: legacy: Honor bl_len when decompressing
When allocating a buffer to load compressed data into, we need to ensure we have enough space for over- and under-flow due to alignment. Otherwise we will clobber the malloc bookkeeping data. Calculate the correct amount of overhead and use it when determining the size. Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'drivers/ddr/imx/phy/helper.c')
0 files changed, 0 insertions, 0 deletions