[U-Boot] [PATCH v2 1/5] mtd: Use default mtdparts/mtids when not defined in the environment

Miquel Raynal miquel.raynal at bootlin.com
Mon Nov 12 09:24:06 UTC 2018


Hi Boris, Tom,

Boris Brezillon <boris.brezillon at bootlin.com> wrote on Mon, 12 Nov 2018
09:28:05 +0100:

> U-boot provides a mean to define default values for mtdids and mtdparts
> when they're not defined in the environment. Patch mtd_probe_devices()
> to use those default values when env_get("mtdparts") or
> env_get("mtdids") return NULL.
> 
> This implementation is based on the logic found in cmd/mtdparts.c.
> 
> Fixes: 5db66b3aee6f ("cmd: mtd: add 'mtd' command")
> Reported-by: Stefan Roese <sr at denx.de>
> Signed-off-by: Boris Brezillon <boris.brezillon at bootlin.com>
> Tested-by: Stefan Roese <sr at denx.de>
> ---

For the whole series:

Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>

This should be (if possible) in 2018.11, otherwise the release will be
buggy with certain configurations. Maybe we should sometimes send PR
directly to Tom as MTD is orphaned to avoid latencies between
developers/maintainers and reach mainline quickly (at least for the
fixes)?

Thanks,
Miquèl


More information about the U-Boot mailing list