Hi Jagan, On 26 November 2015 at 04:03, Jagan Teki <jt...@openedev.com> wrote: > spi_flash_probe_tail code looks not in proper shape > to add more functionalities. hence refactorized > so-that it's more readable and hence we may extend > more functionalies to it. > > Cc: Bin Meng <bmeng...@gmail.com> > Cc: Troy Kisky <troy.ki...@boundarydevices.com> > Signed-off-by: Jagan Teki <jt...@openedev.com> > --- > drivers/mtd/spi/sf_internal.h | 3 +- > drivers/mtd/spi/sf_ops.c | 7 ++-- > drivers/mtd/spi/sf_probe.c | 74 > ++++++++++++++++++------------------------- > 3 files changed, 34 insertions(+), 50 deletions(-)
This relies on the early patch which I believe is not a good plan. >From what I can see the SPI MTD code does not support driver model, so that should be sorted out first. - Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot