Re: [U-Boot] [PATCH v6 1/3] cmd: nand/sf: isolate legacy code

2019-12-04 Thread Tom Rini
On Fri, Oct 25, 2019 at 07:39:29PM +0200, 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 (dri

[U-Boot] [PATCH v6 1/3] cmd: nand/sf: isolate legacy code

2019-10-25 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