]> git.baikalelectronics.ru Git - uboot.git/commit
Revert "spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible"
authorGoldschmidt Simon <sgoldschmidt@de.pepperl-fuchs.com>
Wed, 24 Jan 2018 05:14:05 +0000 (10:44 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 24 Jan 2018 06:41:36 +0000 (12:11 +0530)
commitf55d315cfec9d9a0690033e35a7614cd0eb3eafa
treeb18c916c70b3edb51e3c596e9f9d31cd31e9ef5f
parent6275eb1e8e108b282a9f6f5bf4aa5f182d21cd27
Revert "spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible"

This reverts commit 58c4c1f5116569753ff6b3fd680e58a01b8817e4.

This commit changed cadence_qspi_apb to use bouncebuf.c, which invalidates
the data cache after reading. This is meant for dma transfers only and
breaks the cadence_qspi driver which copies via cpu only: data that is
copied by the cpu is in cache only and the cache invalidation at the end
throws away this data.

Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Signed-off-by: Vignesh R <vigneshr@ti.com>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Jason Rush <jarush@gmail.com>
Acked-by: Jason Rush <jarush@gmail.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/spi/cadence_qspi_apb.c