Re: [PATCH v2] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-09-02 Thread Stijn Devriendt
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. +    

Re: [PATCH v2] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-08-15 Thread Artem Bityutskiy
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; +

Re: [PATCH v2] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-08-15 Thread Scott Wood
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) { +

Re: [PATCH v2] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-08-15 Thread Artem Bityutskiy
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

RE: [PATCH v2] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-08-03 Thread Li Yang-R58472
-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

[PATCH v2] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-07-11 Thread b35362
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.