[U-Boot] [PATCH v7 22/34] sf: Add MTD support for non-dm spi_flash interface

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

Hi Jagan,

On 26 November 2015 at 04:04, Jagan Teki <jteki@openedev.com> wrote:
> This patch adds MTD support to non-dm spi_flash
> interface code.

Why add new support to the non-DM SPI flash? You should first make MTD
support driver model, then try to drop the old non-DM SPI flash code.

>
> Reviewed-by: Heiko Schocher <hs@denx.de>
> Signed-off-by: Jagan Teki <jteki@openedev.com>
> ---
> drivers/mtd/spi/sf_probe.c | 26 ++++++++++++++------------
> 1 file changed, 14 insertions(+), 12 deletions(-)

Regards,
Simon