[PATCH 1/2] mtd/nand : set Nand flash page address to FBAR and FPAR correctly

Scott Wood scottwood at freescale.com
Sat Dec 10 06:23:33 EST 2011


On 12/09/2011 03:42 AM, shuo.liu at freescale.com wrote:
> From: Liu Shuo <b35362 at freescale.com>
> 
> 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 <b35362 at freescale.com>
> Signed-off-by: Jerry Huang <Chang-Ming.Huang at freescale.com>
> Signed-off-by: Tang Yuantian <b29983 at freescale.com>
> Signed-off-by: Li Yang <leoli at freescale.com>
> ---
>  drivers/mtd/nand/fsl_elbc_nand.c |   13 ++++++++++---
>  1 files changed, 10 insertions(+), 3 deletions(-)

Acked-by: Scott Wood <scottwood at freescale.com>

-Scott



More information about the Linuxppc-dev mailing list