Hi Simon, On 26 November 2015 at 23:20, Simon Glass <[email protected]> wrote: > Hi Jagan, > > On 26 November 2015 at 04:04, Jagan Teki <[email protected]> wrote: >> This patch adds mtd_info support to spi_flash layer, MTD has >> proven core for flash operations so adding MTD to spi_flash >> will extends more functionality. >> >> Reviewed-by: Heiko Schocher <[email protected]> >> Signed-off-by: Jagan Teki <[email protected]> >> --- >> drivers/mtd/spi/sf_ops.c | 40 +++++++++++++++++++++++----------------- >> drivers/mtd/spi/sf_probe.c | 28 ++++++++++++++++++++-------- >> include/spi_flash.h | 4 ++++ >> 3 files changed, 47 insertions(+), 25 deletions(-) > > This uses its own methods instead of driver model - function pointers > should be part of operations in a uclass.
Because mtd_info having generic ops which is going to use any underlying flash layer so this patch uses those core ops and dropped spi_flash ops. thanks! -- Jagan | openedev. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

