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

From: Scott Wood
Date: Fri Dec 09 2011 - 14:23:37 EST


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

Acked-by: Scott Wood <scottwood@xxxxxxxxxxxxx>

-Scott

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/