On Fri, Aug 2, 2019 at 4:24 PM Lukasz Majewski <lu...@denx.de> wrote:
>
> Hi Jagan,
>
> > spi_write_then_read, will manage to do the respective
> > spi_xfer based on the tx_buf, rx_buf so drop the
> > legacy spi_flash_read/write/cm code.
>
> I guess that the 'sf' command will stay with us a bit longer to avoid
> compatibility issues on some legacy boards?
>
> And I also assume that we now advice to switch to 'mtd' command instead
> of (now deprecated?) 'sf' ?

This sf.c code is an intermediate function calls b/w flash vs SPI and
it does it related to any command stuff in upper layer. This series
marked those intermediate functions into single API. the only user
using these calls are dataflash driver, that indeed converted to use
this new API.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to