[U-Boot] [UBOOT][PATCH 3/3] ti: qspi: populate slave device to set flash quad bit.

Sourav Poddar sourav.poddar at ti.com
Mon May 5 15:54:00 CEST 2014


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 at ti.com>
---
 drivers/spi/ti_qspi.c |    1 +
 1 file changed, 1 insertion(+)

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 |
-- 
1.7.9.5



More information about the U-Boot mailing list