From: Mugunthan V N Date: Fri, 22 Jul 2016 15:38:41 +0530 Subject: [U-Boot] [PATCH v2 1/3] spi: ti_qspi: Fix failure on multiple READ_ID cmd In-Reply-To: <20160722052550.13339-1-vigneshr@ti.com> References: <20160722052550.13339-1-vigneshr@ti.com> Message-ID: <44622f4d-e0e3-cba9-9498-ed46984c6b60@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 22 July 2016 10:55 AM, Vignesh R wrote: > Populating QSPI_RD_SNGL bit(0x1) in priv->cmd means that value > QSPI_INVAL (0x4) is not written to CMD field of QSPI_SPI_CMD_REG in > ti_qspi_cs_deactivate(). Therefore CS is never deactivated between > successive READ ID which results in sf probe to fail. > Fix this by not populating priv->cmd with QSPI_RD_SNGL and OR it wih > priv->cmd as required (similar to the convention followed in the > driver). > > Signed-off-by: Vignesh R Reviewed-by: Mugunthan V N Regards Mugunthan V N