summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-11-19 13:27:26 -0500
committerTom Rini <trini@konsulko.com>2015-11-19 13:27:26 -0500
commit9ef671c9d4c70af3f8b21d8a31a89af4dc74d6b3 (patch)
treeda4d08ed85efe51d8799eee94b2ccf4a79c4b278 /drivers/spi
parentaa7077fcee6cf00cde59bb9709ebd6205720f8bf (diff)
parent3e56ecec435d30e25fcffb971f8c9627e85ac1df (diff)
downloadu-boot-imx-9ef671c9d4c70af3f8b21d8a31a89af4dc74d6b3.zip
u-boot-imx-9ef671c9d4c70af3f8b21d8a31a89af4dc74d6b3.tar.gz
u-boot-imx-9ef671c9d4c70af3f8b21d8a31a89af4dc74d6b3.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/ti_qspi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c
index ecd9d78..646dd89 100644
--- a/drivers/spi/ti_qspi.c
+++ b/drivers/spi/ti_qspi.c
@@ -170,6 +170,8 @@ void spi_cs_deactivate(struct spi_slave *slave)
debug("spi_cs_deactivate: 0x%08x\n", (u32)slave);
writel(qslave->cmd | QSPI_INVAL, &qslave->base->cmd);
+ /* dummy readl to ensure bus sync */
+ readl(&qslave->base->cmd);
}
void spi_init(void)