Hi Simon, On 26 November 2015 at 23:20, Simon Glass <s...@chromium.org> wrote: > Hi Jagan, > > On 26 November 2015 at 04:04, Jagan Teki <jt...@openedev.com> 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 <h...@denx.de> >> Signed-off-by: Jagan Teki <jt...@openedev.com> >> --- >> 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 U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot