diff options
author | Vignesh R <vigneshr@ti.com> | 2016-09-07 15:18:23 +0530 |
---|---|---|
committer | Jagan Teki <jagannadh.teki@gmail.com> | 2016-09-22 00:58:26 +0530 |
commit | 28b69f64886c89d463ebe380f87f858f7362be36 (patch) | |
tree | bc33ba83f6f5d6638f20088f30e947a3bcec76d5 /drivers | |
parent | 260368507a15de9503f509b175796935f65fbfc3 (diff) | |
download | u-boot-imx-28b69f64886c89d463ebe380f87f858f7362be36.zip u-boot-imx-28b69f64886c89d463ebe380f87f858f7362be36.tar.gz u-boot-imx-28b69f64886c89d463ebe380f87f858f7362be36.tar.bz2 |
spi: ti_qspi: Remove unnecessary udelay for AM437x
This udelay() was added as an HACK and is no longer required. All
read/write/erase operations work fine even without this delay. Hence,
remove the udelay() call.
Tested read/write/erase operation on AM437x SK. Also tested QSPI Boot.
Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/ti_qspi.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c index 1e2c432..406e76b 100644 --- a/drivers/spi/ti_qspi.c +++ b/drivers/spi/ti_qspi.c @@ -226,13 +226,6 @@ static int __ti_qspi_xfer(struct ti_qspi_priv *priv, unsigned int bitlen, priv->cmd |= QSPI_3_PIN; priv->cmd |= 0xfff; -/* FIXME: This delay is required for successfull - * completion of read/write/erase. Once its root - * caused, it will be remove from the driver. - */ -#ifdef CONFIG_AM43XX - udelay(100); -#endif while (words) { u8 xfer_len = 0; |