Home
last modified time | relevance | path

Searched hist:b7f61ce35d65190bbd1b0f0176444d0bf8e41a47 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mtd/spi/
H A Dsf_dataflash.cb7f61ce35d65190bbd1b0f0176444d0bf8e41a47 Mon Jul 22 11:52:57 UTC 2019 Jagan Teki <jagan@amarulasolutions.com> UPSTREAM: mtd: spi_dataflash: Use spi read then write

Now, we have spi_write_then_read routine that would handle
spi_xfer handling based on the tx_buf and rx_buf parameters.

So, replace individual flash read/write/cmd transfer call
with spi_write_then_read.

Cc: Egnite GmbH <info@egnite.de>
Cc: Daniel Gorsulowski <daniel.gorsulowski@esd.eu>
Cc: Ilko Iliev <iliev@ronetix.at>
Cc: Marek Vasut <marex@denx.de>
Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Cc: Alison Wang <alison.wang@nxp.com>
Tested-by: Adam Ford <aford173@gmail.com> #da850-evm
Change-Id: I71307ddd279423c3c0cc60412a2700685ec37eaf
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit 43084a56b08b34a4daef36697dd715659a17caf9)