diff options
author | Jagan Teki <jteki@openedev.com> | 2016-08-08 17:12:12 +0530 |
---|---|---|
committer | Jagan Teki <jagannadh.teki@gmail.com> | 2016-09-22 01:02:28 +0530 |
commit | 08fe9c294f2d699a4e8b6b18e31169a89552f967 (patch) | |
tree | 43fa8d209a81be053746f45a334f75c5c884808f /drivers/spi/cadence_qspi.c | |
parent | b3afb232f7853d078ae0f533a7af70e0b047fe18 (diff) | |
download | u-boot-imx-08fe9c294f2d699a4e8b6b18e31169a89552f967.zip u-boot-imx-08fe9c294f2d699a4e8b6b18e31169a89552f967.tar.gz u-boot-imx-08fe9c294f2d699a4e8b6b18e31169a89552f967.tar.bz2 |
spi: Use mode for rx mode flags
Make rx mode flags as generic to spi, earlier mode_rx is
maintained separately because of some flash specific code.
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Cc: Vignesh R <vigneshr@ti.com>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'drivers/spi/cadence_qspi.c')
-rw-r--r-- | drivers/spi/cadence_qspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/cadence_qspi.c b/drivers/spi/cadence_qspi.c index a5244ff..1d50f13 100644 --- a/drivers/spi/cadence_qspi.c +++ b/drivers/spi/cadence_qspi.c @@ -251,7 +251,7 @@ static int cadence_spi_xfer(struct udevice *dev, unsigned int bitlen, break; case CQSPI_INDIRECT_READ: err = cadence_qspi_apb_indirect_read_setup(plat, - priv->cmd_len, dm_plat->mode_rx, cmd_buf); + priv->cmd_len, dm_plat->mode, cmd_buf); if (!err) { err = cadence_qspi_apb_indirect_read_execute (plat, data_bytes, din); |