From: Sourav Poddar Date: Mon, 19 May 2014 20:53:38 +0000 (-0400) Subject: ti: qspi: populate slave device to set flash quad bit. X-Git-Tag: v2014.07-rc3~4^2^2~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ce3cc8ecf52f798cc980a2c49bdc5cbca6b3be29;p=oweals%2Fu-boot.git 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 --- 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 |