summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSourav Poddar <sourav.poddar@ti.com>2014-05-19 16:53:38 -0400
committerTom Rini <trini@ti.com>2014-06-06 17:46:14 -0400
commitce3cc8ecf52f798cc980a2c49bdc5cbca6b3be29 (patch)
treea50d53cfb6cc9224d3b7b0971825ece384ac8327
parent7a5f71bc4056591574ea122ba58c55d14145eeb0 (diff)
ti: qspi: populate slave device to set flash quad bit.
The patch populates the slave data which will be used by flash driver to set the flash quad enable bit. Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
-rw-r--r--drivers/spi/ti_qspi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c
index c5d2245e44..fd7fea8df5 100644
--- a/drivers/spi/ti_qspi.c
+++ b/drivers/spi/ti_qspi.c
@@ -106,6 +106,7 @@ static void ti_spi_setup_spi_register(struct ti_qspi_slave *qslave)
slave->memory_map = (void *)MMAP_START_ADDR_DRA;
#else
slave->memory_map = (void *)MMAP_START_ADDR_AM43x;
+ slave->op_mode_rx = 8;
#endif
memval |= QSPI_CMD_READ | QSPI_SETUP0_NUM_A_BYTES |