[U-Boot] [PATCH v7 20/34] dm-sf: use mtd_ops, drop dm_spi_flash_ops

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


Hi Jagan,

On 26 November 2015 at 04:04, Jagan Teki <jteki at openedev.com> wrote:
> Since mtd_info ops got introduced, just drop the unneeded
> dm_spi_flash operations.
>
> Reviewed-by: Heiko Schocher <hs at denx.de>
> Signed-off-by: Jagan Teki <jteki at openedev.com>
> ---
>  drivers/mtd/spi/sf-uclass.c | 39 --------------------
>  include/spi_flash.h         | 90 +++++++--------------------------------------
>  2 files changed, 14 insertions(+), 115 deletions(-)

But mtd_info ops should support driver model.

Regards,
Simon


More information about the U-Boot mailing list