diff options
author | Marek Vasut | 2018-04-10 16:43:47 +0200 |
---|---|---|
committer | Marek Vasut | 2018-04-11 23:19:51 +0200 |
commit | ea5512eb095067dda27930246792d2957feb9434 (patch) | |
tree | 986de767a326a218faa5c3bed94c9abc19eb54bd /lib/of_live.c | |
parent | 9573db654d1999a1dfde6469782aa8d7cf3d589f (diff) |
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 <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'lib/of_live.c')
0 files changed, 0 insertions, 0 deletions