RE: [PATCH 3/3] mtd/nand : workaround for Freescale FCM to supportlarge-page Nand chip

From: Li Yang-R58472
Date: Thu Nov 24 2011 - 02:49:08 EST


> Subject: Re: [PATCH 3/3] mtd/nand : workaround for Freescale FCM to support
> large-page Nand chip
>
> On Thu, 2011-11-24 at 08:41 +0800, b35362@xxxxxxxxxxxxx wrote:
> > + /*
> > + * Freescale FCM controller has a 2K size limitation of buffer
> > + * RAM, so elbc_fcm_ctrl->buffer have to be used if writesize
> > + * of chip is greater than 2048.
> > + * We malloc a large enough buffer (maximum page size is
> 16K).
> > + */
> > + elbc_fcm_ctrl->buffer = kmalloc(1024 * 16 + 1024,
> GFP_KERNEL);
>
> Are there NANDs with 16KiB page size?

We are not sure, but are there possibility that chip with 16K page will appear? Or maybe we can add a MACRO for the maximum page size?

- Leo
N‹§²æìr¸›yúèšØb²X¬¶ÇvØ^–)Þ{.nÇ+‰·¥Š{±‘êçzX§¶›¡Ü}©ž²ÆzÚ&j:+v‰¨¾«‘êçzZ+€Ê+zf£¢·hšˆ§~†­†Ûiÿûàz¹®w¥¢¸?™¨è­Ú&¢)ßf”ù^jÇy§m…á@A«a¶Úÿ 0¶ìh®å’i