Received: from mail-bn1on0111.outbound.protection.outlook.com ([157.56.110.111] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YgOdm-0006gf-Tb for linux-mtd@lists.infradead.org; Fri, 10 Apr 2015 02:25:55 +0000 Message-ID: <1428632724.22867.571.camel@freescale.com> Subject: Re: Missing support for ECC_SOFT_BCH in fsl-elbc-nand From: Scott Wood To: Richard Weinberger Date: Thu, 9 Apr 2015 21:25:24 -0500 In-Reply-To: <55195BA8.2080102@nod.at> References: <55156575.8080704@nic.cz> <55190AEB.8010704@nic.cz> <55195BA8.2080102@nod.at> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Martin =?UTF-8?Q?Strba=C4=8Dka?= , Tomas Hlavacek , "linux-mtd@lists.infradead.org" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2015-03-30 at 16:20 +0200, Richard Weinberger wrote: > Hi! > > Am 30.03.2015 um 10:35 schrieb Martin Strbačka: > > On 27.3.2015 17:02, Richard Weinberger wrote: > >> On Fri, Mar 27, 2015 at 3:13 PM, Martin Strbačka wrote: > >>> Hello, > >>> > >>> in our product we have Freescale P2020 SoC together with Micron > >>> MT29F2G08ABAEAWP NAND. Lately we discovered that the internal driver > >>> (fsl-elbc-nand) supports only 1-bit HW ECC. So we would like to switch > >>> to ECC_SOFT_BCH (or on-die ECC as I saw some patches in this list > >>> recently). Do you know if anybody works on this or are there any patches > >>> already? > >> > >> Works on what? > >> I work (obviously) on on-die ECC support. > > > > I mean working on support ECC_SOFT_BCH or on-die ECC in fsl-elbc-nand. I > > believe that fsl-elbc-nand needs some modifications to support those ECC > > modes. Or am I wrong? > > Ah. My on-die ECC patches should work with any NFC. If you look > at the diffstat you'll notice that it does not touch any NAND driver. > Unless fsl-elbc-nand doesn't do strange things it should just work. > Please give it a try, feedback is very welcome! :) eLBC does "strange things" as its programming model is higher-level than what nand_base.c was designed for. -Scott