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

Miquel Raynal miquel.raynal at bootlin.com
Wed Oct 10 13:14:07 UTC 2018


Hi Jagan,

Jagan Teki <jagan at amarulasolutions.com> wrote on Wed, 10 Oct 2018
18:41:39 +0530:

> On Wed, Oct 10, 2018 at 6:39 PM Miquel Raynal <miquel.raynal at bootlin.com> wrote:
> >
> > Hi Jagan,
> >
> > Jagan Teki <jagan at amarulasolutions.com> wrote on Wed, 10 Oct 2018
> > 11:32:02 +0530:
> >  
> > > On Tue, Oct 9, 2018 at 12:43 AM Adam Ford <aford173 at gmail.com> wrote:  
> > > >
> > > > 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>
> > > > ---  
> > >
> > > Applied to u-boot-spi/master  
> >
> > Thanks for taking the patch but I wonder: shouldn't we apply this patch
> > sooner, ie. in the next -rc? Actually, it has barely nothing to do with
> > the SPI subsystem anyway.  
> 
> Yes, will send the PR soon.


Ok, no problem then. Thanks for carrying it.

Thanks,
Miquèl


More information about the U-Boot mailing list