summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/imx9/ddr_init.c
diff options
context:
space:
mode:
authorNeil Armstrong <neil.armstrong@linaro.org>2024-10-11 16:38:25 +0200
committerTom Rini <trini@konsulko.com>2024-10-21 15:27:33 -0600
commit73ab8196886c145983d5ff5514c179487df0c6e1 (patch)
tree3cc8dfda8b31c962a6b7419833e66e4dd5dd8bb5 /drivers/ddr/imx/imx9/ddr_init.c
parentef6f4f8e3c0de80f5f6dc4a77d6b18078e6fd2df (diff)
usb: dwc3: fix dcache flush range calculation
The current flush operation will omit doing a flush/invalidate on the first and last bytes if the base address and size are not aligned with CACHELINE_SIZE. This causes operation failures Qualcomm platforms. Take in account the alignment and size of the buffer and also flush the previous and last cacheline. Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/ddr/imx/imx9/ddr_init.c')
0 files changed, 0 insertions, 0 deletions