]> git.sur5r.net Git - u-boot/commit
spi: ti_qspi: Add dummy readl for bus sync
authorVignesh R <vigneshr@ti.com>
Tue, 10 Nov 2015 06:22:10 +0000 (11:52 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 17 Nov 2015 18:13:29 +0000 (23:43 +0530)
commit857db48e5f6372eead8a32469d981801e775ee48
tree1682f31b381f2664756faec99620366601bffb47
parent3d4825446e4258192e1f2302d691a8c0c82a0975
spi: ti_qspi: Add dummy readl for bus sync

Add dummy readl after invalidating cmd field of QSPI_CMD_REG to ensure
bus sync. Without this device's CS is not deactivated reliably leading
to failure to enumerate flash or failure to set quad enable bit on
Macronix flash present on am437x-sk and am437x-idk evms.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/spi/ti_qspi.c