9
0
Fork 0
barebox/include/spi
Sascha Hauer 412a0e1750 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 while 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.

Unlike the last version this time we only optimize the common
case with 8 bits per word and SPI_LSB_FIRST cleared. The other
cases would require more bit shuffling of the data.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-11-30 08:22:31 +01:00
..
eeprom.h eeprom: add at25 eeprom driver 2011-06-21 13:56:49 +02:00
flash.h mtd: add dataflash support 2012-10-15 19:53:43 +02:00
imx-spi.h spi: i.MX: optimize transfers for ECSPI v2.3 2015-11-30 08:22:31 +01:00
spi.h Documentation: remove doxygen documentation 2014-06-26 10:09:52 +02:00
spi_gpio.h spi: Add SPI GPIO bitbang driver 2015-04-27 08:09:34 +02:00