spi: xilinx_spi: Added support to read JEDEC-id twice at the boot time
authorVipul Kumar <vipul.kumar@xilinx.com>
Sat, 30 Jun 2018 02:45:19 +0000 (08:15 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 16 Jul 2018 08:31:20 +0000 (14:01 +0530)
commit83ce646943f6bc8eb3a42e68eb53bbbe6c40123f
tree28ee1872f9c1b6dc3ceb37500bd333d3f01de911
parent0c0de58f7b306e524225d03d8fd4fdd907a5ae5f
spi: xilinx_spi: Added support to read JEDEC-id twice at the boot time

This patch is for the startup block issue in the spi controller.
SPI clock is passing through STARTUP block to FLASH. STARTUP block
don't provide clock as soon as QSPI provides command. So, first
command fails.

This patch added support to read JEDEC id in xilinx_spi_xfer ().

Signed-off-by: Vipul Kumar <vipul.kumar@xilinx.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/spi/xilinx_spi.c