[PATCH V2] In the Denali NAND controller driver, use 8 bytes for READID command.

Brian Norris computersforpeace at gmail.com
Mon Jul 14 18:46:49 PDT 2014


On Mon, Jun 23, 2014 at 02:50:15PM -0500, Dinh Nguyen wrote:
> On Mon, 2014-06-23 at 14:21 -0500, Graham Moore wrote:
> > The Denali NAND driver reads only 5 bytes of ID, but some Hynix and Samsung
> > have size parameters in the 6th byte.  As a result, the page and oob size
> > for a Hynix H27UAG8T2B were calculated incorrectly and the driver failed to
> > load.
> > 
> > The solution is to read 8 bytes of ID, as expected by the nand framework.
> > 
> > Signed-off-by: Graham Moore <grmoore at altera.com>
> > --
> > V2: Increase size of id_bytes array to 8.
> > ---
> >  drivers/mtd/nand/denali.c |    6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> Your commit header should have "mtd: denali:"
> 
> i.e: "mtd: denali: use 8 bytes for READID command"

Modified the subject and pushed to l2-mtd.git. Thanks!

Brian



More information about the linux-mtd mailing list