Re: [PATCH] powerpc/85xx: fix NAND_CMD_READID read bytes number
From: Kumar Gala <hidden>
Date: 2011-06-22 11:09:07
From: Kumar Gala <hidden>
Date: 2011-06-22 11:09:07
On Jun 12, 2011, at 9:23 PM, Shaohui Xie wrote:
when nand_get_flash_type() is called, it will read 8 bytes of ID =
instead of 5,
but the driver only read 5 bytes, so kernel will dump error messages =
like:
=20 fsl-lbc ffe124000.localbus: read_byte beyond end of buffer fsl-lbc ffe124000.localbus: read_byte beyond end of buffer fsl-lbc ffe124000.localbus: read_byte beyond end of buffer =20 Signed-off-by: Shaohui Xie <redacted> Acked-by: Scott Wood <redacted> --- drivers/mtd/nand/fsl_elbc_nand.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
applied to merge - k=