From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 24 May 2007 10:45:09 -0500 Subject: [U-Boot-Users] [PATCH 1/2] NAND: Add support for transparent hardware ECC. In-Reply-To: <200705241226.26158.sr@denx.de> References: <20070516162713.GA6786@ld0162-tx32.am.freescale.net> <200705241226.26158.sr@denx.de> Message-ID: <4655B305.9080904@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Stefan Roese wrote: > I would like to know the status of this "tranparent" hardware ECC mechanism > in the Linux source. I assume that you want to integrate this support there > too, right? I couldn't find any reference to this in the current mtd/nand > implementations and/or any reference to the MPC831x. I have a Linux patch from Nick Spence for nand on the 831x, but it needs a lot of cleanup before I can submit it, which I haven't had a chance to do yet. It currently uses a rather ugly hack to get around the lack of transparent ECC support (as did the u-boot patch before I reworked it). > I'm asking, since the U-Boot nand code is based on the Linux mtd codebase, > and we should try to keep features common between both source codes as > often as possible. Agreed, though when writing the u-boot patch I looked at the kernel source, and it appears to have already diverged quite a bit. When I get a chance to look at the 831x NAND Linux patch, I'll most likely implement similar transparent ECC support there. -Scott