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

Simon Glass
2015-11-26T17:50:04Z

On 26 November 2015 at 04:03, Jagan Teki <jteki@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@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@chromium.org>