From: Liu Shuo Date: Fri, 9 Dec 2011 09:42:54 +0000 (+0800) Subject: mtd: fsl_elbc_nand: set Nand flash page address to FBAR and FPAR correctly X-Git-Tag: v3.3-rc1~119^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ae84fe8c18cabc348b9c7cd1e98419cd0cbf481;p=pandora-kernel.git mtd: fsl_elbc_nand: set Nand flash page address to FBAR and FPAR correctly If we use the Nand flash chip whose number of pages in a block is greater than 64(for large page), we must treat the low bit of FBAR as being the high bit of the page address due to the limitation of FCM, it simply uses the low 6-bits (for large page) of the combined block/page address as the FPAR component, rather than considering the actual block size. Signed-off-by: Liu Shuo Signed-off-by: Jerry Huang Signed-off-by: Tang Yuantian Signed-off-by: Li Yang Acked-by: Scott Wood Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed