]> git.dujemihanovic.xyz Git - u-boot.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)
commit948ad4f07598a729a0de523ed3d779115b2fa2f2
treeb18c916c70b3edb51e3c596e9f9d31cd31e9ef5f
parentc58f300628b9037b9f3f82910a5c6b9590882c11
Revert "spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible"

This reverts commit b63b46313ed29e9b0c36b3d6b9407f6eade40c8f.

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