[PATCH] powerpc/85xx: fix NAND_CMD_READID read bytes number

Artem Bityutskiy dedekind1 at gmail.com
Wed Jun 22 15:32:20 EST 2011


On Mon, 2011-06-13 at 10:23 +0800, 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:
> 
> 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
> 

Thanks!

-- 
Best Regards,
Artem Bityutskiy



More information about the Linuxppc-dev mailing list