]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: zynqmp_qspi: Workaround for small data cache issue
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Fri, 15 Sep 2023 03:17:59 +0000 (08:47 +0530)
committerMichal Simek <michal.simek@amd.com>
Thu, 21 Sep 2023 11:20:12 +0000 (13:20 +0200)
commita3ade3dae4d93f9b5282ddb4885d69161729ec6d
tree1a33c6dff33ad0fbb4a6785acfce5208244db493
parent638189ddeaa5dccee9466bc772fa5655218f530b
spi: zynqmp_qspi: Workaround for small data cache issue

Cache related issues are seen with small sized data reads.
Due to this, proper data is not read. Also some times sf probe
fails randomly. To workaround this issue, invalidate dcache after read DMA
is triggered.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20230915031759.28889-3-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/zynqmp_gqspi.c