[U-Boot] [PATCH v7 02/34] sf: Move spi_flash_scan code to sf_ops

Simon Glass sjg at chromium.org
Thu Nov 26 18:50:04 CET 2015


On 26 November 2015 at 04:03, Jagan Teki <jteki at openedev.com> wrote:
> Intension is that sf_ops should deals all spi_flash
> related stuff and sf_probe (which should renamed future)
> should be an interface layer for spi_flash versus spi drivers.
>
> sf_ops => spi_flash interface
> sf_probe => interface layer vs spi_flash(sf_probe) to spi drivers
>
> Signed-off-by: Jagan Teki <jteki at openedev.com>
> ---
>  drivers/mtd/spi/sf_internal.h |  14 ++
>  drivers/mtd/spi/sf_ops.c      | 343 ++++++++++++++++++++++++++++++++++++++++++
>  drivers/mtd/spi/sf_probe.c    | 342 -----------------------------------------
>  3 files changed, 357 insertions(+), 342 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list