diff options
author | Sourav Poddar <sourav.poddar@ti.com> | 2014-05-19 16:53:38 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-06 17:46:14 -0400 |
commit | ce3cc8ecf52f798cc980a2c49bdc5cbca6b3be29 (patch) | |
tree | a50d53cfb6cc9224d3b7b0971825ece384ac8327 /drivers/spi | |
parent | 7a5f71bc4056591574ea122ba58c55d14145eeb0 (diff) | |
download | u-boot-imx-ce3cc8ecf52f798cc980a2c49bdc5cbca6b3be29.zip u-boot-imx-ce3cc8ecf52f798cc980a2c49bdc5cbca6b3be29.tar.gz u-boot-imx-ce3cc8ecf52f798cc980a2c49bdc5cbca6b3be29.tar.bz2 |
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/ti_qspi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c index c5d2245..fd7fea8 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 | |