From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tx2ehsobe001.messaging.microsoft.com ([65.55.88.11] helo=TX2EHSOBE001.bigfish.com) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Rickl-00055i-Dp for linux-mtd@lists.infradead.org; Thu, 05 Jan 2012 02:08:27 +0000 Message-ID: <4F050635.1020103@freescale.com> Date: Thu, 5 Jan 2012 10:08:53 +0800 From: Huang Shijie MIME-Version: 1.0 To: Marek Vasut Subject: Re: GPMI-NAND: Wrong ECC size in driver References: <201201040148.32847.marek.vasut@gmail.com> <4F03EA83.9030503@freescale.com> <201201042233.15645.marek.vasut@gmail.com> In-Reply-To: <201201042233.15645.marek.vasut@gmail.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: Scott Wood , linux-mtd@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, >> I will be happy if the driver works only by setting the >> > NAND_NO_SUBPAGE_WRITE, without setting the ecc.size. > So you intentionally set the ecc.size to 1 to work around the issue? > yes. I read the code, and it seemed setting the ecc.size to 1 is the right solution. Best Regards Huang Shijie