[U-Boot] [PATCH v9 0/7] SPI-NAND support (third batch)

Miquel Raynal miquel.raynal at bootlin.com
Thu Sep 27 09:04:42 UTC 2018


Hi Jagan,

Boris Brezillon <boris.brezillon at bootlin.com> wrote on Thu, 27 Sep 2018
08:10:05 +0200:

> On Wed, 26 Sep 2018 17:07:32 +0200
> Miquel Raynal <miquel.raynal at bootlin.com> wrote:
> 
> > 
> > Miquel Raynal (7):
> >   mtd: uclass: add probe function
> >   mtd: mtdpart: add a generic mtdparts-like parser
> >   mtd: mtdpart: search for an equivalent MTD name with the mtdids
> >   mtd: mtdpart: implement proper partition handling
> >   cmd: mtd: add 'mtd' command
> >   cmd: ubi: clean the partition handling
> >   cmd: mtdparts: describe as legacy
> >   
> 
> The whole series is
> 
> Reviewed-by: Boris Brezillon <boris.brezillon at bootlin.com>

Actually, we could have a build issue with people not enabling
MTD_PARTITIONS.

Let me send a v10 where:
* mtd_search_alternate_name() is moved in mtd_uboot.c (generic code,
  everybody wants to use mtdids).
* mtd_parse_partitions() is still in mtdparts.c because it depends on
  partitions support, but the header file declaring it
  (include/linux/mtd/partitions.h) also has a dummy function if
  #ifdef MTD_PARTITIONS is false.

Thanks,
Miquèl


More information about the U-Boot mailing list