commit | d68a5c3d2db408a83e69f12b57b8e19c086d1aee | [log] [tgz] |
---|---|---|
author | grmoore@altera.com <grmoore@altera.com> | Mon Jun 23 14:21:10 2014 -0500 |
committer | Brian Norris <computersforpeace@gmail.com> | Mon Jul 14 18:41:40 2014 -0700 |
tree | 23dadc74088f47ecd16b911660cdc0af19fd6640 | |
parent | a152056c912db82860a8b4c23d0bd3a5aa89e363 [diff] |
mtd: denali: use 8 bytes for READID command 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>