spi: cadence_qspi: Add quad write support
authorLey Foon Tan <ley.foon.tan@intel.com>
Wed, 27 Feb 2019 05:36:14 +0000 (13:36 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 12 Apr 2019 05:24:03 +0000 (10:54 +0530)
commit7eece328128ceffbd3b7425de5bfc9b29730730d
tree8cacdb53aa2df78c3cbe9d7e9a3f27f20220c1cf
parent02f173ca156cee8526dff87603d5e446b443cde3
spi: cadence_qspi: Add quad write support

Use quad write if SPI_TX_QUAD flag is set.

Tested quad write on Stratix 10 SoC board (Micron
serial NOR flash, mt25qu02g)

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/spi/cadence_qspi.c
drivers/spi/cadence_qspi.h
drivers/spi/cadence_qspi_apb.c