From: Shaohui Xie Date: Mon, 13 Jun 2011 02:23:12 +0000 (+0800) Subject: powerpc/85xx: fix NAND_CMD_READID read bytes number X-Git-Tag: v3.0-rc6~25^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c02a02ee4db5cd8b95ee3cc705b535f443612583;p=pandora-kernel.git powerpc/85xx: fix NAND_CMD_READID read bytes number 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 Signed-off-by: Shaohui Xie Acked-by: Scott Wood Signed-off-by: Kumar Gala --- Reading git-diff-tree failed