]> Git Repo - J-u-boot.git/commit
spi: sh_qspi: Make use of the 32byte FIFO
authorMarek Vasut <[email protected]>
Tue, 10 Apr 2018 14:43:47 +0000 (16:43 +0200)
committerMarek Vasut <[email protected]>
Wed, 11 Apr 2018 21:19:51 +0000 (23:19 +0200)
commitea5512eb095067dda27930246792d2957feb9434
tree986de767a326a218faa5c3bed94c9abc19eb54bd
parent9573db654d1999a1dfde6469782aa8d7cf3d589f
spi: sh_qspi: Make use of the 32byte FIFO

The QSPI controller on RCar Gen2 has 32byte FIFO. Instead of doing
the SPI transmission 1 byte at time, if there is a 32byte chunk of
data to be transferred, fill the FIFO completely and then transfer
the data to/from the FIFO. This increases the SPI NOR access speed
significantly.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
drivers/spi/sh_qspi.c
This page took 0.033331 seconds and 4 git commands to generate.