[U-Boot] [PATCH V3] mtd: uboot: Fix hanging during mtd list command

Miquel Raynal miquel.raynal at bootlin.com
Mon Oct 8 20:02:32 UTC 2018


Hi Adam,

+Tom

Adam Ford <aford173 at gmail.com> wrote on Mon,  8 Oct 2018 14:13:03 -0500:

> Some boards (like omap3_logic) hang when trying to access
> address 0. This happens when executing the new 'mtd list' command.
> This patch enhances the checks for conditions that would
> preclude mtd_probe_devices() from operating.
> 
> Fixes: 5db66b3aee6f ("cmd: mtd: add 'mtd' command")
> Suggested-by: Boris Brezillon <boris.brezillon at bootlin.com>
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> Reviewed-by: Boris Brezillon <boris.brezillon at bootlin.com>
> ---

I planned to create a setup this week with a raw NAND device but it's
fine then if it was not related to the device type.

Thank you both for the patch.

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

Tom, as MTD is orphaned now, you may want to take this patch in the
next -rc.

Thanks,
Miquèl



More information about the U-Boot mailing list