Re: [U-Boot] [PATCH v5 24/26] cmd: nand/sf: isolate legacy code

2019-10-25 Thread Miquel Raynal
Hi Jagan, Jagan Teki wrote on Fri, 25 Oct 2019 15:16:38 +0530: > On Fri, Oct 25, 2019 at 3:06 PM Miquel Raynal > wrote: > > > > Hi Jagan, > > > > Jagan Teki wrote on Fri, 25 Oct 2019 > > 14:57:36 +0530: > > > > > Hi Miquel, > > > > > > On Fri, Oct 25, 2019 at 2:55 PM Miquel Raynal > > > w

Re: [U-Boot] [PATCH v5 24/26] cmd: nand/sf: isolate legacy code

2019-10-25 Thread Jagan Teki
On Fri, Oct 25, 2019 at 3:06 PM Miquel Raynal wrote: > > Hi Jagan, > > Jagan Teki wrote on Fri, 25 Oct 2019 > 14:57:36 +0530: > > > Hi Miquel, > > > > On Fri, Oct 25, 2019 at 2:55 PM Miquel Raynal > > wrote: > > > > > > Hi Jagan, > > > > > > Jagan Teki wrote on Fri, 25 Oct 2019 > > > 14:44:38

Re: [U-Boot] [PATCH v5 24/26] cmd: nand/sf: isolate legacy code

2019-10-25 Thread Miquel Raynal
Hi Jagan, Jagan Teki wrote on Fri, 25 Oct 2019 14:57:36 +0530: > Hi Miquel, > > On Fri, Oct 25, 2019 at 2:55 PM Miquel Raynal > wrote: > > > > Hi Jagan, > > > > Jagan Teki wrote on Fri, 25 Oct 2019 > > 14:44:38 +0530: > > > > > On Thu, Oct 3, 2019 at 11:21 PM Miquel Raynal > > > wrote:

Re: [U-Boot] [PATCH v5 24/26] cmd: nand/sf: isolate legacy code

2019-10-25 Thread Jagan Teki
Hi Miquel, On Fri, Oct 25, 2019 at 2:55 PM Miquel Raynal wrote: > > Hi Jagan, > > Jagan Teki wrote on Fri, 25 Oct 2019 > 14:44:38 +0530: > > > On Thu, Oct 3, 2019 at 11:21 PM Miquel Raynal > > wrote: > > > > > > The 'sf' command is not supposed to rely on the MTD stack, but both > > > 'sf' and

Re: [U-Boot] [PATCH v5 24/26] cmd: nand/sf: isolate legacy code

2019-10-25 Thread Miquel Raynal
Hi Jagan, Jagan Teki wrote on Fri, 25 Oct 2019 14:44:38 +0530: > On Thu, Oct 3, 2019 at 11:21 PM Miquel Raynal > wrote: > > > > The 'sf' command is not supposed to rely on the MTD stack, but both > > 'sf' and 'nand' commands use helpers located in mtd_uboot.c. Despite > > their location, these

Re: [U-Boot] [PATCH v5 24/26] cmd: nand/sf: isolate legacy code

2019-10-25 Thread Jagan Teki
On Thu, Oct 3, 2019 at 11:21 PM Miquel Raynal wrote: > > The 'sf' command is not supposed to rely on the MTD stack, but both > 'sf' and 'nand' commands use helpers located in mtd_uboot.c. Despite > their location, these functions do not depend at all on the MTD > stack. > > This file (drivers/mtd/

[U-Boot] [PATCH v5 24/26] cmd: nand/sf: isolate legacy code

2019-10-03 Thread Miquel Raynal
The 'sf' command is not supposed to rely on the MTD stack, but both 'sf' and 'nand' commands use helpers located in mtd_uboot.c. Despite their location, these functions do not depend at all on the MTD stack. This file (drivers/mtd/mtd_uboot.c) is only compiled if CONFIG_MTD is selected, which is i