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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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.

---
��.n��������+%������w��{.n����z�{��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux