diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2019-07-22 17:22:57 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2019-09-16 08:09:22 +0530 |
commit | 43084a56b08b34a4daef36697dd715659a17caf9 (patch) | |
tree | 9031f2920bc498d07e6eb151a55628045700c35c /board/sfr/nb4_ser | |
parent | 8473b32127232d8b602d905a2ed26ed48d352f6e (diff) |
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
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'board/sfr/nb4_ser')
0 files changed, 0 insertions, 0 deletions