spi: zynq_qspi: Add configuration to disable LQSPI feature
authorNathan Rossi <nathan@nathanrossi.com>
Tue, 8 Dec 2015 14:44:40 +0000 (00:44 +1000)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 18 Dec 2015 12:15:57 +0000 (13:15 +0100)
commit04a44d367168da8e12cfe23bf65dfff2e01bc4a4
tree02cedc9bf8ed981837842d95705ac1660aab16bf
parentbc3660503588b0cb780e5fc1797393127425149c
spi: zynq_qspi: Add configuration to disable LQSPI feature

When the Zynq Boot ROM code loads the payload from QSPI it uses the
LQSPI feature of the QSPI device, however it does not clean up its
configuration before handing over to the payload which leaves the device
confgured to by-pass the standard non-linear operating mode.

This ensures the Linear QSPI mode is disabled before re-enabling the
device.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Cc: Jagan Teki <jteki@openedev.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/spi/zynq_qspi.c