[U-Boot] [PATCH v2 1/5] mtd: Use default mtdparts/mtids when not defined in the environment
Jagan Teki
jagan at amarulasolutions.com
Mon Nov 12 10:25:18 UTC 2018
On Mon, Nov 12, 2018 at 1:58 PM Boris Brezillon
<boris.brezillon at bootlin.com> wrote:
>
> 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>
> ---
> Changes in v2:
> - none
Trigger travis-ci [1], will send v2 PR once all built fine.
[1] https://travis-ci.org/openedev/u-boot-amarula/builds
More information about the U-Boot
mailing list