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

2011-06-30 Thread Artem Bityutskiy
On Wed, 2011-06-29 at 11:43 -0500, Scott Wood wrote: > On Wed, 29 Jun 2011 09:22:04 +0300 > Artem Bityutskiy wrote: > > > On Tue, 2011-06-28 at 09:50 +0800, b35...@freescale.com wrote: > > > + /* Hack for supporting the flash chip whose writesize is > > > + * larger than 2K bytes. > > > + */ >

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

2011-06-29 Thread Scott Wood
On Wed, 29 Jun 2011 09:22:04 +0300 Artem Bityutskiy wrote: > On Tue, 2011-06-28 at 09:50 +0800, b35...@freescale.com wrote: > > + /* Hack for supporting the flash chip whose writesize is > > +* larger than 2K bytes. > > +*/ > > Please, use proper kernel multi-line comments. Please, mak

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

2011-06-28 Thread Artem Bityutskiy
On Tue, 2011-06-28 at 09:50 +0800, b35...@freescale.com wrote: > + /* Hack for supporting the flash chip whose writesize is > + * larger than 2K bytes. > + */ Please, use proper kernel multi-line comments. Please, make sure checkpatch.pl does not generate 13 errors with this patch.

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

2011-06-27 Thread b35362
From: Liu Shuo 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. We convert the page