On Mon, Aug 15, 2011 at 6:11 PM, Scott Wood scottw...@freescale.com wrote:
On 08/15/2011 10:59 AM, Artem Bityutskiy wrote:
On Tue, 2011-07-12 at 12:48 +0800, b35...@freescale.com wrote:
+ /*
+ * Hack for supporting the flash chip whose writesize is
+ * larger than 2K bytes.
+
On Tue, 2011-07-12 at 12:48 +0800, b35...@freescale.com wrote:
+ /*
+ * Hack for supporting the flash chip whose writesize is
+ * larger than 2K bytes.
+ */
+ if (mtd-writesize 2048) {
+ elbc_fcm_ctrl-subpage_shift = ffs(mtd-writesize 11) - 1;
+
On 08/15/2011 10:59 AM, Artem Bityutskiy wrote:
On Tue, 2011-07-12 at 12:48 +0800, b35...@freescale.com wrote:
+/*
+ * Hack for supporting the flash chip whose writesize is
+ * larger than 2K bytes.
+ */
+if (mtd-writesize 2048) {
+
On Mon, 2011-08-15 at 11:11 -0500, Scott Wood wrote:
On 08/15/2011 10:59 AM, Artem Bityutskiy wrote:
On Tue, 2011-07-12 at 12:48 +0800, b35...@freescale.com wrote:
+ /*
+ * Hack for supporting the flash chip whose writesize is
+ * larger than 2K bytes.
+ */
+ if (mtd-writesize
-Original Message-
From: Liu Shuo-B35362
Sent: Tuesday, July 12, 2011 12:49 PM
To: dw...@infradead.org
Cc: linux-...@lists.infradead.org; linuxppc-...@ozlabs.org; Liu Shuo-
B35362; Li Yang-R58472
Subject: [PATCH v2] mtd/nand : workaround for Freescale FCM to support
large-page Nand chip
From: Liu Shuo b35...@freescale.com
Freescale FCM controller has a 2K size limitation of buffer RAM. In order
to support the Nand flash chip whose page size is larger than 2K bytes,
we divide a page into multi-2K pages for MTD layer driver. In that case,
we force to set the page size to 2K bytes.