mtd: denali: use 8 bytes for READID command
authorgrmoore@altera.com <grmoore@altera.com>
Mon, 23 Jun 2014 19:21:10 +0000 (14:21 -0500)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 15 Jul 2014 01:41:40 +0000 (18:41 -0700)
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@altera.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/denali.c

Simple merge