From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from a.ns.miles-group.at ([95.130.255.143] helo=radon.swed.at) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YcaYn-00065R-UN for linux-mtd@lists.infradead.org; Mon, 30 Mar 2015 14:21:03 +0000 Message-ID: <55195BA8.2080102@nod.at> Date: Mon, 30 Mar 2015 16:20:24 +0200 From: Richard Weinberger MIME-Version: 1.0 To: =?UTF-8?B?TWFydGluIFN0cmJhxI1rYQ==?= Subject: Re: Missing support for ECC_SOFT_BCH in fsl-elbc-nand References: <55156575.8080704@nic.cz> <55190AEB.8010704@nic.cz> In-Reply-To: <55190AEB.8010704@nic.cz> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Tomas Hlavacek , "linux-mtd@lists.infradead.org" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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! :) I've developed it on an AT91 based system. Thanks, //richard