[PATCH V2] In the Denali NAND controller driver, use 8 bytes for READID command.
Dinh Nguyen
dinguyen at altera.com
Mon Jun 23 12:50:15 PDT 2014
Hi Graham,
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"
Dinh
More information about the linux-mtd
mailing list