spi: i.MX: optimize transfers for ECSPI v2.3
Instead of writing one word to the txfifo and then wait until
one is received in the rxfifo we can write until the txfifos
are not full and read as long the rxfifos contain data. This
makes transfers for the m25p80 driver around 7 times faster
here.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ff5660c commit 746a5530bee37c8d2ffc75609447641b3f3cb55b
@Sascha Hauer Sascha Hauer authored on 31 Aug 2015
Showing 2 changed files
View
drivers/spi/imx_spi.c
View
include/spi/imx-spi.h