[U-Boot] [PATCH 3/3] mtd: spi: Drop sf.c

Jagan Teki jagan at amarulasolutions.com
Fri Aug 2 11:58:09 UTC 2019


On Fri, Aug 2, 2019 at 4:24 PM Lukasz Majewski <lukma at 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.


More information about the U-Boot mailing list