Re: [RFC/PATCH] NAND bus-width detection extreme makeover

Alexander Shiyan shc_work at mail.ru
Sat Nov 30 03:52:38 EST 2013


Hello.

> On Fri, Nov 29, 2013 at 10:40:55AM -0300, Ezequiel Garcia wrote:
> > Here's my proposal, based in Pekon's latest work.
> > 
> > This patch removes the flash device bus-width configuration, prior to
> > the device detection. With this modification, a NAND driver is no longer
> > able to "force" the device width, and instead can only obtain the detected
> > bus-width after the call to nand_scan_ident().
...
> > Alexander: Could you try this patch and see if it's suitable for your needs?
> > I think you should be able to use it to set the bus-width, without any need for
> > a new DT property. You will have to split your nand_scan() call in an initial
> > call to nand_scan_ident() and a final call to nand_scan_tail().
> 
> FWIW, gpio.c does not need to split nand_scan(), as it doesn't need any
> custom call-backs. nand_base should do all the work.

I agree, there are no need to split.
I'll test this on Monday.

---


More information about the linux-arm-kernel mailing list